|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.opengl.impl.GLDrawableImpl
public abstract class GLDrawableImpl
Constructor Summary | |
---|---|
GLDrawableImpl()
|
Method Summary | |
---|---|
abstract void |
destroy()
For offscreen GLDrawables (pbuffers and "pixmap" drawables), indicates that native resources should be reclaimed. |
GLCapabilities |
getChosenGLCapabilities()
Fetches the GLCapabilities corresponding to the chosen
OpenGL capabilities (pixel format / visual) for this drawable. |
void |
setChosenGLCapabilities(GLCapabilities caps)
|
static java.lang.String |
toHexString(long hex)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.media.opengl.GLDrawable |
---|
createContext, getHeight, getWidth, setRealized, setSize, swapBuffers |
Constructor Detail |
---|
public GLDrawableImpl()
Method Detail |
---|
public abstract void destroy() throws GLException
GLException
public static java.lang.String toHexString(long hex)
public GLCapabilities getChosenGLCapabilities()
GLDrawable
GLCapabilities
corresponding to the chosen
OpenGL capabilities (pixel format / visual) for this drawable.
Some drawables, in particular on-screen drawables, may be
created lazily; null is returned if the drawable is not
currently created or if its pixel format has not been set yet.
On some platforms, the pixel format is not directly associated
with the drawable; a best attempt is made to return a reasonable
value in this case.
getChosenGLCapabilities
in interface GLDrawable
public void setChosenGLCapabilities(GLCapabilities caps)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |