Skip to content

LiteFX::Rendering::ShaderRecord<TLocalData>::ShaderRecord

Initializes a shader record.

Synopsis

Declared in <litefx/rendering_api.hpp>

ShaderRecord(
    shader_group_type const& group,
    TLocalData payload) noexcept;

Parameters

NameDescription
groupThe shader group containing the modules to invoke.
payloadThe shader-local data to pass to the shader's local resource bindings.