beginData

abstract fun beginData(type: Int, polygonData: Any?)(source)

The same as the .begin callback method except that it takes an additional reference argument. This reference is identical to the opaque reference provided when GLU.gluTessBeginPolygon was called.

Parameters

type

Specifics the type of begin/end pair being defined. The following values are valid: GL_TRIANGLE_FAN, GL_TRIANGLE_STRIP, GL_TRIANGLES or GL_LINE_LOOP.

polygonData

Specifics a reference to user-defined data.

See also

GLU.gluTessCallback

gluTessCallback

.begin begin