Top Description Fields Constructors Methods
jogamp.opengl.util.glsl

public Class GLSLArrayHandlerInterleaved

extends GLVBOArrayHandler
Class Inheritance
Imports
java.util.ArrayList, .List, com.jogamp.opengl.GL, jogamp.opengl.util.GLArrayHandlerFlat, .GLVBOArrayHandler, 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
private final List<GLArrayHandlerFlat>
Inherited from jogamp.opengl.util.GLVBOArrayHandler:
ad

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final void
addSubHandler(final GLArrayHandlerFlat
the sub handler
handler
)

Implements jogamp.opengl.util.GLArrayHandler.addSubHandler.

Supporting interleaved arrays, where sub handlers may handle the array state and the master handler the buffer consistency.
public final void
enableState(final GL
current GL object
gl
,
final boolean
true if array shall be enabled, otherwise false.
enable
,
final Object
extension object allowing passing of an implementation detail
ext
)

Implements jogamp.opengl.util.GLArrayHandler.enableState.

Implementation shall enable or disable the array state.
public final void
private final void
syncSubData(final GL gl, final Object ext)

Inherited from jogamp.opengl.util.GLVBOArrayHandler:
bindBuffer

Field Detail

subArraysback to summary
private final List<GLArrayHandlerFlat> subArrays

Constructor Detail

GLSLArrayHandlerInterleavedback to summary
public GLSLArrayHandlerInterleaved(final GLArrayDataEditable ad)

Method Detail

addSubHandlerback to summary
public final void addSubHandler(final GLArrayHandlerFlat handler)

Implements jogamp.opengl.util.GLArrayHandler.addSubHandler.

Doc from jogamp.opengl.util.GLArrayHandler.addSubHandler.

Supporting interleaved arrays, where sub handlers may handle the array state and the master handler the buffer consistency.

Parameters
handler:GLArrayHandlerFlat

the sub handler

Annotations
@Override
enableStateback to summary
public final void enableState(final GL gl, final boolean enable, final Object ext)

Implements jogamp.opengl.util.GLArrayHandler.enableState.

Doc from jogamp.opengl.util.GLArrayHandler.enableState.

Implementation shall enable or disable the array state.

Before enabling the array state, implementation shall synchronize the data with the GPU and associate the data with the array.

Parameters
gl:GL

current GL object

enable:boolean

true if array shall be enabled, otherwise false.

ext:Object

extension object allowing passing of an implementation detail

Annotations
@Override
setSubArrayVBONameback to summary
public final void setSubArrayVBOName(final int vboName)

Implements jogamp.opengl.util.GLArrayHandler.setSubArrayVBOName.

Annotations
@Override
syncSubDataback to summary
private final void syncSubData(final GL gl, final Object ext)