Class

MaplibreNativeFfiOpenGlBorrowedTextureDescriptor

Description [src]

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

A ring of your OpenGL textures, for maplibre_native_ffi_map_attach_open_gl_borrowed_texture().

logical_size sets the map’s size. physical_width and physical_height give the textures’ size in pixels, which is usually logical_size times the map’s scale factor. The context must use MAPLIBRE_NATIVE_FFI_OPEN_GL_CONTEXT_OWNERSHIP_SHARED. Each texture must be in your context’s share group, with storage of that size. The ring holds up to MAPLIBRE_NATIVE_FFI_TEXTURE_RING_MAX_DEPTH distinct textures.

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

Ancestors

Constructors

maplibre_native_ffi_open_gl_borrowed_texture_descriptor_new

Creates a MaplibreNativeFfiOpenGlBorrowedTextureDescriptor whose members are zero or empty.

Instance methods

maplibre_native_ffi_open_gl_borrowed_texture_descriptor_get_context

Gets MaplibreNativeFfiOpenGlBorrowedTextureDescriptor:context.

maplibre_native_ffi_open_gl_borrowed_texture_descriptor_get_logical_size

Gets MaplibreNativeFfiOpenGlBorrowedTextureDescriptor:logical-size.

maplibre_native_ffi_open_gl_borrowed_texture_descriptor_get_physical_height

Gets MaplibreNativeFfiOpenGlBorrowedTextureDescriptor:physical-height.

maplibre_native_ffi_open_gl_borrowed_texture_descriptor_get_physical_width

Gets MaplibreNativeFfiOpenGlBorrowedTextureDescriptor:physical-width.

maplibre_native_ffi_open_gl_borrowed_texture_descriptor_get_target

Gets MaplibreNativeFfiOpenGlBorrowedTextureDescriptor:target.

maplibre_native_ffi_open_gl_borrowed_texture_descriptor_get_textures

Gets the value that maplibre_native_ffi_open_gl_borrowed_texture_descriptor_set_textures sets.

maplibre_native_ffi_open_gl_borrowed_texture_descriptor_set_context

Sets MaplibreNativeFfiOpenGlBorrowedTextureDescriptor:context.

maplibre_native_ffi_open_gl_borrowed_texture_descriptor_set_logical_size

Sets MaplibreNativeFfiOpenGlBorrowedTextureDescriptor:logical-size.

maplibre_native_ffi_open_gl_borrowed_texture_descriptor_set_physical_height

Sets MaplibreNativeFfiOpenGlBorrowedTextureDescriptor:physical-height.

maplibre_native_ffi_open_gl_borrowed_texture_descriptor_set_physical_width

Sets MaplibreNativeFfiOpenGlBorrowedTextureDescriptor:physical-width.

maplibre_native_ffi_open_gl_borrowed_texture_descriptor_set_target

Sets MaplibreNativeFfiOpenGlBorrowedTextureDescriptor:target.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

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 MaplibreNativeFfiOpenGlBorrowedTextureDescriptorClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.