SimpleGL
1.1.0
A framework for platform independent rendering
Main Page
Namespaces
Classes
Files
File List
File Members
Backends
Vulkan
include
SimpleGL_vk
surface.hpp
Go to the documentation of this file.
1
8
#ifndef SURFACE_HPP
9
#define SURFACE_HPP
10
11
#include <SimpleGL_vk/SimpleGL_vk_Export.h>
12
13
#include <vulkan/vulkan.h>
14
15
namespace
sgl
{
16
17
/* Forward declaration needed because of a circular dependency */
18
class
WindowVK;
19
25
class
SIMPLEGL_VK_EXPORT
Surface
{
26
27
private
:
29
VkSurfaceKHR handle;
30
31
public
:
37
Surface
(
WindowVK
* window);
38
40
~
Surface
(
void
);
41
47
VkSurfaceKHR getHandle();
48
};
49
}
50
51
#endif
/* SURFACE_HPP */
sgl::WindowVK
This class provides a GLFW window with a Vulkan instance.
Definition:
glfw_window_vk.hpp:29
sgl
Generic namespace for the SimpleGL framework.
Definition:
application.hpp:18
sgl::Surface
This class wraps a Vulkan surface.
Definition:
surface.hpp:25
Generated on Sat Jun 30 2018 21:55:23 for SimpleGL by
1.8.11