Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
Public Member Functions | Protected Attributes
render::VertexBuffer Class Reference

Class for index buffers, still abstract. More...

#include <VertexBuffer.h>

Inheritance diagram for render::VertexBuffer:
resource::Buffer render::HardwareVertexBuffer render::MemoryVertexBuffer

List of all members.

Public Member Functions

u32 getNumVertices ()
 Get the number of vertices in this buffer.
u32 getVertexSize ()
 Get the size in bytes of each vertex.
 VertexBuffer (u32 vertexSize, u32 numVertices, resource::BufferUsage usage, bool systemMemory, bool useShadowBuffer)
virtual ~VertexBuffer ()

Protected Attributes

u32 mNumVertices
u32 mVertexSize

Detailed Description

Class for index buffers, still abstract.

Constructor & Destructor Documentation

render::VertexBuffer::VertexBuffer ( u32  vertexSize,
u32  numVertices,
resource::BufferUsage  usage,
bool  systemMemory,
bool  useShadowBuffer 
render::VertexBuffer::~VertexBuffer ( ) [virtual]

Member Function Documentation

u32 render::VertexBuffer::getNumVertices ( )

Get the number of vertices in this buffer.

References mNumVertices.

u32 render::VertexBuffer::getVertexSize ( )

Get the size in bytes of each vertex.

References mVertexSize.

Member Data Documentation

Referenced by getNumVertices(), and VertexBuffer().

Referenced by getVertexSize(), and VertexBuffer().

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

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:09 by Doxygen (1.7.4)