GeometryBuffer Class Reference

Inheritance diagram for GeometryBuffer:
DynamicGeometryBuffer

List of all members.

Public Member Functions

 GeometryBuffer (ID3D10Device *device)
virtual bool create (unsigned int numIndices, UINT vertexSize, const D3D10_BUFFER_DESC *vertexBufferDesc, const D3D10_BUFFER_DESC *indexBufferDesc, const D3D10_SUBRESOURCE_DATA *initialVertexData, const D3D10_SUBRESOURCE_DATA *initialIndexData)
virtual void bind ()
bool hasContents () const
virtual void draw ()
virtual void newFrame ()

Protected Attributes

unsigned int numIndices
unsigned int numUndrawnIndices
ID3D10Buffer * vertexBuffer
ID3D10Buffer * indexBuffer
ID3D10Device * device
UINT stride

The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2