NASA World Wind

gov.nasa.worldwind.util.webview
Class MacWebView.MacWebViewTexture

java.lang.Object
  extended by gov.nasa.worldwind.render.BasicWWTexture
      extended by gov.nasa.worldwind.util.webview.WebViewTexture
          extended by gov.nasa.worldwind.util.webview.MacWebView.MacWebViewTexture
All Implemented Interfaces:
WWTexture
Enclosing class:
MacWebView

protected class MacWebView.MacWebViewTexture
extends WebViewTexture


Field Summary
protected  boolean textureUpdateFailed
          Indicates whether updating this WebViewTexture's OpenGL texture has failed.
 
Fields inherited from class gov.nasa.worldwind.util.webview.WebViewTexture
flipVertically, frameSize
 
Fields inherited from class gov.nasa.worldwind.render.BasicWWTexture
height, texCoords, textureInitializationFailed, width
 
Constructor Summary
MacWebView.MacWebViewTexture(Dimension frameSize, boolean useMipMaps)
           
 
Method Summary
protected  void displayInTexture(DrawContext dc, Texture texture)
           
protected  void updateIfNeeded(DrawContext dc)
           
 
Methods inherited from class gov.nasa.worldwind.util.webview.WebViewTexture
bind, initializeTexture
 
Methods inherited from class gov.nasa.worldwind.render.BasicWWTexture
applyInternalTransform, getHeight, getImageSource, getTexCoords, getTexture, getTextureFromCache, getWidth, initialize, isTextureCurrent, isTextureInitializationFailed, isUseAnisotropy, isUseMipMaps, setUseAnisotropy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

textureUpdateFailed

protected boolean textureUpdateFailed
Indicates whether updating this WebViewTexture's OpenGL texture has failed. When true, this WebViewTexture's stops attempting to update its texture. Initially false.

Constructor Detail

MacWebView.MacWebViewTexture

public MacWebView.MacWebViewTexture(Dimension frameSize,
                                    boolean useMipMaps)
Method Detail

displayInTexture

protected void displayInTexture(DrawContext dc,
                                Texture texture)

updateIfNeeded

protected void updateIfNeeded(DrawContext dc)
Overrides:
updateIfNeeded in class WebViewTexture

NASA World Wind