TDME2 1.9.121
Static Public Member Functions | Static Private Member Functions | Static Private Attributes | Friends | List of all members
ObjectBuffer Class Referencefinal

Buffers used to transfer data between main memory to graphics board memory. More...

#include <tdme/engine/subsystems/rendering/ObjectBuffer.h>

Collaboration diagram for ObjectBuffer:
Collaboration graph

Static Public Member Functions

static ByteBuffergetByteBuffer (int contextIdx, int32_t bytes)
 Get byte buffer for given context. More...
 

Static Private Member Functions

static void initialize ()
 Initialize object buffer per thread. More...
 
static void dispose ()
 Disposes object buffer per thread. More...
 

Static Private Attributes

static STATIC_DLL_IMPEXT vector< ByteBuffer * > byteBuffers
 

Friends

class Object3DNodeMesh
 
class EntityRenderer
 
class BatchRendererTriangles
 
class tdme::engine::Engine
 
class tdme::engine::subsystems::framebuffer::FrameBufferRenderShader
 
class tdme::engine::subsystems::lines::LinesObject3DInternal
 
class tdme::engine::subsystems::rendering::Object3DNodeRenderer
 
class tdme::engine::subsystems::skinning::SkinningShader
 

Detailed Description

Buffers used to transfer data between main memory to graphics board memory.

Author
Andreas Drewke
Version
$Id$

Definition at line 22 of file ObjectBuffer.h.

Member Function Documentation

◆ dispose()

void dispose ( )
staticprivate

Disposes object buffer per thread.

Definition at line 27 of file ObjectBuffer.cpp.

◆ getByteBuffer()

ByteBuffer * getByteBuffer ( int  contextIdx,
int32_t  bytes 
)
static

Get byte buffer for given context.

Parameters
bytesbytes
Returns
byte buffer

Definition at line 34 of file ObjectBuffer.cpp.

◆ initialize()

void initialize ( )
staticprivate

Initialize object buffer per thread.

Definition at line 22 of file ObjectBuffer.cpp.

Friends And Related Function Documentation

◆ BatchRendererTriangles

friend class BatchRendererTriangles
friend

Definition at line 26 of file ObjectBuffer.h.

◆ EntityRenderer

friend class EntityRenderer
friend

Definition at line 25 of file ObjectBuffer.h.

◆ Object3DNodeMesh

friend class Object3DNodeMesh
friend

Definition at line 24 of file ObjectBuffer.h.

◆ tdme::engine::Engine

friend class tdme::engine::Engine
friend

Definition at line 27 of file ObjectBuffer.h.

◆ tdme::engine::subsystems::framebuffer::FrameBufferRenderShader

Definition at line 28 of file ObjectBuffer.h.

◆ tdme::engine::subsystems::lines::LinesObject3DInternal

Definition at line 30 of file ObjectBuffer.h.

◆ tdme::engine::subsystems::rendering::Object3DNodeRenderer

Definition at line 31 of file ObjectBuffer.h.

◆ tdme::engine::subsystems::skinning::SkinningShader

Definition at line 32 of file ObjectBuffer.h.

Member Data Documentation

◆ byteBuffers

vector< ByteBuffer * > byteBuffers
staticprivate

Definition at line 35 of file ObjectBuffer.h.


The documentation for this class was generated from the following files: