Files
MapLibreParticleLab/include/mbgl/mtl/dynamic_texture.hpp
Alex Cristici 6a77854632 Add multithreaded upload to dynamic texture on Vulkan [Core feature] (#4028)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Adrian Cojocaru <adrian.cojocaru92@yahoo.com>
2026-01-20 16:04:34 +01:00

19 lines
379 B
C++

#pragma once
#include <mbgl/gfx/dynamic_texture.hpp>
namespace mbgl {
namespace mtl {
class Context;
class DynamicTexture : public gfx::DynamicTexture {
public:
DynamicTexture(Context& context, Size size, gfx::TexturePixelType pixelType);
void uploadImage(const uint8_t* pixelData, gfx::TextureHandle& texHandle) override;
};
} // namespace mtl
} // namespace mbgl