Class EaglerArrayBufferAllocator
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.internal.buffer.EaglerArrayBufferAllocator
-
public class EaglerArrayBufferAllocator extends java.lang.Object
Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EaglerArrayBufferAllocator.WrongBufferClassType
-
Constructor Summary
Constructors Constructor Description EaglerArrayBufferAllocator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ByteBuffer
allocateByteBuffer(int size)
static FloatBuffer
allocateFloatBuffer(int size)
static IntBuffer
allocateIntBuffer(int size)
static org.teavm.jso.typedarrays.DataView
getDataView(ByteBuffer buffer)
static org.teavm.jso.typedarrays.DataView
getDataView(FloatBuffer buffer)
static org.teavm.jso.typedarrays.DataView
getDataView(IntBuffer buffer)
static org.teavm.jso.typedarrays.Uint8Array
getDataViewStupid(ByteBuffer buffer)
static org.teavm.jso.typedarrays.Uint8Array
getDataViewStupid(FloatBuffer buffer)
static org.teavm.jso.typedarrays.Uint8Array
getDataViewStupid(IntBuffer buffer)
static org.teavm.jso.typedarrays.Float32Array
getFloatArrayStupid(FloatBuffer buffer)
-
-
-
Method Detail
-
allocateByteBuffer
public static ByteBuffer allocateByteBuffer(int size)
-
allocateIntBuffer
public static IntBuffer allocateIntBuffer(int size)
-
allocateFloatBuffer
public static FloatBuffer allocateFloatBuffer(int size)
-
getDataView
public static org.teavm.jso.typedarrays.DataView getDataView(ByteBuffer buffer)
-
getDataViewStupid
public static org.teavm.jso.typedarrays.Uint8Array getDataViewStupid(ByteBuffer buffer)
-
getDataView
public static org.teavm.jso.typedarrays.DataView getDataView(IntBuffer buffer)
-
getDataViewStupid
public static org.teavm.jso.typedarrays.Uint8Array getDataViewStupid(IntBuffer buffer)
-
getDataView
public static org.teavm.jso.typedarrays.DataView getDataView(FloatBuffer buffer)
-
getDataViewStupid
public static org.teavm.jso.typedarrays.Uint8Array getDataViewStupid(FloatBuffer buffer)
-
getFloatArrayStupid
public static org.teavm.jso.typedarrays.Float32Array getFloatArrayStupid(FloatBuffer buffer)
-
-