glutSetColor



glutSetColor

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO
AUTHOR

NAME

glutSetColor - sets the color of a colormap entry in the layer of use for the current window.

SYNTAX

void glutSetColor(int cell,

GLfloat red, GLfloat green, GLfloat blue);

ARGUMENTS

cell

Color cell index (starting at zero).

red

Red intensity (clamped between 0.0 and 1.0 inclusive).

green

Green intensity (clamped between 0.0 and 1.0 inclusive).

blue

Blue intensity (clamped between 0.0 and 1.0 inclusive).

DESCRIPTION

Sets the cell color index colormap entry of the current window’s logical colormap for the layer in use with the color specified by red, green, and blue. The layer in use of the current window should be a color index window. cell should be zero or greater and less than the total number of colormap entries for the window. If the layer in use’s colormap was copied by reference, a glutSetColor call will force the duplication of the colormap. Do not attempt to set the color of an overlay’s transparent index.

SEE ALSO

glutGetColor, glutCopyColormap, glutInitDisplayMode

AUTHOR

Mark J. Kilgard (mjk@nvidia.com)



More Linux Commands

manpages/rcautofs.8.html
rcautofs(8) - Control Script for automounter (Man Page).....
rcautofs.8 - autofs controls the operation of the automount(8) daemons running on the Linux system. Usually autofs is invoked at system boot time with the start

manpages/squid_unix_group.8.html
squid_unix_group(8) - Squid UNIX Group external_acl helper
This helper allows Squid to base access controls on users memberships in UNIX groups. -g groupname Specifies a group name to match. -p Also match the users prim

manpages/gnutls_hmac_output.3.html
gnutls_hmac_output(3) - API function - Linux manual page....
This function will output the current MAC value. SINCE 2.10.0 REPORTING BUGS Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page: http://www.gnu.org/software/

manpages/Tcl_CreateChannelHandler.3.html
Tcl_CreateChannelHandler(3) - call a procedure when a channe
Tcl_CreateChannelHandler arranges for proc to be called in the future whenever input or output becomes possible on the channel identified by channel, or wheneve

manpages/XRefreshKeyboardMapping.3.html
XRefreshKeyboardMapping(3) - handle keyboard input events in
The XLookupKeysym function uses a given keyboard event and the index you specified to return the KeySym from the list that corresponds to the KeyCode member in

manpages/ExtUtils::MM_QNX.3pm.html
ExtUtils::MM_QNX(3pm) - QNX specific subclass of ExtUtils::M
This is a subclass of ExtUtils::MM_Unix which contains functionality for QNX . Unless otherwise stated it works just like ExtUtils::MM_Unix Overridden methods e

manpages/del_panel.3curses.html
del_panel(3curses) - panel stack extension for curses.......
Panels are ncurses(3NCURSES) windows with the added feature of depth. Panel functions allow the use of stacked windows and ensure the proper portions of each wi

manpages/B::Lint::Debug.3pm.html
B::Lint::Debug(3pm) - Adds debugging stringification to B::
This module injects stringification to a B::OP*/B::SPECIAL. This should not be loaded unless youre debugging. B::Lint::Debug.3pm (Library - Linux manual page)

manpages/shuf.1.html
shuf(1) - generate random permutations - Linux manual page
Write a random permutation of the input lines to standard output. Mandatory arguments to long options are mandatory for short options too. -e, --echo treat each

manpages/logout.1.html
logout(1) bash built-in commands, see bash(1) (Man Page)....
Unless otherwise noted, each builtin command documented in this section as accepting options preceded by accepts to signify the end of the options. The tru

manpages/keyctl_assume_authority.3.html
keyctl_assume_authority(3) - Assume the authority to instant
keyctl_assume_authority() assumes the authority for the calling thread to deal with and instantiate the specified uninstantiated key. The calling thread must ha

manpages/gnutls_x509_crq_get_dn_oid.3.html
gnutls_x509_crq_get_dn_oid(3) - API function (Man Page).....
This function will extract the requested OID of the name of the certificate request subject, specified by the given index. RETURNS GNUTLS_E_SHORT_MEMORY_BUFFER





We can't live, work or learn in freedom unless the software we use is free.