Class DX12RaytracingPipelineState
DX12 Raytracing pipeline state.
Implements
Inherited Members
Namespace: Evergine.DirectX12
Assembly: Evergine.DirectX12.dll
Syntax
public class DX12RaytracingPipelineState : RaytracingPipelineState, IDisposable
  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 ID3D12StateObject.
Declaration
public ID3D12StateObject nativePipeline
  Field Value
| Type | Description | 
|---|---|
| ID3D12StateObject | 
shaderBindingTable
Generated shader binding table.
Declaration
public DX12ShaderTable shaderBindingTable
  Field Value
| Type | Description | 
|---|---|
| DX12ShaderTable | 
Methods
Apply(ID3D12GraphicsCommandList, DX12RaytracingPipelineState)
Apply only changes compare with the previous pipelineState.
Declaration
public void Apply(ID3D12GraphicsCommandList commandList, DX12RaytracingPipelineState previousPipeline)
  Parameters
| Type | Name | Description | 
|---|---|---|
| ID3D12GraphicsCommandList | commandList | The commandList where to set this pipeline.  | 
      
| DX12RaytracingPipelineState | previousPipeline | The previous pipelineState.  | 
      
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public override void Dispose()