Dicewars-Siedler/src/engine/renderer/loader/async/RawTextureData.h
Sebastian Böckelmann b71aa63b71
All checks were successful
Tests / test (push) Successful in 2m37s
ADD: Async Asset Loading, closes #18
2026-04-21 08:05:57 +02:00

30 lines
435 B
C++

//
// Created by sebastian on 20.04.26.
//
#ifndef RAWTEXTUREDATA_H
#define RAWTEXTUREDATA_H
#include <vector>
enum class TextureType {
Diffuse,
Specular,
Normal,
Emissive,
Opacity
};
struct RawTextureData {
std::string name;
std::vector<unsigned char> pixels;
int width, height, channels;
};
struct TextureData {
TextureType type;
RawTextureData textureData;
};
#endif //RAWTEXTUREDATA_H