C# Class CSharpGL.ColorMaskState

Toggle of color mask.
Inheritance: GLState
Afficher le fichier Open project: bitzhuwei/CSharpGL

Méthodes publiques

Méthode Description
ColorMaskState ( ColorMask mask )

Toggle of color mask.

ColorMaskState ( ColorMask mask, ColorMask originalMask )

Toggle of color mask.

ColorMaskState ( bool redWritable, bool greenWritable, bool blueWritable, bool alphaWritable )

Toggle of color mask.

ColorMaskState ( bool redWritable, bool greenWritable, bool blueWritable, bool alphaWritable, bool originalRedWritable, bool originalGreenWritable, bool originalBlueWritable, bool originalAlphaWritable )

Toggle of color mask.

ToString ( ) : string

Méthodes protégées

Méthode Description
StateOff ( ) : void

StateOn ( ) : void

Method Details

ColorMaskState() public méthode

Toggle of color mask.
public ColorMaskState ( ColorMask mask )
mask ColorMask mask when this switch is turned on.

ColorMaskState() public méthode

Toggle of color mask.
public ColorMaskState ( ColorMask mask, ColorMask originalMask )
mask ColorMask mask when this switch is turned on.
originalMask ColorMask mask when this switch is turned off.

ColorMaskState() public méthode

Toggle of color mask.
public ColorMaskState ( bool redWritable, bool greenWritable, bool blueWritable, bool alphaWritable )
redWritable bool red mask when this switch is turned on
greenWritable bool green mask when this switch is turned on
blueWritable bool blue mask when this switch is turned on
alphaWritable bool alpha mask when this switch is turned on

ColorMaskState() public méthode

Toggle of color mask.
public ColorMaskState ( bool redWritable, bool greenWritable, bool blueWritable, bool alphaWritable, bool originalRedWritable, bool originalGreenWritable, bool originalBlueWritable, bool originalAlphaWritable )
redWritable bool red mask when this switch is turned on.
greenWritable bool green mask when this switch is turned on.
blueWritable bool blue mask when this switch is turned on.
alphaWritable bool alpha mask when this switch is turned on.
originalRedWritable bool alpha mask when this switch is turned off.
originalGreenWritable bool blue mask when this switch is turned off.
originalBlueWritable bool green mask when this switch is turned off.
originalAlphaWritable bool red mask when this switch is turned off.

StateOff() protected méthode

protected StateOff ( ) : void
Résultat void

StateOn() protected méthode

protected StateOn ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string