public class ContentTextureKey
extends com.jme3.asset.TextureKey
Filename is required to acquire proper type asset loader according to extension.
| Constructor and Description |
|---|
ContentTextureKey(java.lang.String name,
byte[] content) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<? extends com.jme3.asset.cache.AssetCache> |
getCacheType() |
byte[] |
getContent() |
void |
read(com.jme3.export.JmeImporter im) |
java.lang.String |
toString() |
void |
write(com.jme3.export.JmeExporter ex) |
equals, getAnisotropy, getProcessorType, getTextureTypeHint, hashCode, isFlipY, isGenerateMips, setAnisotropy, setFlipY, setGenerateMips, setTextureTypeHintpublic ContentTextureKey(java.lang.String name,
byte[] content)
public byte[] getContent()
public java.lang.Class<? extends com.jme3.asset.cache.AssetCache> getCacheType()
getCacheType in class com.jme3.asset.TextureKeypublic java.lang.String toString()
toString in class com.jme3.asset.TextureKeypublic void write(com.jme3.export.JmeExporter ex)
throws java.io.IOException
write in interface com.jme3.export.Savablewrite in class com.jme3.asset.TextureKeyjava.io.IOExceptionpublic void read(com.jme3.export.JmeImporter im)
throws java.io.IOException
read in interface com.jme3.export.Savableread in class com.jme3.asset.TextureKeyjava.io.IOException