com.jme3.asset
クラス TextureKey

java.lang.Object
  上位を拡張 com.jme3.asset.AssetKey<Texture>
      上位を拡張 com.jme3.asset.TextureKey
すべての実装されたインタフェース:
Savable

public class TextureKey
extends AssetKey<Texture>


コンストラクタの概要
TextureKey()
           
TextureKey(java.lang.String name)
           
TextureKey(java.lang.String name, boolean flipY)
           
 
メソッドの概要
 java.lang.Object createClonedInstance(java.lang.Object asset)
          Create a new instance of the asset, based on a prototype that is stored in the cache.
 boolean equals(java.lang.Object other)
           
 int getAnisotropy()
           
 Texture.Type getTextureTypeHint()
           
 boolean isAsCube()
           
 boolean isAsTexture3D()
           
 boolean isFlipY()
           
 boolean isGenerateMips()
           
 java.lang.Object postProcess(java.lang.Object asset)
          Do any post-processing on the resource after it has been loaded.
 void read(JmeImporter im)
           
 void setAnisotropy(int anisotropy)
           
 void setAsCube(boolean asCube)
           
 void setAsTexture3D(boolean asTexture3D)
           
 void setGenerateMips(boolean generateMips)
           
 void setTextureTypeHint(Texture.Type textureTypeHint)
           
 java.lang.String toString()
           
 boolean useSmartCache()
          Enable smart caching for textures
 void write(JmeExporter ex)
           
 
クラス com.jme3.asset.AssetKey から継承されたメソッド
getExtension, getFolder, getName, hashCode, reducePath, shouldCache
 
クラス java.lang.Object から継承されたメソッド
getClass, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

TextureKey

public TextureKey(java.lang.String name,
                  boolean flipY)

TextureKey

public TextureKey(java.lang.String name)

TextureKey

public TextureKey()
メソッドの詳細

toString

public java.lang.String toString()
オーバーライド:
クラス AssetKey<Texture> 内の toString

useSmartCache

public boolean useSmartCache()
Enable smart caching for textures

オーバーライド:
クラス AssetKey<Texture> 内の useSmartCache
戻り値:
true to enable smart cache

createClonedInstance

public java.lang.Object createClonedInstance(java.lang.Object asset)
クラス AssetKey の記述:
Create a new instance of the asset, based on a prototype that is stored in the cache. Implementations are allowed to return the given parameter as-is if it is considered that cloning is not necessary for that particular asset type.

オーバーライド:
クラス AssetKey<Texture> 内の createClonedInstance
パラメータ:
asset - The asset to be cloned.
戻り値:
The asset, possibly cloned.

postProcess

public java.lang.Object postProcess(java.lang.Object asset)
クラス AssetKey の記述:
Do any post-processing on the resource after it has been loaded.

オーバーライド:
クラス AssetKey<Texture> 内の postProcess

isFlipY

public boolean isFlipY()

getAnisotropy

public int getAnisotropy()

setAnisotropy

public void setAnisotropy(int anisotropy)

isAsCube

public boolean isAsCube()

setAsCube

public void setAsCube(boolean asCube)

isGenerateMips

public boolean isGenerateMips()

setGenerateMips

public void setGenerateMips(boolean generateMips)

isAsTexture3D

public boolean isAsTexture3D()

setAsTexture3D

public void setAsTexture3D(boolean asTexture3D)

equals

public boolean equals(java.lang.Object other)
オーバーライド:
クラス AssetKey<Texture> 内の equals

getTextureTypeHint

public Texture.Type getTextureTypeHint()

setTextureTypeHint

public void setTextureTypeHint(Texture.Type textureTypeHint)

write

public void write(JmeExporter ex)
           throws java.io.IOException
定義:
インタフェース Savable 内の write
オーバーライド:
クラス AssetKey<Texture> 内の write
例外:
java.io.IOException

read

public void read(JmeImporter im)
          throws java.io.IOException
定義:
インタフェース Savable 内の read
オーバーライド:
クラス AssetKey<Texture> 内の read
例外:
java.io.IOException