DrawContext

data class DrawContext(    val model: Matrix44,     val view: Matrix44,     val projection: Matrix44,     val width: Int,     val height: Int,     val contentScale: Double,     val modelViewScalingFactor: Double)

Constructors

Link copied to clipboard
fun DrawContext(    model: Matrix44,     view: Matrix44,     projection: Matrix44,     width: Int,     height: Int,     contentScale: Double,     modelViewScalingFactor: Double)

Functions

Link copied to clipboard
fun applyToShader(shader: Shader)

Properties

Link copied to clipboard
val contentScale: Double
Link copied to clipboard
val height: Int
Link copied to clipboard
val model: Matrix44
Link copied to clipboard
val modelViewScalingFactor: Double
Link copied to clipboard
val projection: Matrix44
Link copied to clipboard
val view: Matrix44
Link copied to clipboard
val width: Int

Sources

Link copied to clipboard