stk-code_catmod/lib/graphics_engine/include/ge_main.hpp
2022-05-27 09:41:34 +08:00

27 lines
497 B
C++

#ifndef HEADER_GE_MAIN_HPP
#define HEADER_GE_MAIN_HPP
#include <IVideoDriver.h>
#include <cstdint>
#include <string>
namespace GE
{
class GEVulkanDriver;
struct GEConfig
{
bool m_disable_npot_texture;
};
void setVideoDriver(irr::video::IVideoDriver* driver);
void setShaderFolder(const std::string& path);
irr::video::IVideoDriver* getDriver();
GE::GEVulkanDriver* getVKDriver();
const std::string& getShaderFolder();
GEConfig* getGEConfig();
void deinit();
uint64_t getMonoTimeMs();
}
#endif