net.java.games.gluegen.runtime
Class BufferFactory
java.lang.Object
net.java.games.gluegen.runtime.BufferFactory
- public class BufferFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufferFactory
public BufferFactory()
newDirectByteBuffer
public static ByteBuffer newDirectByteBuffer(int size)
isDirect
public static boolean isDirect(Buffer buf)
- Helper routine to tell whether a buffer is direct or not. Null
pointers are considered direct. isDirect() should really be
public in Buffer and not replicated in all subclasses.