[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
OpenGL 1.2 for AIX: Reference Manual

gluGetNurbsProperty Subroutine

Purpose

Retrieves a non-uniform rational B-spline (NURBS) property.

Library

OpenGL C bindings library: libGL.a

C Syntax

void gluGetNurbsProperty(GLUnurbs* nurb, 
   GLenum property,
   GLfloat*data )

Description

The gluGetNurbsProperty subroutine retrieves properties stored in a NURBS object. These properties affect the way that NURBS curves and surfaces are rendered. See the gluNurbsProperty subroutine for more information on these properties.

Parameters

nurb Specifies the NURBS object created with the gluNewNurbsRenderer subroutine.
property Specifies the property whose value is to be fetched. Valid values for this parameter are:
  • GLU_CULLING
  • GLU_SAMPLING_TOLERANCE
  • GLU_DISPLAY_MODE
  • GLU_AUTO_LOAD_MATRIX
  • GLU_PARAMETRIC_TOLERANCE
  • GLU_SAMPLING_METHOD
  • GLU_U_STEP
  • GLU_V_STEP
  • GLU_NURBS_MODE
data Specifies a pointer to the location into which the value of the named property is written.

Files

/usr/include/GL/gl.h Contains C language constraints, variable type definitions, and ANSI function prototypes for OpenGL.

Related Information

The gluNewNurbsRenderer subroutine, gluNurbsProperty subroutine.

OpenGL Overview.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]