ISCNSceneRenderer.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>) | |
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
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.
A handler that receives true
if preparation of all scene resources succeeded, or false
if not.
- Attributes