Class GLGraphicsPipelineState
The OpenGL version of PipelineState.
Implements
Inherited Members
Namespace: Evergine.OpenGL
Assembly: Evergine.OpenGL.dll
Syntax
public class GLGraphicsPipelineState : GraphicsPipelineState, IDisposable
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. Can be used in graphics debuggers tools.
Declaration
public override string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
Apply()
Apply only changes compare with the previous pipelineState.
Declaration
public void Apply()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public override void Dispose()