Files
MapLibreParticleLab/include/mln/shaders/custom_drawable_layer_ubo.hpp
Bart Louwers 2a8ebc4906 core: rename mbgl directories to mln (#4511)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-08-22 20:50:14 +02:00

26 lines
672 B
C++

#pragma once
#include <mln/shaders/layer_ubo.hpp>
namespace mln {
namespace shaders {
struct alignas(16) CustomSymbolIconDrawableUBO {
/* 0 */ std::array<float, 4 * 4> matrix;
/* 64 */ std::array<float, 2> extrude_scale;
/* 72 */ std::array<float, 2> anchor;
/* 80 */ float angle_degrees;
/* 84 */ uint32_t scale_with_map;
/* 88 */ uint32_t pitch_with_map;
/* 92 */ float camera_to_center_distance;
/* 96 */ float aspect_ratio;
/* 100 */ float pad1;
/* 104 */ float pad2;
/* 108 */ float pad3;
/* 112 */
};
static_assert(sizeof(CustomSymbolIconDrawableUBO) == 7 * 16);
} // namespace shaders
} // namespace mln