Gets the value for the specified pixel format attribute.
Original signature is '- (void)getValues:(GLint *)vals forAttribute:(NSOpenGLPixelFormatAttribute)attrib forVirtualScreen:(GLint)screen'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void GetValuesForAttributeForVirtualScreen( IntPtr vals, NSOpenGLPixelFormatAttribute attrib, int screen )
Public Overridable Sub GetValuesForAttributeForVirtualScreen ( _ vals As IntPtr, _ attrib As NSOpenGLPixelFormatAttribute, _ screen As Integer _ )
public: virtual void GetValuesForAttributeForVirtualScreen( IntPtr vals, NSOpenGLPixelFormatAttribute attrib, int screen )
Parameters
- vals (IntPtr)
- On input, a pointer to a long variable. On output, the variable contains the value of the requested attribute.
- attrib (NSOpenGLPixelFormatAttribute)
- The requested attribute. For a list of attribute constants, see the table in “Constants.”
- screen (Int32)
- The screen from which you want to retrieve the attribute. This parameter must be a value between 0 and the number of virtual screens (numberOfVirtualScreens) minus 1.
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)