|
Open CASCADE Technology
6.7.1
|
#include <OpenGl_PrimitiveArray.hxx>

Public Types | |
| enum | { DRAW_MODE_NONE = -1 } |
Public Member Functions | |
| OpenGl_PrimitiveArray (CALL_DEF_PARRAY *thePArray) | |
| Default constructor. More... | |
| virtual void | Render (const Handle< OpenGl_Workspace > &theWorkspace) const |
| Render primitives to the window. More... | |
| virtual void | Release (const Handle< OpenGl_Context > &theContext) |
| Release GPU resources. More... | |
| CALL_DEF_PARRAY * | PArray () const |
Public Member Functions inherited from OpenGl_Element | |
| OpenGl_Element () | |
| Standard_Boolean | RenderFiltered (const Handle< OpenGl_Workspace > &theWorkspace, const Handle< OpenGl_RenderFilter > &theFilter) const |
| Render element if it passes the filtering procedure. This method should be used for elements which can be used in scope of rendering algorithms. E.g. elements of groups during recursive rendering. If render filter is null, pure rendering is performed. More... | |
Protected Types | |
| enum | VBODataType { VBOEdges, VBOVertices, VBOVcolours, VBOVnormals, VBOVtexels, VBOMaxType } |
Protected Member Functions | |
| virtual | ~OpenGl_PrimitiveArray () |
| Destructor. More... | |
Protected Member Functions inherited from OpenGl_Element | |
| virtual | ~OpenGl_Element () |
Protected Attributes | |
| CALL_DEF_PARRAY * | myPArray |
| Handle< OpenGl_VertexBuffer > | myVbos [VBOMaxType] |
| GLint | myDrawMode |
| Standard_Boolean | myIsVboInit |
Additional Inherited Members | |
Static Public Member Functions inherited from OpenGl_Element | |
| template<typename theResource_t > | |
| static void | Destroy (const Handle< OpenGl_Context > &theContext, theResource_t *&theElement) |
|
protected |
| OpenGl_PrimitiveArray::OpenGl_PrimitiveArray | ( | CALL_DEF_PARRAY * | thePArray | ) |
Default constructor.
|
protectedvirtual |
Destructor.
|
inline |
|
virtual |
Release GPU resources.
Implements OpenGl_Element.
|
virtual |
Render primitives to the window.
Implements OpenGl_Element.
|
protected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
1.8.5