com.badlogic.gdx.graphics.g3d.decals
Class DecalMaterial

java.lang.Object
  extended by com.badlogic.gdx.graphics.g3d.decals.DecalMaterial

public class DecalMaterial
extends Object

Material used by the Decal class


Field Summary
static int NO_BLEND
           
 
Constructor Summary
DecalMaterial()
           
 
Method Summary
 boolean equals(Object o)
           
 int getDstBlendFactor()
           
 int getSrcBlendFactor()
           
 int hashCode()
           
 boolean isOpaque()
           
 void set()
          Binds the material's texture to the OpenGL context and changes the glBlendFunc to the values used by it.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_BLEND

public static final int NO_BLEND
See Also:
Constant Field Values
Constructor Detail

DecalMaterial

public DecalMaterial()
Method Detail

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.