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

Represents a vertex buffer object. More...

#include <Vertex.h>

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

List of all members.

Public Member Functions

bool Create ()
 Creates an empty vertex buffer.
void Free ()
 Frees the current vertex buffer object.
 operator GLuint () const
 Retrieves the current vertex buffer object that can be passed to OpenGL calls.
bool LoadInterleaved (const InterleavedVertexFormat &format, const void *bytes, nuint vertexCount)
 Creates a new empty vertex buffer and loads it with data vertex data.
void BindAndSetState ()
 Binds the vertex buffer and sets up the GL vertex component pointers for using it.
void Unbind ()
 Unbinds the vertex buffer and unsets the GL vertex component pointers.

Detailed Description

Represents a vertex buffer object.


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