[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPPGC - Set Polygon Culling

GPPGC (mode)

Purpose

Use GPPGC to insert a Set Polygon Culling structure element into the open structure following the element pointer or to replace the element pointed at by the element pointer with a Set Polygon Culling structure element depending on the current edit mode.

This structure element specifies a mode. This mode specifies whether or not a given area geometry including its boundaries and edges should be visualized when rendering subsequent primitives to which this attribute applies.

The traversal default for polygon culling is 1=NONE

If the workstation does not support the specified mode, then polygon culling mode defaults to 1=NONE

Parameters

mode -- specified by user, fullword integer

Polygon culling mode (1=NONE, 2=BACK, 3=FRONT )

Error Codes

5
FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)
87
POLYGON CULLING MODE IS INVALID

Related Subroutines

GPQAAF
Inquire Advanced Attribute Facilities

RCP code

201343237 (X'0C004105')


[ Previous | Next | Contents | Glossary | Home | Search ]