Draw Context Flags Masks
The flags parameter passed to the QADrawContextNew function specifies a set of bit flags that control features of the new draw context. You can use these masks to configure a flags parameter.
#define kQAContext_None 0
#define kQAContext_NoZBuffer (1 << 0)
#define kQAContext_DeepZ (1 << 1)
#define kQAContext_DoubleBuffer (1 << 2)
#define kQAContext_Cache (1 << 3)
Constant descriptions
kQAContext_None
- Pass this value for no draw context features.
kQAContext_NoZBuffer
- The new draw context should not be z buffered.
kQAContext_DeepZ
- The new draw context should have a z buffer with at least 24 bits of precision.
kQAContext_DoubleBuffer
- The new draw context should be double buffered.
kQAContext_Cache
- The new draw context should be used for a draw context cache.