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

#include <texture.h>

Data Fields

uint32_t size
uint32_t width
uint32_t height
double scale_factor
uint32_t slot
void * texture
void * texture_view
void * device
uint32_t format

Detailed Description

The WebGPU texture of an acquired frame.

Field Documentation

◆ device

void* mln_web_gpu_texture_frame::device

The texture's WGPUDevice.

◆ format

uint32_t mln_web_gpu_texture_frame::format

The texture's WGPUTextureFormat.

◆ height

uint32_t mln_web_gpu_texture_frame::height

◆ scale_factor

double mln_web_gpu_texture_frame::scale_factor

◆ size

uint32_t mln_web_gpu_texture_frame::size

◆ slot

uint32_t mln_web_gpu_texture_frame::slot

The texture's index in the descriptor's textures.

◆ texture

void* mln_web_gpu_texture_frame::texture

The WGPUTexture.

◆ texture_view

void* mln_web_gpu_texture_frame::texture_view

The WGPUTextureView.

◆ width

uint32_t mln_web_gpu_texture_frame::width

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