SimpleGL
1.1.0
A framework for platform independent rendering
Main Page
Namespaces
Classes
Files
File List
File Members
Backends
Vulkan
include
SimpleGL_vk
vulkan_instance.hpp
Go to the documentation of this file.
1
8
#ifndef VULKAN_INSTANCE_HPP
9
#define VULKAN_INSTANCE_HPP
10
11
#include <SimpleGL_vk/SimpleGL_vk_Export.h>
12
13
#include <string>
14
#include <vector>
15
16
#include <vulkan/vulkan.h>
17
18
namespace
sgl
{
19
25
class
SIMPLEGL_VK_EXPORT
Instance
{
26
27
private
:
29
VkInstance handle;
30
31
public
:
37
Instance
(
bool
debugMode
=
false
);
38
40
~
Instance
(
void
);
41
47
VkInstance getHandle();
48
56
PFN_vkVoidFunction getProcAddr(std::string name);
57
63
std::vector<VkPhysicalDevice> enumeratePhysicalDevices();
64
};
65
}
66
67
#endif
/* VULKAN_INSTANCE_HPP */
sgl::Instance
This class wraps a Vulkan instance.
Definition:
vulkan_instance.hpp:25
sgl
Generic namespace for the SimpleGL framework.
Definition:
application.hpp:18
debugMode
const bool debugMode
Tells if the library is compiled in debug mode.
Definition:
vulkan_context.cpp:14
Generated on Sat Jun 30 2018 21:55:23 for SimpleGL by
1.8.11