3 Managing Shared Objects

3 Q3Shared_GetType

You can use the Q3Shared_GetType function to get the type of a shared object.

TQ3ObjectType Q3Shared_GetType (TQ3SharedObject sharedObject);
sharedObject A shared object.

DESCRIPTION


The Q3Shared_GetType function returns, as its function result, the type identifier of the shared object specified by the sharedObject parameter. If successful, Q3Shared_GetType returns one of these constants:

kQ3SharedTypeControllerState
kQ3SharedTypeDrawContext
kQ3SharedTypeFile
kQ3SharedTypeReference
kQ3SharedTypeRenderer
kQ3SharedTypeSet
kQ3SharedTypeShape
kQ3SharedTypeShapePart
kQ3SharedTypeStorage
kQ3SharedTypeString
kQ3SharedTypeTexture
kQ3SharedTypeTracker
kQ3SharedTypeViewHints
If the type cannot be determined or is invalid, Q3Shared_GetType returns the value kQ3ObjectTypeInvalid.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 16 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker