C# Class CSharpGL.ColorMask

Exibir arquivo Open project: bitzhuwei/CSharpGL

Public Properties

Property Type Description
alphaWritable bool
blueWritable bool
greenWritable bool
redWritable bool

Public Methods

Method Description
ColorMask ( bool redWritable, bool greenWritable, bool blueWritable, bool alphaWritable )

GetCurrent ( ) : ColorMask

Get mask of current state.

GetDefault ( ) : ColorMask

Gets default color mask in OpenGL.

ToString ( ) : string

Method Details

ColorMask() public method

public ColorMask ( bool redWritable, bool greenWritable, bool blueWritable, bool alphaWritable )
redWritable bool
greenWritable bool
blueWritable bool
alphaWritable bool

GetCurrent() public static method

Get mask of current state.
public static GetCurrent ( ) : ColorMask
return ColorMask

GetDefault() public static method

Gets default color mask in OpenGL.
public static GetDefault ( ) : ColorMask
return ColorMask

ToString() public method

public ToString ( ) : string
return string

Property Details

alphaWritable public_oe property

public bool alphaWritable
return bool

blueWritable public_oe property

public bool blueWritable
return bool

greenWritable public_oe property

public bool greenWritable
return bool

redWritable public_oe property

public bool redWritable
return bool