Class SimpleCubemapTexture.TextureImage

java.lang.Object
foundry.veil.api.client.render.texture.SimpleCubemapTexture.TextureImage
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
SimpleCubemapTexture

protected static class SimpleCubemapTexture.TextureImage extends Object implements Closeable
  • Constructor Details

    • TextureImage

      public TextureImage(IOException exception)
    • TextureImage

      public TextureImage(@Nullable net.minecraft.client.resources.metadata.texture.TextureMetadataSection metadata, com.mojang.blaze3d.platform.NativeImage image)
  • Method Details

    • load

      public static SimpleCubemapTexture.TextureImage load(net.minecraft.server.packs.resources.ResourceManager resourceManager, net.minecraft.resources.ResourceLocation location)
    • getTextureMetadata

      @Nullable public net.minecraft.client.resources.metadata.texture.TextureMetadataSection getTextureMetadata()
    • getImage

      public com.mojang.blaze3d.platform.NativeImage getImage() throws IOException
      Throws:
      IOException
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • throwIfError

      public void throwIfError() throws IOException
      Throws:
      IOException