Package com.badlogic.gdx.assets.loaders
Class TextureLoader.TextureParameter
- java.lang.Object
-
- com.badlogic.gdx.assets.AssetLoaderParameters<Texture>
-
- com.badlogic.gdx.assets.loaders.TextureLoader.TextureParameter
-
- Enclosing class:
- TextureLoader
public static class TextureLoader.TextureParameter extends AssetLoaderParameters<Texture>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.badlogic.gdx.assets.AssetLoaderParameters
AssetLoaderParameters.LoadedCallback
-
-
Field Summary
Fields Modifier and Type Field Description Pixmap.Formatformatthe format of the final Texture.booleangenMipMapswhether to generate mipmapsTexture.TextureFiltermagFilterTexture.TextureFilterminFilterTexturetextureThe texture to put theTextureDatain, optional.TextureDatatextureDataTextureData for textures created on the fly, optional.Texture.TextureWrapwrapUTexture.TextureWrapwrapV-
Fields inherited from class com.badlogic.gdx.assets.AssetLoaderParameters
loadedCallback
-
-
Constructor Summary
Constructors Constructor Description TextureParameter()
-
-
-
Field Detail
-
format
public Pixmap.Format format
the format of the final Texture. Uses the source images format if null
-
genMipMaps
public boolean genMipMaps
whether to generate mipmaps
-
texture
public Texture texture
The texture to put theTextureDatain, optional.
-
textureData
public TextureData textureData
TextureData for textures created on the fly, optional. When set, all format and genMipMaps are ignored
-
minFilter
public Texture.TextureFilter minFilter
-
magFilter
public Texture.TextureFilter magFilter
-
wrapU
public Texture.TextureWrap wrapU
-
wrapV
public Texture.TextureWrap wrapV
-
-