Retrieves the values of an attribute associated with a pixel format object.
Original signature is 'CGLError CGLDescribePixelFormat ( CGLPixelFormatObj pix, GLint pix_num, CGLPixelFormatAttribute attrib, GLint *value );'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static CGLError DescribePixelFormat( IntPtr pix, int pix_num, CGLPixelFormatAttribute attrib, IntPtr value )
Public Shared Function DescribePixelFormat ( _ pix As IntPtr, _ pix_num As Integer, _ attrib As CGLPixelFormatAttribute, _ value As IntPtr _ ) As CGLError
public: static CGLError DescribePixelFormat( IntPtr pix, int pix_num, CGLPixelFormatAttribute attrib, IntPtr value )
Parameters
- pix (IntPtr)
- MISSING
- pix_num (Int32)
- MISSING
- attrib (CGLPixelFormatAttribute)
- MISSING
- value (IntPtr)
- 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)