29 lines
474 B
C++
29 lines
474 B
C++
// vulkan_guide.h : Include file for standard system include files,
|
|
// or project specific include files.
|
|
|
|
#pragma once
|
|
|
|
#include <vk_types.h>
|
|
|
|
class VulkanEngine {
|
|
public:
|
|
|
|
bool _isInitialized{ false };
|
|
int _frameNumber {0};
|
|
|
|
VkExtent2D _windowExtent{ 1700 , 900 };
|
|
|
|
struct SDL_Window* _window{ nullptr };
|
|
|
|
//initializes everything in the engine
|
|
void init();
|
|
|
|
//shuts down the engine
|
|
void cleanup();
|
|
|
|
//draw loop
|
|
void draw();
|
|
|
|
//run main loop
|
|
void run();
|
|
};
|