Package gaiasky.util.gdx.graphics
Class TextureView
java.lang.Object
com.badlogic.gdx.graphics.GLTexture
gaiasky.util.gdx.graphics.TextureView
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
public class TextureView
extends com.badlogic.gdx.graphics.GLTexture
-
Field Summary
Fields inherited from class com.badlogic.gdx.graphics.GLTexture
anisotropicFilterLevel, glHandle, glTarget, magFilter, minFilter, uWrap, vWrap
-
Constructor Summary
-
Method Summary
Methods inherited from class com.badlogic.gdx.graphics.GLTexture
bind, bind, delete, dispose, getAnisotropicFilter, getMagFilter, getMaxAnisotropicFilterLevel, getMinFilter, getTextureObjectHandle, getUWrap, getVWrap, setAnisotropicFilter, setFilter, setWrap, unsafeSetAnisotropicFilter, unsafeSetAnisotropicFilter, unsafeSetFilter, unsafeSetFilter, unsafeSetWrap, unsafeSetWrap, uploadImageData, uploadImageData
-
Constructor Details
-
TextureView
public TextureView() -
TextureView
public TextureView(int glHandle, int width, int height)
-
-
Method Details
-
setTexture
public void setTexture(int glHandle, int width, int height) -
getWidth
public int getWidth()- Specified by:
getWidth
in classcom.badlogic.gdx.graphics.GLTexture
-
getHeight
public int getHeight()- Specified by:
getHeight
in classcom.badlogic.gdx.graphics.GLTexture
-
getDepth
public int getDepth()- Specified by:
getDepth
in classcom.badlogic.gdx.graphics.GLTexture
-
isManaged
public boolean isManaged()- Specified by:
isManaged
in classcom.badlogic.gdx.graphics.GLTexture
-
reload
protected void reload()- Specified by:
reload
in classcom.badlogic.gdx.graphics.GLTexture
-