Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glhint(3g) [centos man page]

GLHINT(3G)							   OpenGL Manual							GLHINT(3G)

NAME
glHint - specify implementation-specific hints C SPECIFICATION
void glHint(GLenum target, GLenum mode); PARAMETERS
target Specifies a symbolic constant indicating the behavior to be controlled. GL_LINE_SMOOTH_HINT, GL_POLYGON_SMOOTH_HINT, GL_TEXTURE_COMPRESSION_HINT, and GL_FRAGMENT_SHADER_DERIVATIVE_HINT are accepted. mode Specifies a symbolic constant indicating the desired behavior. GL_FASTEST, GL_NICEST, and GL_DONT_CARE are accepted. DESCRIPTION
Certain aspects of GL behavior, when there is room for interpretation, can be controlled with hints. A hint is specified with two arguments. target is a symbolic constant indicating the behavior to be controlled, and mode is another symbolic constant indicating the desired behavior. The initial value for each target is GL_DONT_CARE. mode can be one of the following: GL_FASTEST The most efficient option should be chosen. GL_NICEST The most correct, or highest quality, option should be chosen. GL_DONT_CARE No preference. Though the implementation aspects that can be hinted are well defined, the interpretation of the hints depends on the implementation. The hint aspects that can be specified with target, along with suggested semantics, are as follows: GL_FRAGMENT_SHADER_DERIVATIVE_HINT Indicates the accuracy of the derivative calculation for the GL shading language fragment processing built-in functions: dFdx, dFdy, and fwidth. GL_LINE_SMOOTH_HINT Indicates the sampling quality of antialiased lines. If a larger filter function is applied, hinting GL_NICEST can result in more pixel fragments being generated during rasterization. GL_POLYGON_SMOOTH_HINT Indicates the sampling quality of antialiased polygons. Hinting GL_NICEST can result in more pixel fragments being generated during rasterization, if a larger filter function is applied. GL_TEXTURE_COMPRESSION_HINT Indicates the quality and performance of the compressing texture images. Hinting GL_FASTEST indicates that texture images should be compressed as quickly as possible, while GL_NICEST indicates that texture images should be compressed with as little image quality loss as possible. GL_NICEST should be selected if the texture is to be retrieved by glGetCompressedTexImage() for reuse. NOTES
The interpretation of hints depends on the implementation. Some implementations ignore glHint settings. ERRORS
GL_INVALID_ENUM is generated if either target or mode is not an accepted value. COPYRIGHT
Copyright (C) 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. AUTHORS
opengl.org opengl.org 06/10/2014 GLHINT(3G)

Check Out this Related Man Page

GLMULTITEXCOORD(3G)						   OpenGL Manual					       GLMULTITEXCOORD(3G)

NAME
glMultiTexCoord - set the current texture coordinates C SPECIFICATION
void glMultiTexCoord1s(GLenum target, GLshort s); void glMultiTexCoord1i(GLenum target, GLint s); void glMultiTexCoord1f(GLenum target, GLfloat s); void glMultiTexCoord1d(GLenum target, GLdouble s); void glMultiTexCoord2s(GLenum target, GLshort s, GLshort t); void glMultiTexCoord2i(GLenum target, GLint s, GLint t); void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t); void glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t); void glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r); void glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r); void glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r); void glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r); void glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); void glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q); void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); void glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); PARAMETERS
target Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTUREi, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. s, t, r, q Specify s, t, r, and q texture coordinates for target texture unit. Not all parameters are present in all forms of the command. C SPECIFICATION
void glMultiTexCoord1sv(GLenum target, const GLshort * v); void glMultiTexCoord1iv(GLenum target, const GLint * v); void glMultiTexCoord1fv(GLenum target, const GLfloat * v); void glMultiTexCoord1dv(GLenum target, const GLdouble * v); void glMultiTexCoord2sv(GLenum target, const GLshort * v); void glMultiTexCoord2iv(GLenum target, const GLint * v); void glMultiTexCoord2fv(GLenum target, const GLfloat * v); void glMultiTexCoord2dv(GLenum target, const GLdouble * v); void glMultiTexCoord3sv(GLenum target, const GLshort * v); void glMultiTexCoord3iv(GLenum target, const GLint * v); void glMultiTexCoord3fv(GLenum target, const GLfloat * v); void glMultiTexCoord3dv(GLenum target, const GLdouble * v); void glMultiTexCoord4sv(GLenum target, const GLshort * v); void glMultiTexCoord4iv(GLenum target, const GLint * v); void glMultiTexCoord4fv(GLenum target, const GLfloat * v); void glMultiTexCoord4dv(GLenum target, const GLdouble * v); PARAMETERS
target Specifies the texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Symbolic constant must be one of GL_TEXTUREi, where i ranges from 0 to GL_MAX_TEXTURE_COORDS - 1, which is an implementation-dependent value. v Specifies a pointer to an array of one, two, three, or four elements, which in turn specify the s, t, r, and q texture coordinates. DESCRIPTION
glMultiTexCoord specifies texture coordinates in one, two, three, or four dimensions. glMultiTexCoord1 sets the current texture coordinates to s 0 0 1; a call to glMultiTexCoord2 sets them to s t 0 1. Similarly, glMultiTexCoord3 specifies the texture coordinates as s t r 1, and glMultiTexCoord4 defines all four components explicitly as s t r q. The current texture coordinates are part of the data that is associated with each vertex and with the current raster position. Initially, the values for s t r q are 0 0 0 1. NOTES
The current texture coordinates can be updated at any time. It is always the case that GL_TEXTUREi = GL_TEXTURE0 + i. ASSOCIATED GETS
glGet() with argument GL_CURRENT_TEXTURE_COORDS with appropriate texture unit selected. glGet() with argument GL_MAX_TEXTURE_COORDS SEE ALSO
glActiveTexture(), glTexCoord(), glVertex() COPYRIGHT
Copyright (C) 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/. AUTHORS
opengl.org opengl.org 06/10/2014 GLMULTITEXCOORD(3G)
Man Page