Package icyllis.arc3d.core.effects
Class ComposeColorFilter
java.lang.Object
icyllis.arc3d.core.RefCnt
icyllis.arc3d.core.effects.ComposeColorFilter
- All Implemented Interfaces:
ColorFilter,RefCounted
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionprotected voidOverride this method to invoke de-allocation of the underlying resource.voidfilterColor4f(float[] col, float[] out, ColorSpace dstCS) Applies this color filter with RGBA colors.getAfter()booleanReturns the flags for this filter.Methods inherited from class icyllis.arc3d.core.RefCnt
create, create, getRefCnt, getRefCntAcquire, getRefCntVolatile, move, move, ref, unique, unrefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface icyllis.arc3d.core.effects.ColorFilter
andThen, compose, filterColorMethods inherited from interface icyllis.arc3d.core.RefCounted
ref, unref
-
Method Details
-
deallocate
protected void deallocate()Description copied from class:RefCntOverride this method to invoke de-allocation of the underlying resource.- Specified by:
deallocatein classRefCnt
-
getBefore
-
getAfter
-
isAlphaUnchanged
public boolean isAlphaUnchanged()Description copied from interface:ColorFilterReturns the flags for this filter. Override in subclasses to return custom flags.- Specified by:
isAlphaUnchangedin interfaceColorFilter
-
filterColor4f
Description copied from interface:ColorFilterApplies this color filter with RGBA colors. col and out store premultiplied R,G,B,A components from index 0 to 3. col and out can be the same pointer. col is read-only, out may be written multiple times.- Specified by:
filterColor4fin interfaceColorFilter- Parameters:
col- base colorout- resulting colordstCS- destination color space
-