| Modifier and Type | Field and Description |
|---|---|
| protected float | |
| protected int | |
| public final int | glTarget
The target of this texture, used when binding the texture, e.g. GL_TEXTURE_2D |
| protected Texture. | |
| private static float | |
| protected Texture. | |
| protected Texture. | |
| protected Texture. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| protected void | |
| public void | dispose()
Implements com. Releases all resources of this object. |
| public float | getAnisotropicFilter()
Returns: The currently set anisotropic filtering level for the texture, or 1.0f if none has been set. |
| public abstract int | |
| public abstract int | |
| public Texture. | |
| public static float | getMaxAnisotropicFilterLevel()
Returns: The maximum supported anisotropic filtering level supported by the device. |
| public Texture. | |
| public int | |
| public Texture. | |
| public Texture. | |
| public abstract int | |
| public abstract boolean | |
| protected abstract void | |
| public float | Returns: The actual level set, which may be lower than the provided value due to device limitations.The desired level of filtering. The maximum level supported by the device up to this value will be used. level)Sets the anisotropic filter level for the texture. |
| public void | setFilter(Texture.
the minification filter minFilter,the magnification filter magFilterSets the |
| public void | setWrap(Texture.
the u wrap u,the v wrap vSets the |
| public float | Returns: The actual level set, which may be lower than the provided value due to device limitations.The desired level of filtering. The maximum level supported by the device up to this value will be used. level)Sets the anisotropic filter level for the texture. |
| public float | Returns: The actual level set, which may be lower than the provided value due to device limitations.The desired level of filtering. The maximum level supported by the device up to this value will be used. level, boolean True to always set the value, even if it is the same as the current values. force)Sets the anisotropic filter level for the texture. |
| public void | unsafeSetFilter(Texture.
the minification filter minFilter,the magnification filter magFilterSets the |
| public void | unsafeSetFilter(Texture.
the minification filter minFilter,the magnification filter magFilter,True to always set the values, even if they are the same as the current values. force)Sets the |
| public void | unsafeSetWrap(Texture.
the u wrap u,the v wrap vSets the |
| public void | unsafeSetWrap(Texture.
the u wrap u,the v wrap v,True to always set the values, even if they are the same as the current values. force)Sets the |
| protected static void | |
| public static void |
| anisotropicFilterLevel | back to summary |
|---|---|
| protected float anisotropicFilterLevel | |
| glHandle | back to summary |
|---|---|
| protected int glHandle | |
| glTarget | back to summary |
|---|---|
| public final int glTarget The target of this texture, used when binding the texture, e.g. GL_TEXTURE_2D | |
| magFilter | back to summary |
|---|---|
| protected Texture. | |
| maxAnisotropicFilterLevel | back to summary |
|---|---|
| private static float maxAnisotropicFilterLevel | |
| minFilter | back to summary |
|---|---|
| protected Texture. | |
| uWrap | back to summary |
|---|---|
| protected Texture. | |
| vWrap | back to summary |
|---|---|
| protected Texture. | |
| GLTexture | back to summary |
|---|---|
| public GLTexture(int glTarget) Generates a new OpenGL texture with the specified target. | |
| GLTexture | back to summary |
|---|---|
| public GLTexture(int glTarget, int glHandle) | |
| bind | back to summary |
|---|---|
| public void bind() Binds this texture. The texture will be bound to the currently active texture unit specified via
| |
| bind | back to summary |
|---|---|
| public void bind(int unit) Binds the texture to the given texture unit. Sets the currently active texture unit via
| |
| delete | back to summary |
|---|---|
| protected void delete() Destroys the OpenGL Texture as specified by the glHandle. | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements com. Doc from com. Releases all resources of this object.
| |
| getAnisotropicFilter | back to summary |
|---|---|
public float getAnisotropicFilter()
| |
| getDepth | back to summary |
|---|---|
public abstract int getDepth()
| |
| getHeight | back to summary |
|---|---|
public abstract int getHeight()
| |
| getMagFilter | back to summary |
|---|---|
public Texture.
| |
| getMaxAnisotropicFilterLevel | back to summary |
|---|---|
public static float getMaxAnisotropicFilterLevel()
| |
| getMinFilter | back to summary |
|---|---|
public Texture.
| |
| getTextureObjectHandle | back to summary |
|---|---|
public int getTextureObjectHandle()
| |
| getUWrap | back to summary |
|---|---|
public Texture.
| |
| getVWrap | back to summary |
|---|---|
public Texture.
| |
| getWidth | back to summary |
|---|---|
public abstract int getWidth()
| |
| isManaged | back to summary |
|---|---|
public abstract boolean isManaged()
| |
| reload | back to summary |
|---|---|
| protected abstract void reload() | |
| setAnisotropicFilter | back to summary |
|---|---|
| public float setAnisotropicFilter(float level) Sets the anisotropic filter level for the texture. This will bind the texture!
| |
| setFilter | back to summary |
|---|---|
| public void setFilter(Texture. Sets the
| |
| setWrap | back to summary |
|---|---|
| public void setWrap(Texture. Sets the
| |
| unsafeSetAnisotropicFilter | back to summary |
|---|---|
| public float unsafeSetAnisotropicFilter(float level) Sets the anisotropic filter level for the texture. Assumes the texture is bound and active!
| |
| unsafeSetAnisotropicFilter | back to summary |
|---|---|
| public float unsafeSetAnisotropicFilter(float level, boolean force) Sets the anisotropic filter level for the texture. Assumes the texture is bound and active!
| |
| unsafeSetFilter | back to summary |
|---|---|
| public void unsafeSetFilter(Texture. Sets the
| |
| unsafeSetFilter | back to summary |
|---|---|
| public void unsafeSetFilter(Texture. Sets the
| |
| unsafeSetWrap | back to summary |
|---|---|
| public void unsafeSetWrap(Texture. Sets the
| |
| unsafeSetWrap | back to summary |
|---|---|
| public void unsafeSetWrap(Texture. Sets the
| |
| uploadImageData | back to summary |
|---|---|
| protected static void uploadImageData(int target, TextureData data) | |
| uploadImageData | back to summary |
|---|---|
| public static void uploadImageData(int target, TextureData data, int miplevel) | |