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 Basic | Visual 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
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)