java.lang.Object
gaiasky.util.gdx.model.gltf.loaders.shared.texture.TextureResolver
All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable

public class TextureResolver extends Object implements com.badlogic.gdx.utils.Disposable
  • Field Details

    • texturesSimple

      protected final com.badlogic.gdx.utils.ObjectMap<Integer,com.badlogic.gdx.graphics.Texture> texturesSimple
    • texturesMipmap

      protected final com.badlogic.gdx.utils.ObjectMap<Integer,com.badlogic.gdx.graphics.Texture> texturesMipmap
    • glTextures

      protected com.badlogic.gdx.utils.Array<GLTFTexture> glTextures
    • glSamplers

      protected com.badlogic.gdx.utils.Array<GLTFSampler> glSamplers
  • Constructor Details

    • TextureResolver

      public TextureResolver()
  • Method Details

    • loadTextures

      public void loadTextures(com.badlogic.gdx.utils.Array<GLTFTexture> glTextures, com.badlogic.gdx.utils.Array<GLTFSampler> glSamplers, ImageResolver imageResolver)
    • getTexture

      public com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<com.badlogic.gdx.graphics.Texture> getTexture(GLTFTextureInfo glMap)
    • dispose

      public void dispose()
      Specified by:
      dispose in interface com.badlogic.gdx.utils.Disposable
    • getTextures

      public com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.Texture> getTextures(com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.Texture> textures)