2021-11-18 14:58:01 +00:00
|
|
|
#ifndef DUST3D_APPLICATION_MATERIAL_LAYER_H_
|
|
|
|
#define DUST3D_APPLICATION_MATERIAL_LAYER_H_
|
|
|
|
|
|
|
|
#include <dust3d/base/texture_type.h>
|
|
|
|
#include <dust3d/base/uuid.h>
|
2022-10-18 09:35:04 +00:00
|
|
|
#include <vector>
|
2021-11-18 14:58:01 +00:00
|
|
|
|
2022-10-18 09:35:04 +00:00
|
|
|
class MaterialMap {
|
2021-11-18 14:58:01 +00:00
|
|
|
public:
|
|
|
|
dust3d::TextureType forWhat;
|
|
|
|
dust3d::Uuid imageId;
|
|
|
|
};
|
|
|
|
|
2022-10-18 09:35:04 +00:00
|
|
|
class MaterialLayer {
|
2021-11-18 14:58:01 +00:00
|
|
|
public:
|
|
|
|
std::vector<MaterialMap> maps;
|
|
|
|
float tileScale = 1.0;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|