openrndr
0.4.5-dev.4.uncommitted+98ebace
common
openrndr-draw
/
org.openrndr.draw
/
DrawContext
Draw
Context
@
JvmRecord
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
)
Members
Constructors
Draw
Context
Link copied to clipboard
constructor
(
model
:
Matrix44
,
view
:
Matrix44
,
projection
:
Matrix44
,
width
:
Int
,
height
:
Int
,
contentScale
:
Double
,
modelViewScalingFactor
:
Double
)
Functions
apply
To
Shader
Link copied to clipboard
fun
applyToShader
(
shader
:
Shader
)
Properties
content
Scale
Link copied to clipboard
val
contentScale
:
Double
height
Link copied to clipboard
val
height
:
Int
model
Link copied to clipboard
val
model
:
Matrix44
model
View
Scaling
Factor
Link copied to clipboard
val
modelViewScalingFactor
:
Double
projection
Link copied to clipboard
val
projection
:
Matrix44
view
Link copied to clipboard
val
view
:
Matrix44
width
Link copied to clipboard
val
width
:
Int