iPhoneOSGameView.LayerColorFormat 属性

定义

获取或设置配置 EAGLColorFormatCAEAGLLayer时应使用的值。

public Foundation.NSString LayerColorFormat { get; set; }
member this.LayerColorFormat : Foundation.NSString with get, set

属性值

配置 EAGLColorFormatCAEAGLLayer应使用的值。

例外

实例已 Dispose(Boolean) 对其进行调用。

注解

在调用之前 CreateFrameBuffer() ,必须设置此属性。 未提供默认值。

此值应设置为值之 EAGLColorFormat 一,并在配置 CAEAGLLayer 以设置 ColorFormat 属性时使用。

适用于