Поделиться через


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.

Атрибуты

Применяется к