1 Managing Sets
Q3Set_Add
function to add an element to a set.
TQ3Status Q3Set_Add ( TQ3SetObject set, TQ3ElementType type, const void *data);set
A set object.type
An element type.data
A pointer to the element's data.
Q3Set_Add
function adds the element specified by the type
and data
parameters to the set specified by the set
parameter. The set must already exist when you call Q3Set_Add
. Note that the element data is copied into the set. Accordingly, you can reuse the data
parameter once you have called Q3Set_Add
.
If the specified element type is a custom element type, Q3Set_Add
uses the custom type's kQ3MethodTypeElementCopyAdd
or kQ3MethodTypeElementCopyReplace
custom methods. See the chapter "QuickDraw 3D Objects" for complete information on custom element types.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker