Skip to main content

types Namespace

Uniform tag types mapping value types to UniformSemantics. More...

Definition

namespace helios::engine::rendering::shader::types { ... }

Namespaces Index

namespaceUniformScope

Scope marker types used to categorize uniform lifetime. More...

Classes Index

structMaterialBaseColorUniform

Tag for the material base-color uniform. More...

structModelMatrixUniform

Tag for the model matrix uniform. More...

structProjectionMatrixUniform

Tag for the projection matrix uniform. More...

structShaderDomainTag

Tag type for shader resource identifiers. More...

structUniformMapping

Mapping entry from UniformSemantics to a concrete uniform name. More...

structViewMatrixUniform

Tag for the view matrix uniform. More...

Typedefs Index

usingShaderHandle = helios::ecs::types::EntityHandle< ShaderDomainTag >

Handle type used to reference shader entities. More...

usingShaderId = helios::ecs::types::StrongId< ShaderDomainTag >

Strongly-typed identifier for shader resources. More...

Enumerations Index

enum classUniformSemantics { ... }

Enumeration of semantic identifiers for shader uniform variables. More...

Description

Uniform tag types mapping value types to UniformSemantics.

Typedefs

ShaderHandle

using helios::engine::rendering::shader::types::ShaderHandle = typedef helios::ecs::types::EntityHandle<ShaderDomainTag>

Handle type used to reference shader entities.

Definition at line 17 of file ShaderHandle.ixx.

17 using ShaderHandle = helios::ecs::types::EntityHandle<ShaderDomainTag>;

ShaderId

using helios::engine::rendering::shader::types::ShaderId = typedef helios::ecs::types::StrongId<ShaderDomainTag>

Strongly-typed identifier for shader resources.

Definition at line 17 of file ShaderId.ixx.

17 using ShaderId = helios::ecs::types::StrongId<ShaderDomainTag>;

Enumerations

UniformSemantics

enum class helios::engine::rendering::shader::types::UniformSemantics
strong

Enumeration of semantic identifiers for shader uniform variables.

Enumeration values
ModelMatrixRepresents the object-to-world transformation matrix of an object (= 0)
ProjectionMatrixRepresents the projection matrix
ViewMatrixRepresents the (camera) view space, transforming world space to view space
MaterialBaseColorRepresents the (material's) base color
MaterialRoughnessRepresents the (material's) roughness factor
TextTextureRepresents the texture sampler for text glyph rendering
TextColorRepresents the text color for glyph rendering
deltaTimeRepresents the time elapsed since the last frame
totalTimeRepresents the total time elapsed since measuring frame times
size_Number of entries in this enum

UniformSemantics provides strongly-typed identifiers for standard uniform variables passed to shaders. These semantics abstract the actual uniform names, allowing the rendering pipeline to work with meaningful identifiers.

Definition at line 36 of file UniformSemantics.ixx.

36 enum class UniformSemantics {
37
41 ModelMatrix = 0,
42
47
52
57
62
67
72
77
82
87 };

The documentation for this namespace was generated from the following files:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.