openrndr
Toggle table of contents
0.4.5-dev.17.uncommitted+81afe70
common
Platform filter
common
Switch theme
Search in API
openrndr
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
)
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
Functions
apply
To
Shader
Link copied to clipboard
fun
applyToShader
(
shader
:
Shader
)