Class GLDepthStencilState
This struct represent all parameters supported in OpenGL for DepthStencilState.
Inherited Members
Namespace: Evergine.OpenGL
Assembly: Evergine.OpenGL.dll
Syntax
public class GLDepthStencilState
Constructors
GLDepthStencilState()
Initializes a new instance of the GLDepthStencilState class.
Declaration
public GLDepthStencilState()
Methods
Apply(GLGraphicsContext, ref GLGraphicsPipelineState, ref GLDepthStencilStateDescription, int)
Apply all BlendState values.
Declaration
public void Apply(GLGraphicsContext context, ref GLGraphicsPipelineState previous, ref GLDepthStencilStateDescription descriptionGL, int stencilReference)
Parameters
Type | Name | Description |
---|---|---|
GLGraphicsContext | context | The opengl graphicscontext. |
GLGraphicsPipelineState | previous | Previous Pipeline State. |
GLDepthStencilStateDescription | descriptionGL | New DepthStencilState description. |
int | stencilReference | New Stencil reference. |