Represents a found shader uniform and created via ShaderProgram::GetUniform().
More...
|
| | Uniform ()=default |
| | Creates a invalid uniform.
|
| | Uniform (std::string n, int l, unsigned int sp) |
| bool | is_valid () const |
Represents a found shader uniform and created via ShaderProgram::GetUniform().
Definition at line 8 of file uniform.h.
◆ Uniform() [1/2]
| eu::render::Uniform::Uniform |
( |
| ) |
|
|
default |
Creates a invalid uniform.
◆ Uniform() [2/2]
| eu::render::Uniform::Uniform |
( |
std::string | n, |
|
|
int | l, |
|
|
unsigned int | sp ) |
◆ is_valid()
| bool eu::render::Uniform::is_valid |
( |
| ) |
const |
|
nodiscard |
◆ debug_shader_program
| unsigned int eu::render::Uniform::debug_shader_program = 0 |
◆ location
| int eu::render::Uniform::location = -1 |
◆ name
| std::string eu::render::Uniform::name = "<unknown>" |
◆ texture
| int eu::render::Uniform::texture = -1 |
The value is >=0 if this is uniform maps to a texture.
Definition at line 13 of file uniform.h.
The documentation for this struct was generated from the following file: