Export (0) Print
Expand All

gluTessVertex function

Applies to: desktop apps only

The gluTessVertex function specifies a vertex on a polygon.

Syntax

void WINAPI gluTessVertex(
  GLUtesselator *tess,
  GLdouble coords[3],
  void *data
);

Parameters

tess

The tessellation object (created with gluNewTess).

coords

The location of the vertex.

data

An pointer passed back to the program with the vertex callback (as specified by gluTessCallback).

Return value

This function does not return a value.

Remarks

The gluTessVertex function describes a vertex on a polygon that the user is defining. Successive gluTessVertex calls describe a closed contour. For example, to describe a quadrilateral, call gluTessVertex four times. You can only call gluTessVertex between gluTessBeginContour and gluTessEndContour.

The data parameter normally points to a structure containing the vertex location, as well as other per-vertex attributes such as color and normal. This pointer is passed back to the program through the GLU_VERTEX callback after tessellation (see gluTessCallback).

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Glu.h

Library

Glu32.lib

DLL

Glu32.dll

See also

gluNewTess
gluTessBeginContour
gluTessBeginPolygon
gluTessCallback
gluTessEndContour
gluTessNormal
gluTessProperty

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft