GLINDEX
NAMEC SPECIFICATION
PARAMETERS
C SPECIFICATION
PARAMETERS
DESCRIPTION
NOTES
ASSOCIATED GETS
SEE ALSO
NAME
glIndexd, glIndexf, glIndexi, glIndexs, glIndexub, glIndexdv, glIndexfv, glIndexiv, glIndexsv, glIndexubv − set the current color index
C SPECIFICATION
void
glIndexd( GLdouble c )
void glIndexf( GLfloat c )
void glIndexi( GLint c )
void glIndexs( GLshort c )
void glIndexub( GLubyte c); 1.1 )
PARAMETERS
1.1 |
Specifies the new value for the current color index. |
C SPECIFICATION
void
glIndexdv( const GLdouble *c )
void glIndexfv( const GLfloat *c )
void glIndexiv( const GLint *c )
void glIndexsv( const GLshort *c )
void glIndexubv( const GLubyte *c); 1.1 )
PARAMETERS
1.1 |
Specifies a pointer to a one-element array that contains the new value for the current color index. |
DESCRIPTION
glIndex updates the current (single-valued) color index. It takes one argument, the new value for the current color index.
The current index is stored as a floating-point value. Integer values are converted directly to floating-point values, with no special mapping. The initial value is 1.
Index values outside the representable range of the color index buffer are not clamped. However, before an index is dithered (if enabled) and written to the frame buffer, it is converted to fixed-point . Any bits in the integer portion of the resulting fixed-point value that do not correspond to bits in the frame buffer are masked out.
NOTES
glIndexub and glIndexubv are available only if the GL version is 1.1 or greater.
The current index can be updated at any time. In particular, glIndex can be called between a call to glBegin and the corresponding call to glEnd.
ASSOCIATED GETS
glGet with argument GL_CURRENT_INDEX
SEE ALSO
glColor(3G), glIndexPointer(3G)
More Linux Commands
manpages/read_premib_configs.3.html
read_premib_configs(3) - netsnmp_config_api functions.......
The functions are a fairly extensible system of parsing various configuration files at the run time of an application. The configuration file flow is broken int
manpages/XML::XPath::Node::Comment.3pm.html
XML::XPath::Node::Comment(3pm) - an XML comment: (Manual Pages)
new ( data ) Create a new comment node. getValue / getData Returns the value in the comment toString Returns the comment with -- encoded as a numeric entity (if
manpages/write.1.html
write(1) - send a message to another user - Linux man page
write allows you to communicate with other users, by copying lines from your terminal to theirs. When you run the write command, the user you are writing to get
manpages/wmempcpy.3.html
wmempcpy(3) - copy memory area (Library - Linux man page)...
The mempcpy() function is nearly identical to the memcpy(3) function. It copies n bytes from the object beginning at src into the object pointed to by dest. But
manpages/madvise1.2.html
madvise1(2) - unimplemented system calls - Linux man page...
These system calls are not implemented in the Linux kernel. RETURN VALUE These system calls always return -1 and set errno to ENOSYS. NOTES Note that ftime(3),
manpages/shadow.5.html
shadow(5) - encrypted password file - Linux manual page.....
shadow contains the encrypted password information for users accounts and optional the password aging information. Included is Login name Encrypted password Day
manpages/ipcluster.1.html
ipcluster(1) start a cluster for IPython parallel computing
Start an IPython cluster for parallel computing. For more information on how to use ipcluster, see ipcluster --help, or ipcluster --help-all for all available c
manpages/ntfsprogs.8.html
ntfsprogs(8) - tools for doing neat things with NTFS........
ntfsprogs is a suite of NTFS utilities based around a shared library. The tools are available for free and come with full source code. TOOLS mkntfs(8) - Create
manpages/getcontext.2.html
getcontext(2) - get or set the user context - Linux man page
getcontext.2 - In a System V-like environment, one has the two types mcontext_t and ucontext_t defined in <ucontext.h> and the four functions getcontext(), setc
manpages/utf8.7.html
utf8(7) - an ASCII compatible multibyte Unicode encoding....
The Unicode 3.0 character set occupies a 16-bit code space. The most obvious Unicode encoding (known as UCS-2) consists of a sequence of 16-bit words. Such stri
manpages/glutLayerGet.3.html
glutLayerGet(3) - retrieves GLUT state pertaining to the lay
glutLayerGet retrieves GLUT layer information for the current window represented by integers. The info parameter determines what type of layer information to re
manpages/btrfs-inspect-internal.8.html
btrfs-inspect-internal(8) resolve different btrfs items for
btrfs inspect-internal is used to resolve different items for debug purpose. SUBCOMMAND inode-resolve [-v] <inode> <path> Resolves an <inode> in subvolume <path
