optimize dx11 engine
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Basalt::Shared::Engine {
|
||||
};
|
||||
|
||||
struct EngineConfig {
|
||||
bool is_headless; ///< Whether enable headless mode (No Window created).
|
||||
bool headless; ///< Whether enable headless mode (No Window created).
|
||||
std::basic_string<BSCHAR> title; ///< Window title.
|
||||
std::uint32_t width; ///< Window width.
|
||||
std::uint32_t height; ///< Window height.
|
||||
@@ -34,7 +34,11 @@ namespace Basalt::Shared::Engine {
|
||||
|
||||
public:
|
||||
virtual void Startup(EngineConfig&& config);
|
||||
virtual void Tick();
|
||||
/**
|
||||
* @brief
|
||||
* @return True for active exit.
|
||||
*/
|
||||
virtual bool Tick();
|
||||
virtual void Shutdown();
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user