Package org.lwjglx
Class BufferUtils
java.lang.Object
org.lwjglx.BufferUtils
public final class BufferUtils
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description BufferUtils()
-
Method Summary
Modifier and Type Method Description static java.nio.ByteBuffer
createByteBuffer(int int1)
static java.nio.CharBuffer
createCharBuffer(int int1)
static java.nio.DoubleBuffer
createDoubleBuffer(int int1)
static java.nio.FloatBuffer
createFloatBuffer(int int1)
static java.nio.IntBuffer
createIntBuffer(int int1)
static java.nio.LongBuffer
createLongBuffer(int int1)
static java.nio.ShortBuffer
createShortBuffer(int int1)
static int
getElementSizeExponent(java.nio.Buffer buffer)
static int
getOffset(java.nio.Buffer buffer)
static void
zeroBuffer(java.nio.ByteBuffer byteBuffer)
static void
zeroBuffer(java.nio.CharBuffer charBuffer)
static void
zeroBuffer(java.nio.DoubleBuffer doubleBuffer)
static void
zeroBuffer(java.nio.FloatBuffer floatBuffer)
static void
zeroBuffer(java.nio.IntBuffer intBuffer)
static void
zeroBuffer(java.nio.LongBuffer longBuffer)
static void
zeroBuffer(java.nio.ShortBuffer shortBuffer)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BufferUtils
public BufferUtils()
-
-
Method Details
-
createByteBuffer
public static java.nio.ByteBuffer createByteBuffer(int int1) -
createShortBuffer
public static java.nio.ShortBuffer createShortBuffer(int int1) -
createCharBuffer
public static java.nio.CharBuffer createCharBuffer(int int1) -
createIntBuffer
public static java.nio.IntBuffer createIntBuffer(int int1) -
createLongBuffer
public static java.nio.LongBuffer createLongBuffer(int int1) -
createFloatBuffer
public static java.nio.FloatBuffer createFloatBuffer(int int1) -
createDoubleBuffer
public static java.nio.DoubleBuffer createDoubleBuffer(int int1) -
getElementSizeExponent
public static int getElementSizeExponent(java.nio.Buffer buffer) -
getOffset
public static int getOffset(java.nio.Buffer buffer) -
zeroBuffer
public static void zeroBuffer(java.nio.ByteBuffer byteBuffer) -
zeroBuffer
public static void zeroBuffer(java.nio.ShortBuffer shortBuffer) -
zeroBuffer
public static void zeroBuffer(java.nio.CharBuffer charBuffer) -
zeroBuffer
public static void zeroBuffer(java.nio.IntBuffer intBuffer) -
zeroBuffer
public static void zeroBuffer(java.nio.FloatBuffer floatBuffer) -
zeroBuffer
public static void zeroBuffer(java.nio.LongBuffer longBuffer) -
zeroBuffer
public static void zeroBuffer(java.nio.DoubleBuffer doubleBuffer)
-