Special Display Features
You can use the following constants in thecontextOptions
field of the context attributes structure to request special display features or to determine which features a specified display supports.
enum DSpContextOption { kDSpContextOption_QD3DAccel= 1U<<0, kDSpContextOption_PageFlip= 1U<<1, kDSpContextOption_TripleBuffer= 1U<<2 }; typedef enum DSpContextOption DSpContextOption;Constant descriptions
- kDSpContextOption_QD3DAccel
- Use a graphics device that supports QuickDraw 3D acceleration.
- kDSpContextOption_PageFlip
- Use page flipping (a hardware feature).
- kDSpContextOption_TripleBuffer
- Use triple buffering.