org.xith3d.render
Class OpenGLInfo

java.lang.Object
  extended by org.xith3d.render.OpenGLInfo

public class OpenGLInfo
extends java.lang.Object

Small class to hold the information about the OpenGL layer


Nested Class Summary
static class OpenGLInfo.KnownVendor
           
 
Field Summary
static int NORM_VERSION_1_1
           
static int NORM_VERSION_1_2
           
static int NORM_VERSION_1_3
           
static int NORM_VERSION_1_4
           
static int NORM_VERSION_1_5
           
static int NORM_VERSION_2_0
           
static int NORM_VERSION_2_1
           
 
Constructor Summary
OpenGLInfo(java.lang.String renderer, java.lang.String version, java.lang.String vendor, java.lang.String extensions)
           
 
Method Summary
 void dump()
           
 void dumpExtensions()
           
 java.lang.String[] getExtensions()
           
 OpenGLInfo.KnownVendor getKnwonVendor()
           
 int getNormalizedVersion()
           
 java.lang.String getRenderer()
           
 java.lang.String getVendor()
           
 java.lang.String getVersion()
           
 int getVersionMajor()
           
 int getVersionMinor()
           
 int getVersionRevision()
           
 boolean hasExtension(java.lang.String extension)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NORM_VERSION_1_1

public static final int NORM_VERSION_1_1

NORM_VERSION_1_2

public static final int NORM_VERSION_1_2

NORM_VERSION_1_3

public static final int NORM_VERSION_1_3

NORM_VERSION_1_4

public static final int NORM_VERSION_1_4

NORM_VERSION_1_5

public static final int NORM_VERSION_1_5

NORM_VERSION_2_0

public static final int NORM_VERSION_2_0

NORM_VERSION_2_1

public static final int NORM_VERSION_2_1
Constructor Detail

OpenGLInfo

public OpenGLInfo(java.lang.String renderer,
                  java.lang.String version,
                  java.lang.String vendor,
                  java.lang.String extensions)
Method Detail

getRenderer

public final java.lang.String getRenderer()

getVersion

public final java.lang.String getVersion()

getNormalizedVersion

public final int getNormalizedVersion()

getVersionMajor

public final int getVersionMajor()

getVersionMinor

public final int getVersionMinor()

getVersionRevision

public final int getVersionRevision()

getVendor

public final java.lang.String getVendor()

getKnwonVendor

public final OpenGLInfo.KnownVendor getKnwonVendor()

getExtensions

public final java.lang.String[] getExtensions()

hasExtension

public final boolean hasExtension(java.lang.String extension)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

dump

public void dump()

dumpExtensions

public void dumpExtensions()