com.jogamp.common.nio
Interface NativeBuffer
- All Known Implementing Classes:
- AbstractBuffer, AbstractLongBuffer, Int64Buffer, PointerBuffer
public interface NativeBuffer
Hardware independent container for various kinds of buffers.
- Author:
- Michael Bien, Sven Gothel
limit
int limit()
capacity
int capacity()
position
int position()
position
NativeBuffer position(int newPos)
remaining
int remaining()
hasRemaining
boolean hasRemaining()
rewind
NativeBuffer rewind()
hasArray
boolean hasArray()
arrayOffset
int arrayOffset()
getBuffer
java.nio.ByteBuffer getBuffer()
isDirect
boolean isDirect()