Top Inners Fields Constructors Methods
org.lwjgl.opengles

pack-priv final Class StateTracker

extends Object
Class Inheritance
Imports
java.nio.Buffer, .IntBuffer

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
StateTracker.VAOState

Simple class to help us track VAO state.

Field Summary

Modifier and TypeField and Description
pack-priv int
pack-priv int
pack-priv Buffer[]
pack-priv int
pack-priv int
private static StateTracker
private final FastIntMap<StateTracker.VAOState>
pack-priv int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static void
bindBuffer(int target, int buffer)

pack-priv static void
bindVAO(final int array)

pack-priv static void
deleteVAO(final IntBuffer arrays)

pack-priv static void
deleteVAO(final int array)

pack-priv static StateTracker
pack-priv void
init()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

arrayBufferback to summary
pack-priv int arrayBuffer
elementArrayBufferback to summary
pack-priv int elementArrayBuffer
glVertexAttribPointer_bufferback to summary
pack-priv Buffer[] glVertexAttribPointer_buffer
pixelPackBufferback to summary
pack-priv int pixelPackBuffer
pixelUnpackBufferback to summary
pack-priv int pixelUnpackBuffer
trackerback to summary
private static StateTracker tracker
vaoMapback to summary
private final FastIntMap<StateTracker.VAOState> vaoMap
vertexArrayObjectback to summary
pack-priv int vertexArrayObject

Constructor Detail

StateTrackerback to summary
pack-priv StateTracker()

Method Detail

bindBufferback to summary
pack-priv static void bindBuffer(int target, int buffer)
bindVAOback to summary
pack-priv static void bindVAO(final int array)
deleteVAOback to summary
pack-priv static void deleteVAO(final IntBuffer arrays)
deleteVAOback to summary
pack-priv static void deleteVAO(final int array)
getTrackerback to summary
pack-priv static StateTracker getTracker()
initback to summary
pack-priv void init()
org.lwjgl.opengles back to summary

private Class StateTracker.VAOState

extends Object
Class Inheritance

Simple class to help us track VAO state. Currently only ELEMENT_ARRAY_BUFFER_BINDING is tracked, since that's the only state we check from tables 6.6-6.9.

Field Summary

Modifier and TypeField and Description
pack-priv int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

elementArrayBufferback to summary
pack-priv int elementArrayBuffer

Constructor Detail

VAOStateback to summary
private VAOState()