Files
MapLibreParticleLab/include/mbgl/shaders/heatmap_texture_layer_ubo.hpp
2023-12-07 08:21:24 -08:00

18 lines
349 B
C++

#pragma once
#include <mbgl/shaders/layer_ubo.hpp>
namespace mbgl {
namespace shaders {
struct alignas(16) HeatmapTextureDrawableUBO {
std::array<float, 4 * 4> matrix;
std::array<float, 2> world;
float opacity;
float pad1;
};
static_assert(sizeof(HeatmapTextureDrawableUBO) % 16 == 0);
} // namespace shaders
} // namespace mbgl