|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <texture.h>
Data Fields | |
| void * | texture |
| void * | texture_view |
One caller-owned WebGPU texture of a borrowed texture ring.
| void* mln_webgpu_borrowed_texture::texture |
Borrowed WGPUTexture. Required.
The texture must be created by the descriptor's context.device. It must be 2D, single-sample, and render-attachment capable, and its physical dimensions and format must match the descriptor. Include TextureBinding usage when the host will sample from the texture after rendering.
| void* mln_webgpu_borrowed_texture::texture_view |
Borrowed WGPUTextureView for texture. Required. The view must be a 2D color view compatible with texture and the descriptor's format.