~sircmpwn/xrgears

ref: f53b7eaffce0ac98c6541802803df215df383f11 xrgears/vks/vksRenderer.hpp -rw-r--r-- 418 bytes
f53b7eaf — Lubosz Sarnecki make vkc and vks classes inherit from abstact vik classes. 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/vksSettings.hpp"
#include "../vitamin-k/vikRenderer.hpp"

namespace vks {

class Window;

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

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

};
}