GFXPrimitiveBuffer
Engine/source/gfx/gfxPrimitiveBuffer.h
Public Friends
class
class
Public Attributes
Public Functions
GFXPrimitiveBuffer(GFXDevice * device, U32 indexCount, U32 primitiveCount, GFXBufferType bufferType)
The resource should put a description of itself (number of vertices, size/width of texture, etc.) in buffer.
Detailed Description
Public Friends
Public Attributes
GFXBufferType mBufferType
GFXDevice * mDevice
U32 mIndexCount
GFXPrimitive * mPrimitiveArray
U32 mPrimitiveCount
U32 mVolatileStart
Public Functions
GFXPrimitiveBuffer(GFXDevice * device, U32 indexCount, U32 primitiveCount, GFXBufferType bufferType)
~GFXPrimitiveBuffer()
describeSelf()
Reimplemented from: GFXResource
lock(U32 indexStart, U32 indexEnd, void ** indexPtr)
locks this primitive buffer for writing into
Reimplemented by: GFXD3D11PrimitiveBuffer, GFXGLPrimitiveBuffer, GFXNullPrimitiveBuffer
prepare()
prepares this primitive buffer for use on the device it was allocated on
Reimplemented by: GFXD3D11PrimitiveBuffer, GFXGLPrimitiveBuffer, GFXNullPrimitiveBuffer
unlock()
unlocks this primitive buffer.
Reimplemented by: GFXD3D11PrimitiveBuffer, GFXGLPrimitiveBuffer, GFXNullPrimitiveBuffer