Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 2 - DrawSprocket / DrawSprocket Reference
Constants


Special Display Features

You can use the following constants in the contextOptions 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.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996