El Octavio  1.0
This is a video game about adventures.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Glsl.inl File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Matrix< Columns, Rows >
 Matrix type, used to set uniforms in GLSL. More...
 
struct  Vector4< T >
 4D vector type, used to set uniforms in GLSL More...
 

Functions

void SFML_GRAPHICS_API copyMatrix (const Transform &source, Matrix< 3, 3 > &dest)
 Helper functions to copy sf::Transform to sf::Glsl::Mat3/4. More...
 
void SFML_GRAPHICS_API copyMatrix (const Transform &source, Matrix< 4, 4 > &dest)
 
void SFML_GRAPHICS_API copyMatrix (const float *source, std::size_t elements, float *dest)
 Copy array-based matrix with given number of elements. More...
 
void SFML_GRAPHICS_API copyVector (const Color &source, Vector4< float > &dest)
 Helper functions to copy sf::Color to sf::Glsl::Vec4/Ivec4. More...
 
void SFML_GRAPHICS_API copyVector (const Color &source, Vector4< int > &dest)
 

Function Documentation

◆ copyMatrix() [1/3]

void SFML_GRAPHICS_API copyMatrix ( const float *  source,
std::size_t  elements,
float *  dest 
)

Copy array-based matrix with given number of elements.

Indirection to std::copy() to avoid inclusion of <algorithm> and MSVC's annoying 4996 warning in header

◆ copyMatrix() [2/3]

void SFML_GRAPHICS_API copyMatrix ( const Transform &  source,
Matrix< 3, 3 > &  dest 
)

Helper functions to copy sf::Transform to sf::Glsl::Mat3/4.

+ Here is the caller graph for this function:

◆ copyMatrix() [3/3]

void SFML_GRAPHICS_API copyMatrix ( const Transform &  source,
Matrix< 4, 4 > &  dest 
)

◆ copyVector() [1/2]

void SFML_GRAPHICS_API copyVector ( const Color &  source,
Vector4< float > &  dest 
)

Helper functions to copy sf::Color to sf::Glsl::Vec4/Ivec4.

+ Here is the caller graph for this function:

◆ copyVector() [2/2]

void SFML_GRAPHICS_API copyVector ( const Color &  source,
Vector4< int > &  dest 
)