Class DX11GraphicsPipelineState
The DirectX version of the PipelineState.
Namespace: Evergine.DirectX11
Assembly: Evergine.DirectX11.dll
Syntax
public class DX11GraphicsPipelineState : GraphicsPipelineState
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. It can be used in graphics debugger tools.
Declaration
public override string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
Apply(ID3D11DeviceContext, DX11GraphicsPipelineState)
Applies only changes compared with the previous pipeline state.
Declaration
public void Apply(ID3D11DeviceContext deviceContext, DX11GraphicsPipelineState previousPipeline)
Parameters
Type | Name | Description |
---|---|---|
ID3D11DeviceContext | deviceContext | The device context. |
DX11GraphicsPipelineState | previousPipeline | The previous pipeline state. |
Dispose()
Performs tasks defined by the application associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public override void Dispose()