MonobjcMonobjc Documented Class Library
GetPixelFormat Method (ctx)
NamespacesMonobjc.OpenGLCGLGetPixelFormat(IntPtr)

Retrieves the current pixel format associated with a CGL rendering context.

Original signature is 'CGLPixelFormatObj CGLGetPixelFormat ( CGLContextObj ctx );'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr GetPixelFormat(
	IntPtr ctx
)
Public Shared Function GetPixelFormat ( _
	ctx As IntPtr _
) As IntPtr
public:
static IntPtr GetPixelFormat(
	IntPtr ctx
)
Parameters
ctx (IntPtr)
MISSING
Return Value
A pixel format object describing the pixel format of the CGL rendering context.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.OpenGL (Module: Monobjc.OpenGL)