openGLTexture(forContext:)
Retrieve an OpenGL texture from the Iosurface for rendering with the passed-in context. You are responsible for deleting this texture.
Declaration
func openGLTexture(forContext openGLContext: CGLContextObj!) -> GLuintRetrieve an OpenGL texture from the Iosurface for rendering with the passed-in context. You are responsible for deleting this texture.
func openGLTexture(forContext openGLContext: CGLContextObj!) -> GLuint