Class DynamicCubemapTexture

java.lang.Object
net.minecraft.client.renderer.texture.AbstractTexture
foundry.veil.api.client.render.texture.CubemapTexture
foundry.veil.api.client.render.texture.DynamicCubemapTexture
All Implemented Interfaces:
AutoCloseable

public class DynamicCubemapTexture extends CubemapTexture
  • Field Summary

    Fields inherited from class net.minecraft.client.renderer.texture.AbstractTexture

    blur, id, mipmap, NOT_ASSIGNED
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    load(net.minecraft.server.packs.resources.ResourceManager resourceManager)
     
    void
    upload(int face, com.mojang.blaze3d.platform.NativeImage image)
     
    void
    upload(net.minecraft.core.Direction face, com.mojang.blaze3d.platform.NativeImage image)
     

    Methods inherited from class foundry.veil.api.client.render.texture.CubemapTexture

    bind, getGlFace, setFilter

    Methods inherited from class net.minecraft.client.renderer.texture.AbstractTexture

    close, getId, releaseId, reset

    Methods inherited from class java.lang.Object

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

    • DynamicCubemapTexture

      public DynamicCubemapTexture()
  • Method Details

    • upload

      public void upload(net.minecraft.core.Direction face, com.mojang.blaze3d.platform.NativeImage image)
    • upload

      public void upload(int face, com.mojang.blaze3d.platform.NativeImage image)
    • load

      public void load(net.minecraft.server.packs.resources.ResourceManager resourceManager) throws IOException
      Specified by:
      load in class net.minecraft.client.renderer.texture.AbstractTexture
      Throws:
      IOException