public class CIBlendKernel extends CIColorKernel
Blend kernel functions are declared akin to this example: kernel vec4 myBlendKernel (__sample fore, __sample back)
A blend kernel function must have exactly two arguments of type __sample. The first argument represents the value of the source pixel and the second represents that of the old destination. The vec4 returned by the kernel will be the new destination color. The kernel should not call sample(), samplerCoord(), or samplerTransform(). The function must return a vec4 pixel color.
CIKernel.Block_applyWithExtentRoiCallbackArgumentsNSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
CIBlendKernel(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static CIBlendKernel |
alloc() |
static CIBlendKernel |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
CIImage |
applyWithForegroundBackground(CIImage foreground,
CIImage background)
Apply the receiver CIBlendKernel to produce a new CIImage object
by blending a foreground and background images.
|
CIImage |
applyWithForegroundBackgroundColorSpace(CIImage foreground,
CIImage background,
CGColorSpaceRef colorSpace)
Apply the receiver CIBlendKernel to produce a new CIImage object
by blending a foreground and background images in the specifid colorspace.
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static CIBlendKernel |
clear()
Porter Duff
http://dl.acm.org/citation.cfm?id=808606
|
static CIBlendKernel |
color() |
static CIBlendKernel |
colorBurn() |
static CIBlendKernel |
colorDodge() |
static CIBlendKernel |
componentAdd()
Component-wise operators
|
static CIBlendKernel |
componentMax() |
static CIBlendKernel |
componentMin() |
static CIBlendKernel |
componentMultiply() |
static CIBlendKernel |
darken() |
static CIBlendKernel |
darkerColor() |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
static CIBlendKernel |
destination() |
static CIBlendKernel |
destinationAtop() |
static CIBlendKernel |
destinationIn() |
static CIBlendKernel |
destinationOut() |
static CIBlendKernel |
destinationOver() |
static CIBlendKernel |
difference() |
static CIBlendKernel |
divide() |
static CIBlendKernel |
exclusion() |
static CIBlendKernel |
exclusiveOr() |
static CIBlendKernel |
hardLight() |
static CIBlendKernel |
hardMix() |
static long |
hash_static() |
static CIBlendKernel |
hue()
Standard nonseparable blend modes
|
CIBlendKernel |
init() |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSArray<java.lang.String> |
kernelNamesFromMetalLibraryData(NSData data) |
static NSArray<? extends CIKernel> |
kernelsWithMetalStringError(java.lang.String source,
org.moe.natj.general.ptr.Ptr<NSError> error) |
static NSArray<? extends CIKernel> |
kernelsWithString(java.lang.String string) |
static CIBlendKernel |
kernelWithFunctionNameFromMetalLibraryDataError(java.lang.String name,
NSData data,
org.moe.natj.general.ptr.Ptr<NSError> error) |
static CIBlendKernel |
kernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError(java.lang.String name,
NSData data,
int format,
org.moe.natj.general.ptr.Ptr<NSError> error) |
static CIBlendKernel |
kernelWithString(java.lang.String string)
The string argument should contain a program with one custom blend kernel.
|
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static CIBlendKernel |
lighten() |
static CIBlendKernel |
lighterColor() |
static CIBlendKernel |
linearBurn() |
static CIBlendKernel |
linearDodge() |
static CIBlendKernel |
linearLight() |
static CIBlendKernel |
luminosity() |
static CIBlendKernel |
multiply()
Standard separable blend modes
|
static CIBlendKernel |
new_objc() |
static CIBlendKernel |
overlay() |
static CIBlendKernel |
pinLight() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
static CIBlendKernel |
saturation() |
static CIBlendKernel |
screen() |
static void |
setVersion_static(long aVersion) |
static CIBlendKernel |
softLight() |
static CIBlendKernel |
source() |
static CIBlendKernel |
sourceAtop() |
static CIBlendKernel |
sourceIn() |
static CIBlendKernel |
sourceOut() |
static CIBlendKernel |
sourceOver() |
static CIBlendKernel |
subtract()
Additional blend modes
|
static org.moe.natj.objc.Class |
superclass_static() |
static long |
version_static() |
static CIBlendKernel |
vividLight() |
applyWithExtentArgumentsapplyWithExtentRoiCallbackArguments, name, setROISelectoraccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static CIBlendKernel alloc()
public static CIBlendKernel allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public CIImage applyWithForegroundBackground(CIImage foreground, CIImage background)
The 'extent' of the result image will be determined by the reciver and the extent of the forground and background images. For most of the builtin blend kernels (as well as custom blend kernels) the result image extent will be the union of the forground and background image extents.
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static CIBlendKernel clear()
public static CIBlendKernel color()
public static CIBlendKernel colorBurn()
public static CIBlendKernel colorDodge()
public static CIBlendKernel componentAdd()
public static CIBlendKernel componentMax()
public static CIBlendKernel componentMin()
public static CIBlendKernel componentMultiply()
public static CIBlendKernel darken()
public static CIBlendKernel darkerColor()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static CIBlendKernel destination()
public static CIBlendKernel destinationAtop()
public static CIBlendKernel destinationIn()
public static CIBlendKernel destinationOut()
public static CIBlendKernel destinationOver()
public static CIBlendKernel difference()
public static CIBlendKernel divide()
public static CIBlendKernel exclusion()
public static CIBlendKernel exclusiveOr()
public static CIBlendKernel hardLight()
public static CIBlendKernel hardMix()
public static long hash_static()
public static CIBlendKernel hue()
public CIBlendKernel init()
init in class CIColorKernelpublic static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static CIBlendKernel kernelWithFunctionNameFromMetalLibraryDataError(java.lang.String name, NSData data, org.moe.natj.general.ptr.Ptr<NSError> error)
public static CIBlendKernel kernelWithFunctionNameFromMetalLibraryDataOutputPixelFormatError(java.lang.String name, NSData data, int format, org.moe.natj.general.ptr.Ptr<NSError> error)
public static CIBlendKernel kernelWithString(java.lang.String string)
public static NSArray<? extends CIKernel> kernelsWithString(java.lang.String string)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static CIBlendKernel lighten()
public static CIBlendKernel lighterColor()
public static CIBlendKernel linearBurn()
public static CIBlendKernel linearDodge()
public static CIBlendKernel linearLight()
public static CIBlendKernel luminosity()
public static CIBlendKernel multiply()
public static CIBlendKernel new_objc()
public static CIBlendKernel overlay()
public static CIBlendKernel pinLight()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static CIBlendKernel saturation()
public static CIBlendKernel screen()
public static void setVersion_static(long aVersion)
public static CIBlendKernel softLight()
public static CIBlendKernel source()
public static CIBlendKernel sourceAtop()
public static CIBlendKernel sourceIn()
public static CIBlendKernel sourceOut()
public static CIBlendKernel sourceOver()
public static CIBlendKernel subtract()
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public static CIBlendKernel vividLight()
public CIImage applyWithForegroundBackgroundColorSpace(CIImage foreground, CIImage background, CGColorSpaceRef colorSpace)
The 'extent' of the result image will be determined by the reciver and the extent of the forground and background images. For most of the builtin blend kernels (as well as custom blend kernels) the result image extent will be the union of the forground and background image extents.
public static NSArray<java.lang.String> kernelNamesFromMetalLibraryData(NSData data)