CAOpenGLLayer.CopyContext(CGLPixelFormat) Method

Definition

[Foundation.Export("copyCGLContextForPixelFormat:")]
public virtual OpenGL.CGLContext CopyContext (OpenGL.CGLPixelFormat pixelFormat);
abstract member CopyContext : OpenGL.CGLPixelFormat -> OpenGL.CGLContext
override this.CopyContext : OpenGL.CGLPixelFormat -> OpenGL.CGLContext

Parameters

pixelFormat
CGLPixelFormat

Returns

Attributes

Applies to