Platforms to show: All Mac Windows Linux Cross-Platform

Back to SCNViewMBS class.

SCNViewMBS.PreferLowPowerDevice as Integer   New in 24.1

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared property SceneKit MBS Mac64bit Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
An option for whether to select low-power-usage devices for Metal rendering.

SceneKit uses this option when automatically selecting a Metal device on systems with multiple GPUs. If the value is 1, SceneKit uses a device with low power usage requirements—for example, the integrated GPU on a MacBook Pro with both integrated and discrete graphics hardware.
Leaving this key unspecified is equivalent to setting its value to 0. In this case, SceneKit chooses the most capable available Metal device.

Can be set before you create a new SCNViewMBS, SCNIOSControlMBS or SCNControlMBS.
Value is -1 if not set.
(Read and Write property)

SCNViewMBS.PreferredRenderingAPI as Integer   New in 24.1

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared property SceneKit MBS Mac64bit Plugin 24.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The rendering API to use for rendering the view (for example, Metal or OpenGL).

The value for is one of the SCNRenderingAPI constants.

SceneKit attempts to initialize a view using the preferred API you specify in the SCNView initializer; if the current device does not support the preferred API, SceneKit automatically falls back to a supported API. After initialization, use the renderingAPI property to find out whether a fallback occurred. For example, if you specify the SCNRenderingAPIMetal option when initializing a view on an iOS device that does not support Metal, SceneKit defaults to the SCNRenderingAPIOpenGLES2 option instead.

Can be set before you create a new SCNViewMBS, SCNIOSControlMBS or SCNControlMBS.
Value is -1 if not set.
(Read and Write property)

The items on this page are in the following plugins: MBS Mac64bit Plugin.


The biggest plugin in space...