Class TextureID

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

public final class TextureID extends Asset implements IDestroyable, Serializable
See Also:
  • Field Details

    • 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
    • assetParams

      public TextureID.TextureIDAssetParams assetParams
    • deleteTextureIDS

      public static final IntBuffer deleteTextureIDS
    • ASSET_TYPE

      public static final AssetType ASSET_TYPE
  • Constructor Details

  • Method Details

    • createSteamAvatar

      public static TextureID createSteamAvatar(long steamID)
    • getID

      public int getID()
    • bind

      public boolean bind()
      binds the current texture
    • bindalways

      public boolean bindalways()
    • destroy

      public void destroy()
      Description copied from interface: IDestroyable
      destory the object
      Specified by:
      destroy in interface IDestroyable
    • freeMemory

      public void freeMemory()
      free memory space
    • getData

      public WrappedBuffer getData()
    • setData

      public void setData(ByteBuffer bdata)
      if the data is null will be free the memory from the RAM but not from the VRAM
    • getImageData

      public ImageData getImageData()
    • setImageData

      public void setImageData(ImageData data)
    • getPathFileName

      public String getPathFileName()
    • isDestroyed

      public boolean isDestroyed()
      Description copied from interface: IDestroyable
      returns if the object is destryed or not
      Specified by:
      isDestroyed in interface IDestroyable
    • isSolid

      public boolean isSolid()
    • setMagFilter

      public void setMagFilter(int filter)
    • setMinFilter

      public void setMinFilter(int filter)
    • hasMipMaps

      public boolean hasMipMaps()
    • setAssetParams

      public void setAssetParams(AssetManager.AssetParams params)
      Overrides:
      setAssetParams in class Asset
    • getType

      public AssetType getType()
      Specified by:
      getType in class Asset