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

#include <texture.h>

Data Fields

mln_vulkan_non_dispatchable_handle image
mln_vulkan_non_dispatchable_handle image_view

Detailed Description

One caller-owned Vulkan image of a borrowed texture ring.

Field Documentation

◆ image

mln_vulkan_non_dispatchable_handle mln_vulkan_borrowed_texture::image

Borrowed VkImage. Required.

The image must be a 2D, single-sample color image with VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT. Include VK_IMAGE_USAGE_SAMPLED_BIT when the host will sample from the image after rendering.

◆ image_view

mln_vulkan_non_dispatchable_handle mln_vulkan_borrowed_texture::image_view

Borrowed VkImageView for image. Required. The view must be a 2D color view that matches image and the descriptor's format.


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