toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.graphics
/
readToTexture
read
To
Texture
fun
AG
.
readToTexture
(
frameBuffer
:
AGFrameBuffer
,
texture
:
AGTexture
,
bounds
:
RectangleInt
)
fun
AG
.
readToTexture
(
frameBuffer
:
AGFrameBuffer
,
texture
:
AGTexture
,
x
:
Int
=
0
,
y
:
Int
=
0
,
width
:
Int
=
frameBuffer.width
,
height
:
Int
=
frameBuffer.height
)