MaterialShaderPropertiesOverride.ixx File
Overrides for material properties to customize rendering parameters. More...
Included Headers
#include <optional>
#include <helios.rendering.shader.UniformSemantics>
#include <helios.rendering.shader.UniformValueMap>
#include <helios.math.types>
Namespaces Index
| namespace | helios |
| namespace | rendering |
|
Graphics rendering infrastructure. More... | |
| namespace | material |
Classes Index
| struct | MaterialShaderPropertiesOverride |
|
Configuration container for overriding specific material properties. More... | |
Description
Overrides for material properties to customize rendering parameters.
File Listing
The file content with the documentation metadata removed is:
17export namespace helios::rendering::material {
29 struct MaterialShaderPropertiesOverride {
50 void writeUniformValues(helios::rendering::shader::UniformValueMap& uniformValueMap) const noexcept {
52 if (baseColor) {
53 uniformValueMap.set(helios::rendering::shader::UniformSemantics::MaterialBaseColor, *baseColor);
56 if (roughness) {
57 uniformValueMap.set(helios::rendering::shader::UniformSemantics::MaterialRoughness, *roughness);
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.