Files
MapLibreParticleLab/include/mbgl/shaders/debug_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

21 lines
405 B
C++

#pragma once
#include <mbgl/shaders/layer_ubo.hpp>
namespace mbgl {
namespace shaders {
struct alignas(16) DebugUBO {
/* 0 */ std::array<float, 4 * 4> matrix;
/* 64 */ Color color;
/* 80 */ float overlay_scale;
/* 84 */ float pad1;
/* 88 */ float pad2;
/* 92 */ float pad3;
/* 96 */
};
static_assert(sizeof(DebugUBO) == 6 * 16);
} // namespace shaders
} // namespace mbgl