Class

MaplibreNativeFfiOpenGlSurfaceDescriptor

Description [src]

final class MaplibreNativeFfi.OpenGlSurfaceDescriptor : GObject.Object
{
  /* No available fields */
}

An OpenGL surface to present to, for maplibre_native_ffi_map_attach_open_gl_surface().

The session 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_descriptor in the C API reference.

Ancestors

Constructors

maplibre_native_ffi_open_gl_surface_descriptor_new

Creates a MaplibreNativeFfiOpenGlSurfaceDescriptor whose members are zero or empty.

Instance methods

maplibre_native_ffi_open_gl_surface_descriptor_get_context

Gets MaplibreNativeFfiOpenGlSurfaceDescriptor:context.

maplibre_native_ffi_open_gl_surface_descriptor_get_logical_size

Gets MaplibreNativeFfiOpenGlSurfaceDescriptor:logical-size.

maplibre_native_ffi_open_gl_surface_descriptor_get_surface

Gets MaplibreNativeFfiOpenGlSurfaceDescriptor:surface.

maplibre_native_ffi_open_gl_surface_descriptor_set_context

Sets MaplibreNativeFfiOpenGlSurfaceDescriptor:context.

maplibre_native_ffi_open_gl_surface_descriptor_set_logical_size

Sets MaplibreNativeFfiOpenGlSurfaceDescriptor:logical-size.

maplibre_native_ffi_open_gl_surface_descriptor_set_surface

Sets MaplibreNativeFfiOpenGlSurfaceDescriptor:surface.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

MaplibreNativeFfi.OpenGlSurfaceDescriptor:surface

Your EGLSurface with EGL, or your HDC with WGL. WebGL doesn’t use it.

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.

Class structure

struct MaplibreNativeFfiOpenGlSurfaceDescriptorClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.