SetMaskMode(mode)
#MASKVISIBLE or #MASKINVISIBLE.
The default is #MASKVISIBLE. If you select the visible mode, all graphics commands
will draw visible pixels into the mask, otherwise invisible pixels will be drawn. Obviously,
a mask does not carry any color information but only those two flags per
pixel (visible or invisible).
As of Hollywood 4.0, the following new mask modes are supported:
#MASKVANILLACOPY:
#MASKAND:
#MASKOR:
#MASKXOR:
Below is a table summing up the different mask modes. Please note that
the mask mode #MASKVISIBLE, #MASKINVISIBLE, and #MASKVANILLACOPY are
independent of the destination mask data. Destination mask data is only
taken into account by the #MASKAND, #MASKOR, and #MASKXOR modes.
See SelectMask for more information on mask rendering.