set_use_es


Description:

public void set_use_es (bool use_es)

Sets whether the this should create an OpenGL or an OpenGL ES context.

You should check the capabilities of the `GdkGLContext` before drawing with either API.

Parameters:

this

a `GtkGLArea`

use_es

whether to use OpenGL or OpenGL ES




2022 vala-language.org