#pragma once #include #include #include #include "Types.h" namespace WallpaperEngine::Data::Model { // TODO: FIND A BETTER NAMING SO THIS DOESN'T COLLIDE WITH THE NAMESPACE ITSELF struct ModelStruct { std::string filename; MaterialUniquePtr material; bool solidlayer; // not actually batched, each object still draws on its own bool instanced; bool fullscreen; bool passthrough; bool autosize; /** Composition layer covering the whole project, autosize makes it the scene's size */ bool projectlayer; bool nopadding; std::optional width; std::optional height; // autosize canvas center offset from the puppet's content pivot (rigs off-center in their bounds) std::optional cropOffset; std::optional puppet; }; } // namespace WallpaperEngine::Data::Model