| java.lang.Object | |
| ↳ | casmi.image.Texture |
Texture class. Wrap JOGL and make it easy to use.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | LINES | ||||||||||
| int | LINES_3D | ||||||||||
| int | LINE_LOOP | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| height | |||||||||||
| image | |||||||||||
| requireToLoad | |||||||||||
| requireToReload | |||||||||||
| width | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new Texture using the Image's path.
| |||||||||||
Creates a new Texture using the Image's url.
| |||||||||||
Creates a new Texture using the Image.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Flips the way of mapping the texture.
| |||||||||||
Gets the height of this Texture.
| |||||||||||
Gets the width of this Texture.
| |||||||||||
Rotates the way of mapping the texture.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a new Texture using the Image's path.
| path | The path of Image. |
|---|
Creates a new Texture using the Image's url.
| url | The url of Image. |
|---|
Creates a new Texture using the Image.
| image | The Image of this Texture. |
|---|
Flips the way of mapping the texture.
| mode | The alignment of the position of the Texture. |
|---|
Gets the height of this Texture.
Gets the width of this Texture.
Rotates the way of mapping the texture.
| mode | The alignment of the position of the Texture. |
|---|