Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
23 lines
380 B
C++
23 lines
380 B
C++
#pragma once
|
|
|
|
#include <mbgl/shaders/layer_ubo.hpp>
|
|
|
|
namespace mbgl {
|
|
namespace shaders {
|
|
|
|
struct alignas(16) DebugUBO {
|
|
std::array<float, 4 * 4> matrix;
|
|
Color color;
|
|
float overlay_scale;
|
|
float pad1, pad2, pad3;
|
|
};
|
|
static_assert(sizeof(DebugUBO) % 16 == 0);
|
|
|
|
enum {
|
|
idDebugUBO = globalUBOCount,
|
|
debugUBOCount
|
|
};
|
|
|
|
} // namespace shaders
|
|
} // namespace mbgl
|