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