Rediger

Del via


gluGetNurbsProperty function

The gluGetNurbsProperty function gets a Non-Uniform Rational B-Spline (NURBS) property.

Syntax

void WINAPI gluGetNurbsProperty(
   GLUnurbs *nobj,
   GLenum   property,
   GLfloat  *value
);

Parameters

nobj

The NURBS object (created with gluNewNurbsRenderer).

property

The property whose value is to be retrieved. The following values are valid: GLU_SAMPLING_TOLERANCE, GLU_DISPLAY_MODE, GLU_CULLING, GLU_AUTO_LOAD_MATRIX, GLU_PARAMETRIC_TOLERANCE, GLU_SAMPLING_METHOD, GLU_U_STEP, and GLU_V_STEP.

value

A pointer to the location into which the value of the named property is written.

Return value

This function does not return a value.

Remarks

Use gluGetNurbsProperty to retrieve properties stored in a NURBS object. These properties affect the way NURBS curves and surfaces are rendered. For information about NURBS properties, see gluNurbsProperty.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Glu.h
Library
Glu32.lib
DLL
Glu32.dll

See also

gluNewNurbsRenderer

gluNurbsProperty