Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glcolormask(3g) [redhat man page]

GLCOLORMASK(3G) 														   GLCOLORMASK(3G)

NAME
glColorMask - enable and disable writing of frame buffer color components C SPECIFICATION
void glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) PARAMETERS
red, green, blue, alpha Specify whether red, green, blue, and alpha can or cannot be written into the frame buffer. The initial values are all GL_TRUE, indicating that the color components can be written. DESCRIPTION
glColorMask specifies whether the individual color components in the frame buffer can or cannot be written. If red is GL_FALSE, for exam- ple, no change is made to the red component of any pixel in any of the color buffers, regardless of the drawing operation attempted. Changes to individual bits of components cannot be controlled. Rather, changes are either enabled or disabled for entire color components. ERRORS
GL_INVALID_OPERATION is generated if glColorMask is executed between the execution of glBegin and the corresponding execution of glEnd. ASSOCIATED GETS
glGet with argument GL_COLOR_WRITEMASK glGet with argument GL_RGBA_MODE SEE ALSO
glClear(3G), glColor(3G), glColorPointer(3G), glDepthMask(3G), glIndex(3G), glIndexPointer(3G), glIndexMask(3G), glStencilMask(3G) GLCOLORMASK(3G)

Check Out this Related Man Page

GLINDEXMASK(3G) 														   GLINDEXMASK(3G)

NAME
glIndexMask - control the writing of individual bits in the color index buffers C SPECIFICATION
void glIndexMask( GLuint mask ) PARAMETERS
mask Specifies a bit mask to enable and disable the writing of individual bits in the color index buffers. Initially, the mask is all 1's. DESCRIPTION
glIndexMask controls the writing of individual bits in the color index buffers. The least significant n bits of mask, where n is the num- ber of bits in a color index buffer, specify a mask. Where a 1 (one) appears in the mask, it's possible to write to the corresponding bit in the color index buffer (or buffers). Where a 0 (zero) appears, the corresponding bit is write-protected. This mask is used only in color index mode, and it affects only the buffers currently selected for writing (see glDrawBuffer). Initially, all bits are enabled for writing. ERRORS
GL_INVALID_OPERATION is generated if glIndexMask is executed between the execution of glBegin and the corresponding execution of glEnd. ASSOCIATED GETS
glGet with argument GL_INDEX_WRITEMASK SEE ALSO
glColorMask(3G), glDepthMask(3G), glDrawBuffer(3G), glIndex(3G), glIndexPointer(3G), glStencilMask(3G) GLINDEXMASK(3G)
Man Page

11 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

infra-red???

:D does linux\/unix support infra-red and if it does how can i make it work!!? (HP pavillion laptop, supports infrared, no windows (fedora core 2 vs. 2.6.8-1.521 gnu\linux) thaanxx moxxx68:( (2 Replies)
Discussion started by: moxxx68
2 Replies

2. UNIX for Dummies Questions & Answers

Help on file arrangement

Can anyone help me on this. I have a file that looks like this: color red green blue color pink yellow number one two gender male gender female The output would look like this: color red green blue pink yellow number one two gender male female I have over 5000 rows and i dont want... (5 Replies)
Discussion started by: kharen11
5 Replies

3. Shell Programming and Scripting

color a figure in text file

Good morning, Can someone help to color a figure in columns if its exceeding a threshold using shell script . ex. I have file contains 5 columns showing a value in % I need to show the value in red if it exceed 90 % Appreciate your help (3 Replies)
Discussion started by: Bluetoot
3 Replies

4. Shell Programming and Scripting

text color

Hi all I have a file contains columns showing figures as below : Input file A B C D 50 60 90 E 100 20 53 F 30 40 70 G 25 27 45 I want to color the value above or equal 90 by red and to be shown as below output file... (5 Replies)
Discussion started by: Bluetoot
5 Replies

5. Red Hat

how tosetup broadband connection in red hatlinux

ami red hat linux 5.0 te broadband connection seup korte parteci na...plz help me immideatly (3 Replies)
Discussion started by: nhs_shobuz
3 Replies

6. Shell Programming and Scripting

Complex coloring in script

My script prints lines in which the entire line may be colored, and portions may also be colored. e.g. Consider this to be one line: $red some text in red $yellow abcd $end_yellow red text 1234 $blue some text $end_blue more red text $end_red So using sed, I may based on condition 1,... (5 Replies)
Discussion started by: sentinel
5 Replies

7. UNIX for Advanced & Expert Users

ls flashing red

Can someone please tell me what the flashing red means? http://i255.photobucket.com/albums/hh133/COKEDUDEUSF/ls_flashing.jpg (10 Replies)
Discussion started by: cokedude
10 Replies

8. Shell Programming and Scripting

execution of a string being echoed in bash

hi all, I am trying to do a loop on a series of plotting function shown below: colorlist=(blue red green); n=0; for k in $xy; do psbasemap $range -JM$scale -B10g5 -X1 -Y1 -P -K > $outfile pscoast $range -JM$scale -B10g5 -D$res -P -W$lwidth -G$fill -O -K >> $outfile echo... (1 Reply)
Discussion started by: ida1215
1 Replies

9. UNIX for Dummies Questions & Answers

Formating variables in KSH

Hi Friends , I want to know how to format the output for the following: i searched in the forum and couldnt get the exact requirement. Thanks in advance . (2 Replies)
Discussion started by: i150371485
2 Replies

10. Shell Programming and Scripting

Issues in reading file using 'awk'

Dear all, I am using following function of some script to assign variable "JobNo" some value form file $SAMPLE"_status.log" ( generated using the red color command ) crab ntuplize_crab -status -c $SAMPLE >& $SAMPLE"_status.log" & echo $SAMPLE"_status.log" "=====" jobNo=$(awk... (10 Replies)
Discussion started by: emily
10 Replies

11. Shell Programming and Scripting

Handle color code

p1=text1 p2=text2(in red color) when i am trying to replace $p1 with $p2, content of the file from text2 become red. so when i open that file using vi its showing color code before tex2. please suggest me how to omit that color code and make content of that file in default color? (1 Reply)
Discussion started by: Biplab
1 Replies