#ifndef DUST3D_APPLICATION_MATERIAL_H_ #define DUST3D_APPLICATION_MATERIAL_H_ #include #include #include #include struct MaterialTextures { const QImage *textureImages[(int)dust3d::TextureType::Count - 1] = {nullptr}; }; void initializeMaterialTexturesFromSnapshot(const dust3d::Snapshot &snapshot, const dust3d::Uuid &materialId, MaterialTextures &materialTextures, float &tileScale); #endif