CIContext.Render 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
- 属性
适用于
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
- 属性
适用于
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
- bounds
- CGRect
- 属性