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

Object 3D node VBO renderer. More...

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

Collaboration diagram for Object3DNodeRenderer:
Collaboration graph

Public Member Functions

 Object3DNodeRenderer (Object3DNode *object3DNode)
 Constructor. More...
 
bool needsPreRender ()
 
void preRender (int contextIdx)
 Pre render step like uploading VBOs and such. More...
 
void dispose ()
 Disposes the object 3d node. More...
 

Private Attributes

Object3DNodeobject3DNode { nullptr }
 
VBOManager_VBOManagedvboManagedBase { nullptr }
 
VBOManager_VBOManagedvboManagedNormalMapping { nullptr }
 
VBOManager_VBOManagedvboManagedOrigins { nullptr }
 
VBOManager_VBOManagedvboManagedLods { nullptr }
 
vector< int32_t > * vboBaseIds { nullptr }
 
vector< int32_t > * vboNormalMappingIds { nullptr }
 
vector< int32_t > * vboOrigins { nullptr }
 
vector< int32_t > * vboLods { nullptr }
 
bool haveVBOs { false }
 

Friends

class EntityRenderer
 
class tdme::engine::Object3D
 
class tdme::engine::subsystems::rendering::Object3DNodeMesh
 
class tdme::engine::subsystems::skinning::SkinningShader
 

Detailed Description

Object 3D node VBO renderer.

Author
Andreas Drewke
Version
$Id$

Definition at line 27 of file Object3DNodeRenderer.h.

Constructor & Destructor Documentation

◆ Object3DNodeRenderer()

Object3DNodeRenderer ( Object3DNode object3DNode)

Constructor.

Parameters
object3DNodeobject 3D node

Definition at line 31 of file Object3DNodeRenderer.cpp.

Member Function Documentation

◆ dispose()

void dispose ( )

Disposes the object 3d node.

Definition at line 146 of file Object3DNodeRenderer.cpp.

◆ needsPreRender()

bool needsPreRender ( )
inline
Returns
if preRender call is required

Definition at line 55 of file Object3DNodeRenderer.h.

◆ preRender()

void preRender ( int  contextIdx)

Pre render step like uploading VBOs and such.

Parameters
contextIdxcontext index

Definition at line 38 of file Object3DNodeRenderer.cpp.

Friends And Related Function Documentation

◆ EntityRenderer

friend class EntityRenderer
friend

Definition at line 29 of file Object3DNodeRenderer.h.

◆ tdme::engine::Object3D

friend class tdme::engine::Object3D
friend

Definition at line 30 of file Object3DNodeRenderer.h.

◆ tdme::engine::subsystems::rendering::Object3DNodeMesh

Definition at line 31 of file Object3DNodeRenderer.h.

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

Definition at line 32 of file Object3DNodeRenderer.h.

Member Data Documentation

◆ haveVBOs

bool haveVBOs { false }
private

Definition at line 44 of file Object3DNodeRenderer.h.

◆ object3DNode

Object3DNode* object3DNode { nullptr }
private

Definition at line 35 of file Object3DNodeRenderer.h.

◆ vboBaseIds

vector<int32_t>* vboBaseIds { nullptr }
private

Definition at line 40 of file Object3DNodeRenderer.h.

◆ vboLods

vector<int32_t>* vboLods { nullptr }
private

Definition at line 43 of file Object3DNodeRenderer.h.

◆ vboManagedBase

VBOManager_VBOManaged* vboManagedBase { nullptr }
private

Definition at line 36 of file Object3DNodeRenderer.h.

◆ vboManagedLods

VBOManager_VBOManaged* vboManagedLods { nullptr }
private

Definition at line 39 of file Object3DNodeRenderer.h.

◆ vboManagedNormalMapping

VBOManager_VBOManaged* vboManagedNormalMapping { nullptr }
private

Definition at line 37 of file Object3DNodeRenderer.h.

◆ vboManagedOrigins

VBOManager_VBOManaged* vboManagedOrigins { nullptr }
private

Definition at line 38 of file Object3DNodeRenderer.h.

◆ vboNormalMappingIds

vector<int32_t>* vboNormalMappingIds { nullptr }
private

Definition at line 41 of file Object3DNodeRenderer.h.

◆ vboOrigins

vector<int32_t>* vboOrigins { nullptr }
private

Definition at line 42 of file Object3DNodeRenderer.h.


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