|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.scilab.forge.scirenderer.texture.AbstractTexture
public class AbstractTexture
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.scilab.forge.scirenderer.texture.Texture |
|---|
Texture.Filter, Texture.Wrap |
| Field Summary | |
|---|---|
protected TextureDataProvider |
textureDataProvider
Texture data provider. |
protected boolean |
upToDate
True if the data are up to date. |
| Constructor Summary | |
|---|---|
AbstractTexture()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
dataUpdated()
Notify for data update. |
TextureDataProvider |
getDataProvider()
Texture data provider getter. |
Texture.Filter |
getMagnificationFilter()
Magnification filter getter. |
Texture.Filter |
getMinifyingFilter()
Minifying filter getter. |
Texture.Wrap |
getSWrappingMode()
Wrapping mode on the first texture coordinate getter. |
Texture.Wrap |
getTWrappingMode()
Wrapping mode on the second dimension getter. |
boolean |
isValid()
Texture validity getter. |
void |
setDataProvider(TextureDataProvider provider)
Texture data provider setter. |
void |
setDrawer(TextureDrawer textureDrawer)
Set the texture data provider as a drawn texture data provider. |
void |
setMagnificationFilter(Texture.Filter magnificationFilter)
Magnification filter mode setter. |
void |
setMinifyingFilter(Texture.Filter minifyingFilter)
Minifying filter mode setter. |
void |
setSWrappingMode(Texture.Wrap sWrappingMode)
Wrapping mode on the first texture coordinate. |
void |
setTWrappingMode(Texture.Wrap tWrappingMode)
Wrapping mode on the second texture coordinate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected TextureDataProvider textureDataProvider
protected boolean upToDate
| Constructor Detail |
|---|
public AbstractTexture()
| Method Detail |
|---|
public boolean isValid()
Texture
isValid in interface Texturepublic Texture.Wrap getSWrappingMode()
Texture
getSWrappingMode in interface Texturepublic void setSWrappingMode(Texture.Wrap sWrappingMode)
Texture
setSWrappingMode in interface TexturesWrappingMode - the new wrapping mode on the first texture coordinate.public Texture.Wrap getTWrappingMode()
Texturenull.
For more information on wrapping mode {see Wrap}.
getTWrappingMode in interface Texturepublic void setTWrappingMode(Texture.Wrap tWrappingMode)
Texture
setTWrappingMode in interface TexturetWrappingMode - the new wrapping mode on the second texture coordinate.public Texture.Filter getMinifyingFilter()
Texture
getMinifyingFilter in interface Texturepublic void setMinifyingFilter(Texture.Filter minifyingFilter)
Texture
setMinifyingFilter in interface TextureminifyingFilter - the new minifying filter mode.public Texture.Filter getMagnificationFilter()
Texture
getMagnificationFilter in interface Texturepublic void setMagnificationFilter(Texture.Filter magnificationFilter)
Texture
setMagnificationFilter in interface TexturemagnificationFilter - the new minifying filter mode.public TextureDataProvider getDataProvider()
Texture
getDataProvider in interface Texturepublic void setDataProvider(TextureDataProvider provider)
Texture
setDataProvider in interface Textureprovider - the new texture data provider.public void setDrawer(TextureDrawer textureDrawer)
Texture
setDrawer in interface TexturetextureDrawer - the given texture drawer.public void dataUpdated()
DataUser
dataUpdated in interface DataUser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||