Added simple python script that will load needed libraries into the project folder structure. Most libraries are now not needed to be present in development system.
34 lines
793 B
C++
34 lines
793 B
C++
#ifndef RSE_GRAPHICS_HPP
|
|
#define RSE_GRAPHICS_HPP
|
|
|
|
#include <cstdint>
|
|
namespace rse::graphics
|
|
{
|
|
namespace vulkanbase {
|
|
struct VulkanState;
|
|
};
|
|
class RseGraphics {
|
|
public:
|
|
RseGraphics();
|
|
~RseGraphics();
|
|
RseGraphics& operator=(const RseGraphics&) = delete;
|
|
RseGraphics(const RseGraphics&) = delete;
|
|
|
|
/**
|
|
* @brief Initialize graphics module, runs main loop and deinits everything, when interrupted.
|
|
* This has to been run AFTER all scene objects have been already created.
|
|
*
|
|
* @return uint8_t 0 on success.
|
|
*/
|
|
uint8_t graphics_run(void);
|
|
|
|
private:
|
|
/* Hold vulkan state. It is modified by function initializing and communicating with Vulkan API */
|
|
vulkanbase::VulkanState* vulkan_state;
|
|
};
|
|
|
|
|
|
} // namespace rse::graphics
|
|
|
|
|
|
#endif |