GLContext.checkFeature

bool checkFeature(string feature)

Check for an OpenGL feature being supported.

Note

Most features require that the context be created before it is

possible to determine their existence and so will fail if that is not the case.

Parameters

featurea platform specific feature

Returns

Whether feature is supported by context