glGetMultisamplefv man page on MacOSX
Printed from http://www.polarhome.com/service/man/?qf=glGetMultisamplefv&af=0&tf=2&of=MacOSX
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 © 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)
[top]
List of man pages available for MacOSX
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|