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

    Fields
    Modifier and Type
    Field
    Description
    com.badlogic.gdx.graphics.Pixmap.Format
    the format of the final Texture.
    boolean
    whether to generate mipmaps
    com.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 the TextureData 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • format

      public com.badlogic.gdx.graphics.Pixmap.Format format
      the format of the final Texture. Uses the source images format if null
    • genMipMaps

      public boolean genMipMaps
      whether to generate mipmaps
    • pixmapBacked

      public boolean pixmapBacked
      Create a pixmap-backed texture which can be modified programmatically in the CPU. Warning, slow!
    • texture

      public com.badlogic.gdx.graphics.Texture texture
      The texture to put the TextureData in, optional.
    • textureData

      public com.badlogic.gdx.graphics.TextureData textureData
      TextureData 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()