openrndr / org.openrndr.draw / DrawContext

DrawContext

data class DrawContext

Constructors

<init>

DrawContext(model: Matrix44, view: Matrix44, projection: Matrix44, width: Int, height: Int, contentScale: Double)

Properties

contentScale

val contentScale: Double

height

val height: Int

model

val model: Matrix44

projection

val projection: Matrix44

view

val view: Matrix44

width

val width: Int

Functions

applyToShader

fun applyToShader(shader: Shader): Unit