Symphony Of Empires
|
#include <glsl_trans.hpp>
Public Types | |
enum class | PrimitiveType { NONE , INT , FLOAT , BOOL , VEC2 , VEC3 , VEC4 , MAT4 , SAMPLER2D , SAMPLER2DARRAY , SAMPLER3D , SAMPLER3DARRAY } |
Since GLSL doesn't allow complex structures we can rely on a simple table of primitives. More... | |
Public Attributes | |
std::string | name |
Eng3D::GLSL::Type::PrimitiveType | primitive_type = Eng3D::GLSL::Type::PrimitiveType::NONE |
Definition at line 76 of file glsl_trans.hpp.
|
strong |
Since GLSL doesn't allow complex structures we can rely on a simple table of primitives.
Enumerator | |
---|---|
NONE | |
INT | |
FLOAT | |
BOOL | |
VEC2 | |
VEC3 | |
VEC4 | |
MAT4 | |
SAMPLER2D | |
SAMPLER2DARRAY | |
SAMPLER3D | |
SAMPLER3DARRAY |
Definition at line 80 of file glsl_trans.hpp.
std::string Eng3D::GLSL::Type::name |
Definition at line 91 of file glsl_trans.hpp.
Eng3D::GLSL::Type::PrimitiveType Eng3D::GLSL::Type::primitive_type = Eng3D::GLSL::Type::PrimitiveType::NONE |
Definition at line 92 of file glsl_trans.hpp.