SimpleGL  1.1.0
A framework for platform independent rendering
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 */
This class provides methods for managing shader modules.
Definition: manager_vk.hpp:27
Generic namespace for the SimpleGL framework.
Definition: application.hpp:18
This class provides an abstract class for managing objects.
Definition: manager.hpp:24
This class wraps a Vulkan texture image.
ShaderStageBit
This enum stores supported shader stage flag bit.
This class wraps a Vulkan shader module.
This class provides methods for managing texture images.
Definition: manager_vk.hpp:57