Class
MaplibreNativeFfiOpenGlSurfaceReplacement
Description [src]
final class MaplibreNativeFfi.OpenGlSurfaceReplacement : GObject.Object
{
/* No available fields */
}
A new OpenGL surface for
maplibre_native_ffi_render_session_set_open_gl_surface_target_async().
The session presents to it with the context that it attached with. It uses the surface until a replacement or release of the target completes, a detach or release of the session completes, or an abandon of it returns.
See mln_open_gl_surface_replacement in the
C API reference.
Constructors
maplibre_native_ffi_open_gl_surface_replacement_new
Creates a MaplibreNativeFfiOpenGlSurfaceReplacement whose members are zero or empty.
Instance methods
maplibre_native_ffi_open_gl_surface_replacement_get_logical_size
Gets MaplibreNativeFfiOpenGlSurfaceReplacement:logical-size.
maplibre_native_ffi_open_gl_surface_replacement_get_surface
Gets MaplibreNativeFfiOpenGlSurfaceReplacement:surface.
maplibre_native_ffi_open_gl_surface_replacement_set_logical_size
Sets MaplibreNativeFfiOpenGlSurfaceReplacement:logical-size.
maplibre_native_ffi_open_gl_surface_replacement_set_surface
Sets MaplibreNativeFfiOpenGlSurfaceReplacement:surface.
Properties
MaplibreNativeFfi.OpenGlSurfaceReplacement:surface
Your EGLSurface with EGL, or your HDC with WGL. WebGL doesn’t use it, so leave it null.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.