Top Description Fields Constructors Methods
jogamp.opengl.util

public Class GLFixedArrayHandler

extends GLVBOArrayHandler
Class Inheritance
Imports
com.jogamp.opengl.GL, .GLException, com.jogamp.opengl.fixedfunc.GLPointerFunc, com.jogamp.opengl.util.GLArrayDataEditable

Used for 1:1 fixed function arrays, i.e. where the buffer data represents this array only.

Field Summary

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
Inherited from jogamp.opengl.util.GLVBOArrayHandler:
bindBuffer

Constructor Detail

GLFixedArrayHandlerback to summary
public GLFixedArrayHandler(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