Edytuj

Udostępnij za pośrednictwem


SCNRenderer.Render Method

Definition

Overloads

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

Renders the scene at the specified time.

Render()

Developers should not use this deprecated method.

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

Parameters

timeInSeconds
Double
viewport
CGRect
commandBuffer
IMTLCommandBuffer
renderPassDescriptor
MTLRenderPassDescriptor
Attributes

Applies to

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

Parameters

viewport
CGRect
commandBuffer
IMTLCommandBuffer
renderPassDescriptor
MTLRenderPassDescriptor
Attributes

Applies to

Render(Double)

Renders the scene at the specified time.

[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

Parameters

timeInSeconds
Double
Attributes

Applies to

Render()

Developers should not use this deprecated method.

[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
Attributes

Applies to