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

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

public static class BlendOp.Overlay
extends BlendOp

Enforces blending that will cause any images to be limited to the color they are being rendered on top of. The result of this is that you get a "darken only" effect, where the result of a render can only be as bright as the color above it. This should only be used with premultiplied alpha images or with full-alpha (non-transparent) images. It's limited in that it doesn't take the transparency of the source image into account.

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.Overlay()
          Creates a BlendOp that will use overlay 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.Overlay

public BlendOp.Overlay()
Creates a BlendOp that will use overlay blending.