|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mascotcapsule.micro3d.v3.Texture
This class maintains textures. It loads meta textures and maintains texture data. It can handle model or environment mapping textures.
Constructor Summary | |
Texture(byte[] b,
boolean isForModel)
Generates texture object data from meta texture data. |
|
Texture(java.lang.String name,
boolean isForModel)
The texture object is generated from meta texture data specified by the resource. |
Method Summary | |
void |
dispose()
Disposes of maintained texture data |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Texture(byte[] b, boolean isForModel)
b
- Data byte columnisForModel
- For model?
(True if for model, false if for environment)
java.lang.NullPointerException
- When argument is null.
java.lang.RuntimeException
- Generates when object generation fails, such as for false data.public Texture(java.lang.String name, boolean isForModel) throws java.io.IOException
name
- Resource file nameisForModel
- For model?
(True if for model, false if for environment)
java.lang.NullPointerException
- When argument name is null.
java.lang.RuntimeException
- Generates when object generation fails, such as for false data.
java.io.IOException
- I/O eror upon reading data.Method Detail |
public final void dispose()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |