共用方式為


CAOpenGLLayer.CanDrawInCGLContext 方法

定義

[Foundation.Export("canDrawInCGLContext:pixelFormat:forLayerTime:displayTime:")]
public virtual bool CanDrawInCGLContext (OpenGL.CGLContext glContext, OpenGL.CGLPixelFormat pixelFormat, double timeInterval, ref CoreVideo.CVTimeStamp timeStamp);
abstract member CanDrawInCGLContext : OpenGL.CGLContext * OpenGL.CGLPixelFormat * double *  -> bool
override this.CanDrawInCGLContext : OpenGL.CGLContext * OpenGL.CGLPixelFormat * double *  -> bool

參數

glContext
CGLContext
pixelFormat
CGLPixelFormat
timeInterval
Double
timeStamp
CVTimeStamp

傳回

屬性

適用於