Class DX12ComputePipelineState
The DirectX version of the PipelineState.
Implements
Inherited Members
Namespace: Evergine.DirectX12
Assembly: Evergine.DirectX12.dll
Syntax
public class DX12ComputePipelineState : ComputePipelineState, IPipelineState
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
CbvUavSrvRootParameterInfo
Gets the root parameter information for CBV, UAV, and SRV descriptors.
Declaration
public uint[] CbvUavSrvRootParameterInfo { get; }
Property Value
| Type | Description |
|---|---|
| uint[] |
DynamicUniformRootParameterStartIndices
Gets the root parameter start index for dynamic uniform buffers (CBVs with dynamic offsets) per resource space.
Declaration
public uint[] DynamicUniformRootParameterStartIndices { get; }
Property Value
| Type | Description |
|---|---|
| uint[] |
Name
Gets or sets a string identifying this instance. Can be used in graphics debugging tools.
Declaration
public override string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
NativePipeline
Gets the native DirectX 12 pipeline state object.
Declaration
public ID3D12PipelineState NativePipeline { get; }
Property Value
| Type | Description |
|---|---|
| ID3D12PipelineState |
ResourceSetsLayoutMask
Gets a mask representing the resource sets layout used by this pipeline state.
Declaration
public FastBitSet32 ResourceSetsLayoutMask { get; }
Property Value
| Type | Description |
|---|---|
| FastBitSet32 |
RootSignature
Gets the root signature associated with this pipeline state.
Declaration
public ID3D12RootSignature RootSignature { get; }
Property Value
| Type | Description |
|---|---|
| ID3D12RootSignature |
SamplerRootParameterInfo
Gets the root parameter information for sampler descriptors.
Declaration
public uint[] SamplerRootParameterInfo { get; }
Property Value
| Type | Description |
|---|---|
| uint[] |
Methods
Apply(ID3D12GraphicsCommandList)
Apply only changes compared with the previous pipeline state.
Declaration
public void Apply(ID3D12GraphicsCommandList commandList)
Parameters
| Type | Name | Description |
|---|---|---|
| ID3D12GraphicsCommandList | commandList | The command list where to set this pipeline. |
ApplyRootSignature(ID3D12GraphicsCommandList)
Sets the pipeline root signature to the given command list.
Declaration
public void ApplyRootSignature(ID3D12GraphicsCommandList commandList)
Parameters
| Type | Name | Description |
|---|---|---|
| ID3D12GraphicsCommandList | commandList | The command list where to set this pipeline. |
Dispose()
Performs tasks defined by the application associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public override void Dispose()