SCNSceneRenderer.Prepare Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
A handler that receives true
if preparation of all scene resources succeeded, or false
if not.
This parameter can be null
.
Implements
- Attributes