PrimitiveTopology


class PrimitiveTopology


Defines how vertices are interpreted to form geometric primitives.

Summary

Constants

const Int

A list of separate lines.

const Int

A connected strip of lines.

const Int

A list of individual points.

const Int

A list of separate triangles.

const Int

A connected strip of triangles.

const Int

Indicates that no primitive topology is specified.

Public companion functions

String
toString(value: Int)

Constants

LineList

const val LineList = 2: Int

A list of separate lines.

LineStrip

const val LineStrip = 3: Int

A connected strip of lines.

PointList

const val PointList = 1: Int

A list of individual points.

TriangleList

const val TriangleList = 4: Int

A list of separate triangles.

TriangleStrip

const val TriangleStrip = 5: Int

A connected strip of triangles.

Undefined

const val Undefined = 0: Int

Indicates that no primitive topology is specified.

Public companion functions

toString

Added in 1.0.0-alpha05
fun toString(value: Int): String