SimpleGL
1.1.0
A framework for platform independent rendering
Main Page
Namespaces
Classes
Files
File List
File Members
Backends
Vulkan
include
SimpleGL_vk
glfw_window_vk.hpp
Go to the documentation of this file.
1
8
#ifndef GLFW_WINDOW_VK_HPP
9
#define GLFW_WINDOW_VK_HPP
10
11
#include <SimpleGL_vk/SimpleGL_vk_Export.h>
12
13
#include <string>
14
15
#include <
SimpleGL/glfw_window.hpp
>
16
17
#include "
vulkan_context.hpp
"
18
19
namespace
sgl
{
20
21
/* Forward declaration needed because of a circular dependency */
22
class
Surface;
23
29
class
SIMPLEGL_VK_EXPORT
WindowVK
:
public
Window
{
30
31
private
:
33
VulkanContext
* context;
34
36
Surface
* surface;
37
38
public
:
46
WindowVK
(
int
width,
int
height, std::string title);
47
49
~
WindowVK
(
void
);
50
52
void
swapBuffers()
override
;
53
};
54
}
55
56
#endif
/* GLFW_WINDOW_VK_HPP */
glfw_window.hpp
sgl::VulkanContext
This class contains all relevant Vulkan objects to setup a Vulkan application.
Definition:
vulkan_context.hpp:36
sgl::WindowVK
This class provides a GLFW window with a Vulkan instance.
Definition:
glfw_window_vk.hpp:29
sgl::Window
This class provides a basic GLFW window.
Definition:
glfw_window.hpp:29
sgl
Generic namespace for the SimpleGL framework.
Definition:
application.hpp:18
vulkan_context.hpp
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