| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
name
Texture name
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Texture o) |
boolean |
equals(java.lang.Object obj) |
TextureID |
get() |
int |
getRefCount() |
int |
hashCode() |
boolean |
isLoaded() |
int |
release()
Decrement reference counter
|
void |
set(TextureID id) |
java.lang.String |
toString() |
int |
use()
Increment reference counter
|
public Texture(TextureID id)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(Texture o)
compareTo in interface java.lang.Comparable<Texture>public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isLoaded()
public int getRefCount()
Texture reference counterpublic int use()
public int release()
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com