Class
MaplibreNativeFfiIoSurfaceRingDescriptor
Description [src]
final class MaplibreNativeFfi.IoSurfaceRingDescriptor : GObject.Object
{
/* No available fields */
}
A ring of IOSurfaces that the library allocates, for
maplibre_native_ffi_map_attach_io_surface_ring().
Each surface has the map’s size in pixels, logical_size times the map’s
scale factor, and the pixel format kCVPixelFormatType_32BGRA, which Metal
names MTLPixelFormatBGRA8Unorm.
See mln_io_surface_ring_descriptor in the
C API reference.
Constructors
maplibre_native_ffi_io_surface_ring_descriptor_new
Creates a MaplibreNativeFfiIoSurfaceRingDescriptor whose members are zero or empty.
Instance methods
maplibre_native_ffi_io_surface_ring_descriptor_get_buffer_count
Gets MaplibreNativeFfiIoSurfaceRingDescriptor:buffer-count.
maplibre_native_ffi_io_surface_ring_descriptor_get_context
Gets MaplibreNativeFfiIoSurfaceRingDescriptor:context.
maplibre_native_ffi_io_surface_ring_descriptor_get_logical_size
Gets MaplibreNativeFfiIoSurfaceRingDescriptor:logical-size.
maplibre_native_ffi_io_surface_ring_descriptor_set_buffer_count
Sets MaplibreNativeFfiIoSurfaceRingDescriptor:buffer-count.
maplibre_native_ffi_io_surface_ring_descriptor_set_context
Sets MaplibreNativeFfiIoSurfaceRingDescriptor:context.
maplibre_native_ffi_io_surface_ring_descriptor_set_logical_size
Sets MaplibreNativeFfiIoSurfaceRingDescriptor:logical-size.
Properties
MaplibreNativeFfi.IoSurfaceRingDescriptor:context
The MTLDevice to render with. A null device picks the system’s default.
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.