GLGETMAP


HOME

GLGETMAP

NAME
C SPECIFICATION
PARAMETERS
DESCRIPTION
NOTES
ERRORS
SEE ALSO

NAME

glGetMapdv, glGetMapfv, glGetMapiv − return evaluator parameters

C SPECIFICATION

void glGetMapdv( GLenum target,

GLenum query,

GLdouble *v )

void glGetMapfv( GLenum target,

GLenum query,

GLfloat *v )

void glGetMapiv( GLenum target,

GLenum query,

GLint *v )

PARAMETERS

target

Specifies the symbolic name of a map. Accepted values are GL_MAP1_COLOR_4, GL_MAP1_INDEX, GL_MAP1_NORMAL, GL_MAP1_TEXTURE_COORD_1, GL_MAP1_TEXTURE_COORD_2, GL_MAP1_TEXTURE_COORD_3, GL_MAP1_TEXTURE_COORD_4, GL_MAP1_VERTEX_3, GL_MAP1_VERTEX_4, GL_MAP2_COLOR_4, GL_MAP2_INDEX, GL_MAP2_NORMAL, GL_MAP2_TEXTURE_COORD_1, GL_MAP2_TEXTURE_COORD_2, GL_MAP2_TEXTURE_COORD_3, GL_MAP2_TEXTURE_COORD_4, GL_MAP2_VERTEX_3, and GL_MAP2_VERTEX_4.

query

Specifies which parameter to return. Symbolic names GL_COEFF, GL_ORDER, and GL_DOMAIN are accepted.

v

Returns the requested data.

DESCRIPTION

glMap1 and glMap2 define evaluators. glGetMap returns evaluator parameters. target chooses a map, query selects a specific parameter, and v points to storage where the values will be returned.

The acceptable values for the target parameter are described in the glMap1 and glMap2 reference pages.

query can assume the following values:

GL_COEFF

v returns the control points for the evaluator function. One-dimensional evaluators return $order$ control points, and two-dimensional evaluators return $uorder ~times~ vorder$ control points. Each control point consists of one, two, three, or four integer, single-precision floating-point, or double-precision floating-point values, depending on the type of the evaluator. The GL returns two-dimensional control points in row-major order, incrementing the $uorder$ index quickly and the $vorder$ index after each row. Integer values, when requested, are computed by rounding the internal floating-point values to the nearest integer values.

GL_ORDER

v returns the order of the evaluator function. One-dimensional evaluators return a single value, $order$. The initial value is 1. Two-dimensional evaluators return two values, $uorder$ and $vorder$. The initial value is 1,1.

GL_DOMAIN

v returns the linear $u$ and $v$ mapping parameters. One-dimensional evaluators return two values, $u1$ and $u2$, as specified by glMap1. Two-dimensional evaluators return four values ($u1$, $u2$, $v1$, and $v2$) as specified by glMap2. Integer values, when requested, are computed by rounding the internal floating-point values to the nearest integer values.

NOTES

If an error is generated, no change is made to the contents of v.

ERRORS

GL_INVALID_ENUM is generated if either target or query is not an accepted value.

GL_INVALID_OPERATION is generated if glGetMap is executed between the execution of glBegin and the corresponding execution of glEnd.

SEE ALSO

glEvalCoord(3G), glMap1(3G), glMap2(3G)



More Linux Commands

manpages/XSetWindowAttributes.3.html
XSetWindowAttributes(3) - create windows and window attribut
XSetWindowAttributes.3 - The XCreateWindow function creates an unmapped subwindow for a specified parent window, returns the window ID of the created window, an

manpages/gnutls_x509_crt_get_crl_dist_points.3.html
gnutls_x509_crt_get_crl_dist_points(3) - API function.......
This function retrieves the CRL distribution points (2.5.29.31), contained in the given certificate in the X509v3 Certificate Extensions. reason_flags should be

manpages/glCullFace.3gl.html
glCullFace(3gl) - specify whether front- or back-facing face
glCullFace specifies whether front- or back-facing facets are culled (as specified by mode) when facet culling is enabled. Facet culling is initially disabled.

manpages/form_init.3form.html
form_init(3form) - set hooks for automatic invocation by app
These functions make it possible to set hook functions to be called at various points in the automatic processing of input event codes by form_driver. The funct

manpages/gnutls_x509_crl_verify.3.html
gnutls_x509_crl_verify(3) - API function - Linux man page...
This function will try to verify the given crl and return its status. See gnutls_x509_crt_list_verify() for a detailed description of return values. RETURNS On

manpages/Tk_TextWidth.3.html
Tk_TextWidth(3) - routines to measure and display simple sin
These routines are for measuring and displaying simple single-font, single-line strings. To measure and display single-font, multi-line, justified text, refer t

manpages/sasl_client_start.3.html
sasl_client_start(3) - Begin an authentication negotiation
sasl_client_start() selects a mechanism for authentication and starts the authentication session. The mechlist is the list of mechanisms the client might like t

manpages/new_menu.3menu.html
new_menu(3menu) - create and destroy menus - Linux man page
The function new_menu creates a new menu connected to a specified item pointer array (which must be NULL-terminated). The function free_menu disconnects menu fr

manpages/Exporter.3pm.html
Exporter(3pm) - Implements default import method for modules
The Exporter module implements an import method which allows a module to export functions and variables to its users namespaces. Many modules use Exporter rathe

manpages/XGetWindowAttributes.3.html
XGetWindowAttributes(3) - get current window attribute or ge
The XGetWindowAttributes function returns the current attributes for the specified window to an XWindowAttributes structure. It returns a nonzero status on succ

manpages/Ttk_RelievePadding.3.html
Ttk_RelievePadding(3) - Tk themed geometry utilities........
The Ttk_Box structure represents a rectangular region of a window: typedef struct { int x; int y; int width; int height; } Ttk_Box; All coordinates are relative

manpages/wbkgdset.3ncurses.html
wbkgdset(3ncurses) - curses window background manipulation r
The bkgdset and wbkgdset routines manipulate the background of the named window. The window background is a chtype consisting of any combination of attributes (





We can't live, work or learn in freedom unless the software we use is free.