Package com.luciad.view.opengl.binding
Interface ILcdGLBuffer
- All Known Subinterfaces:
ILcdGLByteBuffer
,ILcdGLCharBuffer
,ILcdGLDoubleBuffer
,ILcdGLFloatBuffer
,ILcdGLIntBuffer
,ILcdGLLongBuffer
,ILcdGLNIOBuffer
,ILcdGLShortBuffer
public interface ILcdGLBuffer
Deprecated.
Please use OpenGL API entry points that accept NIO buffers or primitive arrays as input
An abstraction of a java.nio.Buffer. ILcdGLBuffer is used in the Luciad
abstract OpenGL binding as a common mechanism to pass arrays of data to
OpenGL. It is up to the implementation (i.e. to the concrete OpenGL binding)
to decide how buffers are handled. The optimal path, if the binding supports
it, is to effectively use NIO buffers.
-
Method Summary
Modifier and TypeMethodDescriptionint
capacity()
Deprecated.clear()
Deprecated.boolean
Deprecated.flip()
Deprecated.int
hashCode()
Deprecated.boolean
Deprecated.boolean
Deprecated.int
limit()
Deprecated.limit
(int newLimit) Deprecated.mark()
Deprecated.int
position()
Deprecated.position
(int newPosition) Deprecated.int
Deprecated.reset()
Deprecated.rewind()
Deprecated.toString()
Deprecated.
-
Method Details
-
capacity
int capacity()Deprecated. -
position
int position()Deprecated. -
position
Deprecated.- Throws:
IllegalArgumentException
-
limit
int limit()Deprecated. -
limit
Deprecated.- Throws:
IllegalArgumentException
-
mark
ILcdGLBuffer mark()Deprecated. -
reset
Deprecated.- Throws:
TLcdGLInvalidMarkException
-
clear
ILcdGLBuffer clear()Deprecated. -
flip
ILcdGLBuffer flip()Deprecated. -
rewind
ILcdGLBuffer rewind()Deprecated. -
remaining
int remaining()Deprecated. -
hasRemaining
boolean hasRemaining()Deprecated. -
isReadOnly
boolean isReadOnly()Deprecated. -
toString
String toString()Deprecated. -
hashCode
int hashCode()Deprecated. -
equals
Deprecated.
-