Edit

Share via


ISCNSceneRenderer.Prepare Method

Definition

Overloads

Prepare(NSObject, Func<Boolean>)
Prepare(NSObject[], Action<Boolean>)

Prepare(NSObject, Func<Boolean>)

[Foundation.Export("prepareObject:shouldAbortBlock:")]
[Foundation.Preserve(Conditional=true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public 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

Attributes

Applies to

Prepare(NSObject[], Action<Boolean>)

[Foundation.Export("prepareObjects:withCompletionHandler:")]
[Foundation.Preserve(Conditional=true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public 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.

Attributes

Applies to