GLConstants

Provides constants for OpenGL primitive types which represent the formats in which vertices can be connected to define various shapes.

These constants are commonly used in rendering pipelines to specify the topology of vertex data to the graphics system.

Properties

Link copied to clipboard
const val GL_LINE_LOOP: Int = 2
Link copied to clipboard
const val GL_LINE_STRIP: Int = 3
Link copied to clipboard
const val GL_LINES: Int = 1
Link copied to clipboard
const val GL_POINTS: Int = 0
Link copied to clipboard
const val GL_TRIANGLE_FAN: Int = 6
Link copied to clipboard
const val GL_TRIANGLE_STRIP: Int = 5
Link copied to clipboard
const val GL_TRIANGLES: Int = 4