Matrix type, used to set uniforms in GLSL.
More...
|
| Matrix (const float *pointer) |
| Construct from raw data. More...
|
|
| Matrix (const Transform &transform) |
| Construct implicitly from SFML transform. More...
|
|
|
float | array [Columns *Rows] |
| Array holding matrix data. More...
|
|
template<std::size_t Columns, std::size_t Rows>
struct Matrix< Columns, Rows >
Matrix type, used to set uniforms in GLSL.
Definition at line 55 of file Glsl.inl.
◆ Matrix() [1/2]
template<std::size_t Columns, std::size_t Rows>
Construct from raw data.
- Parameters
-
pointer | Points to the beginning of an array that has the size of the matrix. The elements are copied to the instance. |
Definition at line 65 of file Glsl.inl.
◆ Matrix() [2/2]
template<std::size_t Columns, std::size_t Rows>
Construct implicitly from SFML transform.
This constructor is only supported for 3x3 and 4x4 matrices.
- Parameters
-
transform | Object containing a transform. |
Definition at line 79 of file Glsl.inl.
◆ array
template<std::size_t Columns, std::size_t Rows>
float Matrix< Columns, Rows >::array[Columns *Rows] |
Array holding matrix data.
Definition at line 84 of file Glsl.inl.
The documentation for this struct was generated from the following file: