SoWinGLWidgetSetPixelFormat Method |
Sets the current pixel format.
Namespace: OIV.Inventor.Win
This method allows an application to set a pixel format that has extended attributes that can't be specified in a PFD struct. The specified format must support OpenGL and drawing to a window.
You can also use environment variable OIV_FORCE_PIXEL_FORMAT to request a pixel format.
Note: OIV_FORCE_PIXEL_FORMAT can also be used to set special convenience values (-1, -2, etc.) used for troubleshooting. However, these values are not actually valid pixel formats and are not supported by OIV.Inventor.Win.SoWinGLWidget.SetPixelFormat(System.Int32).