org.jrabbit.base.graphics
Class GLSettings

java.lang.Object
  extended by org.jrabbit.base.graphics.GLSettings

public class GLSettings
extends java.lang.Object

GLSettings contains a series of LWJGL "macros" to help define settings in OpenGL. These are very simple, the exact same effects can be obtained via straight LWJGL commands. They are provided to be a little more beginner-friendly and intuitive, that's all.

Author:
Chris Molini

Nested Class Summary
static class GLSettings.Blend
          A static class containing some methods to set the default blending functions.
static class GLSettings.Enable
          Handles enabling and disabling general OpenGL settings.
 
Constructor Summary
GLSettings()
           
 
Method Summary
static void default2D()
          Sets the default OpenGL settings: Depth testing - disabled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GLSettings

public GLSettings()
Method Detail

default2D

public static void default2D()
Sets the default OpenGL settings: Depth testing - disabled. Lighting - disabled. Textures - enabled. Blending - enabled, and set to the default Normal blending.