26 lines
544 B
C++
26 lines
544 B
C++
#pragma once
|
|
|
|
#include <filesystem>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
#include "game_object.hpp"
|
|
#include "transform.hpp"
|
|
#include "mesh_filter.hpp"
|
|
#include "prefab_instance.hpp"
|
|
|
|
struct SceneAsset
|
|
{
|
|
public:
|
|
std::filesystem::path path;
|
|
std::string name;
|
|
|
|
std::vector<GameObjectAsset> gameObjects;
|
|
std::vector<TransformAsset> transforms;
|
|
std::vector<MeshFilterAsset> meshFilters;
|
|
// std::vector<PrefabInstanceAsset> prefabInstances;
|
|
|
|
std::unordered_map<int64_t, void*> IDtoAsset;
|
|
|
|
|
|
}; |