6 Managing Backfacing Styles

6 Q3BackfacingStyle_New

You can use the Q3BackfacingStyle_New function to create a new backfacing style object.

TQ3StyleObject Q3BackfacingStyle_New (
TQ3BackfacingStyle backfacingStyle);
backfacingStyle
A backfacing style value.

DESCRIPTION


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

kQ3BackfacingStyleBoth
kQ3BackfacingStyleRemove
kQ3BackfacingStyleFlip
If a new style object could not be created, Q3BackfacingStyle_New returns the value NULL.

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

SEE ALSO


See "Backfacing Styles" on page 6-4 for a description of the available backfacing 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