Edit

Share via


SCNSceneRenderer.Prepare Method

Definition

Overloads

Prepare(NSObject, Func<Boolean>)

Prepares the provided object for rendering.

Prepare(NSObject[], Action<Boolean>)

Prepares the provided objects for rendering on a background thread.

Prepare(NSObject, Func<Boolean>)

Prepares the provided object for rendering.

[Foundation.Export("prepareObject:shouldAbortBlock:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public abstract bool Prepare (Foundation.NSObject obj, Func<bool> abortHandler);
abstract member Prepare : Foundation.NSObject * Func<bool> -> bool

Parameters

obj
NSObject
abortHandler
Func<Boolean>

To be added.

This parameter can be null.

Returns

Implements

Attributes

Applies to

Prepare(NSObject[], Action<Boolean>)

Prepares the provided objects for rendering on a background thread.

[Foundation.Export("prepareObjects:withCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public abstract void Prepare (Foundation.NSObject[] objects, Action<bool> completionHandler);
abstract member Prepare : Foundation.NSObject[] * Action<bool> -> unit

Parameters

objects
NSObject[]

The objects to prepare.

completionHandler
Action<Boolean>

A handler that receives true if preparation of all scene resources succeeded, or false if not.

This parameter can be null.

Implements

Attributes

Applies to