Class BlendFunctionState
- Namespace
- Bonsai.Shaders.Configuration
- Assembly
- Bonsai.Shaders.dll
Represents a configuration object specifying the operation of blending for all draw buffers.
public class BlendFunctionState : StateConfiguration
- Inheritance
-
BlendFunctionState
- Inherited Members
Properties
DestinationFactor
Gets or sets a value specifying the scale factor for blending destination color values.
public BlendingFactor DestinationFactor { get; set; }
Property Value
SourceFactor
Gets or sets a value specifying the scale factor for blending source color values.
public BlendingFactor SourceFactor { get; set; }
Property Value
Methods
Execute(ShaderWindow)
Updates the state of the current graphics context.
public override void Execute(ShaderWindow window)
Parameters
window
ShaderWindowThe shader window associated with the current graphics context.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.