CIContext.Render 方法

定义

重载

Render(CIImage, CVPixelBuffer)

image呈现为 buffer

Render(CIImage, CVPixelBuffer, CGRect, CGColorSpace)
Render(CIImage, IOSurface, CGRect, CGColorSpace)
Render(CIImage, IMTLTexture, IMTLCommandBuffer, CGRect, CGColorSpace)

Render(CIImage, CVPixelBuffer)

image呈现为 buffer

[Foundation.Export("render:toCVPixelBuffer:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void Render (CoreImage.CIImage image, CoreVideo.CVPixelBuffer buffer);
abstract member Render : CoreImage.CIImage * CoreVideo.CVPixelBuffer -> unit
override this.Render : CoreImage.CIImage * CoreVideo.CVPixelBuffer -> unit

参数

image
CIImage
buffer
CVPixelBuffer
属性

适用于

Render(CIImage, CVPixelBuffer, CGRect, CGColorSpace)

[Foundation.Export("render:toCVPixelBuffer:bounds:colorSpace:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void Render (CoreImage.CIImage image, CoreVideo.CVPixelBuffer buffer, CoreGraphics.CGRect rectangle, CoreGraphics.CGColorSpace cs);
abstract member Render : CoreImage.CIImage * CoreVideo.CVPixelBuffer * CoreGraphics.CGRect * CoreGraphics.CGColorSpace -> unit
override this.Render : CoreImage.CIImage * CoreVideo.CVPixelBuffer * CoreGraphics.CGRect * CoreGraphics.CGColorSpace -> unit

参数

image
CIImage
buffer
CVPixelBuffer
rectangle
CGRect
cs
CGColorSpace

内容待定。

此参数可以为 null

属性

适用于

Render(CIImage, IOSurface, CGRect, CGColorSpace)

[Foundation.Export("render:toIOSurface:bounds:colorSpace:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void Render (CoreImage.CIImage image, IOSurface.IOSurface surface, CoreGraphics.CGRect bounds, CoreGraphics.CGColorSpace colorSpace);
abstract member Render : CoreImage.CIImage * IOSurface.IOSurface * CoreGraphics.CGRect * CoreGraphics.CGColorSpace -> unit
override this.Render : CoreImage.CIImage * IOSurface.IOSurface * CoreGraphics.CGRect * CoreGraphics.CGColorSpace -> unit

参数

image
CIImage
surface
IOSurface
bounds
CGRect
colorSpace
CGColorSpace

内容待定。

此参数可以为 null

属性

适用于

Render(CIImage, IMTLTexture, IMTLCommandBuffer, CGRect, CGColorSpace)

[Foundation.Export("render:toMTLTexture:commandBuffer:bounds:colorSpace:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual void Render (CoreImage.CIImage image, Metal.IMTLTexture texture, Metal.IMTLCommandBuffer commandBuffer, CoreGraphics.CGRect bounds, CoreGraphics.CGColorSpace colorSpace);
abstract member Render : CoreImage.CIImage * Metal.IMTLTexture * Metal.IMTLCommandBuffer * CoreGraphics.CGRect * CoreGraphics.CGColorSpace -> unit
override this.Render : CoreImage.CIImage * Metal.IMTLTexture * Metal.IMTLCommandBuffer * CoreGraphics.CGRect * CoreGraphics.CGColorSpace -> unit

参数

image
CIImage
texture
IMTLTexture
commandBuffer
IMTLCommandBuffer

内容待定。

此参数可以为 null

bounds
CGRect
colorSpace
CGColorSpace

内容待定。

此参数可以为 null

属性

适用于