Torque3D Documentation / _generateds / GFXD3D11VertexBuffer

GFXD3D11VertexBuffer

Engine/source/gfx/D3D11/gfxD3D11VertexBuffer.h

More...

Public Attributes

Public Functions

GFXD3D11VertexBuffer(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

Public Attributes

bool mClearAtFrameEnd 
TORQUE_DEBUG bool mIsFirstLock 
void * mLockedBuffer 
StrongRefPtr< GFXD3D11VertexBuffer > mVolatileBuffer 
ID3D11Buffer * vb 

Public Functions

GFXD3D11VertexBuffer()

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

~GFXD3D11VertexBuffer()

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