Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
20 lines
401 B
C++
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
|