Linderdaum Engine: clGLVertexArray Class Reference
Updated: Sun Feb 5 2012 22:59:50
clGLVertexArray Class Reference

#include <GLVertexArray.h>

List of all members.

Public Member Functions

 clGLVertexArray ()
virtual ~clGLVertexArray ()
virtual void AfterConstruction ()
virtual void FeedIntoGPU (bool Wireframe, iShaderProgram *SP) const
 Render current vertex array once.
virtual void FeedIntoGPUInstanced (bool Wireframe, int NumInstances, iShaderProgram *SP) const
 Render current vertex array NumInstances times.
virtual void CommitChanges ()
 Commit changes from attached vertex attribs.
virtual void SetVertexAttribs (clVertexAttribs *Attribs)
 Attach new vertex attribs (replace with no deallocation)
virtual void Event_SURFACE_DETACHED (LEvent Event, const LEventArgs &Args)
virtual void Event_SURFACE_ATTACHED (LEvent Event, const LEventArgs &Args)

Private Member Functions

void RegenerateOffsets ()
void BindVertexArray (iShaderProgram *SP) const
void UnBindVertexArray (iShaderProgram *SP) const

Private Attributes

Lenum FGLPrimitive
 type of the geometry primitive associated with this VA
clCVarFVALocksCount
size_t FTriangles
Luint FVBOID
Luint FVBOIndicesID
Luint FVAOID
LArray< const void * > FAttribVBOOffset
 VBO offsets.
Lsizei FCount
Lenum FIndicesType
LuintFIndicesPtr
bool FDontUseIndices
Luint FVerticesPerPatch
LArray< const void * > FEnumeratedStreams
 this is equal to FAttribVBOOffset in non-VBO mode

Constructor & Destructor Documentation

clGLVertexArray::clGLVertexArray ( )
clGLVertexArray::~clGLVertexArray ( ) [virtual]

Member Function Documentation

void clGLVertexArray::AfterConstruction ( ) [virtual]

Reimplemented from iObject.

void clGLVertexArray::BindVertexArray ( iShaderProgram SP) const [private]
void clGLVertexArray::CommitChanges ( ) [virtual]

Commit changes from attached vertex attribs.

Implements iVertexArray.

void clGLVertexArray::Event_SURFACE_ATTACHED ( LEvent  Event,
const LEventArgs Args 
) [virtual]
void clGLVertexArray::Event_SURFACE_DETACHED ( LEvent  Event,
const LEventArgs Args 
) [virtual]
void clGLVertexArray::FeedIntoGPU ( bool  Wireframe,
iShaderProgram SP 
) const [virtual]

Render current vertex array once.

Implements iVertexArray.

void clGLVertexArray::FeedIntoGPUInstanced ( bool  Wireframe,
int  NumInstances,
iShaderProgram SP 
) const [virtual]

Render current vertex array NumInstances times.

Implements iVertexArray.

void clGLVertexArray::RegenerateOffsets ( ) [private]
void clGLVertexArray::SetVertexAttribs ( clVertexAttribs Attribs) [virtual]

Attach new vertex attribs (replace with no deallocation)

Reimplemented from iVertexArray.

void clGLVertexArray::UnBindVertexArray ( iShaderProgram SP) const [private]

Member Data Documentation

LArray<const void*> clGLVertexArray::FAttribVBOOffset [private]

VBO offsets.

this is equal to FAttribVBOOffset in non-VBO mode

type of the geometry primitive associated with this VA

size_t clGLVertexArray::FTriangles [private]

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