Class TextureID

java.lang.Object
zombie.core.textures.TextureID
All Implemented Interfaces:
java.io.Serializable, IDestroyable

public class TextureID
extends java.lang.Object
implements IDestroyable, java.io.Serializable
See Also:
Serialized Form
  • Field Details

    • USE_MIPMAP

      public static boolean USE_MIPMAP
    • FREE_MEMORY

      public static boolean FREE_MEMORY
    • TextureIDMap

      public static java.util.HashMap TextureIDMap
    • TextureIDStack

      public static java.util.Stack TextureIDStack
    • data

      protected transient ImageData data
    • height

      protected int height
    • heightHW

      protected int heightHW
    • id

      protected transient int id
    • idBuffer

      protected transient java.nio.IntBuffer idBuffer
    • pathFileName

      protected java.lang.String pathFileName
    • solid

      protected boolean solid
    • width

      protected int width
    • widthHW

      protected int widthHW
    • totalGraphicMemory

      public static long totalGraphicMemory
    • UseFiltering

      public static boolean UseFiltering
    • bUseCompression

      public static boolean bUseCompression
    • bUseCompressionOption

      public static boolean bUseCompressionOption
    • totalMemUsed

      public static float totalMemUsed
  • Constructor Details

    • TextureID

      protected TextureID()
    • TextureID

      public TextureID​(int int1, int int2)
    • TextureID

      public TextureID​(ImageData imageData)
    • TextureID

      public TextureID​(java.lang.String string, java.lang.String string2)
    • TextureID

      public TextureID​(java.lang.String string, int[] intArray)
    • TextureID

      public TextureID​(java.lang.String string, int int1, int int2, int int3)
    • TextureID

      public TextureID​(java.lang.String string)
    • TextureID

      public TextureID​(java.io.BufferedInputStream bufferedInputStream, java.lang.String string, boolean boolean1, Texture.PZFileformat pZFileformat)
    • TextureID

      public TextureID​(java.io.BufferedInputStream bufferedInputStream, java.lang.String string, boolean boolean1)
  • Method Details

    • createSteamAvatar

      public static TextureID createSteamAvatar​(long long1)
    • bind

      public boolean bind()
    • bindalways

      public boolean bindalways()
    • destroy

      public void destroy()
      Specified by:
      destroy in interface IDestroyable
    • freeMemory

      public void freeMemory()
    • getData

      public WrappedBuffer getData()
    • getImageData

      public ImageData getImageData()
    • getPathFileName

      public java.lang.String getPathFileName()
    • isDestroyed

      public boolean isDestroyed()
      Specified by:
      isDestroyed in interface IDestroyable
    • isSolid

      public boolean isSolid()
    • setData

      public void setData​(java.nio.ByteBuffer byteBuffer)
    • setImageData

      public void setImageData​(ImageData imageData)
    • generateMipmap

      public void generateMipmap()