Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > eee00533ac83fd7ebbf9846dc6d3b77b > files > 67

Io-language-graphics-and-sound-20080330-6.fc15.i686.rpm

<HTML>
<BODY>
<PRE>
     <STRONG>NAME</STRONG>
	  <STRONG>glCullFace</STRONG> - specify whether front- or back-facing facets
	  can be culled


     <STRONG>C</STRONG> <STRONG>SPECIFICATION</STRONG>
	  void <STRONG>glCullFace</STRONG>( GLenum <EM>mode</EM> )


     <STRONG>PARAMETERS</STRONG>
	  <EM>mode</EM>	Specifies whether front- or back-facing	facets are
		candidates for culling.	 Symbolic constants <STRONG>GL_FRONT</STRONG>,
		<STRONG>GL_BACK</STRONG>, and <STRONG>GL_FRONT_AND_BACK</STRONG> are accepted.  The
		initial	value is <STRONG>GL_BACK</STRONG>.

     <STRONG>DESCRIPTION</STRONG>
	  <STRONG>glCullFace</STRONG> specifies whether front- or back-facing facets
	  are culled (as specified by <EM>mode</EM>) when facet culling is
	  enabled. Facet culling is initially disabled.	 To enable and
	  disable facet	culling, call the <STRONG>glEnable</STRONG> and <STRONG>glDisable</STRONG>
	  commands with	the argument <STRONG>GL_CULL_FACE</STRONG>.  Facets include
	  triangles, quadrilaterals, polygons, and rectangles.

	  <STRONG>glFrontFace</STRONG> specifies	which of the clockwise and
	  counterclockwise facets are front-facing and back-facing.
	  See <STRONG>glFrontFace</STRONG>.

     <STRONG>NOTES</STRONG>
	  If  <EM>mode</EM> is <STRONG>GL_FRONT_AND_BACK</STRONG>, no facets are drawn, but
	  other	primitives such	as points and lines are	drawn.

     <STRONG>ERRORS</STRONG>
	  <STRONG>GL_INVALID_ENUM</STRONG> is generated if <EM>mode</EM> is not an accepted
	  value.

	  <STRONG>GL_INVALID_OPERATION</STRONG> is generated if <STRONG>glCullFace</STRONG> is executed
	  between the execution	of <STRONG>glBegin</STRONG> and the corresponding
	  execution of <STRONG>glEnd</STRONG>.

     <STRONG>ASSOCIATED</STRONG>	<STRONG>GETS</STRONG>
	  <STRONG>glIsEnabled</STRONG> with argument <STRONG>GL_CULL_FACE</STRONG>
	  <STRONG>glGet</STRONG>	with argument <STRONG>GL_CULL_FACE_MODE</STRONG>

     <STRONG>SEE</STRONG> <STRONG>ALSO</STRONG>
	  <STRONG>glEnable</STRONG>, <STRONG>glFrontFace</STRONG>







</PRE>
</BODY>
</HTML>