Class DX12RaytracingPipelineState
DX12 Raytracing pipeline state.
Namespace: Evergine.DirectX12
Assembly: Evergine.DirectX12.dll
Syntax
public class DX12RaytracingPipelineState : RaytracingPipelineState
Constructors
DX12RaytracingPipelineState(DX12GraphicsContext, ref RaytracingPipelineDescription)
Initializes a new instance of the DX12RaytracingPipelineState class.
Declaration
public DX12RaytracingPipelineState(DX12GraphicsContext context, ref RaytracingPipelineDescription description)
Parameters
Type | Name | Description |
---|---|---|
DX12GraphicsContext | context | The graphics context. |
RaytracingPipelineDescription | description | The raytracing pipeline state description. |
Fields
nativePipeline
DX12 native pipeline as an ID3D12StateObject.
Declaration
public ID3D12StateObject nativePipeline
Field Value
Type | Description |
---|---|
ID3D12StateObject |
shaderBindingTable
Generates the shader binding table.
Declaration
public DX12ShaderTable shaderBindingTable
Field Value
Type | Description |
---|---|
DX12ShaderTable |
Methods
Apply(ID3D12GraphicsCommandList, DX12RaytracingPipelineState)
Applies only changes compared with the previous pipelineState.
Declaration
public void Apply(ID3D12GraphicsCommandList commandList, DX12RaytracingPipelineState previousPipeline)
Parameters
Type | Name | Description |
---|---|---|
ID3D12GraphicsCommandList | commandList | The command list where to set this pipeline. |
DX12RaytracingPipelineState | previousPipeline | The previous pipelineState. |
Dispose()
Performs tasks defined by the application associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public override void Dispose()