Euphoria
|
Functions | |
void | add_attributes_to_shader (ShaderProgram *shader) |
Variables | |
constexpr ShaderAttribute | vertex |
constexpr ShaderAttribute | normal |
constexpr ShaderAttribute | tex_coord |
constexpr ShaderAttribute | color |
Function Documentation
◆ add_attributes_to_shader()
void eu::render::attributes3d::add_attributes_to_shader | ( | ShaderProgram * | shader | ) |
Definition at line 10 of file shaderattribute3d.cc.
Variable Documentation
◆ color
|
constexpr |
Initial value:
= ShaderAttribute
{
4,
ShaderAttributeType::float3,
"aColor",
}
Definition at line 43 of file shaderattribute3d.h.
◆ normal
|
constexpr |
Initial value:
= ShaderAttribute
{
2,
ShaderAttributeType::float3,
"aNormal",
}
Definition at line 27 of file shaderattribute3d.h.
◆ tex_coord
|
constexpr |
Initial value:
= ShaderAttribute
{
3,
ShaderAttributeType::float2,
"aTexCoord",
ShaderAttributeSource::uv
}
Definition at line 35 of file shaderattribute3d.h.
◆ vertex
|
constexpr |
Initial value:
= ShaderAttribute
{
1,
ShaderAttributeType::float3,
"aPosition",
}
Definition at line 19 of file shaderattribute3d.h.