Share via


SCNRenderingApi 枚举

定义

枚举表示 Metal 或 OpenGLES2 API 的值。

[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 = 
继承
SCNRenderingApi
属性

字段

Metal 0

指示 Metal 框架用于呈现。

OpenGLCore32 2
OpenGLCore41 3
OpenGLES2 1

指示 OpenGL ES 2.0 API 用于呈现。

OpenGLLegacy 1

适用于