ColorMask

Aus MCS Wiki AVR
Version vom 12. Dezember 2014, 20:44 Uhr von Admin (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Inhaltsverzeichnis

Action

Enable or disable writing of color components.

 

 

Syntax

ColorMask r, g ,b ,a 

 

 

Remarks

r

Enable or disable the red channel update of the  FT800 color buffer. The initial value is 1 and means enable

g

Enable or disable the green channel update of the FT800 color buffer. The initial value is 1 and means enable

b

Enable or disable the blue channel update of the FT800 color buffer. The initial value is 1 and means enable

a

Enable or disable the alpha channel update of the FT800 color buffer. The initial value is 1 and means enable

 

The color mask controls whether the color values of a pixel are updated.  Sometimes it is used to selectively update only the

red, green, blue or alpha channels of the image. More often, it is used to completely disable color updates while updating the

tag and stencil buffers.

 

 

See also

TagMask

 

 

Example

Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Sprache