com.threerings.opengl.renderer
Class DisplayList

java.lang.Object
  extended by com.threerings.opengl.renderer.DisplayList

public class DisplayList
extends Object

An OpenGL display list.


Constructor Summary
DisplayList(Renderer renderer)
          Creates a new display list for the specified renderer.
 
Method Summary
 void begin()
          Starts recording OpenGL calls for this list.
 void call()
          Calls this display list.
 void delete()
          Deletes this list, rendering it unusable.
 void end()
          Stops recording OpenGL calls for this list.
 int getId()
          Returns this list's OpenGL identifier.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayList

public DisplayList(Renderer renderer)
Creates a new display list for the specified renderer.

Method Detail

getId

public final int getId()
Returns this list's OpenGL identifier.


begin

public void begin()
Starts recording OpenGL calls for this list.


end

public void end()
Stops recording OpenGL calls for this list.


call

public void call()
Calls this display list.


delete

public void delete()
Deletes this list, rendering it unusable.



Copyright © 2011. All Rights Reserved.