Class GLGraphicsPipelineState
The OpenGL version of the PipelineState.
Namespace: Evergine.OpenGL
Assembly: Evergine.OpenGL.dll
Syntax
public class GLGraphicsPipelineState : GraphicsPipelineState
Constructors
GLGraphicsPipelineState(GLGraphicsContext, ref GraphicsPipelineDescription)
Initializes a new instance of the GLGraphicsPipelineState class.
Declaration
public GLGraphicsPipelineState(GLGraphicsContext graphicsContext, ref GraphicsPipelineDescription description)
Parameters
Type | Name | Description |
---|---|---|
GLGraphicsContext | graphicsContext | Graphics context. |
GraphicsPipelineDescription | description | The graphics pipeline state description. |
Fields
blendState
OpenGL blend state.
Declaration
protected GLBlendState blendState
Field Value
Type | Description |
---|---|
GLBlendState |
depthStencilState
OpenGL depth stencil state.
Declaration
protected GLDepthStencilState depthStencilState
Field Value
Type | Description |
---|---|
GLDepthStencilState |
rasterizerState
OpenGL rasterizer state.
Declaration
protected GLRasterizerState rasterizerState
Field Value
Type | Description |
---|---|
GLRasterizerState |
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()
Applies only the changes compared to the previous pipelineState.
Declaration
public void Apply()
Dispose()
Performs tasks defined by the application associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public override void Dispose()