PgSetControlFlagGCCx()

This function sets new flag(s) and returns old flag(s)

Synopsis:

unsigned long PgSetControlFlagGCCx( PhGC_t * GC,
                                    unsigned long flags);

Library:

ph

Description:

These flag(s) are used to control specific behavior that is associated with the provided PhGC_t.

You can set the following flags:

PhGC_DONT_RESET_PLANE_MASK
The photon library is prevented from resetting plane mask. This can be used to prevent modification of destination pixel bit(s), i.e. alpha bit(s).

Returns:

All old flags.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

Caveats:

Ensure the flags are set to zero after you are finished, as these control flags alter rendering at the fundamental level.

See also:

PgDefaultMode(), PgDefaultGC(),