Interface IPipelineState
Interface that represents a DirectX 12 Pipeline State.
Namespace: Evergine.DirectX12
Assembly: Evergine.DirectX12.dll
Syntax
public interface IPipelineState
Properties
CbvUavSrvRootParameterInfo
Gets the root parameter information for CBV, UAV, and SRV descriptors.
Declaration
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
uint[] DynamicUniformRootParameterStartIndices { get; }
Property Value
| Type | Description |
|---|---|
| uint[] |
NativePipeline
Gets the native DirectX 12 pipeline state object.
Declaration
ID3D12PipelineState NativePipeline { get; }
Property Value
| Type | Description |
|---|---|
| ID3D12PipelineState |
ResourceSetsLayoutMask
Gets a mask representing the resource sets layout used by this pipeline state.
Declaration
FastBitSet32 ResourceSetsLayoutMask { get; }
Property Value
| Type | Description |
|---|---|
| FastBitSet32 |
RootSignature
Gets the root signature associated with this pipeline state.
Declaration
ID3D12RootSignature RootSignature { get; }
Property Value
| Type | Description |
|---|---|
| ID3D12RootSignature |
SamplerRootParameterInfo
Gets the root parameter information for sampler descriptors.
Declaration
uint[] SamplerRootParameterInfo { get; }
Property Value
| Type | Description |
|---|---|
| uint[] |
Methods
Apply(ID3D12GraphicsCommandList)
Applies the pipeline state to the given command list.
Declaration
void Apply(ID3D12GraphicsCommandList commandList)
Parameters
| Type | Name | Description |
|---|---|---|
| ID3D12GraphicsCommandList | commandList | The command list to apply the pipeline state to. |
ApplyRootSignature(ID3D12GraphicsCommandList)
Sets the pipeline root signature to the given command list.
Declaration
void ApplyRootSignature(ID3D12GraphicsCommandList commandList)
Parameters
| Type | Name | Description |
|---|---|---|
| ID3D12GraphicsCommandList | commandList | The command list to apply the pipeline root signature to. |