|
Geogram Version 1.9.7
A programming library of geometric algorithms
|
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. | |
| const GLUPfloat * | get_pointer () const |
| Gets a pointer to the variable. | |
| GLUPfloat * | get_pointer () |
| Gets a modifiable pointer to the variable. | |
Public Member Functions inherited from GLUP::StateVariableBase | |
| StateVariableBase () | |
| StateVariableBase default constructor. | |
| StateVariableBase (Context *context, const char *name) | |
| StateVariableBase constructor. | |
| void | initialize (Context *context, const char *name) |
| Initializes a StateVariableBase. | |
| const std::string & | name () const |
| Gets the name of this StateVariableBase. | |
Additional Inherited Members | |
Protected Member Functions inherited from GLUP::StateVariableBase | |
| Memory::pointer | address () const |
| Gets the address of the StateVariableBase. | |
| 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 default constructor.
Definition at line 849 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.