com.sun.opengl.impl
Class GLDrawableImpl
java.lang.Object
com.sun.opengl.impl.GLDrawableImpl
- All Implemented Interfaces:
- GLDrawable
- Direct Known Subclasses:
- X11GLDrawable
public abstract class GLDrawableImpl
- extends Object
- implements GLDrawable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GLDrawableImpl
public GLDrawableImpl()
destroy
public abstract void destroy()
throws GLException
- For offscreen GLDrawables (pbuffers and "pixmap" drawables),
indicates that native resources should be reclaimed.
- Throws:
GLException
toHexString
public static String toHexString(long hex)
getChosenGLCapabilities
public GLCapabilities getChosenGLCapabilities()
- Description copied from interface:
GLDrawable
- Fetches the
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.
- Specified by:
getChosenGLCapabilities
in interface GLDrawable
setChosenGLCapabilities
public void setChosenGLCapabilities(GLCapabilities caps)
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.