TextRenderCommand.ixx File
Low-level render command for text rendering. More...
Included Headers
#include <memory>
#include <string_view>
#include <cassert>
#include <string>
#include <helios.engine.modules.ui.widgets.types.FontId>
#include <helios.rendering.text.TextMesh>
#include <helios.rendering.text.TextRenderPrototype>
#include <helios.rendering.shader.UniformValueMap>
Namespaces Index
| namespace | helios |
| namespace | rendering |
|
Graphics rendering infrastructure. More... | |
| namespace | text |
|
Text rendering abstractions and data types. More... | |
Classes Index
| class | TextRenderCommand |
|
Immutable command object for rendering a single piece of text. More... | |
Description
Low-level render command for text rendering.
File Listing
The file content with the documentation metadata removed is:
21export namespace helios::rendering::text {
46 class TextRenderCommand {
53 const helios::rendering::text::TextRenderPrototype* textRenderPrototype_;
58 helios::rendering::shader::UniformValueMap objectUniformValues_;
63 helios::rendering::shader::UniformValueMap materialUniformValues_;
70 const helios::rendering::text::TextMesh* textMesh_;
80 TextRenderCommand(const TextRenderCommand&)=delete;
87 TextRenderCommand& operator=(const TextRenderCommand&)=delete;
92 TextRenderCommand(TextRenderCommand&&) noexcept = default;
97 TextRenderCommand& operator=(TextRenderCommand&&) noexcept = default;
102 ~TextRenderCommand() = default;
116 const helios::rendering::text::TextRenderPrototype* textRenderPrototype,
117 const helios::rendering::shader::UniformValueMap& objectUniformValues,
118 const helios::rendering::shader::UniformValueMap& materialUniformValues
120 textMesh_(textMesh),
121 textRenderPrototype_(textRenderPrototype),
122 objectUniformValues_(objectUniformValues),
123 materialUniformValues_(materialUniformValues) {
134 [[nodiscard]] const helios::rendering::text::TextRenderPrototype* textRenderPrototype() const noexcept {
145 [[nodiscard]] const helios::rendering::text::TextMesh* textMesh() const noexcept {
154 [[nodiscard]] const helios::rendering::shader::UniformValueMap& objectUniformValues() const noexcept {
165 [[nodiscard]] const helios::rendering::shader::UniformValueMap& materialUniformValues() const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.