Top Inners Fields Constructors Methods
org.lwjgl.test.opengles.util

public Class Geometry

extends Object
Class Inheritance
Imports
org.lwjgl.test.opengles.util.BufferObjectArray, java.nio.FloatBuffer, java.util.ArrayList, .List

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected static class

Field Summary

Modifier and TypeField and Description
protected BufferObjectArray
protected final List<Geometry.DrawCommand>

Constructor Summary

AccessConstructor and Description
public
public
Geometry(final FloatBuffer buffer)

Method Summary

Modifier and TypeMethod and Description
public int
addDrawCommand(final int mode, final int first, final int count)

public void
bind()

public static float
cos(final float r)

public void
public void
draw()

public static float
sin(final float r)

public void
update(final FloatBuffer buffer)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

boback to summary
protected BufferObjectArray bo
drawCommandsback to summary
protected final List<Geometry.DrawCommand> drawCommands

Constructor Detail

Geometryback to summary
public Geometry()
Geometryback to summary
public Geometry(final FloatBuffer buffer)

Method Detail

addDrawCommandback to summary
public int addDrawCommand(final int mode, final int first, final int count)
bindback to summary
public void bind()
cosback to summary
public static float cos(final float r)
destroyback to summary
public void destroy()
drawback to summary
public void draw()
sinback to summary
public static float sin(final float r)
updateback to summary
public void update(final FloatBuffer buffer)
org.lwjgl.test.opengles.util back to summary

protected Class Geometry.DrawCommand

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private int
private int
private int

Constructor Summary

AccessConstructor and Description
private
DrawCommand(final int mode, final int first, final int count)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
draw()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

countback to summary
private int count
firstback to summary
private int first
modeback to summary
private int mode

Constructor Detail

DrawCommandback to summary
private DrawCommand(final int mode, final int first, final int count)

Method Detail

drawback to summary
pack-priv void draw()