|
Euphoria
|
A unlit (or fully lit) material, not affected by light. More...
Public Member Functions | |
| UnlitMaterial (const ShaderResource &resource) | |
| void | use_shader (const RenderContext &) override |
| void | set_uniforms (const RenderContext &, const CompiledCamera &, const std::optional< m4 > &) override |
| void | bind_textures (const RenderContext &, State *states, Assets *assets) override |
| void | apply_lights (const RenderContext &, const Lights &lights, const RenderSettings &settings, State *states, Assets *assets) override |
| bool | is_transparent () const override |
Public Member Functions inherited from eu::render::Material | |
| Material ()=default | |
| virtual | ~Material ()=default |
| Material (const Material &)=delete | |
| Material (Material &&)=delete | |
| void | operator= (const Material &)=delete |
| void | operator= (Material &&)=delete |
Public Attributes | |
| const LoadedShader_Unlit_Container * | shader_container |
| Rgb | color = colors::white |
| float | alpha = 1.0f |
| std::shared_ptr< Texture2d > | texture |
A unlit (or fully lit) material, not affected by light.
Definition at line 49 of file material.h.
|
explicit |
|
overridevirtual |
Implements eu::render::Material.
|
overridevirtual |
Implements eu::render::Material.
|
overridevirtual |
Implements eu::render::Material.
|
overridevirtual |
Implements eu::render::Material.
|
overridevirtual |
Implements eu::render::Material.
| float eu::render::UnlitMaterial::alpha = 1.0f |
Definition at line 53 of file material.h.
| Rgb eu::render::UnlitMaterial::color = colors::white |
Definition at line 52 of file material.h.
| const LoadedShader_Unlit_Container* eu::render::UnlitMaterial::shader_container |
Definition at line 51 of file material.h.
| std::shared_ptr<Texture2d> eu::render::UnlitMaterial::texture |
Definition at line 54 of file material.h.