LiteFX::Rendering::ShaderRecordCollection¶
Stores a set of IShaderRecord "IShaderRecords" in that later form a shader binding table used for ray-tracing.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
class [[dllimport, dllexport]] ShaderRecordCollection final
Member Functions¶
| Name | Description |
|---|---|
ShaderRecordCollection [constructor] | Constructors |
~ShaderRecordCollection [destructor] | Destructor |
operator= | Assignment operators |
addMeshGeometryShaderHitGroupRecord | Adds a new mesh geometry hit group record based on names of the shader modules. |
addShaderRecord | addShaderRecord overloads |
program | Returns the parent shader program of the collection. |
shaderRecords | Returns an array of all shader records within the shader record collection. |
withMeshGeometryHitGroupRecord | Adds a new mesh geometry hit group record based on names of the shader modules. |
withShaderRecord | withShaderRecord overloads |
Friends¶
| Name | Description |
|---|---|
LiteFX::Rendering::IShaderProgram | The interface for a shader program. |