#include "CMesh.h"
#include "glext.h"
Classes | |
class | cVBOMesh |
This class is a replacement for cMesh that uses vertex buffers for rendering. It allows for much faster rendering, but requires hardware support for VBO's and does not allow vertices to be moved around without re-initializing the VBO. More... | |
Enumerations | |
enum | vbo_flags |
Functions | |
bool | IsExtensionSupported (char *szTargetExtension) |
bool | InitVBO () |
enum vbo_flags |
An enumeration defining the components that _might_ be represented in a VBO-enabled mesh
bool InitVBO | ( | ) |
A global function used to initialize vertex buffers
Returns true if successful, false if vbo's are not supported or could not be initialized.
bool IsExtensionSupported | ( | char * | szTargetExtension | ) |
A global function used to test for OpenGL extension support
Returns true if the extension is supported, false otherwise