public interface ILcdGLCapabilitiesChooser
|Modifier and Type||Method and Description|
Given a requested ILcdGLCapabilities and a list of supported capabilities, returns the index of the capabilities to be used for an ILcdGLDrawable that is about to be created.
int chooseGLCapabilities(ILcdGLCapabilities aRequestedCapabilities, ILcdGLCapabilities aAvailableCapabilities, int aRecommendedChoice)
Note that the list of available capabilities may contain null entries. The chooser should ignore these. The aRecommendedChoice parameter points to the ILcdGLCapabilities recommended by the underlying windowing system. It may be -1 if the system could not recommend a capabilities.
aRequestedCapabilities- capabilities requested by the application
aAvailableCapabilities- all capabilities supported by the graphics hardware
aRecommendedChoice- index of the windowing system's recommended capabilities