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 com.jogamp.opengl.util.texture.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, setUseAnisotropyprotected boolean flipVertically
protected java.awt.Dimension frameSize
public WebViewTexture(java.awt.Dimension frameSize,
boolean useMipMaps,
boolean flipVertically)
public boolean bind(DrawContext dc)
WWTextureIf the implementing instance's internal texture has not been created from its image source, the implementing class determines when the texture is retrieved and available.
If a texture cannot be created from its image source it cannot be bound. This method returns an indication of whether the texture was bound or was not bound due to a failure during creation.
bind in interface WWTexturebind in class BasicWWTexturedc - the current draw context.protected com.jogamp.opengl.util.texture.Texture initializeTexture(DrawContext dc, java.lang.Object imageSource)
initializeTexture in class BasicWWTextureprotected void updateIfNeeded(DrawContext dc)