Top Fields Constructors Methods
com.jogamp.opengl.util

public Class GLArrayDataServer

extends GLArrayDataClient
implements GLArrayDataEditable
Class Inheritance
All Implemented Interfaces
com.jogamp.opengl.util.GLArrayDataEditable, com.jogamp.opengl.GLArrayData
Imports
java.nio.Buffer, .ByteBuffer, .FloatBuffer, .IntBuffer, .ShortBuffer, com.jogamp.opengl.GL, .GL2ES2, .GLArrayData, .GLBufferStorage, .GLException, com.jogamp.opengl.fixedfunc.GLPointerFuncUtil, com.jogamp.common.nio.Buffers, jogamp.opengl.util.GLArrayHandler, .GLArrayHandlerInterleaved, .GLDataArrayHandler, .GLFixedArrayHandler, .GLFixedArrayHandlerFlat, jogamp.opengl.util.glsl.GLSLArrayHandler, .GLSLArrayHandlerFlat, .GLSLArrayHandlerInterleaved

Field Summary

Modifier and TypeField and Description
private int
private GLBufferStorage
Inherited from com.jogamp.opengl.util.GLArrayDataClient:
bufferEnabledbufferWrittenenableBufferAlwaysglArrayHandlerinitialElementCountsealedshaderStateusesGLSL

Constructor Summary

AccessConstructor and Description
protected
public
GLArrayDataServer(final GLArrayDataServer src)

Copy Constructor

Buffer is sliced, i.e. sharing content but using own state.

Method Summary

Modifier and TypeMethod and Description
public GLArrayData
addFixedSubArray(final int
The GL array index, maybe -1 if vboTarget is GL#GL_ELEMENT_ARRAY_BUFFER
index
,
final int
This interleaved array segment's component count per element
comps
,
final int vboTarget)

Configure a segment of this fixed function interleaved array (see createFixedInterleaved(int, int, boolean, int, int)).

public GLArrayData
addGLSLSubArray(final String
The custom name for the GL attribute, maybe null if vboTarget is GL#GL_ELEMENT_ARRAY_BUFFER
name
,
final int
This interleaved array segment's component count per element
comps
,
final int vboTarget)

Configure a segment of this GLSL interleaved array (see createGLSLInterleaved(int, int, boolean, int, int)).

public static GLArrayDataServer
createData(final int
component count per element
compsPerElement
,
final int
The component's OpenGL data type
dataType
,
final int
in bytes from one element to the other. If zero, compsPerElement * compSizeInBytes
stride
,
final Buffer
the user define data
buffer
,
final int vboUsage, final int
GL#GL_ELEMENT_ARRAY_BUFFER, .. {@link GL#glGenBuffers(int, int[], int)
vboTarget
)

Create a VBO data object for any target w/o render pipeline association, ie GL#GL_ELEMENT_ARRAY_BUFFER.

public static GLArrayDataServer
createData(final int
component count per element
compsPerElement
,
final int
The component's OpenGL data type
dataType
,
final int initialElementCount, final int vboUsage, final int vboTarget)

Create a VBO data object for any target w/o render pipeline association, ie GL#GL_ELEMENT_ARRAY_BUFFER.

public static GLArrayDataServer
createDataMapped(final int
component count per element
compsPerElement
,
final int
The component's OpenGL data type
dataType
,
final int mappedElementCount, final int vboUsage, final int vboTarget)

Create a VBO data object for any target w/o render pipeline association, i.e. GL#GL_ELEMENT_ARRAY_BUFFER, intended for GPU buffer storage mapping, see GLBufferStorage, via mapStorage(GL, int) and mapStorage(GL, long, long, int).

public static GLArrayDataServer
createFixed(final int
The GL array index
index
,
final int
component count per element
compsPerElement
,
final int
The component's OpenGL data type
dataType
,
final boolean
Whether the data shall be normalized
normalized
,
final int
in bytes from one element to the other. If zero, compsPerElement * compSizeInBytes
stride
,
final Buffer
the user define data
buffer
,
final int vboUsage)

Create a VBO, using a predefined fixed function array index and starting with a given Buffer object incl it's stride On profiles GL2 and ES1 the fixed function pipeline behavior is as expected.

public static GLArrayDataServer
createFixed(final int
The GL array index
index
,
final int
component count per element
compsPerElement
,
final int
The component's OpenGL data type
dataType
,
final boolean
Whether the data shall be normalized
normalized
,
final int initialElementCount, final int vboUsage)

Create a VBO, using a predefined fixed function array index and starting with a new created Buffer object with initialElementCount size On profiles GL2 and ES1 the fixed function pipeline behavior is as expected.

public static GLArrayDataServer
createFixedInterleaved(final int
The total number of all interleaved components per element.
compsPerElement
,
final int
The component's OpenGL data type
dataType
,
final boolean
Whether the data shall be normalized
normalized
,
final int
The initial number of all interleaved elements
initialElementCount
,
final int vboUsage)

Create a VBO for fixed function interleaved array data starting with a new created Buffer object with initialElementCount size.

public static GLArrayDataServer
createFixedInterleaved(final int
The total number of all interleaved components per element.
compsPerElement
,
final int
The component's OpenGL data type
dataType
,
final boolean
Whether the data shall be normalized
normalized
,
final int
in bytes from one element of a sub-array to the other. If zero, compsPerElement * compSizeInBytes
stride
,
final Buffer
The user define data of all interleaved elements
buffer
,
final int vboUsage)

Create a VBO for fixed function interleaved array data starting with a given Buffer object incl it's stride

User needs to configure the interleaved segments via addFixedSubArray(int, int, int).

public static GLArrayDataServer
createFixedInterleavedMapped(final int
The total number of all interleaved components per element.
compsPerElement
,
final int
The component's OpenGL data type
dataType
,
final boolean
Whether the data shall be normalized
normalized
,
final int
The total number of all interleaved elements
mappedElementCount
,
final int vboUsage)

Create a VBO for fixed function interleaved array data intended for GPU buffer storage mapping, see GLBufferStorage, via mapStorage(GL, int) and mapStorage(GL, long, long, int).

public static GLArrayDataServer
createGLSL(final String
The custom name for the GL attribute
name
,
final int
component count per element
compsPerElement
,
final int
The component's OpenGL data type
dataType
,
final boolean
Whether the data shall be normalized
normalized
,
final int initialElementCount, final int vboUsage)

Create a VBO, using a custom GLSL array attribute name and starting with a new created Buffer object with initialElementCount size

public static GLArrayDataServer
createGLSL(final String
The custom name for the GL attribute
name
,
final int
component count per element
compsPerElement
,
final int
The component's OpenGL data type
dataType
,
final boolean
Whether the data shall be normalized
normalized
,
final int
in bytes from one element to the other. If zero, compsPerElement * compSizeInBytes
stride
,
final Buffer
the user define data
buffer
,
final int vboUsage)

Create a VBO, using a custom GLSL array attribute name and starting with a given Buffer object incl it's stride

public static GLArrayDataServer
createGLSLInterleaved(final int
The total number of all interleaved components per element.
compsPerElement
,
final int
The component's OpenGL data type
dataType
,
final boolean
Whether the data shall be normalized
normalized
,
final int
The initial number of all interleaved elements
initialElementCount
,
final int vboUsage)

Create a VBO for GLSL interleaved array data starting with a new created Buffer object with initialElementCount size.

public static GLArrayDataServer
createGLSLInterleaved(final int
The total number of all interleaved components per element.
compsPerElement
,
final int
The component's OpenGL data type
dataType
,
final boolean
Whether the data shall be normalized
normalized
,
final int
in bytes from one element of a sub-array to the other. If zero, compsPerElement * compSizeInBytes
stride
,
final Buffer
The user define data of all interleaved elements
buffer
,
final int vboUsage)

Create a VBO for GLSL interleaved array data starting with a given Buffer object incl it's stride

User needs to configure the interleaved segments via addGLSLSubArray(int, int, int).

public static GLArrayDataServer
createGLSLInterleavedMapped(final int
The total number of all interleaved components per element.
compsPerElement
,
final int
The component's OpenGL data type
dataType
,
final boolean
Whether the data shall be normalized
normalized
,
final int
The total number of all interleaved elements
mappedElementCount
,
final int vboUsage)

Create a VBO for GLSL interleaved array data intended for GPU buffer storage mapping, see GLBufferStorage, via mapStorage(GL, int) and mapStorage(GL, long, long, int).

public static GLArrayDataServer
createGLSLMapped(final String
The custom name for the GL attribute
name
,
final int
component count per element
compsPerElement
,
final int
The component's OpenGL data type
dataType
,
final boolean
Whether the data shall be normalized
normalized
,
final int mappedElementCount, final int vboUsage)

Create a VBO, using a custom GLSL array attribute name intended for GPU buffer storage mapping, see GLBufferStorage, via mapStorage(GL, int) and mapStorage(GL, long, long, int).

public void
public final int
protected void
init(final String name, final int index, final int comps, final int dataType, final boolean normalized, final int stride, final Buffer data, final int initialElementCount, final int mappedElementCount, final boolean isVertexAttribute, final GLArrayHandler glArrayHandler, final int vboName, final long vboOffset, final int vboUsage, final int vboTarget, final boolean usesGLSL)

Overrides com.jogamp.opengl.util.GLArrayDataClient.init.

protected void
public GLBufferStorage
mapStorage(final GL gl, final int access)

public GLBufferStorage
mapStorage(final GL gl, final long offset, final long length, final int access)

public final void
setInterleavedOffset(final int interleavedOffset)

private final void
public void
setVBOEnabled(final boolean vboUsage)

Overrides com.jogamp.opengl.util.GLArrayDataWrapper.setVBOEnabled.

Convenient way do disable the VBO behavior and switch to client side data one Only possible if buffer is defined.
public String
toString()

Overrides com.jogamp.opengl.util.GLArrayDataClient.toString.

Implements com.jogamp.opengl.GLArrayData.toString.

Returns a string representation of the object.
public void
unmapStorage(final GL gl)

Inherited from com.jogamp.opengl.util.GLArrayDataClient:
associatebindBuffercheckSealcreateFixedcreateFixedcreateGLSLcreateGLSLenableBufferenabledgrowBuffergrowBufferIfNecessaryisVBOWrittenpaddingputputbputfputiputsputxresetresetrewindsealsealsealedsetEnableAlwayssetVBOWritten

Field Detail

interleavedOffsetback to summary
private int interleavedOffset
mappedStorageback to summary
private GLBufferStorage mappedStorage

Constructor Detail

GLArrayDataServerback to summary
protected GLArrayDataServer()
GLArrayDataServerback to summary
public GLArrayDataServer(final GLArrayDataServer src)

Copy Constructor

Buffer is sliced, i.e. sharing content but using own state.

All other values are simply copied.

Method Detail

addFixedSubArrayback to summary
public GLArrayData addFixedSubArray(final int index, final int comps, final int vboTarget)

Configure a segment of this fixed function interleaved array (see createFixedInterleaved(int, int, boolean, int, int)).

This method may be called several times as long the sum of interleaved components does not exceed the total component count of the created interleaved array.

The memory of the the interleaved array is being used.

Must be called before using the array, eg: seal(boolean), putf(float), ..

Parameters
index:int

The GL array index, maybe -1 if vboTarget is GL#GL_ELEMENT_ARRAY_BUFFER

comps:int

This interleaved array segment's component count per element

vboTarget:int

GL#GL_ARRAY_BUFFER or GL#GL_ELEMENT_ARRAY_BUFFER

addGLSLSubArrayback to summary
public GLArrayData addGLSLSubArray(final String name, final int comps, final int vboTarget)

Configure a segment of this GLSL interleaved array (see createGLSLInterleaved(int, int, boolean, int, int)).

This method may be called several times as long the sum of interleaved components does not exceed the total component count of the created interleaved array.

The memory of the the interleaved array is being used.

Must be called before using the array, eg: seal(boolean), putf(float), ..

Parameters
name:String

The custom name for the GL attribute, maybe null if vboTarget is GL#GL_ELEMENT_ARRAY_BUFFER

comps:int

This interleaved array segment's component count per element

vboTarget:int

GL#GL_ARRAY_BUFFER or GL#GL_ELEMENT_ARRAY_BUFFER

createDataback to summary
public static GLArrayDataServer createData(final int compsPerElement, final int dataType, final int stride, final Buffer buffer, final int vboUsage, final int vboTarget) throws GLException

Create a VBO data object for any target w/o render pipeline association, ie GL#GL_ELEMENT_ARRAY_BUFFER. Hence no index, name for a fixed function pipeline nor vertex attribute is given.

Parameters
compsPerElement:int

component count per element

dataType:int

The component's OpenGL data type

stride:int

in bytes from one element to the other. If zero, compsPerElement * compSizeInBytes

buffer:Buffer

the user define data

vboUsage:int

GL2ES2#GL_STREAM_DRAW, GL#GL_STATIC_DRAW or GL#GL_DYNAMIC_DRAW

vboTarget:int

GL#GL_ELEMENT_ARRAY_BUFFER, .. {@link GL#glGenBuffers(int, int[], int)

createDataback to summary
public static GLArrayDataServer createData(final int compsPerElement, final int dataType, final int initialElementCount, final int vboUsage, final int vboTarget) throws GLException

Create a VBO data object for any target w/o render pipeline association, ie GL#GL_ELEMENT_ARRAY_BUFFER. Hence no index, name for a fixed function pipeline nor vertex attribute is given.

Parameters
compsPerElement:int

component count per element

dataType:int

The component's OpenGL data type

vboUsage:int

GL2ES2#GL_STREAM_DRAW, GL#GL_STATIC_DRAW or GL#GL_DYNAMIC_DRAW

vboTarget:int

GL#GL_ELEMENT_ARRAY_BUFFER, ..

createDataMappedback to summary
public static GLArrayDataServer createDataMapped(final int compsPerElement, final int dataType, final int mappedElementCount, final int vboUsage, final int vboTarget) throws GLException

Create a VBO data object for any target w/o render pipeline association, i.e. GL#GL_ELEMENT_ARRAY_BUFFER, intended for GPU buffer storage mapping, see GLBufferStorage, via mapStorage(GL, int) and mapStorage(GL, long, long, int).

No index, name for a fixed function pipeline nor vertex attribute is given.

Parameters
compsPerElement:int

component count per element

dataType:int

The component's OpenGL data type

vboUsage:int

GL2ES2#GL_STREAM_DRAW, GL#GL_STATIC_DRAW or GL#GL_DYNAMIC_DRAW

vboTarget:int

GL#GL_ELEMENT_ARRAY_BUFFER, ..

createFixedback to summary
public static GLArrayDataServer createFixed(final int index, final int compsPerElement, final int dataType, final boolean normalized, final int stride, final Buffer buffer, final int vboUsage) throws GLException

Create a VBO, using a predefined fixed function array index and starting with a given Buffer object incl it's stride On profiles GL2 and ES1 the fixed function pipeline behavior is as expected. On profile ES2 the fixed function emulation will transform these calls to EnableVertexAttribArray and VertexAttribPointer calls, and a predefined vertex attribute variable name will be chosen. The default name mapping will be used, see GLPointerFuncUtil#getPredefinedArrayIndexName(int).

Parameters
index:int

The GL array index

compsPerElement:int

component count per element

dataType:int

The component's OpenGL data type

normalized:boolean

Whether the data shall be normalized

stride:int

in bytes from one element to the other. If zero, compsPerElement * compSizeInBytes

buffer:Buffer

the user define data

vboUsage:int

GL2ES2#GL_STREAM_DRAW, GL#GL_STATIC_DRAW or GL#GL_DYNAMIC_DRAW

See Also
com.jogamp.opengl.GLContext#getPredefinedArrayIndexName(int)
createFixedback to summary
public static GLArrayDataServer createFixed(final int index, final int compsPerElement, final int dataType, final boolean normalized, final int initialElementCount, final int vboUsage) throws GLException

Create a VBO, using a predefined fixed function array index and starting with a new created Buffer object with initialElementCount size On profiles GL2 and ES1 the fixed function pipeline behavior is as expected. On profile ES2 the fixed function emulation will transform these calls to EnableVertexAttribArray and VertexAttribPointer calls, and a predefined vertex attribute variable name will be chosen. The default name mapping will be used, see GLPointerFuncUtil#getPredefinedArrayIndexName(int).

Parameters
index:int

The GL array index

compsPerElement:int

component count per element

dataType:int

The component's OpenGL data type

normalized:boolean

Whether the data shall be normalized

vboUsage:int

GL2ES2#GL_STREAM_DRAW, GL#GL_STATIC_DRAW or GL#GL_DYNAMIC_DRAW

See Also
com.jogamp.opengl.GLContext#getPredefinedArrayIndexName(int)
createFixedInterleavedback to summary
public static GLArrayDataServer createFixedInterleaved(final int compsPerElement, final int dataType, final boolean normalized, final int initialElementCount, final int vboUsage) throws GLException

Create a VBO for fixed function interleaved array data starting with a new created Buffer object with initialElementCount size.

User needs to configure the interleaved segments via addFixedSubArray(int, int, int).

Parameters
compsPerElement:int

The total number of all interleaved components per element.

dataType:int

The component's OpenGL data type

normalized:boolean

Whether the data shall be normalized

initialElementCount:int

The initial number of all interleaved elements

vboUsage:int

GL2ES2#GL_STREAM_DRAW, GL#GL_STATIC_DRAW or GL#GL_DYNAMIC_DRAW

createFixedInterleavedback to summary
public static GLArrayDataServer createFixedInterleaved(final int compsPerElement, final int dataType, final boolean normalized, final int stride, final Buffer buffer, final int vboUsage) throws GLException

Create a VBO for fixed function interleaved array data starting with a given Buffer object incl it's stride

User needs to configure the interleaved segments via addFixedSubArray(int, int, int).

Parameters
compsPerElement:int

The total number of all interleaved components per element.

dataType:int

The component's OpenGL data type

normalized:boolean

Whether the data shall be normalized

stride:int

in bytes from one element of a sub-array to the other. If zero, compsPerElement * compSizeInBytes

buffer:Buffer

The user define data of all interleaved elements

vboUsage:int

GL2ES2#GL_STREAM_DRAW, GL#GL_STATIC_DRAW or GL#GL_DYNAMIC_DRAW

createFixedInterleavedMappedback to summary
public static GLArrayDataServer createFixedInterleavedMapped(final int compsPerElement, final int dataType, final boolean normalized, final int mappedElementCount, final int vboUsage) throws GLException

Create a VBO for fixed function interleaved array data intended for GPU buffer storage mapping, see GLBufferStorage, via mapStorage(GL, int) and mapStorage(GL, long, long, int).

User needs to configure the interleaved segments via addFixedSubArray(int, int, int).

Parameters
compsPerElement:int

The total number of all interleaved components per element.

dataType:int

The component's OpenGL data type

normalized:boolean

Whether the data shall be normalized

mappedElementCount:int

The total number of all interleaved elements

vboUsage:int

GL2ES2#GL_STREAM_DRAW, GL#GL_STATIC_DRAW or GL#GL_DYNAMIC_DRAW

createGLSLback to summary
public static GLArrayDataServer createGLSL(final String name, final int compsPerElement, final int dataType, final boolean normalized, final int initialElementCount, final int vboUsage) throws GLException

Create a VBO, using a custom GLSL array attribute name and starting with a new created Buffer object with initialElementCount size

Parameters
name:String

The custom name for the GL attribute

compsPerElement:int

component count per element

dataType:int

The component's OpenGL data type

normalized:boolean

Whether the data shall be normalized

vboUsage:int

GL2ES2#GL_STREAM_DRAW, GL#GL_STATIC_DRAW or GL#GL_DYNAMIC_DRAW

createGLSLback to summary
public static GLArrayDataServer createGLSL(final String name, final int compsPerElement, final int dataType, final boolean normalized, final int stride, final Buffer buffer, final int vboUsage) throws GLException

Create a VBO, using a custom GLSL array attribute name and starting with a given Buffer object incl it's stride

Parameters
name:String

The custom name for the GL attribute

compsPerElement:int

component count per element

dataType:int

The component's OpenGL data type

normalized:boolean

Whether the data shall be normalized

stride:int

in bytes from one element to the other. If zero, compsPerElement * compSizeInBytes

buffer:Buffer

the user define data

vboUsage:int

GL2ES2#GL_STREAM_DRAW, GL#GL_STATIC_DRAW or GL#GL_DYNAMIC_DRAW

createGLSLInterleavedback to summary
public static GLArrayDataServer createGLSLInterleaved(final int compsPerElement, final int dataType, final boolean normalized, final int initialElementCount, final int vboUsage) throws GLException

Create a VBO for GLSL interleaved array data starting with a new created Buffer object with initialElementCount size.

User needs to configure the interleaved segments via addGLSLSubArray(int, int, int).

Parameters
compsPerElement:int

The total number of all interleaved components per element.

dataType:int

The component's OpenGL data type

normalized:boolean

Whether the data shall be normalized

initialElementCount:int

The initial number of all interleaved elements

vboUsage:int

GL2ES2#GL_STREAM_DRAW, GL#GL_STATIC_DRAW or GL#GL_DYNAMIC_DRAW

createGLSLInterleavedback to summary
public static GLArrayDataServer createGLSLInterleaved(final int compsPerElement, final int dataType, final boolean normalized, final int stride, final Buffer buffer, final int vboUsage) throws GLException

Create a VBO for GLSL interleaved array data starting with a given Buffer object incl it's stride

User needs to configure the interleaved segments via addGLSLSubArray(int, int, int).

Parameters
compsPerElement:int

The total number of all interleaved components per element.

dataType:int

The component's OpenGL data type

normalized:boolean

Whether the data shall be normalized

stride:int

in bytes from one element of a sub-array to the other. If zero, compsPerElement * compSizeInBytes

buffer:Buffer

The user define data of all interleaved elements

vboUsage:int

GL2ES2#GL_STREAM_DRAW, GL#GL_STATIC_DRAW or GL#GL_DYNAMIC_DRAW

createGLSLInterleavedMappedback to summary
public static GLArrayDataServer createGLSLInterleavedMapped(final int compsPerElement, final int dataType, final boolean normalized, final int mappedElementCount, final int vboUsage) throws GLException

Create a VBO for GLSL interleaved array data intended for GPU buffer storage mapping, see GLBufferStorage, via mapStorage(GL, int) and mapStorage(GL, long, long, int).

User needs to configure the interleaved segments via addGLSLSubArray(int, int, int).

Parameters
compsPerElement:int

The total number of all interleaved components per element.

dataType:int

The component's OpenGL data type

normalized:boolean

Whether the data shall be normalized

mappedElementCount:int

The total number of all interleaved elements

vboUsage:int

GL2ES2#GL_STREAM_DRAW, GL#GL_STATIC_DRAW or GL#GL_DYNAMIC_DRAW

createGLSLMappedback to summary
public static GLArrayDataServer createGLSLMapped(final String name, final int compsPerElement, final int dataType, final boolean normalized, final int mappedElementCount, final int vboUsage) throws GLException

Create a VBO, using a custom GLSL array attribute name intended for GPU buffer storage mapping, see GLBufferStorage, via mapStorage(GL, int) and mapStorage(GL, long, long, int).

Parameters
name:String

The custom name for the GL attribute

compsPerElement:int

component count per element

dataType:int

The component's OpenGL data type

normalized:boolean

Whether the data shall be normalized

vboUsage:int

GL2ES2#GL_STREAM_DRAW, GL#GL_STATIC_DRAW or GL#GL_DYNAMIC_DRAW

destroyback to summary
public void destroy(final GL gl)

Overrides com.jogamp.opengl.util.GLArrayDataClient.destroy.

Implements com.jogamp.opengl.util.GLArrayDataEditable.destroy, com.jogamp.opengl.GLArrayData.destroy.

Annotations
@Override
getInterleavedOffsetback to summary
public final int getInterleavedOffset()
initback to summary
protected void init(final String name, final int index, final int comps, final int dataType, final boolean normalized, final int stride, final Buffer data, final int initialElementCount, final int mappedElementCount, final boolean isVertexAttribute, final GLArrayHandler glArrayHandler, final int vboName, final long vboOffset, final int vboUsage, final int vboTarget, final boolean usesGLSL) throws GLException

Overrides com.jogamp.opengl.util.GLArrayDataClient.init.

Annotations
@Override
init_vboback to summary
protected void init_vbo(final GL gl)

Overrides com.jogamp.opengl.util.GLArrayDataClient.init_vbo.

Annotations
@Override
mapStorageback to summary
public GLBufferStorage mapStorage(final GL gl, final int access)
mapStorageback to summary
public GLBufferStorage mapStorage(final GL gl, final long offset, final long length, final int access)
setInterleavedOffsetback to summary
public final void setInterleavedOffset(final int interleavedOffset)
setMappedBufferback to summary
private final void setMappedBuffer(final GLBufferStorage storage)
setVBOEnabledback to summary
public void setVBOEnabled(final boolean vboUsage)

Overrides com.jogamp.opengl.util.GLArrayDataWrapper.setVBOEnabled.

Convenient way do disable the VBO behavior and switch to client side data one Only possible if buffer is defined.

Annotations
@Override
toStringback to summary
public String toString()

Overrides com.jogamp.opengl.util.GLArrayDataClient.toString.

Implements com.jogamp.opengl.GLArrayData.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override
unmapStorageback to summary
public void unmapStorage(final GL gl)