com.badlogic.gdx.graphics.g3d.decals
Class DecalMaterial
java.lang.Object
com.badlogic.gdx.graphics.g3d.decals.DecalMaterial
public class DecalMaterial
- extends Object
Material used by the Decal
class
NO_BLEND
public static final int NO_BLEND
- See Also:
- Constant Field Values
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(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2013. All Rights Reserved.