編輯

共用方式為


SCNRenderingApi Enum

Definition

Enumerates values that signify the Metal or OpenGLES2 APIs.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public enum SCNRenderingApi
type SCNRenderingApi = 
Inheritance
SCNRenderingApi
Attributes

Fields

Name Value Description
Metal 0

Indicates that the Metal framework is used for rendering.

OpenGLES2 1

Indicates that the OpenGL ES 2.0 API is used for rendering.

OpenGLLegacy 1
OpenGLCore32 2
OpenGLCore41 3

Applies to