|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcuda.BufferUtils
class BufferUtils
Utility methods for handling Buffers (currently not used)
Method Summary | |
---|---|
static java.nio.ByteBuffer |
createByteBuffer(int elements)
Creates a buffer for the given number of elements |
static java.nio.CharBuffer |
createCharBuffer(int elements)
Creates a buffer for the given number of elements and native byte ordering |
static java.nio.DoubleBuffer |
createDoubleBuffer(int elements)
Creates a buffer for the given number of elements and native byte ordering |
static java.nio.FloatBuffer |
createFloatBuffer(int elements)
Creates a buffer for the given number of elements and native byte ordering |
static java.nio.IntBuffer |
createIntBuffer(int elements)
Creates a buffer for the given number of elements and native byte ordering |
static java.nio.LongBuffer |
createLongBuffer(int elements)
Creates a buffer for the given number of elements and native byte ordering |
static java.nio.ShortBuffer |
createShortBuffer(int elements)
Creates a buffer for the given number of elements and native byte ordering |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.nio.ByteBuffer createByteBuffer(int elements)
elements
- The number of elements in the buffer
public static java.nio.CharBuffer createCharBuffer(int elements)
elements
- The number of elements in the buffer
public static java.nio.ShortBuffer createShortBuffer(int elements)
elements
- The number of elements in the buffer
public static java.nio.IntBuffer createIntBuffer(int elements)
elements
- The number of elements in the buffer
public static java.nio.FloatBuffer createFloatBuffer(int elements)
elements
- The number of elements in the buffer
public static java.nio.LongBuffer createLongBuffer(int elements)
elements
- The number of elements in the buffer
public static java.nio.DoubleBuffer createDoubleBuffer(int elements)
elements
- The number of elements in the buffer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |