Class

MaplibreNativeFfiVulkanBorrowedTextureDescriptor

Description [src]

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

A ring of your Vulkan images, for maplibre_native_ffi_map_attach_vulkan_borrowed_texture().

logical_size sets the map’s size. physical_width and physical_height give the images’ size in pixels, which is usually logical_size times the map’s scale factor. Each image must have that size, format, and VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT, and belong to the context’s device. The ring holds up to MAPLIBRE_NATIVE_FFI_TEXTURE_RING_MAX_DEPTH distinct images.

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

Ancestors

Constructors

maplibre_native_ffi_vulkan_borrowed_texture_descriptor_new

Creates a MaplibreNativeFfiVulkanBorrowedTextureDescriptor whose members are zero or empty.

Instance methods

maplibre_native_ffi_vulkan_borrowed_texture_descriptor_get_context

Gets MaplibreNativeFfiVulkanBorrowedTextureDescriptor:context.

maplibre_native_ffi_vulkan_borrowed_texture_descriptor_get_final_layout

Gets MaplibreNativeFfiVulkanBorrowedTextureDescriptor:final-layout.

maplibre_native_ffi_vulkan_borrowed_texture_descriptor_get_format

Gets MaplibreNativeFfiVulkanBorrowedTextureDescriptor:format.

maplibre_native_ffi_vulkan_borrowed_texture_descriptor_get_logical_size

Gets MaplibreNativeFfiVulkanBorrowedTextureDescriptor:logical-size.

maplibre_native_ffi_vulkan_borrowed_texture_descriptor_get_owner

Gets MaplibreNativeFfiVulkanBorrowedTextureDescriptor:owner.

maplibre_native_ffi_vulkan_borrowed_texture_descriptor_get_physical_height

Gets MaplibreNativeFfiVulkanBorrowedTextureDescriptor:physical-height.

maplibre_native_ffi_vulkan_borrowed_texture_descriptor_get_physical_width

Gets MaplibreNativeFfiVulkanBorrowedTextureDescriptor:physical-width.

maplibre_native_ffi_vulkan_borrowed_texture_descriptor_get_textures

Gets the value that maplibre_native_ffi_vulkan_borrowed_texture_descriptor_set_textures sets.

maplibre_native_ffi_vulkan_borrowed_texture_descriptor_set_context

Sets MaplibreNativeFfiVulkanBorrowedTextureDescriptor:context.

maplibre_native_ffi_vulkan_borrowed_texture_descriptor_set_final_layout

Sets MaplibreNativeFfiVulkanBorrowedTextureDescriptor:final-layout.

maplibre_native_ffi_vulkan_borrowed_texture_descriptor_set_format

Sets MaplibreNativeFfiVulkanBorrowedTextureDescriptor:format.

maplibre_native_ffi_vulkan_borrowed_texture_descriptor_set_logical_size

Sets MaplibreNativeFfiVulkanBorrowedTextureDescriptor:logical-size.

maplibre_native_ffi_vulkan_borrowed_texture_descriptor_set_owner

Sets MaplibreNativeFfiVulkanBorrowedTextureDescriptor:owner.

maplibre_native_ffi_vulkan_borrowed_texture_descriptor_set_physical_height

Sets MaplibreNativeFfiVulkanBorrowedTextureDescriptor:physical-height.

maplibre_native_ffi_vulkan_borrowed_texture_descriptor_set_physical_width

Sets MaplibreNativeFfiVulkanBorrowedTextureDescriptor:physical-width.

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

No description available.

Class members
parent_class: GObjectClass

No description available.