org.jrabbit.base.graphics.transforms
Class BlendOp.Additive

java.lang.Object
  extended by org.jrabbit.base.graphics.transforms.BlendOp
      extended by org.jrabbit.base.graphics.transforms.BlendOp.Additive
All Implemented Interfaces:
GLTransform
Enclosing class:
BlendOp

public static class BlendOp.Additive
extends BlendOp

Enforces "additive" blending - where colors only get brighter, not darker. This form of additive also takes the transparency of images into account. Additive blending is VERY useful for rendering "bright" effects, like fire, lasers, explosions, etc.

Author:
Chris Molini

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jrabbit.base.graphics.transforms.BlendOp
BlendOp.Additive, BlendOp.Normal, BlendOp.Overlay, BlendOp.Premultiplied, BlendOp.Replace
 
Field Summary
 
Fields inherited from class org.jrabbit.base.graphics.transforms.BlendOp
ADDITIVE, dstFactor, NORMAL, OVERLAY, PREMULTIPLIED, REPLACE, srcFactor
 
Constructor Summary
BlendOp.Additive()
          Creates a BlendOp that will use additive blending.
 
Method Summary
 
Methods inherited from class org.jrabbit.base.graphics.transforms.BlendOp
bind, dstFactor, equals, release, set, setDstFactor, setSrcFactor, srcFactor
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlendOp.Additive

public BlendOp.Additive()
Creates a BlendOp that will use additive blending.