IndexedPrimitive

class IndexedPrimitive(val type: Int)(source)

Represents a primitive in OpenGL with an associated list of vertex indices.

Constructors

Link copied to clipboard
constructor(type: Int)

Properties

Link copied to clipboard

A list of the indices of the vertices required to draw this primitive.

Link copied to clipboard
val type: Int

The OpenGL constant defining the type of this primitive