Class GlTexture

java.lang.Object
com.mojang.blaze3d.textures.GpuTexture
com.mojang.blaze3d.opengl.GlTexture
All Implemented Interfaces:
AutoCloseable

public class GlTexture extends GpuTexture
  • Field Details

    • id

      protected final int id
    • fboCache

      private final it.unimi.dsi.fastutil.ints.Int2IntMap fboCache
    • closed

      protected boolean closed
    • modesDirty

      protected boolean modesDirty
    • views

      private int views
    • external

      protected final boolean external
  • Constructor Details

    • GlTexture

      protected GlTexture(int pUsage, String pLabel, TextureFormat pFormat, int pWidth, int pHeight, int pDepthOrLayers, int pMipLevels, int pId)
    • GlTexture

      protected GlTexture(int pUsage, String pLabel, TextureFormat pFormat, int pWidth, int pHeight, int pDepthOrLayers, int pMipLevels, int pId, boolean external)
  • Method Details