Torque3D Documentation / _generateds / RenderMeshExample

RenderMeshExample

Engine/source/T3D/examples/renderMeshExample.h

More...

Private Types

enum
MaskBits {
  TransformMask = Parent::NextFreeMask << 0
  UpdateMask = Parent::NextFreeMask << 1
  NextFreeMask = Parent::NextFreeMask << 2
}
Parent 
GFXVertexPNT
VertexType 

Private Functions

Public Functions

Called after any property of the object is changed in the world editor.

bool

Called when the object is added to the sim.

Called when the object is removed from the sim.

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Instructs this object to pack its state for transfer over the network.

Called when the SceneManager is ready for the registration of render instances.

Sets the Object -> World transform.

Instructs this object to read state data previously packed with packUpdate.

Public Static Functions

Detailed Description

Private Types

MaskBits

Enumerator

TransformMask = Parent::NextFreeMask << 0
UpdateMask = Parent::NextFreeMask << 1
NextFreeMask = Parent::NextFreeMask << 2
typedef SceneObject Parent 
typedef GFXVertexPNT VertexType 

Private Attributes

BaseMatInstance * mMaterialInst 
GFXPrimitiveBufferHandle mPrimitiveBuffer 
GFXVertexBufferHandle< VertexType > mVertexBuffer 

Private Functions

DECLARE_NET_MATERIALASSET(RenderMeshExample , Material , UpdateMask )

Public Functions

RenderMeshExample()

~RenderMeshExample()

createGeometry()

DECLARE_CONOBJECT(RenderMeshExample )

inspectPostApply()

Reimplemented from: SceneObject

onAdd()

Reimplemented from: SceneObject

onRemove()

Reimplemented from: SceneObject

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Reimplemented from: SceneObject

prepRenderImage(SceneRenderState * state)

Reimplemented from: SceneObject

setTransform(const MatrixF & mat)

Reimplemented from: SceneObject

unpackUpdate(NetConnection * conn, BitStream * stream)

Reimplemented from: SceneObject

updateMaterial()

Public Static Functions

initPersistFields()