|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.rico.engine.util.ExtensAvailChecker
public class ExtensAvailChecker
This class contains static methods that can be called to check for the availabilty of certain OpenGL extensions.
Constructor Summary | |
---|---|
ExtensAvailChecker()
|
Method Summary | |
---|---|
static int |
getMaxNumTexUnits(javax.media.opengl.GL gl)
Returns the number of maximum available texture units on the graphics hardware. |
static boolean |
isAvailable(javax.media.opengl.GL gl,
java.lang.String extensionName)
Determines whether the specified extension is available |
static boolean |
isAvailableAmbientShadow(javax.media.opengl.GL gl)
Checks, if the GL_ARB_shadow_ambient extension is available on current graphics card. |
static boolean |
isAvailableMultiTexturing(javax.media.opengl.GL gl)
Checks, if multitexturing available on current graphics card. |
static boolean |
isAvailableShadow(javax.media.opengl.GL gl)
Checks, if the GL_ARB_shadow extension is available on current graphics card. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExtensAvailChecker()
Method Detail |
---|
public static boolean isAvailableShadow(javax.media.opengl.GL gl)
gl
-
public static boolean isAvailableAmbientShadow(javax.media.opengl.GL gl)
gl
-
public static boolean isAvailableMultiTexturing(javax.media.opengl.GL gl)
gl
-
public static boolean isAvailable(javax.media.opengl.GL gl, java.lang.String extensionName)
gl
- extensionName
- name of the extension to check (e.g. "GL_ARB_multitexture")
public static int getMaxNumTexUnits(javax.media.opengl.GL gl)
gl
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |