LiteFX::Rendering::ShaderRecord<TLocalData>::ShaderRecord¶
Constructors
Synopses¶
Declared in <litefx/rendering_api.hpp>
Default constructor
ShaderRecord() = delete;
Copies another shader record.
constexpr ShaderRecord(ShaderRecord const& _other) = default;
Takes over another shader record.
constexpr ShaderRecord(ShaderRecord&& _other) noexcept = default;
Initializes a shader record.
ShaderRecord(
shader_group_type const& group,
TLocalData payload) noexcept;
Parameters¶
| Name | Description |
|---|---|
| _other | The shader record to copy. |
| group | The shader group containing the modules to invoke. |
| payload | The shader-local data to pass to the shader's local resource bindings. |