SCNRenderingApi 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
枚举表示 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 框架用于呈现。 |
OpenGLES2 | 1 | 指示 OpenGL ES 2.0 API 用于呈现。 |
OpenGLLegacy | 1 | |
OpenGLCore32 | 2 | |
OpenGLCore41 | 3 |