MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
mln_vulkan_texture_frame Struct Reference

#include <texture.h>

Data Fields

uint64_t generation
uint32_t width
uint32_t height
double scale_factor
uint64_t frame_id
uint32_t slot
mln_vulkan_non_dispatchable_handle image
mln_vulkan_non_dispatchable_handle image_view
void * device
uint32_t format
uint32_t layout

Detailed Description

Vulkan frame acquired from a texture ring.

Field Documentation

◆ device

void* mln_vulkan_texture_frame::device

Borrowed VkDevice. Valid until frame release.

◆ format

uint32_t mln_vulkan_texture_frame::format

Backend-native VkFormat value.

◆ frame_id

uint64_t mln_vulkan_texture_frame::frame_id

Opaque identity of this frame.

◆ generation

uint64_t mln_vulkan_texture_frame::generation

Session generation that produced this frame.

◆ height

uint32_t mln_vulkan_texture_frame::height

Physical Vulkan image height in device pixels.

◆ image

mln_vulkan_non_dispatchable_handle mln_vulkan_texture_frame::image

Borrowed VkImage bit pattern. Valid until frame release.

◆ image_view

mln_vulkan_non_dispatchable_handle mln_vulkan_texture_frame::image_view

Borrowed VkImageView bit pattern. Valid until frame release.

◆ layout

uint32_t mln_vulkan_texture_frame::layout

Backend-native VkImageLayout value that the image is in: VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL for a session-owned ring, and the descriptor's final_layout for a borrowed one.

◆ scale_factor

double mln_vulkan_texture_frame::scale_factor

UI-to-device pixel scale used for this frame.

◆ slot

uint32_t mln_vulkan_texture_frame::slot

Ring slot that holds this frame. For a borrowed target, the index of its image in the descriptor's textures array.

◆ width

uint32_t mln_vulkan_texture_frame::width

Physical Vulkan image width in device pixels.


The documentation for this struct was generated from the following file: