Euphoria
eu::render::attributes3d Namespace Reference

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 ShaderAttribute eu::render::attributes3d::color
constexpr
Initial value:
= ShaderAttribute
{
4,
ShaderAttributeType::float3,
"aColor",
}
constexpr ShaderAttribute color

Definition at line 43 of file shaderattribute3d.h.

◆ normal

constexpr ShaderAttribute eu::render::attributes3d::normal
constexpr
Initial value:
= ShaderAttribute
{
2,
ShaderAttributeType::float3,
"aNormal",
}
constexpr ShaderAttribute normal

Definition at line 27 of file shaderattribute3d.h.

◆ tex_coord

constexpr ShaderAttribute eu::render::attributes3d::tex_coord
constexpr
Initial value:
= ShaderAttribute
{
3,
ShaderAttributeType::float2,
"aTexCoord",
ShaderAttributeSource::uv
}

Definition at line 35 of file shaderattribute3d.h.

◆ vertex

constexpr ShaderAttribute eu::render::attributes3d::vertex
constexpr
Initial value:
= ShaderAttribute
{
1,
ShaderAttributeType::float3,
"aPosition",
}
constexpr ShaderAttribute vertex

Definition at line 19 of file shaderattribute3d.h.