public class ContentTextureKey extends 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 AssetCache> |
getCacheType() |
byte[] |
getContent() |
void |
read(JmeImporter im) |
java.lang.String |
toString() |
void |
write(JmeExporter ex) |
equals, getAnisotropy, getProcessorType, getTextureTypeHint, hashCode, isFlipY, isGenerateMips, setAnisotropy, setFlipY, setGenerateMips, setTextureTypeHintclone, getExtension, getExtension, getFolder, getFolder, getName, reducePathpublic ContentTextureKey(java.lang.String name,
byte[] content)
public byte[] getContent()
public java.lang.Class<? extends AssetCache> getCacheType()
getCacheType in class TextureKeySimpleAssetCache is returned.public java.lang.String toString()
toString in class TextureKeypublic void write(JmeExporter ex) throws java.io.IOException
write in interface Savablewrite in class TextureKeyjava.io.IOExceptionpublic void read(JmeImporter im) throws java.io.IOException
read in interface Savableread in class TextureKeyjava.io.IOException