Top Fields Constructors Methods
org.lwjgl.test.opengl

public final Class VBOIndexTest

extends Object
Class Inheritance
Imports
java.nio.ByteBuffer, .ByteOrder, .FloatBuffer, .IntBuffer, org.lwjgl.Sys, org.lwjgl.input.Keyboard, .Mouse, org.lwjgl.opengl.Display, .DisplayMode, .GLContext

Field Summary

Modifier and TypeField and Description
private static float
angle

A rotating square!

private static int
private static boolean
finished

Is the game finished?

private static IntBuffer
private static int
private static ByteBuffer
private static FloatBuffer
private static ByteBuffer
private static IntBuffer
private static FloatBuffer

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static void
cleanup()

Cleanup

private static void
init()

Initialize

public static void
main(String[] arguments)

private static void
mainLoop()

All calculations are done in here

private static void
render()

All rendering is done in here

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

angleback to summary
private static float angle

A rotating square!

buffer_idback to summary
private static int buffer_id
finishedback to summary
private static boolean finished

Is the game finished?

indicesback to summary
private static IntBuffer indices
indices_buffer_idback to summary
private static int indices_buffer_id
mapped_bufferback to summary
private static ByteBuffer mapped_buffer
mapped_float_bufferback to summary
private static FloatBuffer mapped_float_buffer
mapped_indices_bufferback to summary
private static ByteBuffer mapped_indices_buffer
mapped_indices_int_bufferback to summary
private static IntBuffer mapped_indices_int_buffer
verticesback to summary
private static FloatBuffer vertices

Constructor Detail

VBOIndexTestback to summary
public VBOIndexTest()

Method Detail

cleanupback to summary
private static void cleanup()

Cleanup

initback to summary
private static void init() throws Exception

Initialize

mainback to summary
public static void main(String[] arguments)
mainLoopback to summary
private static void mainLoop()

All calculations are done in here

renderback to summary
private static void render()

All rendering is done in here