com.threerings.opengl
Interface GlCanvas

All Known Implementing Classes:
AWTCanvas, DisplayCanvas

public interface GlCanvas

An interface implemented by AWTCanvas and DisplayCanvas.


Method Summary
 org.lwjgl.opengl.Drawable getDrawable()
          Returns the canvas drawable.
 void makeCurrent()
          Makes the canvas context current.
 void setVSyncEnabled(boolean vsync)
          Enables or disables vsync.
 void shutdown()
          Shuts down the canvas.
 

Method Detail

getDrawable

org.lwjgl.opengl.Drawable getDrawable()
Returns the canvas drawable.


setVSyncEnabled

void setVSyncEnabled(boolean vsync)
Enables or disables vsync.


makeCurrent

void makeCurrent()
Makes the canvas context current.


shutdown

void shutdown()
Shuts down the canvas.



Copyright © 2011. All Rights Reserved.