|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.scilab.forge.scirenderer.implementation.jogl.texture.JoGLTextureManager
public class JoGLTextureManager
| Constructor Summary | |
|---|---|
JoGLTextureManager(JoGLCanvas canvas)
|
|
| Method Summary | |
|---|---|
void |
bind(JoGLDrawingTools drawingTools,
Texture texture)
Texture binder. |
Texture |
createTexture()
Texture creator. |
void |
dispose(java.util.Collection<Texture> textures)
Dispose the given textures. |
void |
dispose(Texture texture)
|
void |
draw(JoGLDrawingTools drawingTools,
Texture texture)
Draw the given texture. |
void |
draw(JoGLDrawingTools drawingTools,
Texture texture,
AnchorPosition anchor,
ElementsBuffer positions,
double rotationAngle)
|
void |
draw(JoGLDrawingTools drawingTools,
Texture texture,
AnchorPosition anchor,
Vector3d position,
double rotationAngle)
|
void |
glReload()
Called when gl context is gone. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JoGLTextureManager(JoGLCanvas canvas)
| Method Detail |
|---|
public void bind(JoGLDrawingTools drawingTools,
Texture texture)
throws SciRendererException
drawingTools - drawing tools.texture - given texture.
SciRendererException - if the texture can't be bind.
public void draw(JoGLDrawingTools drawingTools,
Texture texture)
throws SciRendererException
drawingTools - used drawing tools.texture - the texture too drawn.
SciRendererException - if the texture is invalid.
public void draw(JoGLDrawingTools drawingTools,
Texture texture,
AnchorPosition anchor,
ElementsBuffer positions,
double rotationAngle)
throws SciRendererException
SciRendererException
public void draw(JoGLDrawingTools drawingTools,
Texture texture,
AnchorPosition anchor,
Vector3d position,
double rotationAngle)
throws SciRendererException
SciRendererExceptionpublic void glReload()
public Texture createTexture()
TextureManager
createTexture in interface TextureManagerTexturepublic void dispose(java.util.Collection<Texture> textures)
TextureManager
dispose in interface TextureManagertextures - textures to dispose.public void dispose(Texture texture)
dispose in interface TextureManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||