Class DX12GraphicsPipelineState
The DirectX version of PipelineState.
Implements
Inherited Members
Namespace: Evergine.DirectX12
Assembly: Evergine.DirectX12.dll
Syntax
public class DX12GraphicsPipelineState : GraphicsPipelineState, IDisposable
Constructors
DX12GraphicsPipelineState(DX12GraphicsContext, ref GraphicsPipelineDescription)
Initializes a new instance of the DX12GraphicsPipelineState class.
Declaration
public DX12GraphicsPipelineState(DX12GraphicsContext context, ref GraphicsPipelineDescription description)
Parameters
Type | Name | Description |
---|---|---|
DX12GraphicsContext | context | The graphics context. |
GraphicsPipelineDescription | description | The graphics 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, DX12GraphicsPipelineState)
Apply only changes compare with the previous pipelineState.
Declaration
public void Apply(ID3D12GraphicsCommandList commandList, DX12GraphicsPipelineState previousPipeline)
Parameters
Type | Name | Description |
---|---|---|
ID3D12GraphicsCommandList | commandList | The commandList where to set this pipeline. |
DX12GraphicsPipelineState | previousPipeline | The previous pipelineState. |
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public override void Dispose()