public class TLcdGLCapabilitiesChooser extends Object implements ILcdGLCapabilitiesChooser
Constructor and Description |
---|
TLcdGLCapabilitiesChooser() |
Modifier and Type | Method and Description |
---|---|
int |
chooseGLCapabilities(ILcdGLCapabilities aRequestedCapabilities,
ILcdGLCapabilities[] aAvailableCapabilities,
int aRecommendedChoice)
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.
|
public int chooseGLCapabilities(ILcdGLCapabilities aRequestedCapabilities, ILcdGLCapabilities[] aAvailableCapabilities, int aRecommendedChoice)
ILcdGLCapabilitiesChooser
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.
chooseGLCapabilities
in interface ILcdGLCapabilitiesChooser
aRequestedCapabilities
- capabilities requested by the applicationaAvailableCapabilities
- all capabilities supported by the graphics hardwareaRecommendedChoice
- index of the windowing system's recommended capabilities