set_allowed_apis


Description:

[ Version ( since = "4.6" ) ]
public void set_allowed_apis (GLAPI apis)

Sets the allowed APIs.

When realize is called, only the allowed APIs will be tried. If you set this to 0, realizing will always fail.

If you set it on a realized context, the property will not have any effect. It is only relevant during realize.

By default, all APIs are allowed.

Parameters:

this

a GL context

apis

the allowed APIs