MPMA Framework 0.4
Public Member Functions
GFX::IndexBuffer Class Reference

Represents an index buffer object. More...

#include <Vertex.h>

Inheritance diagram for GFX::IndexBuffer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool Create ()
 Creates an empty index buffer.
void Free ()
 Frees the current index buffer object.
 operator GLuint () const
 Retrieves the current index buffer object that can be passed to OpenGL calls.
bool Load (uint16 *bytes, nuint indexCount, GLenum usage=GL_STATIC_DRAW)
 Creates a new empty index buffer and loads it with 16-bit data index data.
void BindAndSetState ()
 Binds the index buffer.
void Unbind ()
 Unbinds the index buffer.

Detailed Description

Represents an index buffer object.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends