Share via


SCNRenderer.Prepare Method

Definition

Overloads

Prepare(NSObject, Func<Boolean>)

[Foundation.Export("prepareObject:shouldAbortBlock:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool Prepare(Foundation.NSObject obj, Func<bool>? abortHandler);
[<Foundation.Export("prepareObject:shouldAbortBlock:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Prepare : Foundation.NSObject * Func<bool> -> bool
override this.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>)

[Foundation.Export("prepareObjects:withCompletionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Prepare(Foundation.NSObject[] objects, Action<bool>? completionHandler);
[<Foundation.Export("prepareObjects:withCompletionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Prepare : Foundation.NSObject[] * Action<bool> -> unit
override this.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.

Implements

Attributes

Applies to