~sircmpwn/xrgears

ref: c4afd33e13398688fc03f60ef3d0a498bf40bfdd xrgears/vks/vksRenderer.hpp -rw-r--r-- 389 bytes
c4afd33e — Lubosz Sarnecki add new abstract classes for interfaces between vks and vkc. 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include <string>

#include <vulkan/vulkan.h>
//#include "../vks/vksWindow.hpp"
#include "../vks/vksSettings.hpp"

namespace vks {

class Window;

class Renderer {
public:
  // Vulkan instance, stores all per-application states
  VkInstance instance;

  Renderer();
  ~Renderer();
  VkResult createInstance(Settings* settings, Window *window, const std::string& name);

};
}