Graphite
Version 3
An experimental 3D geometry processing program
|
A GLUP state variable that contains an array of floating points. This concerns both vectors and matrices. More...
#include <geogram_gfx/GLUP/GLUP_context.h>
Public Member Functions | |
FloatsArrayStateVariable () | |
FloatsArrayStateVariable default constructor. | |
FloatsArrayStateVariable (Context *context, const char *name) | |
FloatsArrayStateVariable constructor. More... | |
const GLUPfloat * | get_pointer () const |
Gets a pointer to the variable. More... | |
GLUPfloat * | get_pointer () |
Gets a modifiable pointer to the variable. More... | |
Public Member Functions inherited from GLUP::StateVariableBase | |
StateVariableBase () | |
StateVariableBase default constructor. | |
StateVariableBase (Context *context, const char *name) | |
StateVariableBase constructor. More... | |
void | initialize (Context *context, const char *name) |
Initializes a StateVariableBase. More... | |
const std::string & | name () const |
Gets the name of this StateVariableBase. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from GLUP::StateVariableBase | |
Memory::pointer | address () const |
Gets the address of the StateVariableBase. More... | |
void | flag_uniform_buffer_as_dirty () |
Indicates that the variables in the context need to be sent to OpenGL. | |
Protected Attributes inherited from GLUP::StateVariableBase | |
Memory::pointer | address_ |
Context * | context_ |
std::string | name_ |
A GLUP state variable that contains an array of floating points. This concerns both vectors and matrices.
Definition at line 843 of file GLUP_context.h.
|
inline |
FloatsArrayStateVariable constructor.
[in] | context | a pointer to the GLUP Context |
[in] | name | the name of the variable, without "GLUPStateBlock." (it is prepended automatically). |
Definition at line 858 of file GLUP_context.h.
|
inline |
Gets a modifiable pointer to the variable.
This flags the uniform buffer as dirty in the Context.
Definition at line 879 of file GLUP_context.h.
|
inline |
Gets a pointer to the variable.
Definition at line 868 of file GLUP_context.h.