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 DX12Raytracing
Declaration
public DX12RaytracingPipelineState(DX12GraphicsContext context, ref RaytracingPipelineDescription description)
Parameters
Type | Name | Description |
---|---|---|
DX12Graphics |
context | The graphics context. |
Raytracing |
description | The raytracing pipeline state description. |
Fields
nativePipeline
DX12 native pipeline as ID3D12StateObject.
Declaration
public ID3D12StateObject nativePipeline
Field Value
Type | Description |
---|---|
ID3D12State |
shaderBindingTable
Generated shader binding table.
Declaration
public DX12ShaderTable shaderBindingTable
Field Value
Type | Description |
---|---|
DX12Shader |
Methods
Apply(ID3D12GraphicsCommandList, DX12RaytracingPipelineState)
Apply only changes compare with the previous pipelineState.
Declaration
public void Apply(ID3D12GraphicsCommandList commandList, DX12RaytracingPipelineState previousPipeline)
Parameters
Type | Name | Description |
---|---|---|
ID3D12Graphics |
commandList | The commandList where to set this pipeline. |
DX12Raytracing |
previousPipeline | The previous pipelineState. |
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public override void Dispose()