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

#include <style.h>

Data Fields

uint32_t size
uint32_t width
uint32_t height
uint32_t stride
const uint8_t * pixels
size_t byte_length

Detailed Description

An image of 8-bit RGBA pixels whose colors are multiplied by their alpha.

Field Documentation

◆ byte_length

size_t mln_premultiplied_rgba8_image::byte_length

◆ height

uint32_t mln_premultiplied_rgba8_image::height

◆ pixels

const uint8_t* mln_premultiplied_rgba8_image::pixels

The rows of pixels, stride bytes apart, from the top row down.

◆ size

uint32_t mln_premultiplied_rgba8_image::size

◆ stride

uint32_t mln_premultiplied_rgba8_image::stride

The number of bytes from the start of one row to the start of the next, at least width * 4.

◆ width

uint32_t mln_premultiplied_rgba8_image::width

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