Class

MaplibreNativeFfiOffscreenDeviceOptions

Description [src]

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

Options for maplibre_native_ffi_offscreen_device_create().

A member that a has_ method reports on is unset until its property or setter sets it.

See mln_offscreen_device_options in the C API reference.

Ancestors

Constructors

maplibre_native_ffi_offscreen_device_options_new

Creates a MaplibreNativeFfiOffscreenDeviceOptions whose members are zero, empty, or unset.

Instance methods

maplibre_native_ffi_offscreen_device_options_get_adapter_index

Gets MaplibreNativeFfiOffscreenDeviceOptions:adapter-index.

maplibre_native_ffi_offscreen_device_options_get_client_api

Gets MaplibreNativeFfiOffscreenDeviceOptions:client-api.

maplibre_native_ffi_offscreen_device_options_get_single_context

Gets MaplibreNativeFfiOffscreenDeviceOptions:single-context.

maplibre_native_ffi_offscreen_device_options_has_adapter_index

Whether MaplibreNativeFfiOffscreenDeviceOptions:adapter-index is set.

maplibre_native_ffi_offscreen_device_options_has_client_api

Whether MaplibreNativeFfiOffscreenDeviceOptions:client-api is set.

maplibre_native_ffi_offscreen_device_options_has_single_context

Whether MaplibreNativeFfiOffscreenDeviceOptions:single-context is set.

maplibre_native_ffi_offscreen_device_options_set_adapter_index

Sets MaplibreNativeFfiOffscreenDeviceOptions:adapter-index.

maplibre_native_ffi_offscreen_device_options_set_client_api

Sets MaplibreNativeFfiOffscreenDeviceOptions:client-api.

maplibre_native_ffi_offscreen_device_options_set_single_context

Sets MaplibreNativeFfiOffscreenDeviceOptions:single-context.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

MaplibreNativeFfi.OffscreenDeviceOptions:adapter-index

The GPU to use, as an index into the platform’s list of GPUs.

MaplibreNativeFfi.OffscreenDeviceOptions:client-api

The OpenGL API that the device’s sessions render with. An EGL device defaults to MAPLIBRE_NATIVE_FFI_OPEN_GL_CLIENT_API_GLES, and takes MAPLIBRE_NATIVE_FFI_OPEN_GL_CLIENT_API_GL too on Linux and FreeBSD. A WGL device takes only MAPLIBRE_NATIVE_FFI_OPEN_GL_CLIENT_API_GL, its default, and a WebGL device only MAPLIBRE_NATIVE_FFI_OPEN_GL_CLIENT_API_GLES, its default. Other devices take neither.

MaplibreNativeFfi.OffscreenDeviceOptions:single-context

Whether the device’s sessions take turns in one OpenGL context instead of having one each. Only an EGL device reads 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 MaplibreNativeFfiOffscreenDeviceOptionsClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.