Package com.jme3.scene.plugins.fbx
Class ContentTextureKey
java.lang.Object
com.jme3.asset.AssetKey<Texture>
com.jme3.asset.TextureKey
com.jme3.scene.plugins.fbx.ContentTextureKey
Used to load textures from image binary content.
Filename is required to acquire proper type asset loader according to extension.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends AssetCache>byte[]voidread(JmeImporter im) toString()voidwrite(JmeExporter ex) Methods inherited from class com.jme3.asset.TextureKey
equals, getAnisotropy, getProcessorType, getTextureTypeHint, hashCode, isFlipY, isGenerateMips, setAnisotropy, setFlipY, setGenerateMips, setTextureTypeHintMethods inherited from class com.jme3.asset.AssetKey
clone, getExtension, getExtension, getFolder, getFolder, getName, reducePath
-
Constructor Details
-
ContentTextureKey
-
-
Method Details
-
getContent
public byte[] getContent() -
getCacheType
- Overrides:
getCacheTypein classTextureKey- Returns:
- The preferred cache class for this asset type. Specify "null"
if caching is to be disabled. By default, the
SimpleAssetCacheis returned.
-
toString
- Overrides:
toStringin classTextureKey
-
write
- Specified by:
writein interfaceSavable- Overrides:
writein classTextureKey- Throws:
IOException
-
read
- Specified by:
readin interfaceSavable- Overrides:
readin classTextureKey- Throws:
IOException
-