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

public Class GLSLArrayHandlerFlat

extends Object
implements GLArrayHandlerFlat
Class Inheritance
All Implemented Interfaces
jogamp.opengl.util.GLArrayHandlerFlat
Imports
com.jogamp.opengl.GL, .GL2ES2, jogamp.opengl.util.GLArrayHandlerFlat, com.jogamp.opengl.util.GLArrayDataWrapper, com.jogamp.opengl.util.glsl.ShaderState

Used for interleaved GLSL arrays, i.e. where the buffer data itself is handled separately and interleaves many arrays.

Field Summary

Modifier and TypeField and Description
private final GLArrayDataWrapper

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
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.GLArrayHandlerFlat.enableState.

Implementation shall enable or disable the array state.
public GLArrayDataWrapper
public final void
syncData(final GL
current GL object
gl
,
final Object
extension object allowing passing of an implementation detail
ext
)

Implements jogamp.opengl.util.GLArrayHandlerFlat.syncData.

Implementation shall associate the data with the array
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

Constructor Detail

GLSLArrayHandlerFlatback to summary
public GLSLArrayHandlerFlat(final GLArrayDataWrapper ad)

Method Detail

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

Implements jogamp.opengl.util.GLArrayHandlerFlat.enableState.

Doc from jogamp.opengl.util.GLArrayHandlerFlat.enableState.

Implementation shall enable or disable the array state.

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
getDataback to summary
public GLArrayDataWrapper getData()

Implements jogamp.opengl.util.GLArrayHandlerFlat.getData.

Annotations
@Override
syncDataback to summary
public final void syncData(final GL gl, final Object ext)

Implements jogamp.opengl.util.GLArrayHandlerFlat.syncData.

Doc from jogamp.opengl.util.GLArrayHandlerFlat.syncData.

Implementation shall associate the data with the array

Parameters
gl:GL

current GL object

ext:Object

extension object allowing passing of an implementation detail

Annotations
@Override