forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
20
Kha/Backends/Kinc-hxcpp/kha/arrays/ByteBuffer.hx
Normal file
20
Kha/Backends/Kinc-hxcpp/kha/arrays/ByteBuffer.hx
Normal file
@ -0,0 +1,20 @@
|
||||
package kha.arrays;
|
||||
|
||||
@:unreflective
|
||||
@:structAccess
|
||||
@:include("cpp_bytearray.h")
|
||||
@:native("bytearray")
|
||||
extern class ByteBuffer {
|
||||
@:native("bytearray")
|
||||
public static function create(): ByteBuffer;
|
||||
|
||||
public function alloc(length: Int): Void;
|
||||
|
||||
public function addRef(): Void;
|
||||
|
||||
public function subRef(): Void;
|
||||
|
||||
public function get(index: Int): FastFloat;
|
||||
|
||||
public function set(index: Int, value: FastFloat): FastFloat;
|
||||
}
|
Reference in New Issue
Block a user