toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.korge.render
/
RenderContext
/
renderToTextureInternal
render
To
Texture
Internal
inline
fun
renderToTextureInternal
(
width
:
Int
,
height
:
Int
,
render
:
(
rb
:
AGFrameBuffer
)
->
Unit
,
hasDepth
:
Boolean
=
false
,
hasStencil
:
Boolean
=
false
,
msamples
:
Int
=
1
,
use
:
(
tex
:
AGTexture
,
texWidth
:
Int
,
texHeight
:
Int
)
->
Unit
)