Gl3dDrawable

abstract class Gl3dDrawable : GlDrawable

Functions

draw
Link copied to clipboard
common
abstract fun draw()
Draws this drawable.
release
Link copied to clipboard
common
open fun release()
setViewportSize
Link copied to clipboard
common
fun setViewportSize(width: Int, height: Int)

Properties

coordsPerVertex
Link copied to clipboard
common
override val coordsPerVertex: Int = 3
Returns the number of position coordinates per vertex.
modelMatrix
Link copied to clipboard
common
val modelMatrix: FloatArray
The model matrix for this object.
vertexArray
Link copied to clipboard
common
abstract var vertexArray: FloatBuffer
Returns the array of vertices.
vertexArrayVersion
Link copied to clipboard
common
var vertexArrayVersion: Int = 0
vertexCount
Link copied to clipboard
common
open val vertexCount: Int
Returns the number of vertices stored in the vertex array.
vertexStride
Link copied to clipboard
common
open val vertexStride: Int
Returns the width, in bytes, of the data for each vertex.
viewportHeight
Link copied to clipboard
common
var viewportHeight: Int
viewportWidth
Link copied to clipboard
common
var viewportWidth: Int