Package zombie.core.textures
Class TextureID
java.lang.Object
zombie.asset.Asset
zombie.core.textures.TextureID
- All Implemented Interfaces:
Serializable
,IDestroyable
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class zombie.asset.Asset
Asset.ObserverCallback, Asset.State
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AssetType
static boolean
static boolean
protected ImageData
static final IntBuffer
protected int
protected int
protected int
protected int
protected String
protected boolean
static long
static float
static boolean
protected int
protected int
Fields inherited from class zombie.asset.Asset
m_asset_manager
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TextureID
(int int1, int int2, int int3) TextureID
(BufferedInputStream bufferedInputStream, String string, boolean boolean1) TextureID
(BufferedInputStream bufferedInputStream, String string, boolean boolean1, Texture.PZFileformat pZFileformat) TextureID
(AssetPath assetPath, AssetManager assetManager, TextureID.TextureIDAssetParams textureIDAssetParams) -
Method Summary
Modifier and TypeMethodDescriptionboolean
bind()
boolean
static TextureID
createSteamAvatar
(long long1) void
destroy()
void
getData()
int
getID()
getType()
boolean
boolean
boolean
isSolid()
void
setAssetParams
(AssetManager.AssetParams assetParams) void
setData
(ByteBuffer byteBuffer) void
setImageData
(ImageData imageData) void
setMagFilter
(int int1) void
setMinFilter
(int int1) Methods inherited from class zombie.asset.Asset
addDependency, getAssetManager, getObserverCb, getPath, getRefCount, getState, isEmpty, isFailure, isReady, onBeforeEmpty, onBeforeReady, onCreated, removeDependency
-
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 -
pathFileName
-
solid
protected boolean solid -
width
protected int width -
widthHW
protected int widthHW -
height
protected int height -
heightHW
protected int heightHW -
data
-
id
protected transient int id -
flags
protected int flags -
assetParams
-
deleteTextureIDS
-
ASSET_TYPE
-
-
Constructor Details
-
TextureID
public TextureID(AssetPath assetPath, AssetManager assetManager, TextureID.TextureIDAssetParams textureIDAssetParams) -
TextureID
protected TextureID() -
TextureID
public TextureID(int int1, int int2, int int3) -
TextureID
-
TextureID
-
TextureID
-
TextureID
- Throws:
Exception
-
TextureID
- Throws:
Exception
-
TextureID
public TextureID(BufferedInputStream bufferedInputStream, String string, boolean boolean1, Texture.PZFileformat pZFileformat) -
TextureID
public TextureID(BufferedInputStream bufferedInputStream, String string, boolean boolean1) throws Exception - Throws:
Exception
-
-
Method Details
-
createSteamAvatar
-
getID
public int getID() -
bind
public boolean bind() -
bindalways
public boolean bindalways() -
destroy
public void destroy()- Specified by:
destroy
in interfaceIDestroyable
-
freeMemory
public void freeMemory() -
getData
-
setData
-
getImageData
-
setImageData
-
getPathFileName
-
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyed
in interfaceIDestroyable
-
isSolid
public boolean isSolid() -
setMagFilter
public void setMagFilter(int int1) -
setMinFilter
public void setMinFilter(int int1) -
hasMipMaps
public boolean hasMipMaps() -
setAssetParams
- Overrides:
setAssetParams
in classAsset
-
getType
-