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)(source)

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
val height: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val width: Int

Functions

Link copied to clipboard
fun applyToShader(shader: Shader)