|
Euphoria
|
Represents a found shader uniform and created via ShaderProgram::GetUniform() More...
Public Member Functions | |
| Uniform ()=default | |
| Creates a invalid uniform. | |
| Uniform (std::string n, int l, unsigned int sp) | |
| bool | is_valid () const |
Public Attributes | |
| std::string | name = "<unknown>" |
| int | location = -1 |
| unsigned int | debug_shader_program = 0 |
| int | texture = -1 |
| The value is >=0 if this is uniform maps to a texture. | |
Represents a found shader uniform and created via ShaderProgram::GetUniform()
|
default |
Creates a invalid uniform.
| bool eu::render::Uniform::is_valid | ( | ) | const |
| int eu::render::Uniform::texture = -1 |