public class CIRenderDestination extends NSObject
| Modifier and Type | Class and Description |
|---|---|
static interface |
CIRenderDestination.Block_initWithWidthHeightPixelFormatCommandBufferMtlTextureProvider |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
CIRenderDestination(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static CIRenderDestination |
alloc() |
static CIRenderDestination |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
long |
alphaMode()
This property will defualt to an appropriate value given
the object that the CIRenderDestination was initialized with.
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
CIBlendKernel |
blendKernel()
Allow client to specify a CIBlendKernel (e.g.
|
boolean |
blendsInDestinationColorSpace()
If true, then the blendKernel is applied in the destination's colorSpace.
|
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() |
CGColorSpaceRef |
colorSpace()
This property will defualt to an appropriate value given
the object that the CIRenderDestination was initialized with.
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
static long |
hash_static() |
long |
height() |
CIRenderDestination |
init() |
CIRenderDestination |
initWithBitmapDataWidthHeightBytesPerRowFormat(org.moe.natj.general.ptr.VoidPtr data,
long width,
long height,
long bytesPerRow,
int format)
Create a CIRenderDestination based on client-managed buffer.
|
CIRenderDestination |
initWithGLTextureTargetWidthHeight(int texture,
int target,
long width,
long height)
Create a CIRenderDestination based on an OpenGL texture.
|
CIRenderDestination |
initWithIOSurface(IOSurface surface)
Create a CIRenderDestination based on an IOSurface object.
|
CIRenderDestination |
initWithMTLTextureCommandBuffer(MTLTexture texture,
MTLCommandBuffer commandBuffer)
A render to a MTLTexture-backed CIRenderDestination is only supported by MTLTexture-backed CIContexts.
|
CIRenderDestination |
initWithPixelBuffer(CVBufferRef pixelBuffer)
Create a CIRenderDestination based on a CVPixelBufferRef object.
|
CIRenderDestination |
initWithWidthHeightPixelFormatCommandBufferMtlTextureProvider(long width,
long height,
long pixelFormat,
MTLCommandBuffer commandBuffer,
CIRenderDestination.Block_initWithWidthHeightPixelFormatCommandBufferMtlTextureProvider block)
Create a CIRenderDestination based on a Metal texture.
|
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) |
boolean |
isClamped()
If true, the render will clamp color channels
to 0..alpha if 'alphaMode' is premultiplied otherwise 0..1
This property is initialized to false if the destination's format supports extended range
|
boolean |
isDithered()
Instructs the render to add pseudo-random luma noise given the depth of the destination.
|
boolean |
isFlipped()
The logical coordinate system of a CIRenderDestination is always cartesian:
(0,0) represents the lower-left corner
(0.5,0.5) represents the lower-left pixel center
(pixelsWide-0.5,pixelsHigh-0.5) represents the upper-right pixel center
(pixelsWide,pixelsHigh) represents the upper-right corner.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static CIRenderDestination |
new_objc() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setAlphaMode(long value)
This property will defualt to an appropriate value given
the object that the CIRenderDestination was initialized with.
|
void |
setBlendKernel(CIBlendKernel value)
Allow client to specify a CIBlendKernel (e.g.
|
void |
setBlendsInDestinationColorSpace(boolean value)
If true, then the blendKernel is applied in the destination's colorSpace.
|
void |
setClamped(boolean value)
If true, the render will clamp color channels
to 0..alpha if 'alphaMode' is premultiplied otherwise 0..1
This property is initialized to false if the destination's format supports extended range
|
void |
setColorSpace(CGColorSpaceRef value)
This property will defualt to an appropriate value given
the object that the CIRenderDestination was initialized with.
|
void |
setDithered(boolean value)
Instructs the render to add pseudo-random luma noise given the depth of the destination.
|
void |
setFlipped(boolean value)
The logical coordinate system of a CIRenderDestination is always cartesian:
(0,0) represents the lower-left corner
(0.5,0.5) represents the lower-left pixel center
(pixelsWide-0.5,pixelsHigh-0.5) represents the upper-right pixel center
(pixelsWide,pixelsHigh) represents the upper-right corner.
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
static long |
version_static() |
long |
width()
MARK: Properties
|
accessibilityActivate, 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, willChangeValuesAtIndexesForKeyprotected CIRenderDestination(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static CIRenderDestination alloc()
public static CIRenderDestination allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public long alphaMode()
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public CIBlendKernel blendKernel()
public boolean blendsInDestinationColorSpace()
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 CGColorSpaceRef colorSpace()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public long height()
public CIRenderDestination init()
public CIRenderDestination initWithBitmapDataWidthHeightBytesPerRowFormat(org.moe.natj.general.ptr.VoidPtr data, long width, long height, long bytesPerRow, int format)
The 'data' parameter must point to a buffer that is at least bytesPerRow * height bytes in size.
The destination's 'colorspace' property will default a CGColorSpace created with kCGColorSpaceSRGB, kCGColorSpaceExtendedSRGB, or kCGColorSpaceGenericGrayGamma2_2.
public CIRenderDestination initWithGLTextureTargetWidthHeight(int texture, int target, long width, long height)
Rendering to a GLTexture-backed CIRenderDestination is only supported by GLContext-backed CIContexts. The texture id must be bound to a GLContext that is shared with that of the GLContext-backed CIContext.
The destination's 'colorspace' property will default a CGColorSpace created with kCGColorSpaceSRGB, kCGColorSpaceExtendedSRGB, or kCGColorSpaceGenericGrayGamma2_2.
public CIRenderDestination initWithIOSurface(IOSurface surface)
The destination's 'colorspace' property will default a CGColorSpace created by, querying the IOSurface attributes.
public CIRenderDestination initWithMTLTextureCommandBuffer(MTLTexture texture, MTLCommandBuffer commandBuffer)
An optional MTLCommandBuffer can be specified, with which to use for rendering to the MTLTexture. NOTE: Rendering to a texture initialized with a commandBuffer requires encoding all the commands to render an image into the specified buffer. This may impact system responsiveness and may result in higher memory usage if the image requires many passes to render. To avoid this impact, it is recommended to create a context using [CIContext contextWithMTLCommandQueue:] and create the CIRenderDestination without specifying a buffer.
The destination's 'colorspace' property will default a CGColorSpace created with kCGColorSpaceSRGB, kCGColorSpaceExtendedSRGB, or kCGColorSpaceGenericGrayGamma2_2.
public CIRenderDestination initWithPixelBuffer(CVBufferRef pixelBuffer)
The destination's 'colorspace' property will default a CGColorSpace created by, querying the CVPixelBufferRef attributes.
public CIRenderDestination initWithWidthHeightPixelFormatCommandBufferMtlTextureProvider(long width, long height, long pixelFormat, MTLCommandBuffer commandBuffer, CIRenderDestination.Block_initWithWidthHeightPixelFormatCommandBufferMtlTextureProvider block)
Rendering to a MTLTexture-backed CIRenderDestination is only supported by MTLTexture-backed CIContexts. The provider 'block' will be called lazily when the destination is rendered to. The block must return a texture with a MTLTextureType of MTLTextureType2D. The 'width', 'height' and 'pixelFormat' argument values should be the same as the width, height and pixelFormat of the MTLTexture that will be returned by 'block'
An optional MTLCommandBuffer can be specified, with which to use for rendering to the MTLTexture. NOTE: Rendering to a texture initialized with a commandBuffer requires encoding all the commands to render an image into the specified buffer. This may impact system responsiveness and may result in higher memory usage if the image requires many passes to render. To avoid this impact, it is recommended to create a context using [CIContext contextWithMTLCommandQueue:] and create the CIRenderDestination without specifying a buffer.
The destination's 'colorspace' property will default a CGColorSpace created with kCGColorSpaceSRGB, kCGColorSpaceExtendedSRGB, or kCGColorSpaceGenericGrayGamma2_2.
public 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 boolean isClamped()
public boolean isDithered()
public boolean isFlipped()
The 'flipped' property controls how pixels this logical coordinate system are stored into the memory of the object backing the destination.
If 'flipped' is false, then the base address of the backing stores the pixel centered on the logical coordinate (0.5,0.5)
If 'flipped' is true, then the base address of the backing stores the pixel centered on the logical coordinate (0.5,height-0.5)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static CIRenderDestination new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public void setAlphaMode(long value)
public void setBlendKernel(CIBlendKernel value)
public void setBlendsInDestinationColorSpace(boolean value)
public void setClamped(boolean value)
public void setColorSpace(CGColorSpaceRef value)
public void setDithered(boolean value)
public void setFlipped(boolean value)
The 'flipped' property controls how pixels this logical coordinate system are stored into the memory of the object backing the destination.
If 'flipped' is false, then the base address of the backing stores the pixel centered on the logical coordinate (0.5,0.5)
If 'flipped' is true, then the base address of the backing stores the pixel centered on the logical coordinate (0.5,height-0.5)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public long width()