Files
MapLibreParticleLab/include/mbgl/shaders/heatmap_texture_layer_ubo.hpp
Alex Cristici f582327191 UBO consolidation (#3089)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-08 17:41:29 +02:00

20 lines
401 B
C++

#pragma once
#include <mbgl/shaders/layer_ubo.hpp>
namespace mbgl {
namespace shaders {
struct alignas(16) HeatmapTexturePropsUBO {
/* 0 */ std::array<float, 4 * 4> matrix;
/* 64 */ float opacity;
/* 68 */ float pad1;
/* 72 */ float pad2;
/* 76 */ float pad3;
/* 80 */
};
static_assert(sizeof(HeatmapTexturePropsUBO) == 5 * 16);
} // namespace shaders
} // namespace mbgl