TextShaderProperties.ixx File
Defines shader properties for text rendering. More...
Included Headers
#include <memory>
#include <string>
#include <utility>
#include <helios.rendering.shader.UniformSemantics>
#include <helios.rendering.shader.UniformValueMap>
#include <helios.math>
#include <helios.util.Colors>
#include <helios.engine.modules.ui.widgets.types.FontId>
#include <helios.rendering.shader.Shader>
Namespaces Index
| namespace | helios |
| namespace | rendering |
|
Graphics rendering infrastructure. More... | |
| namespace | text |
|
Text rendering abstractions and data types. More... | |
Classes Index
| class | TextShaderProperties |
|
Immutable shader properties for text rendering. More... | |
Description
Defines shader properties for text rendering.
File Listing
The file content with the documentation metadata removed is:
22export namespace helios::rendering::text {
47 class TextShaderProperties final {
54 helios::math::vec4f baseColor_;
63 explicit TextShaderProperties(
64 const helios::math::vec4f baseColor = helios::util::Colors::White
75 void writeUniformValues(helios::rendering::shader::UniformValueMap& uniformValueMap) const noexcept {
76 uniformValueMap.set(helios::rendering::shader::UniformSemantics::TextColor, baseColor_);
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.