Torque3D Documentation / _generateds / GFXNullPrimitiveBuffer

GFXNullPrimitiveBuffer

Engine/source/gfx/Null/gfxNullDevice.cpp

More...

Private Attributes

Public Functions

GFXNullPrimitiveBuffer(GFXDevice * device, U32 indexCount, U32 primitiveCount, GFXBufferType bufferType)
lock(U32 indexStart, U32 indexEnd, void ** indexPtr)

locks this primitive buffer for writing into

prepares this primitive buffer for use on the device it was allocated on

When called the resource should restore all device sensitive information destroyed by zombify()

unlocks this primitive buffer.

prepares this primitive buffer for use on the device it was allocated on

Detailed Description

Private Attributes

U16 * temp 

Public Functions

GFXNullPrimitiveBuffer(GFXDevice * device, U32 indexCount, U32 primitiveCount, GFXBufferType bufferType)

lock(U32 indexStart, U32 indexEnd, void ** indexPtr)

Reimplemented from: GFXPrimitiveBuffer

prepare()

Reimplemented from: GFXPrimitiveBuffer

resurrect()

Reimplemented from: GFXResource

unlock()

Reimplemented from: GFXPrimitiveBuffer

zombify()

Reimplemented from: GFXResource