Top Fields Constructors Methods
org.lwjgl.test.opengl

public final Class VBOTest

extends Object
Class Inheritance
Imports
java.nio.ByteBuffer, .ByteOrder, .FloatBuffer, 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 ByteBuffer
private static FloatBuffer
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?

mapped_bufferback to summary
private static ByteBuffer mapped_buffer
mapped_float_bufferback to summary
private static FloatBuffer mapped_float_buffer
verticesback to summary
private static FloatBuffer vertices

Constructor Detail

VBOTestback to summary
public VBOTest()

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