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
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends AssetCache>
byte[]
void
read
(JmeImporter im) toString()
void
write
(JmeExporter ex) Methods inherited from class com.jme3.asset.TextureKey
equals, getAnisotropy, getProcessorType, getTextureTypeHint, hashCode, isFlipY, isGenerateMips, setAnisotropy, setFlipY, setGenerateMips, setTextureTypeHint
Methods 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:
getCacheType
in classTextureKey
- Returns:
- The preferred cache class for this asset type. Specify "null"
if caching is to be disabled. By default, the
SimpleAssetCache
is returned.
-
toString
- Overrides:
toString
in classTextureKey
-
write
- Specified by:
write
in interfaceSavable
- Overrides:
write
in classTextureKey
- Throws:
IOException
-
read
- Specified by:
read
in interfaceSavable
- Overrides:
read
in classTextureKey
- Throws:
IOException
-