Graphite
Version 3
An experimental 3D geometry processing program
|
Stores the programs and vertex array object used to display a primitive of a given type. More...
#include <geogram_gfx/GLUP/GLUP_context.h>
Public Types | |
typedef Numeric::uint64 | ShaderKey |
Public Member Functions | |
PrimitiveInfo () | |
PrimitiveInfo constructor. | |
PrimitiveInfo (const PrimitiveInfo &rhs) | |
PrimitiveInfo copy constructor. More... | |
~PrimitiveInfo () | |
PrimitiveInfo destructor. More... | |
bool | program_is_initialized (ShaderKey k) const |
GLuint | program (ShaderKey k) const |
Public Attributes | |
GLenum | GL_primitive |
std::map< ShaderKey, GLuint > | shader_map |
GLuint | VAO |
GLuint | elements_VBO |
index_t | nb_elements_per_primitive |
index_t * | primitive_elements |
bool | vertex_gather_mode |
bool | implemented |
Stores the programs and vertex array object used to display a primitive of a given type.
Definition at line 1012 of file GLUP_context.h.
|
inline |
PrimitiveInfo copy constructor.
[in] | rhs | the PrimitiveInfo to be copied. |
Should be only called with uninitialized PrimitiveInfo (else triggers an assertion failure).
Definition at line 1035 of file GLUP_context.h.
|
inline |
PrimitiveInfo destructor.
Deletes the programs and vertex array object if need be.
Definition at line 1051 of file GLUP_context.h.