ColorWriteMask


class ColorWriteMask


A bitmask that controls which color channels are written to a render target.

Summary

Constants

const Int
All = 15

All color channels are written.

const Int
Alpha = 8

The alpha channel is written.

const Int
Blue = 4

The blue channel is written.

const Int
Green = 2

The green channel is written.

const Int
None = 0

No color channels are written.

const Int
Red = 1

The red channel is written.

Public companion functions

String
toString(value: Int)

Constants

All

const val All = 15: Int

All color channels are written.

Alpha

const val Alpha = 8: Int

The alpha channel is written.

Blue

const val Blue = 4: Int

The blue channel is written.

Green

const val Green = 2: Int

The green channel is written.

None

const val None = 0: Int

No color channels are written.

Red

const val Red = 1: Int

The red channel is written.

Public companion functions

toString

Added in 1.0.0-alpha05
fun toString(value: Int): String