|
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. | |
| ~PrimitiveInfo () | |
| PrimitiveInfo destructor. | |
| 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.
| typedef Numeric::uint64 GLUP::PrimitiveInfo::ShaderKey |
Definition at line 1014 of file GLUP_context.h.
|
inline |
PrimitiveInfo constructor.
Definition at line 1019 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.
|
inline |
Definition at line 1071 of file GLUP_context.h.
|
inline |
Definition at line 1067 of file GLUP_context.h.
| GLuint GLUP::PrimitiveInfo::elements_VBO |
Definition at line 1079 of file GLUP_context.h.
| GLenum GLUP::PrimitiveInfo::GL_primitive |
Definition at line 1076 of file GLUP_context.h.
| bool GLUP::PrimitiveInfo::implemented |
Definition at line 1083 of file GLUP_context.h.
| index_t GLUP::PrimitiveInfo::nb_elements_per_primitive |
Definition at line 1080 of file GLUP_context.h.
| index_t* GLUP::PrimitiveInfo::primitive_elements |
Definition at line 1081 of file GLUP_context.h.
| std::map<ShaderKey, GLuint> GLUP::PrimitiveInfo::shader_map |
Definition at line 1077 of file GLUP_context.h.
| GLuint GLUP::PrimitiveInfo::VAO |
Definition at line 1078 of file GLUP_context.h.
| bool GLUP::PrimitiveInfo::vertex_gather_mode |
Definition at line 1082 of file GLUP_context.h.