GLGETMULTISAMPLEFV(3G) OpenGL 3.3 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/.
OpenGL 3.3 03/08/2011 GLGETMULTISAMPLEFV(3G)
Check Out this Related Man Page
GLGETVERTEXATTRIBPOI(3G) OpenGL 3.3 GLGETVERTEXATTRIBPOI(3G)NAME
glGetVertexAttribPointerv - return the address of the specified generic vertex attribute pointer
C SPECIFICATION
void glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid **pointer);
PARAMETERS
index
Specifies the generic vertex attribute parameter to be returned.
pname
Specifies the symbolic name of the generic vertex attribute parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
pointer
Returns the pointer value.
DESCRIPTION
glGetVertexAttribPointerv returns pointer information. index is the generic vertex attribute to be queried, pname is a symbolic constant
indicating the pointer to be returned, and params is a pointer to a location in which to place the returned data.
The pointer returned is a byte offset into the data store of the buffer object that was bound to the GL_ARRAY_BUFFER target (see
glBindBuffer()) when the desired pointer was previously specified.
NOTES
The state returned is retrieved from the currently bound vertex array object.
The initial value for each pointer is 0.
ERRORS
GL_INVALID_OPERATION is generated if no vertex array object is currently bound.
GL_INVALID_VALUE is generated if index is greater than or equal to GL_MAX_VERTEX_ATTRIBS.
GL_INVALID_ENUM is generated if pname is not an accepted value.
ASSOCIATED GETS
glGet() with argument GL_MAX_VERTEX_ATTRIBS
SEE ALSO
glGetVertexAttrib(), glVertexAttribPointer()
COPYRIGHT
Copyright (C) 2003-2005 3Dlabs Inc. Ltd. 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/.
OpenGL 3.3 03/08/2011 GLGETVERTEXATTRIBPOI(3G)
On Solaris 5.8 in ksh,
I have a sample.txt with contents
A 105 305
B 205 405
C 100 198
.......................
when I do a cat sample.txt the O/P is exactly as above but when I do a echo `cat sample.txt` the O/P changes to
A 105 305 B 205 405 C 100 198...........
Everything is... (3 Replies)
I have recently taken on a new position and want to clean up several file locations that currently hold data back through 1999. While I need to keep this data for business reasons, I have created directories to help sort out the individual years. Is there a quick command that I can use to archive... (2 Replies)
I am new UNIX user. I am using HPUX.
Here is a sample file I am working with.
01-253850,170464,84,59555
01-325100,169793,81,95734
01-325470,120737,81,28893
01-358250,169995,81,51698
Is there any way for me to pull out each section individually and copy it to a new file. I want to separate... (2 Replies)
i have a file -- temp1.txt
/x/c/gh/jk/bean.jsp
/x/c/class.class
now i want to write a script where i need to get the data as
bean.jsp
class.class
can some one help.... (14 Replies)
I am processing some terabytes of information on a computer having 8 processors (each with 4 cores) with a 16GB RAM and 5TB hard drive implemented as a RAID. The processing doesn't seem to be blazingly fast perhaps because of the IO limitation.
I am basically running a perl script to read some... (13 Replies)
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)
Hello,
I want to retrieve 2, 6, 10, 14...... (each 4 lines apart) from a file that looks like the sample below. In other words, I want only lines corresponding to the Xs.
Header1_a
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Header1_b
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
Header2_a... (2 Replies)
Hi All ,
Want to know the "sum" of all the digits in below file called "/sample" .Could some one please let me know the script either command .
cat /sample
12
34
23
23
Best Regards,
Chinni . (5 Replies)
Hi all I am using following code and input to duplicate entries till next row but out is cutting some words in this sample can anybody check on his system is there any error?
awk ' { if($2 !~ /^ *$/) { a=substr($0,length($1)+1,index($0,$NF)-length($NF)); b=$NF; } print $1, a, b } ' file... (1 Reply)
Hi All,
I had a query related to sql select replace command.
i have a table named clusters and it looks like this
Code:
name characteristics
sample 1.1 parent
sample 1.2 ... (2 Replies)
Hi,
I am really sorry for this question but still i am confused.
I have shell script called sample.sh
I can execute only with the combination of ./sample.sh
Is ./ really necessary ? Is it something related with $HOME or $PATH variable.
Why and How can i resolve this case ?
... (2 Replies)
I have one .xml file. which contains the following line.
<ParamString StringId="PortAddress" StringValue="172.27.166.170" />
<ParamString StringId="PortAddress" StringValue="172.27.166.171" />
<ParamString StringId="PortAddress" StringValue="172.27.166.202" />
<ParamString... (9 Replies)
Hi Gurus,
I have a file(weblog) as below
abc|xyz|123|agentcode=sample code abcdeeess,agentcode=sample code abcdeeess,agentcode=sample code abcdeeess|agentadd=abcd stereet 23343,agentadd=abcd stereet 23343
sss|wwq|999|agentcode=sample1 code wqwdeeess,gentcode=sample1 code... (4 Replies)