Class DX12ComputePipelineState
The DirectX version of PipelineState.
Implements
Inherited Members
Namespace: Evergine.DirectX12
Assembly: Evergine.DirectX12.dll
Syntax
public class DX12ComputePipelineState : ComputePipelineState, IDisposable
Constructors
DX12ComputePipelineState(DX12GraphicsContext, ref ComputePipelineDescription)
Initializes a new instance of the DX12ComputePipelineState class.
Declaration
public DX12ComputePipelineState(DX12GraphicsContext context, ref ComputePipelineDescription description)
Parameters
Type | Name | Description |
---|---|---|
DX12GraphicsContext | context | The graphics context. |
ComputePipelineDescription | description | The compute pipeline state description. |
Properties
Name
Gets or sets a string identifying this instance. Can be used in graphics debuggers tools.
Declaration
public override string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
Apply(ID3D12GraphicsCommandList, DX12ComputePipelineState)
Apply only changes compare with the previous pipelineState.
Declaration
public void Apply(ID3D12GraphicsCommandList commandList, DX12ComputePipelineState previousPipeline)
Parameters
Type | Name | Description |
---|---|---|
ID3D12GraphicsCommandList | commandList | The commandList where to set this pipeline. |
DX12ComputePipelineState | previousPipeline | The previous pipelineState. |
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public override void Dispose()