toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.graphics
/
AGBuffer
AGBuffer
class
AGBuffer
:
AGObject
Members
Members & Extensions
Constructors
AGBuffer
Link copied to clipboard
constructor
(
)
Properties
mem
Link copied to clipboard
var
mem
:
Buffer
?
size
In
Bytes
Link copied to clipboard
val
sizeInBytes
:
Int
Functions
close
Link copied to clipboard
open
override
fun
close
(
)
extract
Data
Of
Link copied to clipboard
fun
AGBuffer
.
extractDataOf
(
attribute
:
Attribute
,
layout
:
VertexLayout
)
:
AGBuffer
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
upload
Link copied to clipboard
fun
upload
(
data
:
Buffer
)
:
AGBuffer
fun
upload
(
data
:
UByteArray
)
:
AGBuffer
fun
upload
(
data
:
Buffer
,
offset
:
Int
,
length
:
Int
=
data.size - offset
)
:
AGBuffer
fun
upload
(
data
:
ByteArray
,
offset
:
Int
=
0
,
length
:
Int
=
data.size - offset
)
:
AGBuffer
fun
upload
(
data
:
FloatArray
,
offset
:
Int
=
0
,
length
:
Int
=
data.size - offset
)
:
AGBuffer
fun
upload
(
data
:
IntArray
,
offset
:
Int
=
0
,
length
:
Int
=
data.size - offset
)
:
AGBuffer
fun
upload
(
data
:
ShortArray
,
offset
:
Int
=
0
,
length
:
Int
=
data.size - offset
)
:
AGBuffer