com.badlogic.gdx.graphics.g3d.decals
Class DecalMaterial
java.lang.Object
com.badlogic.gdx.graphics.g3d.decals.DecalMaterial
public class DecalMaterial
- extends java.lang.Object
Material used by the Decal
class
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
NO_BLEND
public static final int NO_BLEND
- See Also:
- Constant Field Values
textureRegion
protected TextureRegion textureRegion
srcBlendFactor
protected int srcBlendFactor
dstBlendFactor
protected int dstBlendFactor
DecalMaterial
public DecalMaterial()
set
public void set()
- Binds the material's texture to the OpenGL context and changes the glBlendFunc to the values used by it.
isOpaque
public boolean isOpaque()
- Returns:
- true if the material is completely opaque, false if it is not and therefor requires blending
getSrcBlendFactor
public int getSrcBlendFactor()
getDstBlendFactor
public int getDstBlendFactor()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)