|
| MatrixFrameVariable (ShaderProgram *p_program) |
| Constructor. More...
|
|
| MatrixFrameVariable (ShaderProgram *p_program, uint32_t p_occurences) |
| Constructor. More...
|
|
| MatrixFrameVariable (MatrixFrameVariable< T, Rows, Columns > const &p_object) |
| Copy constructor. More...
|
|
| MatrixFrameVariable (MatrixFrameVariable< T, Rows, Columns > &&p_object) |
| Move constructor. More...
|
|
MatrixFrameVariable & | operator= (MatrixFrameVariable< T, Rows, Columns > const &p_object) |
| Copy assignment operator. More...
|
|
MatrixFrameVariable & | operator= (MatrixFrameVariable< T, Rows, Columns > &&p_object) |
| Move assignment operator. More...
|
|
virtual | ~MatrixFrameVariable () |
| Destructor. More...
|
|
Castor::Matrix< T, Rows, Columns > & | GetValue () |
| Retrieves the value. More...
|
|
Castor::Matrix< T, Rows, Columns > const & | GetValue () const |
| Retrieves the value. More...
|
|
Castor::Matrix< T, Rows, Columns > & | GetValue (uint32_t p_index) |
| Retrieves the value at given index. More...
|
|
Castor::Matrix< T, Rows, Columns > const & | GetValue (uint32_t p_index) const |
| Retrieves the value at given index. More...
|
|
void | SetValue (Castor::Matrix< T, Rows, Columns > const &p_value) |
| Defines the value of the variable. More...
|
|
void | SetValue (Castor::Matrix< T, Rows, Columns > const &p_value, uint32_t p_index) |
| Defines the value of the variable. More...
|
|
virtual uint32_t | size () const |
| Retrieves the byte size of the variable. More...
|
|
virtual void | link (uint8_t *p_buffer) |
| Defines the buffer holding the frame variable. More...
|
|
Castor::Matrix< T, Rows, Columns > & | operator[] (uint32_t p_index) |
| Array subscript operator. More...
|
|
Castor::Matrix< T, Rows, Columns > const & | operator[] (uint32_t p_index) const |
| Array subscript operator. More...
|
|
eVARIABLE_TYPE | GetType () const |
| Retrieves the variable type. More...
|
|
eFRAME_VARIABLE_TYPE | GetFullType () const |
| Retrieves the variable full type. More...
|
|
Castor::String | GetFullTypeName () const |
| Gives the variable full type name. More...
|
|
| TFrameVariable (ShaderProgram *p_program) |
| Constructor. More...
|
|
| TFrameVariable (ShaderProgram *p_program, uint32_t p_occurences) |
| Constructor. More...
|
|
| TFrameVariable (TFrameVariable< T > const &p_object) |
| Copy constructor. More...
|
|
| TFrameVariable (TFrameVariable< T > &&p_object) |
| Move constructor. More...
|
|
TFrameVariable & | operator= (TFrameVariable< T > const &p_object) |
| Copy assignment operator. More...
|
|
TFrameVariable & | operator= (TFrameVariable< T > &&p_object) |
| Move assignment operator. More...
|
|
virtual | ~TFrameVariable () |
| Destructor. More...
|
|
Castor::String | GetDataTypeName () const |
| Gives the variable data type. More...
|
|
virtual uint8_t const *const | const_ptr () const |
| Retrieves a pointer to the variable data. More...
|
|
C3D_API | FrameVariable (ShaderProgram *p_program) |
| Constructor. More...
|
|
C3D_API | FrameVariable (ShaderProgram *p_program, uint32_t p_occurences) |
| Constructor. More...
|
|
C3D_API | FrameVariable (FrameVariable const &p_object) |
| Copy constructor. More...
|
|
C3D_API | FrameVariable (FrameVariable &&p_object) |
| Move constructor. More...
|
|
C3D_API FrameVariable & | operator= (FrameVariable const &p_object) |
| Copy assignment operator. More...
|
|
C3D_API FrameVariable & | operator= (FrameVariable &&p_object) |
| Move assignment operator. More...
|
|
virtual C3D_API | ~FrameVariable () |
| Destructor. More...
|
|
virtual C3D_API bool | Initialise ()=0 |
| Initialises the variable. More...
|
|
virtual C3D_API void | Cleanup ()=0 |
| Cleans up the variable. More...
|
|
virtual C3D_API void | Bind ()=0 |
| Binds this variable to the shader. More...
|
|
virtual C3D_API void | Unbind ()=0 |
| Unbinds this variable from the shader. More...
|
|
virtual C3D_API void | SetValueStr (Castor::String const &p_value) |
| Defines the value of the variable, from a string. More...
|
|
virtual C3D_API void | SetValueStr (Castor::String const &p_value, uint32_t p_index) |
| Defines the value of the variable, from a string. More...
|
|
virtual void | SetName (Castor::String const &p_name) |
| Defines the name of the variable, as it appears in the shader program. More...
|
|
Castor::String | GetName () const |
| Gives the name of the variable, as it appears in the shader program. More...
|
|
Castor::String | GetStrValue () const |
| Retrieves the variable string value. More...
|
|
Castor::String | GetStrValue (uint32_t p_index) const |
| Retrieves the variable string value at given index. More...
|
|
const uint32_t & | GetOccCount () const |
| Retrieves the occurences count. More...
|
|
ShaderProgram * | GetProgram () const |
| Retrieves the parent program. More...
|
|
template<typename T, uint32_t Rows, uint32_t Columns>
class Castor3D::MatrixFrameVariable< T, Rows, Columns >
Matrix shader variable with variable type and dimensions.
- Author
- Sylvain DOREMUS
- Version
- 0.6.1.0
- Date
- 14/08/2010