|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.opengl.impl.StaticGLInfo
public final class StaticGLInfo
Constructor Summary | |
---|---|
StaticGLInfo()
|
Method Summary | |
---|---|
static java.lang.String |
getFunctionAssociation(java.lang.String glFunctionName)
Returns the OpenGL extension string or GL_VERSION string with which the given function is associated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StaticGLInfo()
Method Detail |
---|
public static java.lang.String getFunctionAssociation(java.lang.String glFunctionName)
If the function is part of the OpenGL core, the returned value will be GL_VERSION_XXX where XXX represents the OpenGL version of which the function is a member (XXX will be of the form "A" or "A_B" or "A_B_C"; e.g., GL_VERSION_1_2_1 for OpenGL version 1.2.1). If the function is an extension function, the returned value will the OpenGL extension string for the extension to which the function corresponds. For example, if glLoadTransposeMatrixfARB is the argument, GL_ARB_transpose_matrix will be the value returned. Please see http://oss.sgi.com/projects/ogl-sample/registry/index.html for a list of extension names and the functions they expose. If the function specified is not part of any known OpenGL core version or extension, then NULL will be returned.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |