Class GLDepthStencilState
This struct represents all parameters supported in OpenGL for DepthStencilState.
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)
Applies 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 graphics context. |
GLGraphicsPipelineState | previous | Previous pipeline state. |
GLDepthStencilStateDescription | descriptionGL | New DepthStencilState description. |
int | stencilReference | New stencil reference. |