Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: mwilsnd <mwilsnd@gmail.com>
24 lines
388 B
C++
24 lines
388 B
C++
#pragma once
|
|
|
|
#include <mbgl/gfx/drawable_data.hpp>
|
|
#include <mbgl/util/mat4.hpp>
|
|
|
|
#include <memory>
|
|
|
|
namespace mbgl {
|
|
|
|
namespace gfx {
|
|
|
|
class ImageDrawableData : public DrawableData {
|
|
public:
|
|
ImageDrawableData(mat4 matrix_)
|
|
: matrix(matrix_) {}
|
|
|
|
mat4 matrix;
|
|
};
|
|
|
|
using UniqueImageDrawableData = std::unique_ptr<ImageDrawableData>;
|
|
|
|
} // namespace gfx
|
|
} // namespace mbgl
|