B.Render.ColorState()

Represent a color rendering state.

To get the object use pass.state(B.Render.State.COLOR).

METHODS:

pass()

Returns linked pass.

RETURNS:

default()

Resets to default values.

// equivalent to
state.mask(B.Render.Mask.RGBA);

RETURNS:

write(mask)

Sets color write mask.

PARAMETERS:

{B.Render.Mask} mask

RETURNS:

write()

Gets color write mask.

RETURNS:

METHODS: