|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.util.GlContextWrapper
public abstract class GlContextWrapper
Wraps another GlContext, allowing subclasses to override methods selectively.
| Constructor Summary | |
|---|---|
GlContextWrapper(GlContext wrapped)
Creates a new wrapper to wrap the specified context. |
|
| Method Summary | |
|---|---|
GlApp |
getApp()
Returns a reference to the application object. |
CameraHandler |
getCameraHandler()
Returns a reference to the camera handler. |
com.threerings.openal.ClipProvider |
getClipProvider()
Returns a reference to the clip provider. |
com.threerings.media.image.ColorPository |
getColorPository()
Returns a reference to the color pository. |
Compositor |
getCompositor()
Returns a reference to the compositor. |
ConfigManager |
getConfigManager()
Returns a reference to the configuration manager. |
ImageCache |
getImageCache()
Returns a reference to the image cache. |
com.threerings.util.MessageManager |
getMessageManager()
Returns a reference to the message manager. |
Renderer |
getRenderer()
Returns a reference to the renderer. |
com.threerings.resource.ResourceManager |
getResourceManager()
Returns a reference to the resource manager. |
DynamicScope |
getScope()
Returns a reference to the scope. |
ShaderCache |
getShaderCache()
Returns a reference to the shader cache. |
com.threerings.openal.SoundManager |
getSoundManager()
Returns a reference to the sound manager. |
void |
makeCurrent()
Makes the OpenGL context current. |
void |
setCameraHandler(CameraHandler camhand)
Sets the camera handler reference. |
void |
setRenderer(Renderer renderer)
Sets the renderer reference. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlContextWrapper(GlContext wrapped)
| Method Detail |
|---|
public GlApp getApp()
GlContext
getApp in interface GlContextpublic DynamicScope getScope()
GlContext
getScope in interface AlContextgetScope in interface GlContextpublic ConfigManager getConfigManager()
GlContext
getConfigManager in interface EditorContextgetConfigManager in interface AlContextgetConfigManager in interface GlContextpublic com.threerings.openal.SoundManager getSoundManager()
AlContext
getSoundManager in interface AlContextpublic com.threerings.openal.ClipProvider getClipProvider()
AlContext
getClipProvider in interface AlContextpublic void makeCurrent()
GlContext
makeCurrent in interface GlContextpublic void setRenderer(Renderer renderer)
GlContext
setRenderer in interface GlContextpublic Renderer getRenderer()
GlContext
getRenderer in interface GlContextpublic Compositor getCompositor()
GlContext
getCompositor in interface GlContextpublic void setCameraHandler(CameraHandler camhand)
GlContext
setCameraHandler in interface GlContextpublic CameraHandler getCameraHandler()
GlContext
getCameraHandler in interface GlContextpublic com.threerings.resource.ResourceManager getResourceManager()
GlContext
getResourceManager in interface EditorContextgetResourceManager in interface AlContextgetResourceManager in interface GlContextpublic com.threerings.util.MessageManager getMessageManager()
GlContext
getMessageManager in interface EditorContextgetMessageManager in interface GlContextpublic com.threerings.media.image.ColorPository getColorPository()
GlContext
getColorPository in interface EditorContextgetColorPository in interface GlContextpublic ImageCache getImageCache()
GlContext
getImageCache in interface GlContextpublic ShaderCache getShaderCache()
GlContext
getShaderCache in interface GlContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||