|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Configuration options for shading a mesh instance of a 3D model. More...
#include <GREM/graphics_3d/Model3D.hpp>
Classes | |
| class | Hash |
| Hasher for a ShaderConfiguration. More... | |
Public Member Functions | |
| constexpr bool | operator== (const ShaderConfiguration &other) const =default |
| Compare this configuration to another for equality. | |
Public Attributes | |
| MaterialType | materialType = MaterialType::METALLIC_ROUGHNESS |
| How to interpret the material parameters when shading. | |
| PrimitiveType | primitiveType = PrimitiveType::TRIANGLES |
| How to form primitives out of consecutive mesh vertices. | |
| FrontFace | frontFace = FrontFace::COUNTERCLOCKWISE |
| The winding order of front-facing faces. | |
| resource::Model::VertexFlags | vertexFlags {} |
| Vertex flags used by the shader, see VertexFlag. | |
| resource::Model::FragmentFlags | fragmentFlags {} |
| Fragment flags used by the shader, see FragmentFlag. | |
Configuration options for shading a mesh instance of a 3D model.
|
nodiscardconstexprdefault |
Compare this configuration to another for equality.
| other | the configuration to compare this one to. |
| MaterialType grem::graphics::Model3D::ShaderConfiguration::materialType = MaterialType::METALLIC_ROUGHNESS |
How to interpret the material parameters when shading.
| PrimitiveType grem::graphics::Model3D::ShaderConfiguration::primitiveType = PrimitiveType::TRIANGLES |
How to form primitives out of consecutive mesh vertices.
| FrontFace grem::graphics::Model3D::ShaderConfiguration::frontFace = FrontFace::COUNTERCLOCKWISE |
The winding order of front-facing faces.
| resource::Model::VertexFlags grem::graphics::Model3D::ShaderConfiguration::vertexFlags {} |
Vertex flags used by the shader, see VertexFlag.
| resource::Model::FragmentFlags grem::graphics::Model3D::ShaderConfiguration::fragmentFlags {} |
Fragment flags used by the shader, see FragmentFlag.