MonobjcMonobjc Documented Class Library
IsEnabled Method (ctx, pname, enable)
NamespacesMonobjc.OpenGLCGLIsEnabled(IntPtr, CGLContextEnable, Int32%)

Reports whether an option is enabled for a rendering context.

Original signature is 'CGLError CGLIsEnabled ( CGLContextObj ctx, CGLContextEnable pname, GLint *enable );'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CGLError IsEnabled(
	IntPtr ctx,
	CGLContextEnable pname,
	ref int enable
)
Public Shared Function IsEnabled ( _
	ctx As IntPtr, _
	pname As CGLContextEnable, _
	ByRef enable As Integer _
) As CGLError
public:
static CGLError IsEnabled(
	IntPtr ctx, 
	CGLContextEnable pname, 
	int% enable
)
Parameters
ctx (IntPtr)
MISSING
pname (CGLContextEnable)
MISSING
enable (Int32%)
MISSING
Return Value
A result code. See “CGL Result Codes.”
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)