共用方式為


SCNRenderer.Render 方法

定義

多載

Render(Double, CGRect, IMTLCommandBuffer, MTLRenderPassDescriptor)
Render(CGRect, IMTLCommandBuffer, MTLRenderPassDescriptor)
Render(Double)

在指定的時間呈現場景。

Render()

開發人員不應該使用此已被取代的方法。

Render(Double, CGRect, IMTLCommandBuffer, MTLRenderPassDescriptor)

[Foundation.Export("renderAtTime:viewport:commandBuffer:passDescriptor:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void Render (double timeInSeconds, CoreGraphics.CGRect viewport, Metal.IMTLCommandBuffer commandBuffer, Metal.MTLRenderPassDescriptor renderPassDescriptor);
abstract member Render : double * CoreGraphics.CGRect * Metal.IMTLCommandBuffer * Metal.MTLRenderPassDescriptor -> unit
override this.Render : double * CoreGraphics.CGRect * Metal.IMTLCommandBuffer * Metal.MTLRenderPassDescriptor -> unit

參數

timeInSeconds
Double
viewport
CGRect
commandBuffer
IMTLCommandBuffer
renderPassDescriptor
MTLRenderPassDescriptor
屬性

適用於

Render(CGRect, IMTLCommandBuffer, MTLRenderPassDescriptor)

[Foundation.Export("renderWithViewport:commandBuffer:passDescriptor:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 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.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void Render (CoreGraphics.CGRect viewport, Metal.IMTLCommandBuffer commandBuffer, Metal.MTLRenderPassDescriptor renderPassDescriptor);
abstract member Render : CoreGraphics.CGRect * Metal.IMTLCommandBuffer * Metal.MTLRenderPassDescriptor -> unit
override this.Render : CoreGraphics.CGRect * Metal.IMTLCommandBuffer * Metal.MTLRenderPassDescriptor -> unit

參數

viewport
CGRect
commandBuffer
IMTLCommandBuffer
renderPassDescriptor
MTLRenderPassDescriptor
屬性

適用於

Render(Double)

在指定的時間呈現場景。

[Foundation.Export("renderAtTime:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void Render (double timeInSeconds);
abstract member Render : double -> unit
override this.Render : double -> unit

參數

timeInSeconds
Double
屬性

適用於

Render()

開發人員不應該使用此已被取代的方法。

[Foundation.Export("render")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void Render ();
abstract member Render : unit -> unit
override this.Render : unit -> unit
屬性

適用於