| Linderdaum Engine: clGLVertexArray Class Reference | ![]() |
#include <GLVertexArray.h>
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 | |
| clCVar * | FVALocksCount |
| size_t | FTriangles |
| Luint | FVBOID |
| Luint | FVBOIndicesID |
| Luint | FVAOID |
| LArray< const void * > | FAttribVBOOffset |
| VBO offsets. | |
| Lsizei | FCount |
| Lenum | FIndicesType |
| Luint * | FIndicesPtr |
| bool | FDontUseIndices |
| Luint | FVerticesPerPatch |
| LArray< const void * > | FEnumeratedStreams |
| this is equal to FAttribVBOOffset in non-VBO mode | |
| clGLVertexArray::clGLVertexArray | ( | ) |
| clGLVertexArray::~clGLVertexArray | ( | ) | [virtual] |
| 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] |
LArray<const void*> clGLVertexArray::FAttribVBOOffset [private] |
VBO offsets.
Lsizei clGLVertexArray::FCount [private] |
bool clGLVertexArray::FDontUseIndices [private] |
LArray<const void*> clGLVertexArray::FEnumeratedStreams [private] |
this is equal to FAttribVBOOffset in non-VBO mode
Lenum clGLVertexArray::FGLPrimitive [private] |
type of the geometry primitive associated with this VA
Luint* clGLVertexArray::FIndicesPtr [private] |
Lenum clGLVertexArray::FIndicesType [private] |
size_t clGLVertexArray::FTriangles [private] |
clCVar* clGLVertexArray::FVALocksCount [private] |
Luint clGLVertexArray::FVAOID [private] |
Luint clGLVertexArray::FVBOID [private] |
Luint clGLVertexArray::FVBOIndicesID [private] |
Luint clGLVertexArray::FVerticesPerPatch [private] |