MeshRenderCommand.ixx File
Representation of a low-level render command. More...
Included Headers
#include <memory>
#include <helios.rendering.shader.UniformValueMap>
#include <helios.rendering.RenderPrototype>
Namespaces Index
| namespace | helios |
| namespace | rendering |
|
Graphics rendering infrastructure. More... | |
| namespace | mesh |
Classes Index
| class | MeshRenderCommand |
|
DTO for storing rendering-specific command information to be passed to the RenderQueue. More... | |
Description
Representation of a low-level render command.
File Listing
The file content with the documentation metadata removed is:
14export namespace helios::rendering::mesh {
42 class MeshRenderCommand {
48 const helios::rendering::RenderPrototype* renderPrototype_;
55 helios::rendering::shader::UniformValueMap objectUniformValues_;
58 * @brief An owning, unique pointer to the uniform values specific to the material of the object to
61 helios::rendering::shader::UniformValueMap materialUniformValues_;
68 MeshRenderCommand(const MeshRenderCommand&)=delete;
74 MeshRenderCommand& operator=(const MeshRenderCommand&)=delete;
79 MeshRenderCommand(MeshRenderCommand&&) noexcept = default;
84 MeshRenderCommand& operator=(MeshRenderCommand&&) noexcept = default;
89 ~MeshRenderCommand() = default;
97 * @param renderPrototype A raw pointer to the `RenderPrototype` to be associated with this command.
99 * @param objectUniformValues A `UniformValueMap` containing all uniform values for the rendered object.
100 * @param materialUniformValues A `UniformValueMap` containing all uniform values for the material.
103 const helios::rendering::RenderPrototype* renderPrototype,
104 const helios::rendering::shader::UniformValueMap& objectUniformValues,
105 const helios::rendering::shader::UniformValueMap& materialUniformValues
107 renderPrototype_(renderPrototype),
108 objectUniformValues_(objectUniformValues),
109 materialUniformValues_(materialUniformValues) { }
117 [[nodiscard]] const helios::rendering::RenderPrototype* renderPrototype() const noexcept {
126 [[nodiscard]] const helios::rendering::shader::UniformValueMap& objectUniformValues() const noexcept {
135 [[nodiscard]] const helios::rendering::shader::UniformValueMap& materialUniformValues() const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.