G
glGetMap
Chapter 7
200
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,
glMap1,
glMap2