1
0

adapt dx11 engine with new object loader interface

This commit is contained in:
2026-01-09 20:16:21 +08:00
parent 184b94c5fc
commit 07bd22d2ee
4 changed files with 121 additions and 55 deletions

View File

@@ -1,15 +1,19 @@
#pragma once
#include "guid.hpp"
#include "object_loader.hpp"
#include "anime_loader.hpp"
#include <string>
#include <cinttypes>
namespace basalt::shared::engine {
struct EngineConfig {
bool headless; ///< Whether enable headless mode (No Window created).
std::uint32_t width; ///< Window width.
std::uint32_t height; ///< Window height.
guid::Guid deliver; ///< The GUID of deliver.
bool headless; ///< Whether enable headless mode (No Window created).
std::uint32_t width; ///< Window width.
std::uint32_t height; ///< Window height.
guid::Guid deliver; ///< The GUID of deliver.
object_loader::IObjectLoader* object_loader; ///< The instance of object loader.
anime_loader::IAnimeLoader* anime_loader; ///< The instance of anime loader.
};
enum class EngineStatus {