SimpleGL
1.1.0
A framework for platform independent rendering
Main Page
Namespaces
Classes
Files
File List
File Members
Backends
Vulkan
include
SimpleGL_vk
manager_vk.hpp
Go to the documentation of this file.
1
8
#ifndef MANAGER_VK_HPP
9
#define MANAGER_VK_HPP
10
11
#include <SimpleGL_vk/SimpleGL_vk_Export.h>
12
13
#include <string>
14
15
#include <
SimpleGL/manager.hpp
>
16
17
#include "
shader_module.hpp
"
18
#include "
texture_image.hpp
"
19
20
namespace
sgl
{
21
27
class
SIMPLEGL_VK_EXPORT
ShaderModuleManager
:
public
Manager
<ShaderModule> {
28
29
public
:
35
void
remove
(std::string name)
override
;
36
38
void
clear()
override
;
39
49
ShaderModule
* loadShaderModule(std::string path, std::string name,
ShaderStageBit
stageBit);
50
};
51
57
class
SIMPLEGL_VK_EXPORT
TextureImageManager
:
public
Manager
<TextureImage> {
58
59
public
:
65
void
remove
(std::string name)
override
;
66
68
void
clear()
override
;
69
78
TextureImage
* load(std::string path, std::string name);
79
};
80
}
81
82
#endif
/* MANAGER_VK_HPP */
shader_module.hpp
sgl::ShaderModuleManager
This class provides methods for managing shader modules.
Definition:
manager_vk.hpp:27
manager.hpp
sgl
Generic namespace for the SimpleGL framework.
Definition:
application.hpp:18
texture_image.hpp
sgl::Manager
This class provides an abstract class for managing objects.
Definition:
manager.hpp:24
sgl::TextureImage
This class wraps a Vulkan texture image.
Definition:
texture_image.hpp:24
sgl::ShaderStageBit
ShaderStageBit
This enum stores supported shader stage flag bit.
Definition:
shader_module.hpp:24
sgl::ShaderModule
This class wraps a Vulkan shader module.
Definition:
shader_module.hpp:38
sgl::TextureImageManager
This class provides methods for managing texture images.
Definition:
manager_vk.hpp:57
Generated on Sat Jun 30 2018 21:55:23 for SimpleGL by
1.8.11