glReplacementCodeusvSUN man page on Solaris

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
Solaris logo
[printable version]

GLREPLACEMENTCODESUN(3gl)			     GLREPLACEMENTCODESUN(3gl)

NAME
       glReplacementCodeuiSUN,	glReplacementCodeuivSUN,  glReplacementCodeub‐
       SUN,  glReplacementCodeubvSUN,  glReplacementCodeusSUN,	glReplacement‐
       CodeusvSUN - set the replacement code

C SPECIFICATION
       void glReplacementCodeuiSUN( GLuint rc )
       void glReplacementCodeubSUN( GLubyte rc )
       void glReplacementCodeusSUN( GLushort rc )

PARAMETERS
       rc  Specifies the replacement code

C SPECIFICATION
       void glReplacementCodeuivSUN( const GLuint *rc )
       void glReplacementCodeubvSUN( const GLubyte *rc )
       void glReplacementCodeusvSUN( const GLushort *rc )

PARAMETERS
       rc     Specifies a pointer to an element that specifies the replacement
	      code.

DESCRIPTION
       glReplacementCodeSUN sets the replacement code which controls  triangle
       vertex  replacement  for the triangle list primitive; it is ignored for
       all other primitives.

       rc can be one of the following:

       GL_RESTART_SUN	   Indicates the start of a new triangle strip or fan.
			   As  with  a	triangle strip and a triangle fan, the
			   first three vertices define a triangle.  Subsequent
			   vertices  define  a strip or a fan depending on the
			   corresponding replacement code state.

       GL_REPLACE_MIDDLE_SUN
			   Indicates that the current vertex will replace  the
			   second  vertex  of  the  previous triangle, hence a
			   triangle fan will be drawn.

       GL_REPLACE_OLDEST_SUN
			   Indicates that the current vertex will replace  the
			   oldest  vertex  of  the  previous triangle, hence a
			   triangle strip will be drawn.

NOTES
       The replacement code can be updated at any time.	 In particular,	 glRe‐
       placementCodeSUN can be called between a call to glBegin and the corre‐
       sponding call to glEnd. Note that the replacement code  for  the	 first
       vertex	of   a	triangle  list	primitive  is  always  assumed	to  be
       GL_RESTART_SUN. And the replacement code	 for  the  next	 two  vertices
       after a restart are always ignored.

ASSOCIATED GETS
       glGet with argument GL_REPLACEMENT_CODE_SUN

SEE ALSO
       glBegin, glReplacementCodePointerSUN,

				   4 Mar 99	     GLREPLACEMENTCODESUN(3gl)
[top]

List of man pages available for Solaris

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net