LiteFX::Rendering::Backends::DirectX12ShaderModule::DirectX12ShaderModule¶
Initializes a new DirectX 12 shader module.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] explicit DirectX12ShaderModule(
DirectX12Device const& device,
ShaderStage type,
String const& fileName,
String const& entryPoint = "main",
Optional<DescriptorBindingPoint> const& shaderLocalDescriptor = std::nullopt);
Parameters¶
| Name | Description |
|---|---|
| device | The parent device, this shader module has been created from. |
| type | The shader stage, this module is used in. |
| fileName | The file name of the module source. |
| entryPoint | The name of the module entry point. |
| shaderLocalDescriptor | The descriptor that binds shader-local data for ray-tracing shaders. |