Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glminsampleshading(3g) [debian man page]

GLMINSAMPLESHADING(3G)						  [FIXME: manual]					    GLMINSAMPLESHADING(3G)

NAME
glMinSampleShading - specifies minimum rate at which sample shaing takes place C SPECIFICATION
void glMinSampleShading(GLfloat value); PARAMETERS
value Specifies the rate at which samples are shaded within each covered pixel. DESCRIPTION
glMinSampleShading specifies the rate at which samples are shaded within a covered pixel. Sample-rate shading is enabled by calling glEnable() with the parameter GL_SAMPLE_SHADING. If GL_MULTISAMPLE or GL_SAMPLE_SHADING is disabled, sample shading has no effect. Otherwise, an implementation must provide at least as many unique color values for each covered fragment as specified by value times samples where samples is the value of GL_SAMPLES for the current framebuffer. At least 1 sample for each covered fragment is generated. A value of 1.0 indicates that each sample in the framebuffer should be indpendently shaded. A value of 0.0 effectively allows the GL to ignore sample rate shading. Any value between 0.0 and 1.0 allows the GL to shade only a subset of the total samples within each covered fragment. Which samples are shaded and the algorithm used to select that subset of the fragment's samples is implementation dependent. NOTES
The type of the value parameter was changed from GLclampf to GLfloat. This change is transparent to user code and is described in detail on the removedTypes() page. ERRORS
None. ASSOCIATED GETS
glGet() with argument GL_MIN_SAMPLE_SHADING. glGet() with argument GL_SAMPLES. SEE ALSO
removedTypes() COPYRIGHT
Copyright (C) 2011 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. [FIXME: source] 05/30/2012 GLMINSAMPLESHADING(3G)

Check Out this Related Man Page

GLGETMULTISAMPLEFV(3G)						  [FIXME: manual]					    GLGETMULTISAMPLEFV(3G)

NAME
glGetMultisamplefv - retrieve the location of a sample C SPECIFICATION
void glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val); PARAMETERS
pname Specifies the sample parameter name. pname must be GL_SAMPLE_POSITION. index Specifies the index of the sample whose position to query. val Specifies the address of an array to receive the position of the sample. DESCRIPTION
glGetMultisamplefv queries the location of a given sample. pname specifies the sample parameter to retrieve and must be GL_SAMPLE_POSITION. index corresponds to the sample for which the location should be returned. The sample location is returned as two floating-point values in val[0] and val[1], each between 0 and 1, corresponding to the x and y locations respectively in the GL pixel space of that sample. (0.5, 0.5) this corresponds to the pixel center. index must be between zero and the value of GL_SAMPLES - 1. If the multisample mode does not have fixed sample locations, the returned values may only reflect the locations of samples within some pixels. ERRORS
GL_INVALID_ENUM is generated if pname is not one GL_SAMPLE_POSITION. GL_INVALID_VALUE is generated if index is greater than or equal to the value of GL_SAMPLES. SEE ALSO
glGenFramebuffers(), glBindFramebuffer() COPYRIGHT
Copyright (C) 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. [FIXME: source] 05/30/2012 GLGETMULTISAMPLEFV(3G)
Man Page

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

run awk on one file for each line in a second file

I have a file with a list of 'samples' all in one column and a second file with a list of 'results' for these samples. I am trying to use a FOR loop to go through each sample and gawk the second file to return (the first field of) all the results for that sample. File 1: BCM51 CNC11 CNC41... (6 Replies)
Discussion started by: erichpowell
6 Replies

2. Shell Programming and Scripting

how to fix this awk script?

i have a log file while looks like this ++ user_a blabla blabla nas_b blabla user_d this is a user_a junk line another junk line user_c nas_m blabla ++ basically most of the lines contain a "user" keywords, and the rest of the lines do not have "user" at all. So I have the... (17 Replies)
Discussion started by: fedora
17 Replies

3. Shell Programming and Scripting

Compare two files

Hi all, I need help on the following. I have two files: File1.txt < 2233122266196246529, NOT_USED, NOT_USED, NOT_USED, 2, NOT_USED, Y, N, 0, (VPN) 284016910526692, -1, 0, -1, NOT_USED, 2013-04-12T01:48:43.645+02:00 / KCC script, C1C, (VPNPRO) mtel-MVPN_(VPN ACC) 193708_A359887654295,... (10 Replies)
Discussion started by: vasil
10 Replies

4. Shell Programming and Scripting

Calculating mean for samples 1-3 4-6 etc.

Hi. I have a LOOONG list of samples but I am not sure how to write the loop/script to calculate the mean... I normally use awk... ...................MEAN Sample1 25.82 40.61333 Sample1 47.6 Sample1 48.42 Sample2 54.03 54.12 Sample2 53.98 Sample2 54.35 etc..... I would like to... (4 Replies)
Discussion started by: danieladna
4 Replies