30 lines
435 B
C++
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
|