TQANoticeMethod
An application can define a method to respond asynchronously to certain events associated with the operation of QuickDraw 3D RAVE.
typedef void (*TQANoticeMethod) (
TQADrawContext *drawContext,
void *refCon);
drawContext
- A draw context.
refCon
- The reference constant associated with the notice method.
DESCRIPTION
Your TQANoticeMethod function is called by QuickDraw 3D RAVE at the times specified when an application installed the notice method using the QASetNoticeMethod function. For example, if the value of the method parameter passed to QASetNoticeMethod was kQAMethod_RenderCompletion, then the associated notice method is called whenever the renderer finishes rendering an image in the draw context specified by the drawContext parameter. The refCon parameter is an application-defined reference constant; this is simply the value of the refCon parameter that was passed to QASetNoticeMethod.
- Note
- You can install one notice method for each defined notice selector. See page 1-68 for a description of the available notice selectors.