C# Class Glare.Graphics.BlendState

Describes blending state. There are presets available in BlendStates.
Show file Open project: Burton-Radons/Alexandria

Public Properties

Property Type Description
DestinationAlpha BlendFactor
DestinationRgb BlendFactor
EquationAlpha BlendEquation
EquationRgb BlendEquation
Opaque BlendState
SourceAlpha BlendFactor
SourceRgb BlendFactor

Public Methods

Method Description
BlendState ( BlendFactor sourceFactor, BlendFactor destinationFactor ) : System
BlendState ( BlendFactor source, BlendFactor destination, BlendEquation equation ) : System
BlendState ( BlendFactor sourceRgb, BlendFactor sourceAlpha, BlendFactor destinationRgb, BlendFactor destinationAlpha, BlendEquation equationRgb, BlendEquation equationAlpha ) : System

Method Details

BlendState() public method

public BlendState ( BlendFactor sourceFactor, BlendFactor destinationFactor ) : System
sourceFactor BlendFactor
destinationFactor BlendFactor
return System

BlendState() public method

public BlendState ( BlendFactor source, BlendFactor destination, BlendEquation equation ) : System
source BlendFactor
destination BlendFactor
equation BlendEquation
return System

BlendState() public method

public BlendState ( BlendFactor sourceRgb, BlendFactor sourceAlpha, BlendFactor destinationRgb, BlendFactor destinationAlpha, BlendEquation equationRgb, BlendEquation equationAlpha ) : System
sourceRgb BlendFactor
sourceAlpha BlendFactor
destinationRgb BlendFactor
destinationAlpha BlendFactor
equationRgb BlendEquation
equationAlpha BlendEquation
return System

Property Details

DestinationAlpha public property

Get or set the BlendFactor to multiply against the destination Alpha value.
public BlendFactor DestinationAlpha
return BlendFactor

DestinationRgb public property

Get or set the BlendFactor to multiply against the destination RGB value.
public BlendFactor DestinationRgb
return BlendFactor

EquationAlpha public property

Get or set the BlendEquation to use on the Alpha component.
public BlendEquation EquationAlpha
return BlendEquation

EquationRgb public property

Get or set the BlendEquation to use on the RGB components.
public BlendEquation EquationRgb
return BlendEquation

Opaque public static property

public static BlendState,Glare.Graphics Opaque
return BlendState

SourceAlpha public property

Get or set the BlendFactor to multiply against the source Alpha value.
public BlendFactor SourceAlpha
return BlendFactor

SourceRgb public property

Get or set the BlendFactor to multiply against the source RGB value.
public BlendFactor SourceRgb
return BlendFactor