OpenGLES Changes for Swift
OpenGLES
Modified EAGLContext
Declaration | |
---|---|
From | class EAGLContext : NSObject { convenience init!(API api: EAGLRenderingAPI) init!(API api: EAGLRenderingAPI, sharegroup sharegroup: EAGLSharegroup!) class func setCurrentContext(_ context: EAGLContext!) -> Bool class func currentContext() -> EAGLContext! var API: EAGLRenderingAPI { get } var sharegroup: EAGLSharegroup! { get } var debugLabel: String! var multiThreaded: Bool } extension EAGLContext { func renderbufferStorage(_ target: Int, fromDrawable drawable: EAGLDrawable!) -> Bool func presentRenderbuffer(_ target: Int) -> Bool } |
To | class EAGLContext : NSObject { convenience init!() convenience init!(API api: EAGLRenderingAPI) init!(API api: EAGLRenderingAPI, sharegroup sharegroup: EAGLSharegroup!) class func setCurrentContext(_ context: EAGLContext!) -> Bool class func currentContext() -> EAGLContext! var API: EAGLRenderingAPI { get } var sharegroup: EAGLSharegroup! { get } var debugLabel: String! var multiThreaded: Bool } extension EAGLContext { func renderbufferStorage(_ target: Int, fromDrawable drawable: EAGLDrawable!) -> Bool func presentRenderbuffer(_ target: Int) -> Bool } |
Modified EAGLDrawable.drawableProperties
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 2.0 |
Modified EAGLRenderingAPI [enum]
Raw Value Type | |
---|---|
From | -- |
To | UInt |