LiteFX::Rendering::ShaderRecordCollection::withShaderRecord¶
Adds a new shader record to the shader record collection.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] ShaderRecordCollection&& withShaderRecord(ShaderRecord<>::shader_group_type shaderGroup);
Return Value¶
A reference to the current shader record collection.
Parameters¶
| Name | Description |
|---|---|
| shaderGroup | The shader module or hit group. |