public class WebViewTexture extends BasicWWTexture
Modifier and Type | Field and Description |
---|---|
protected boolean |
flipVertically |
protected java.awt.Dimension |
frameSize |
height, texCoords, textureInitializationFailed, width
Constructor and Description |
---|
WebViewTexture(java.awt.Dimension frameSize,
boolean useMipMaps,
boolean flipVertically) |
Modifier and Type | Method and Description |
---|---|
boolean |
bind(DrawContext dc)
Makes this texture the current texture for rendering.
|
protected Texture |
initializeTexture(DrawContext dc,
java.lang.Object imageSource) |
protected void |
updateIfNeeded(DrawContext dc) |
applyInternalTransform, getHeight, getImageSource, getTexCoords, getTexture, getTextureFromCache, getWidth, initialize, isTextureCurrent, isTextureInitializationFailed, isUseAnisotropy, isUseMipMaps, setUseAnisotropy
protected boolean flipVertically
protected java.awt.Dimension frameSize
public WebViewTexture(java.awt.Dimension frameSize, boolean useMipMaps, boolean flipVertically)
public boolean bind(DrawContext dc)
WWTexture
bind
in interface WWTexture
bind
in class BasicWWTexture
dc
- the current draw context.protected Texture initializeTexture(DrawContext dc, java.lang.Object imageSource)
initializeTexture
in class BasicWWTexture
protected void updateIfNeeded(DrawContext dc)