wgpu4k-native
Toggle table of contents
v24.0.0
android
common
jvm
native
Platform filter
android
common
jvm
native
Switch theme
Search in API
wgpu4k-native
wgpu4k-native
/
ffi
/
MemoryAllocator
Memory
Allocator
android
common
jvm
native
actual
class
MemoryAllocator
:
AutoCloseable
expect
class
MemoryAllocator
:
AutoCloseable
actual
class
MemoryAllocator
:
AutoCloseable
actual
class
MemoryAllocator
:
AutoCloseable
Members
Constructors
Memory
Allocator
Link copied to clipboard
android
common
jvm
native
constructor
(
)
expect
constructor
(
)
constructor
(
)
constructor
(
)
Properties
allocator
Link copied to clipboard
android
jvm
native
val
allocator
:
SegmentAllocator
val
allocator
:
SegmentAllocator
val
allocator
:
Arena
arena
Link copied to clipboard
jvm
val
arena
:
Arena
Functions
allocate
Link copied to clipboard
android
common
jvm
native
actual
fun
allocate
(
sizeInByte
:
Long
)
:
NativeAddress
expect
fun
allocate
(
sizeInByte
:
Long
)
:
NativeAddress
actual
fun
allocate
(
sizeInByte
:
Long
)
:
NativeAddress
actual
fun
allocate
(
sizeInByte
:
Long
)
:
NativeAddress
allocate
Buffer
Link copied to clipboard
android
common
jvm
native
actual
fun
allocateBuffer
(
size
:
ULong
)
:
MemoryBuffer
expect
fun
allocateBuffer
(
size
:
ULong
)
:
MemoryBuffer
actual
fun
allocateBuffer
(
size
:
ULong
)
:
MemoryBuffer
actual
fun
allocateBuffer
(
size
:
ULong
)
:
MemoryBuffer
allocate
From
Link copied to clipboard
android
common
jvm
native
actual
fun
allocateFrom
(
value
:
String
)
:
CString
expect
fun
allocateFrom
(
value
:
String
)
:
CString
actual
fun
allocateFrom
(
value
:
String
)
:
CString
actual
fun
allocateFrom
(
value
:
String
)
:
CString
buffer
Of
Link copied to clipboard
android
common
jvm
native
actual
fun
bufferOf
(
value
:
Long
)
:
MemoryBuffer
expect
fun
bufferOf
(
value
:
Long
)
:
MemoryBuffer
actual
fun
bufferOf
(
value
:
Long
)
:
MemoryBuffer
actual
fun
bufferOf
(
value
:
Long
)
:
MemoryBuffer
buffer
Of
Address
Link copied to clipboard
android
common
jvm
native
actual
fun
bufferOfAddress
(
value
:
NativeAddress
)
:
MemoryBuffer
expect
fun
bufferOfAddress
(
value
:
NativeAddress
)
:
MemoryBuffer
actual
fun
bufferOfAddress
(
value
:
NativeAddress
)
:
MemoryBuffer
actual
fun
bufferOfAddress
(
value
:
NativeAddress
)
:
MemoryBuffer
buffer
Of
Addresses
Link copied to clipboard
android
common
jvm
native
actual
fun
bufferOfAddresses
(
value
:
List
<
NativeAddress
>
)
:
MemoryBuffer
expect
fun
bufferOfAddresses
(
value
:
List
<
NativeAddress
>
)
:
MemoryBuffer
actual
fun
bufferOfAddresses
(
value
:
List
<
NativeAddress
>
)
:
MemoryBuffer
actual
fun
bufferOfAddresses
(
value
:
List
<
NativeAddress
>
)
:
MemoryBuffer
close
Link copied to clipboard
android
common
jvm
native
actual
open
override
fun
close
(
)
expect
open
override
fun
close
(
)
actual
open
override
fun
close
(
)
actual
open
override
fun
close
(
)
register
Link copied to clipboard
android
fun
register
(
it
:
Any
)
register
Callback
Link copied to clipboard
android
fun
registerCallback
(
function
:
Callback
)