共用方式為


CIContext.Render 方法

定義

多載

Render(CIImage, CVPixelBuffer)

轉譯 imagebuffer

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

Render(CIImage, CVPixelBuffer)

轉譯 imagebuffer

[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

屬性

適用於