org.xith3d.render
Class OpenGLCapabilities

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

public class OpenGLCapabilities
extends java.lang.Object

This is a simple container class, that holds some values describing the capabilities of the current OpenGL context.


Constructor Summary
OpenGLCapabilities(int maxTextureSize, int maxTextureUnits, int maxAnisotropicLevel, int maxVertexAttributes, OpenGLInfo glInfo)
           
 
Method Summary
 int getMaxAnisotropicLevel()
           
 int getMaxTextureSize()
           
 int getMaxTextureUnits()
           
 int getMaxVertexAttributes()
           
 boolean isMinVersion13()
           
 boolean isMinVersion15()
           
 boolean supportsPlainMultiTexturing()
           
 boolean supportsVBOs()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenGLCapabilities

public OpenGLCapabilities(int maxTextureSize,
                          int maxTextureUnits,
                          int maxAnisotropicLevel,
                          int maxVertexAttributes,
                          OpenGLInfo glInfo)
Method Detail

getMaxTextureSize

public final int getMaxTextureSize()

getMaxTextureUnits

public final int getMaxTextureUnits()

getMaxAnisotropicLevel

public final int getMaxAnisotropicLevel()

getMaxVertexAttributes

public final int getMaxVertexAttributes()

isMinVersion13

public final boolean isMinVersion13()

isMinVersion15

public final boolean isMinVersion15()

supportsPlainMultiTexturing

public final boolean supportsPlainMultiTexturing()

supportsVBOs

public final boolean supportsVBOs()