gov.nasa.worldwindx.examples
Class ConfiguringGLRuntimeCapabilities.MyGLAutoDrawable
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.WWObjectImpl
gov.nasa.worldwind.WorldWindowImpl
gov.nasa.worldwind.WorldWindowGLAutoDrawable
gov.nasa.worldwindx.examples.ConfiguringGLRuntimeCapabilities.MyGLAutoDrawable
- All Implemented Interfaces:
- AVList, MessageListener, WorldWindow, WorldWindowGLDrawable, WWObject, PropertyChangeListener, EventListener, GLEventListener
- Enclosing class:
- ConfiguringGLRuntimeCapabilities
public static class ConfiguringGLRuntimeCapabilities.MyGLAutoDrawable
- extends WorldWindowGLAutoDrawable
Subclass of WorldWindowGLAutoDrawable which overrides the method override the method
WorldWindowGLAutoDrawable.init(javax.media.opengl.GLAutoDrawable) to configure the
OpenGL features used by the World Wind SDK.
|
Method Summary |
protected void |
configureGLRuntimeCaps()
Configures the OpenGL runtime features used by the World Wind SDK. |
void |
init(GLAutoDrawable glAutoDrawable)
Overridden to configure the OpenGL features used by the World Wind SDK. |
protected boolean |
isEnableFramebufferObjects()
Returns true if the World Wind SDK should enable use of OpenGL framebuffer objects (if available), and false
otherwise. |
| Methods inherited from class gov.nasa.worldwind.WorldWindowGLAutoDrawable |
checkForViewChange, display, dispose, doDisplay, doShutdown, doSwapBuffers, endInitialization, getContext, getRequiredOglExtensions, getRequiredOglFunctions, getViewStopTime, initDrawable, initGpuResourceCache, initializeCreditsController, isGLContextCompatible, onMessage, propertyChange, redraw, redrawNow, reinitialize, reshape, scheduleViewStopTask, setViewStopTime, shutdown |
| Methods inherited from class gov.nasa.worldwind.WorldWindowImpl |
addPositionListener, addRenderingExceptionListener, addRenderingListener, addSelectListener, callPositionListeners, callRenderingExceptionListeners, callRenderingListeners, callSelectListeners, createGpuResourceCache, getCurrentBoxSelection, getCurrentPosition, getCurrentSelection, getGpuResourceCache, getInputHandler, getModel, getObjectsAtCurrentPosition, getObjectsInSelectionBox, getPerFrameStatistics, getSceneController, getView, removePositionListener, removeRenderingExceptionListener, removeRenderingListener, removeSelectListener, setGpuResourceCache, setInputHandler, setModel, setModelAndView, setPerFrameStatisticsKeys, setSceneController, setView |
| Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface gov.nasa.worldwind.WorldWindow |
addPositionListener, addRenderingExceptionListener, addRenderingListener, addSelectListener, getCurrentPosition, getGpuResourceCache, getInputHandler, getModel, getObjectsAtCurrentPosition, getObjectsInSelectionBox, getPerFrameStatistics, getSceneController, getView, removePositionListener, removeRenderingExceptionListener, removeRenderingListener, removeSelectListener, setInputHandler, setModel, setModelAndView, setPerFrameStatisticsKeys, setSceneController, setView |
| Methods inherited from interface gov.nasa.worldwind.avlist.AVList |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
ConfiguringGLRuntimeCapabilities.MyGLAutoDrawable
public ConfiguringGLRuntimeCapabilities.MyGLAutoDrawable()
- Constructs a new MyGLAutoDrawable, but otherwise does nothing.
configureGLRuntimeCaps
protected void configureGLRuntimeCaps()
- Configures the OpenGL runtime features used by the World Wind SDK.
init
public void init(GLAutoDrawable glAutoDrawable)
- Overridden to configure the OpenGL features used by the World Wind SDK. See
GLEventListener.init(GLAutoDrawable).
- Specified by:
init in interface GLEventListener- Overrides:
init in class WorldWindowGLAutoDrawable
- Parameters:
glAutoDrawable - the drawable
isEnableFramebufferObjects
protected boolean isEnableFramebufferObjects()
- Returns true if the World Wind SDK should enable use of OpenGL framebuffer objects (if available), and false
otherwise.
- Returns:
- true ot enable use of GL framebuffer objects; false otherwise.