espresso3d.engine.renderer.base
Class E3DBlendMode

java.lang.Object
  extended byespresso3d.engine.base.E3DEngineItem
      extended byespresso3d.engine.renderer.base.E3DBlendMode

public class E3DBlendMode
extends E3DEngineItem

Author:
Curt TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
static int BLENDMODE_BLEND
          If an object supports blending and its blendmode is blend, the object will blend with the scene.
static int BLENDMODE_SOLID
          If an object supports blending and its blendmode is solid, no blending will occur.
 
Constructor Summary
E3DBlendMode(E3DEngine engine)
           
E3DBlendMode(E3DEngine engine, int blendMode)
           
 
Method Summary
 int getBlendMode()
           
 void setBlendMode(int blendMode)
           
 
Methods inherited from class espresso3d.engine.base.E3DEngineItem
getEngine, setEngine
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BLENDMODE_SOLID

public static final int BLENDMODE_SOLID
If an object supports blending and its blendmode is solid, no blending will occur. The object will be opaque.

See Also:
Constant Field Values

BLENDMODE_BLEND

public static final int BLENDMODE_BLEND
If an object supports blending and its blendmode is blend, the object will blend with the scene. Any alpha information in the texture on the object (if it has a texture) will also be used and make those sections of the texture transparent/translucent.

See Also:
Constant Field Values
Constructor Detail

E3DBlendMode

public E3DBlendMode(E3DEngine engine)

E3DBlendMode

public E3DBlendMode(E3DEngine engine,
                    int blendMode)
Method Detail

getBlendMode

public int getBlendMode()

setBlendMode

public void setBlendMode(int blendMode)