Package org.robovm.apple.coreimage
Class CIContext
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.coreimage.CIContext
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
public class CIContext extends NSObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCIContext.CIContextPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description CIContext()CIContext(CGContext cgctx, CIContextOptions options)CIContext(CIContextOptions options)protectedCIContext(NSObject.Handle h, long handle)protectedCIContext(NSObject.SkipInit skipInit)CIContext(MTLCommandQueue commandQueue)CIContext(MTLCommandQueue commandQueue, CIContextOptions options)CIContext(MTLDevice device)CIContext(MTLDevice device, CIContextOptions options)CIContext(EAGLContext eaglContext)Deprecated.Deprecated in iOS 12.0.CIContext(EAGLContext eaglContext, CIContextOptions options)Deprecated.Deprecated in iOS 12.0. -
Method Summary
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
CIContext
-
CIContext
-
CIContext
- Since:
- Available in iOS 9.0 and later.
-
CIContext
-
CIContext
public CIContext() -
CIContext
Deprecated.Deprecated in iOS 12.0. Core Image OpenGLES API deprecated. (Define CI_SILENCE_GL_DEPRECATION to silence these warnings) -
CIContext
Deprecated.Deprecated in iOS 12.0. Core Image OpenGLES API deprecated. (Define CI_SILENCE_GL_DEPRECATION to silence these warnings) -
CIContext
- Since:
- Available in iOS 9.0 and later.
-
CIContext
- Since:
- Available in iOS 9.0 and later.
-
CIContext
- Since:
- Available in iOS 13.0 and later.
-
CIContext
- Since:
- Available in iOS 13.0 and later.
-
-
Method Details
-
getWorkingColorSpace
- Since:
- Available in iOS 9.0 and later.
-
getWorkingFormat
public int getWorkingFormat()- Since:
- Available in iOS 9.0 and later.
-
drawImage
-
render
public void render(CIImage image, VoidPtr data, long rowBytes, CGRect bounds, int format, CGColorSpace colorSpace) -
render
-
render
-
render
-
render
public void render(CIImage image, MTLTexture texture, MTLCommandBuffer commandBuffer, CGRect bounds, CGColorSpace colorSpace)- Since:
- Available in iOS 9.0 and later.
-
clearCaches
public void clearCaches()- Since:
- Available in iOS 10.0 and later.
-
getInputImageMaximumSize
-
getOutputImageMaximumSize
-
create
- Since:
- Available in iOS 9.0 and later.
-
create
-
create
protected static long create() -
create
Deprecated.Deprecated in iOS 12.0. Core Image OpenGLES API deprecated. (Define CI_SILENCE_GL_DEPRECATION to silence these warnings) -
create
Deprecated.Deprecated in iOS 12.0. Core Image OpenGLES API deprecated. (Define CI_SILENCE_GL_DEPRECATION to silence these warnings) -
create
- Since:
- Available in iOS 9.0 and later.
-
create
- Since:
- Available in iOS 9.0 and later.
-
create
- Since:
- Available in iOS 13.0 and later.
-
create
- Since:
- Available in iOS 13.0 and later.
-
createCGImage
-
createCGImage
-
createCGImage
public CGImage createCGImage(CIImage image, CGRect fromRect, int format, CGColorSpace colorSpace, boolean deferred)- Since:
- Available in iOS 10.0 and later.
-
tiffRepresentationOfImage
public NSData tiffRepresentationOfImage(CIImage image, int format, CGColorSpace colorSpace, CIImageRepresentationOptions options)- Since:
- Available in iOS 10.0 and later.
-
jpegRepresentationOfImage
public NSData jpegRepresentationOfImage(CIImage image, CGColorSpace colorSpace, CIImageRepresentationOptions options)- Since:
- Available in iOS 10.0 and later.
-
HEIFRepresentationOfImage
public NSData HEIFRepresentationOfImage(CIImage image, int format, CGColorSpace colorSpace, CIImageRepresentationOptions options)- Since:
- Available in iOS 11.0 and later.
-
getHEIF10Representation
public NSData getHEIF10Representation(CIImage image, CGColorSpace colorSpace, CIImageRepresentationOptions options, NSError.NSErrorPtr errorPtr)- Since:
- Available in iOS 15.0 and later.
-
PNGRepresentationOfImage
public NSData PNGRepresentationOfImage(CIImage image, int format, CGColorSpace colorSpace, CIImageRepresentationOptions options)- Since:
- Available in iOS 11.0 and later.
-
writeTIFFRepresentationOfImage
public boolean writeTIFFRepresentationOfImage(CIImage image, NSURL url, int format, CGColorSpace colorSpace, CIImageRepresentationOptions options, NSError.NSErrorPtr errorPtr)- Since:
- Available in iOS 10.0 and later.
-
writePNGRepresentationOfImage
public boolean writePNGRepresentationOfImage(CIImage image, NSURL url, int format, CGColorSpace colorSpace, CIImageRepresentationOptions options, NSError.NSErrorPtr errorPtr)- Since:
- Available in iOS 11.0 and later.
-
writeJPEGRepresentationOfImage
public boolean writeJPEGRepresentationOfImage(CIImage image, NSURL url, CGColorSpace colorSpace, CIImageRepresentationOptions options, NSError.NSErrorPtr errorPtr)- Since:
- Available in iOS 10.0 and later.
-
writeHEIFRepresentationOfImage
public boolean writeHEIFRepresentationOfImage(CIImage image, NSURL url, int format, CGColorSpace colorSpace, CIImageRepresentationOptions options, NSError.NSErrorPtr errorPtr)- Since:
- Available in iOS 11.0 and later.
-
writeHEIF10Representation
public boolean writeHEIF10Representation(CIImage image, NSURL url, CGColorSpace colorSpace, CIImageRepresentationOptions options, NSError.NSErrorPtr errorPtr)- Since:
- Available in iOS 15.0 and later.
-
depthBlurEffectFilter
- Since:
- Available in iOS 12.0 and later.
-
depthBlurEffectFilter
- Since:
- Available in iOS 12.0 and later.
-
depthBlurEffectFilter
public CIFilter depthBlurEffectFilter(CIImage image, CIImage disparityImage, CIImage portraitEffectsMatte, CGImagePropertyOrientation orientation, NSDictionary<?,?> options)- Since:
- Available in iOS 12.0 and later.
-
depthBlurEffectFilter
public CIFilter depthBlurEffectFilter(CIImage image, CIImage disparityImage, CIImage portraitEffectsMatte, CIImage hairSemanticSegmentation, CGImagePropertyOrientation orientation, NSDictionary<?,?> options)- Since:
- Available in iOS 13.0 and later.
-
depthBlurEffectFilter
public CIFilter depthBlurEffectFilter(CIImage image, CIImage disparityImage, CIImage portraitEffectsMatte, CIImage hairSemanticSegmentation, CIImage glassesMatte, CIImage gainMap, CGImagePropertyOrientation orientation, NSDictionary<?,?> options)- Since:
- Available in iOS 14.1 and later.
-
startTaskToRender
public CIRenderTask startTaskToRender(CIImage image, CGRect fromRect, CIRenderDestination destination, CGPoint atPoint, NSError.NSErrorPtr error)- Since:
- Available in iOS 11.0 and later.
-
startTaskToRender
public CIRenderTask startTaskToRender(CIImage image, CIRenderDestination destination, NSError.NSErrorPtr error)- Since:
- Available in iOS 11.0 and later.
-
prepareRender
public boolean prepareRender(CIImage image, CGRect fromRect, CIRenderDestination destination, CGPoint atPoint, NSError.NSErrorPtr error)- Since:
- Available in iOS 11.0 and later.
-
startTaskToClear
- Since:
- Available in iOS 11.0 and later.
-