require-gl-version-or-extensions ( version extensions -- )


Vocabulary
opengl.capabilities

Inputs
versionA version string
extensionsA sequence of extension name strings


Outputs
None

Word description
Throws an exception if neither has-gl-version? nor has-gl-extensions? returns true for version or extensions, respectively. Intended for use when required OpenGL functionality can be verified either by a minimum version or a set of equivalent extensions.

See also
require-gl-version, require-glsl-version, require-gl-extensions, has-gl-version?, has-glsl-version?, has-gl-extensions?, has-gl-version-or-extensions?, gl-version, glsl-version, gl-extensions

Definition