Class GLBlendState
This struct represents all parameters supported in OpenGL for BlendState.
Namespace: Evergine.OpenGL
Assembly: Evergine.OpenGL.dll
Syntax
public class GLBlendState
Constructors
GLBlendState()
Initializes a new instance of the GLBlendState class.
Declaration
public GLBlendState()
Methods
Apply(GLGraphicsContext, ref GLGraphicsPipelineState, ref GLBlendStateDescription)
Apply all BlendState values.
Declaration
public void Apply(GLGraphicsContext context, ref GLGraphicsPipelineState previous, ref GLBlendStateDescription description)
Parameters
Type | Name | Description |
---|---|---|
GLGraphicsContext | context | The OpenGL graphics context. |
GLGraphicsPipelineState | previous | The previous pipeline state. |
GLBlendStateDescription | description | The new BlendState description. |