Class DX11ComputePipelineState
The DirectX version of PipelineState.
Implements
Inherited Members
Namespace: Evergine.DirectX11
Assembly: Evergine.DirectX11.dll
Syntax
public class DX11ComputePipelineState : ComputePipelineState, IDisposable
Constructors
DX11ComputePipelineState(DX11GraphicsContext, ref ComputePipelineDescription)
Initializes a new instance of the DX11ComputePipelineState class.
Declaration
public DX11ComputePipelineState(DX11GraphicsContext context, ref ComputePipelineDescription description)
Parameters
Type | Name | Description |
---|---|---|
DX11GraphicsContext | 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(ID3D11DeviceContext, DX11ComputePipelineState)
Apply only changes compare with the previous pipelineState.
Declaration
public void Apply(ID3D11DeviceContext deviceContext, DX11ComputePipelineState previousPipeline)
Parameters
Type | Name | Description |
---|---|---|
ID3D11DeviceContext | deviceContext | The device context. |
DX11ComputePipelineState | previousPipeline | The previous pipelineState. |
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public override void Dispose()