6 Managing Interpolation Styles

6 Q3InterpolationStyle_New

You can use the Q3InterpolationStyle_New function to create a new interpolation style object.

TQ3StyleObject Q3InterpolationStyle_New (
TQ3InterpolationStyle interpolationStyle);
interpolationStyle
An interpolation style value.

DESCRIPTION


The Q3InterpolationStyle_New function returns, as its function result, a new style object having the interpolation style specified by the interpolationStyle parameter. The interpolationStyle parameter should be one of these values:

kQ3InterpolationStyleNone
kQ3InterpolationStyleVertex
kQ3InterpolationStylePixel
If a new style object could not be created, Q3InterpolationStyle_New returns the value NULL.

To change the current interpolation style, you must actually draw the style object. You can call Q3Style_Submit to draw the style in retained mode or Q3InterpolationStyle_Submit (described next) to draw the style in immediate mode.

SEE ALSO


See "Interpolation Styles" on page 6-5 for a description of the available interpolation styles.

DESCRIPTION
SEE ALSO

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