Decal class
| Modifier and Type | Field and Description |
|---|---|
| protected int | |
| public static final int | |
| protected int | |
| protected TextureRegion |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| public int | |
| public int | |
| public boolean | isOpaque()
Returns: true if the material is completely opaque, false if it is not and therefor requires blending |
| public void | set()
Binds the material's texture to the OpenGL context and changes the glBlendFunc to the values used by it. |
| dstBlendFactor | back to summary |
|---|---|
| protected int dstBlendFactor | |
| NO_BLEND | back to summary |
|---|---|
| public static final int NO_BLEND | |
| srcBlendFactor | back to summary |
|---|---|
| protected int srcBlendFactor | |
| textureRegion | back to summary |
|---|---|
| protected TextureRegion textureRegion | |
| DecalMaterial | back to summary |
|---|---|
| public DecalMaterial() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getDstBlendFactor | back to summary |
|---|---|
| public int getDstBlendFactor() | |
| getSrcBlendFactor | back to summary |
|---|---|
| public int getSrcBlendFactor() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isOpaque | back to summary |
|---|---|
public boolean isOpaque()
| |
| set | back to summary |
|---|---|
| public void set() Binds the material's texture to the OpenGL context and changes the glBlendFunc to the values used by it. | |