add sdl bmp image loader

This commit is contained in:
2023-07-30 16:00:55 +02:00
parent 42b3866753
commit c0b57c30bd
5 changed files with 102 additions and 11 deletions

View File

@ -0,0 +1,9 @@
#pragma once
#include "./image_loader.hpp"
struct ImageLoaderSDLBMP : public ImageLoaderI {
ImageInfo loadInfoFromMemory(const uint8_t* data, uint64_t data_size) override;
ImageResult loadFromMemoryRGBA(const uint8_t* data, uint64_t data_size) override;
};