UniformMappingsComponent.ixx File
Component that stores semantic-to-uniform-name mappings for shader usage. More...
Included Headers
#include <string>
#include <array>
#include <cstddef>
#include <utility>
#include <cassert>
#include <helios.engine.rendering.shader.types.UniformMapping>
#include <helios.engine.rendering.shader.types.UniformSemantics>
Namespaces Index
| namespace | helios |
| namespace | engine |
| namespace | rendering |
| namespace | shader |
| namespace | components |
Classes Index
| struct | UniformMappingsComponent<TOwnerHandle, TUniformScope> |
|
Stores uniform names indexed by UniformSemantics. More... | |
Description
Component that stores semantic-to-uniform-name mappings for shader usage.
File Listing
The file content with the documentation metadata removed is:
18using namespace helios::engine::rendering::shader::types;
19export namespace helios::engine::rendering::shader::components {
26 struct UniformMappingsComponent {
31 static constexpr auto UniformSemanticsCount = static_cast<std::size_t>(
50 requires (std::same_as<std::remove_cvref_t<TMappings>, UniformMapping> && ...)
51 explicit UniformMappingsComponent(TMappings&& ... mapping)
53 (assert(std::to_underlying(mapping.semantics) < UniformSemanticsCount
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.