Files
MapLibreParticleLab/include/mbgl/shaders/heatmap_texture_layer_ubo.hpp
2024-10-16 18:31:15 +03:00

17 lines
323 B
C++

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