TextRenderPrototype.ixx File
Shared, immutable configuration for text rendering. More...
Included Headers
#include <memory>
#include <stdexcept>
#include <string>
#include <helios.engine.core.data.FontId>
#include <helios.rendering.shader.Shader>
#include <helios.rendering.text.FontResourceProvider>
#include <helios.rendering.text.TextShaderProperties>
Namespaces Index
| namespace | helios |
| namespace | rendering |
|
Graphics rendering infrastructure. More... | |
| namespace | text |
|
Text rendering abstractions and data types. More... | |
Classes Index
| class | TextRenderPrototype |
|
Immutable, shared prototype for text rendering configuration. More... | |
Description
Shared, immutable configuration for text rendering.
File Listing
The file content with the documentation metadata removed is:
20export namespace helios::rendering::text {
71 class TextRenderPrototype final {
91 helios::rendering::text::FontResourceProvider* fontResourceProvider_;
103 * @throws std::invalid_argument If `shader`, `textProperties`, or `fontResourceProvider` is null.
105 explicit TextRenderPrototype(
106 std::shared_ptr<const helios::rendering::shader::Shader> shader,
107 std::shared_ptr<const helios::rendering::text::TextShaderProperties> textProperties,
111 shader_(std::move(shader)),
112 textProperties_(std::move(textProperties)),
113 fontResourceProvider_(fontResourceProvider) {
134 [[nodiscard]] const helios::rendering::shader::Shader& shader() const noexcept {
146 [[nodiscard]] helios::rendering::text::FontResourceProvider& fontResourceProvider() const noexcept {
155 [[nodiscard]] const helios::rendering::text::TextShaderProperties& textProperties() const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.