GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


Manpage of GLCULLFACE

GLCULLFACE

Index
 

NAME

glCullFace - specify whether front- or back-facing facets can be culled

 

C SPECIFICATION

void f3glCullFacefP( GLenum fImodefP )


 

PARAMETERS

f2modefP
Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants %f3GL_FRONTfP, %f3GL_BACKfP, and %f3GL_FRONT_AND_BACKfP are accepted. The initial value is %f3GL_BACKfP.
 

DESCRIPTION

%f3glCullFacefP specifies whether front- or back-facing facets are culled (as specified by f2modefP) when facet culling is enabled. Facet culling is initially disabled. To enable and disable facet culling, call the %f3glEnablefP and %f3glDisablefP commands with the argument %f3GL_CULL_FACEfP. Facets include triangles, quadrilaterals, polygons, and rectangles. %f3glFrontFacefP specifies which of the clockwise and counterclockwise facets are front-facing and back-facing. See %f3glFrontFacefP.  

NOTES

If f2modefP is %f3GL_FRONT_AND_BACKfP, no facets are drawn, but other primitives such as points and lines are drawn.  

ERRORS

%f3GL_INVALID_ENUMfP is generated if f2modefP is not an accepted value. %f3GL_INVALID_OPERATIONfP is generated if %f3glCullFacefP is executed between the execution of %f3glBeginfP and the corresponding execution of %f3glEndfP.  

ASSOCIATED GETS

%f3glIsEnabledfP with argument %f3GL_CULL_FACEfP
%f3glGetfP with argument %f3GL_CULL_FACE_MODEfP  

SEE ALSO

%f3glEnable(3G)fP, %f3glFrontFace(3G)fP


 

Index

NAME
C SPECIFICATION
PARAMETERS
DESCRIPTION
NOTES
ERRORS
ASSOCIATED GETS
SEE ALSO