GLContext.checkFeature

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.

class GLContext
bool
checkFeature
(
string feature
)

Parameters

feature string

a platform specific feature

Return Value

Type: bool

Whether feature is supported by context