Files
MapLibreParticleLab/include/mbgl/shaders/custom_geometry_ubo.hpp
2025-02-28 21:49:20 +00:00

17 lines
330 B
C++

#pragma once
#include <mbgl/shaders/layer_ubo.hpp>
namespace mbgl {
namespace shaders {
struct alignas(16) CustomGeometryDrawableUBO {
/* 0 */ std::array<float, 4 * 4> matrix;
/* 64 */ Color color;
/* 80 */
};
static_assert(sizeof(CustomGeometryDrawableUBO) == 5 * 16);
} // namespace shaders
} // namespace mbgl