GLContext.requestConfig

bool requestConfig(gst.structure.Structure glConfig = null)

Set the OpenGL configuration for this context. The context must not have been created for this function to succeed. Setting a null config has the affect of removing any specific configuration request.

Not all implementations currently support retrieving the config and this function will return FALSE when not supported.

Note that calling this function may cause a subsequent [gstgl.glcontext.GLContext.create] to fail if config could not be matched with the platform-specific configuration.

Note that the actual config used may be differ from the requested values.

Parameters

glConfiga configuration structure for configuring the OpenGL context

Returns

whether gl_config could be successfully set on context