com.motorola.graphics.j3d
Class Texture
java.lang.Object
|
+--com.motorola.graphics.j3d.Texture
- public class Texture
- extends java.lang.Object
Texture class.
This class handles texture data for model use and for sphere mapping use.
|
Constructor Summary |
Texture(byte[] data,
boolean isForModel)
Texture constructor |
Texture(java.lang.String name,
boolean isForModel)
Texture constructor |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Texture
public Texture(byte[] data,
boolean isForModel)
- Texture constructor
- Parameters:
data - Texture dataisForModel - Whether the texture is for model use
(true: for model use, false: for sphere mapping use)- Throws:
NullPointerException - if data is null.RuntimeException - if creation failed.IllegalStateException - if called during sprite execution.
Texture
public Texture(java.lang.String name,
boolean isForModel)
throws java.io.IOException
- Texture constructor
- Parameters:
name - Resource nameisForModel - Whether the texture is for model use
(true: for model use, false: for sphere mapping use)- Throws:
NullPointerException - if resource name is null.RuntimeException - if creation failed.java.io.IOException - if the resource could not be opened.IllegalStateException - if called during sprite execution.
Copyright 2003 Aplix Corporation. All rights reserved. Aplix Confidential and Restricted.