Torque3D Documentation / _generateds / GFXNullVertexBuffer

GFXNullVertexBuffer

Engine/source/gfx/Null/gfxNullDevice.cpp

More...

Private Attributes

unsigned char *

Public Functions

GFXNullVertexBuffer(GFXDevice * device, U32 numVerts, const GFXVertexFormat * vertexFormat, U32 vertexSize, GFXBufferType bufferType)
lock(U32 vertexStart, U32 vertexEnd, void ** vertexPtr)

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

When called the resource should destroy all device sensitive information (e.g. D3D resources in D3DPOOL_DEFAULT.

Detailed Description

Private Attributes

unsigned char * tempBuf 

Public Functions

GFXNullVertexBuffer(GFXDevice * device, U32 numVerts, const GFXVertexFormat * vertexFormat, U32 vertexSize, GFXBufferType bufferType)

lock(U32 vertexStart, U32 vertexEnd, void ** vertexPtr)

Reimplemented from: GFXVertexBuffer

prepare()

Reimplemented from: GFXVertexBuffer

resurrect()

Reimplemented from: GFXResource

unlock()

Reimplemented from: GFXVertexBuffer

zombify()

Reimplemented from: GFXResource