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

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

public static class BlendOp.Premultiplied
extends BlendOp

Enforces blending that is designed for use with premultiplied-alpha images. Since these images already have their colors multiplied by their transparency, they need a variant on the normal blending function.

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.Premultiplied()
          Creates a BlendOp that will use premultiplied-alpha 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.Premultiplied

public BlendOp.Premultiplied()
Creates a BlendOp that will use premultiplied-alpha blending.