GL module

gl_supports_extension

proceduresince 0.31.0Source

Whether the current context offers the named extension.

Example↗
if gl_supports_extension("GL_ARB_debug_output") gl_enable_debug_output();

This one is only checked to compile, not run.

gl_supports_extension :: (ext: string) -> bool

Parameters

ext: string

Returns

bool

See also