Package: gdk
Function gdk:gl-context-use-es
Lambda Listgdk:gl-context-use-es (context) SyntaxArgumentsDetails The gdk:gl-context-uses-es function checks whether the context is
using an OpenGL or OpenGL ES profile. The gdk:gl-context-uses-es function requests that GDK create an OpenGL
ES context instead of an OpenGL one, if the platform and windowing system
allows it. The context must not have been realized. By default, GDK will attempt to automatically detect whether the underlying GL implementation is OpenGL or OpenGL ES once the context is realized. You should check the return value of the gdk:gl-context-use-es function after calling the gdk:gl-context-realize function to decide whether to use the OpenGL or OpenGL ES API, extensions, or shaders. | See also |
#2023-8-3