Package gaiasky.util.gdx.loader
Class OwnTextureLoader.OwnTextureParameter
java.lang.Object
com.badlogic.gdx.assets.AssetLoaderParameters<com.badlogic.gdx.graphics.Texture>
gaiasky.util.gdx.loader.OwnTextureLoader.OwnTextureParameter
- Direct Known Subclasses:
PFMTextureLoader.PFMTextureParameter
- Enclosing class:
- OwnTextureLoader
public static class OwnTextureLoader.OwnTextureParameter
extends com.badlogic.gdx.assets.AssetLoaderParameters<com.badlogic.gdx.graphics.Texture>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.badlogic.gdx.assets.AssetLoaderParameters
com.badlogic.gdx.assets.AssetLoaderParameters.LoadedCallback
-
Field Summary
Modifier and TypeFieldDescriptioncom.badlogic.gdx.graphics.Pixmap.Format
the format of the final Texture.boolean
whether to generate mipmapscom.badlogic.gdx.graphics.Texture.TextureFilter
com.badlogic.gdx.graphics.Texture.TextureFilter
boolean
Create a pixmap-backed texture which can be modified programmatically in the CPU.com.badlogic.gdx.graphics.Texture
The texture to put theTextureData
in, optional.com.badlogic.gdx.graphics.TextureData
TextureData for textures created on the fly, optional.com.badlogic.gdx.graphics.Texture.TextureWrap
com.badlogic.gdx.graphics.Texture.TextureWrap
Fields inherited from class com.badlogic.gdx.assets.AssetLoaderParameters
loadedCallback
-
Constructor Summary
-
Method Summary
-
Field Details
-
format
public com.badlogic.gdx.graphics.Pixmap.Format formatthe format of the final Texture. Uses the source images format if null -
genMipMaps
public boolean genMipMapswhether to generate mipmaps -
pixmapBacked
public boolean pixmapBackedCreate a pixmap-backed texture which can be modified programmatically in the CPU. Warning, slow! -
texture
public com.badlogic.gdx.graphics.Texture textureThe texture to put theTextureData
in, optional. -
textureData
public com.badlogic.gdx.graphics.TextureData textureDataTextureData for textures created on the fly, optional. When set, all format and genMipMaps are ignored -
minFilter
public com.badlogic.gdx.graphics.Texture.TextureFilter minFilter -
magFilter
public com.badlogic.gdx.graphics.Texture.TextureFilter magFilter -
wrapU
public com.badlogic.gdx.graphics.Texture.TextureWrap wrapU -
wrapV
public com.badlogic.gdx.graphics.Texture.TextureWrap wrapV
-
-
Constructor Details
-
OwnTextureParameter
public OwnTextureParameter()
-