39 #if PRAGMA_STRUCT_ALIGN
40 #pragma options align = power
41 #elif PRAGMA_STRUCT_PACKPUSH
43 #elif PRAGMA_STRUCT_PACK
47 #if PRAGMA_ENUM_ALWAYSINT
48 #if defined(__fourbyteints__) && !__fourbyteints__
49 #define __QD3DSET__RESTORE_TWOBYTEINTS
50 #pragma fourbyteints on
52 #pragma enumsalwaysint on
53 #elif PRAGMA_ENUM_OPTIONS
54 #pragma option enum =int
55 #elif PRAGMA_ENUM_PACK
56 #if __option(pack_enums)
57 #define __QD3DSET__RESTORE_PACKED_ENUMS
58 #pragma options(!pack_enums)
67 #if CALL_NOT_IN_CARBON
179 kQ3AttributeTypeNone = 0,
180 kQ3AttributeTypeSurfaceUV = 1,
181 kQ3AttributeTypeShadingUV = 2,
182 kQ3AttributeTypeNormal = 3,
183 kQ3AttributeTypeAmbientCoefficient = 4,
184 kQ3AttributeTypeDiffuseColor = 5,
185 kQ3AttributeTypeSpecularColor = 6,
186 kQ3AttributeTypeSpecularControl = 7,
187 kQ3AttributeTypeTransparencyColor = 8,
188 kQ3AttributeTypeSurfaceTangent = 9,
189 kQ3AttributeTypeHighlightState = 10,
190 kQ3AttributeTypeSurfaceShader = 11,
191 kQ3AttributeTypeNumTypes = 12
201 #if CALL_NOT_IN_CARBON
252 TQ3AttributeType attributeType);
304 TQ3AttributeType *theType);
383 #define kQ3XMethodTypeElementCopyAdd Q3_METHOD_TYPE('e', 'c', 'p', 'a')
384 #define kQ3XMethodTypeElementCopyReplace Q3_METHOD_TYPE('e', 'c', 'p', 'r')
385 #define kQ3XMethodTypeElementCopyGet Q3_METHOD_TYPE('e', 'c', 'p', 'g')
386 #define kQ3XMethodTypeElementCopyDuplicate Q3_METHOD_TYPE('e', 'c', 'p', 'd')
387 #define kQ3XMethodTypeElementDelete Q3_METHOD_TYPE('e', 'd', 'e', 'l')
388 typedef CALLBACK_API_C(TQ3Status,
389 TQ3XElementCopyAddMethod)(
const void *fromAPIElement,
390 void *toInternalElement);
391 typedef CALLBACK_API_C(TQ3Status,
392 TQ3XElementCopyReplaceMethod)(
const void *fromAPIElement,
393 void *ontoInternalElement);
394 typedef CALLBACK_API_C(TQ3Status, TQ3XElementCopyGetMethod)(
395 const void *fromInternalElement,
void *toAPIElement);
396 typedef CALLBACK_API_C(TQ3Status, TQ3XElementCopyDuplicateMethod)(
397 const void *fromInternalElement,
void *toInternalElement);
398 typedef CALLBACK_API_C(TQ3Status,
399 TQ3XElementDeleteMethod)(
void *internalElement);
400 #if CALL_NOT_IN_CARBON
411 unsigned long sizeOfElement,
412 TQ3XMetaHandler metaHandler);
424 unsigned long *sizeOfElement);
433 #define kQ3XMethodTypeAttributeInherit Q3_METHOD_TYPE('i', 'n', 'h', 't')
434 typedef TQ3Boolean TQ3XAttributeInheritMethod;
436 #define kQ3XMethodTypeAttributeCopyInherit Q3_METHOD_TYPE('a', 'c', 'p', 'i')
437 typedef CALLBACK_API_C(TQ3Status, TQ3XAttributeCopyInheritMethod)(
438 const void *fromInternalAttribute,
void *toInternalAttribute);
439 #if CALL_NOT_IN_CARBON
450 const char *creatorName,
unsigned long sizeOfElement,
451 TQ3XMetaHandler metaHandler);
458 #define kQ3XMethodTypeAttributeDefault Q3_METHOD_TYPE('a', 's', 'd', 'f')
459 typedef CALLBACK_API_C(TQ3Status,
460 TQ3XAttributeDefaultMethod)(
void *internalElement);
461 #define kQ3XMethodTypeAttributeIsDefault Q3_METHOD_TYPE('a', 'i', 'd', 'f')
462 typedef CALLBACK_API_C(TQ3Boolean,
463 TQ3XAttributeIsDefaultMethod)(
void *internalElement);
465 #if PRAGMA_ENUM_ALWAYSINT
466 #pragma enumsalwaysint reset
467 #ifdef __QD3DSET__RESTORE_TWOBYTEINTS
468 #pragma fourbyteints off
470 #elif PRAGMA_ENUM_OPTIONS
471 #pragma option enum =reset
472 #elif defined(__QD3DSET__RESTORE_PACKED_ENUMS)
473 #pragma options(pack_enums)
476 #if PRAGMA_STRUCT_ALIGN
477 #pragma options align = reset
478 #elif PRAGMA_STRUCT_PACKPUSH
480 #elif PRAGMA_STRUCT_PACK
484 #ifdef PRAGMA_IMPORT_OFF
TQ3Status Q3Set_Clear(TQ3SetObject theSet, TQ3ElementType theType)
TQ3Status Q3AttributeSet_Submit(TQ3AttributeSet attributeSet, TQ3ViewObject view)
TQ3XObjectClass Q3XElementClass_Register(TQ3ElementType *elementType, const char *name, unsigned long sizeOfElement, TQ3XMetaHandler metaHandler)
TQ3Status Q3Set_Empty(TQ3SetObject target)
TQ3Status Q3AttributeSet_Inherit(TQ3AttributeSet parent, TQ3AttributeSet child, TQ3AttributeSet result)
TQ3Status Q3AttributeSet_Clear(TQ3AttributeSet attributeSet, TQ3AttributeType theType)
TQ3Status Q3Set_GetNextElementType(TQ3SetObject theSet, TQ3ElementType *theType)
TQ3AttributeSet Q3AttributeSet_New(void)
TQ3Status Q3XElementType_GetElementSize(TQ3ElementType elementType, unsigned long *sizeOfElement)
TQ3AttributeTypes
Definition: QD3DSet.h:177
TQ3Status Q3AttributeSet_Add(TQ3AttributeSet attributeSet, TQ3AttributeType theType, const void *data)
TQ3ObjectType Q3Set_GetType(TQ3SetObject theSet)
TQ3Status Q3Attribute_Submit(TQ3AttributeType attributeType, const void *data, TQ3ViewObject view)
TQ3Status Q3Set_Add(TQ3SetObject theSet, TQ3ElementType theType, const void *data)
TQ3SetObject Q3Set_New(void)
TQ3Status Q3AttributeSet_GetNextAttributeType(TQ3AttributeSet source, TQ3AttributeType *theType)
TQ3Status Q3Set_Get(TQ3SetObject theSet, TQ3ElementType theType, void *data)
TQ3Boolean Q3Set_Contains(TQ3SetObject theSet, TQ3ElementType theType)
TQ3XObjectClass Q3XAttributeClass_Register(TQ3AttributeType *attributeType, const char *creatorName, unsigned long sizeOfElement, TQ3XMetaHandler metaHandler)
TQ3Status Q3AttributeSet_Get(TQ3AttributeSet attributeSet, TQ3AttributeType theType, void *data)
TQ3Boolean Q3AttributeSet_Contains(TQ3AttributeSet attributeSet, TQ3AttributeType attributeType)
TQ3Status Q3AttributeSet_Empty(TQ3AttributeSet target)
Base types for Quickdraw 3D.
TQ3SetObject TQ3AttributeSet
Definition: QD3D.h:197
long TQ3ObjectType
Definition: QD3D.h:152
long TQ3ElementType
Definition: QD3D.h:684