Top Description Fields Constructors Methods
jogamp.opengl.util

public abstract Class GLVBOArrayHandler

extends Object
implements GLArrayHandler
Class Inheritance
All Implemented Interfaces
jogamp.opengl.util.GLArrayHandler
Known Direct Subclasses
jogamp.opengl.util.glsl.GLSLArrayHandler, jogamp.opengl.util.glsl.GLSLArrayHandlerInterleaved, jogamp.opengl.util.GLArrayHandlerInterleaved, jogamp.opengl.util.GLDataArrayHandler, jogamp.opengl.util.GLFixedArrayHandler
Imports
java.nio.Buffer, com.jogamp.opengl.GL, com.jogamp.opengl.util.GLArrayDataEditable

Interleaved fixed function arrays, i.e. where this buffer data represents many arrays.

Field Summary

Modifier and TypeField and Description
protected GLArrayDataEditable

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final boolean
bindBuffer(final GL
current GL object
gl
,
final boolean
true if VBO shall be bound and data written, otherwise clear VBO binding.
bind
)

Implements jogamp.opengl.util.GLArrayHandler.bindBuffer.

if bind is true and the data uses VBO, the latter will be bound and data written to the GPU if required.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

Constructor Detail

GLVBOArrayHandlerback to summary
public GLVBOArrayHandler(final GLArrayDataEditable ad)

Method Detail

bindBufferback to summary
public final boolean bindBuffer(final GL gl, final boolean bind)

Implements jogamp.opengl.util.GLArrayHandler.bindBuffer.

Doc from jogamp.opengl.util.GLArrayHandler.bindBuffer.

if bind is true and the data uses VBO, the latter will be bound and data written to the GPU if required.

If bind is false and the data uses VBO, the latter will be unbound.

Parameters
gl:GL

current GL object

bind:boolean

true if VBO shall be bound and data written, otherwise clear VBO binding.

Returns:boolean

true if data uses VBO and action was performed, otherwise false

Annotations
@Override