jGL
Loading...
Searching...
No Matches
renderPass.h
Go to the documentation of this file.
1#ifndef RENDERPASS
2#define RENDERPASS
3
4#include <vulkan/vulkan.h>
5#include <array>
7
8namespace jGL::Vulkan
9{
11 {
12
13 /*
14
15 A bare bones render pass, supporting MSAA on a single
16 colour attachement
17
18 */
19
20 public:
21
22 RenderPass() = default;
23
25 (
26 const Device & device,
27 VkSampleCountFlagBits msaaSamples,
28 VkFormat swapChainImageFormat
29 );
30
31 const VkRenderPass & getVkRenderPass() const { return renderPass; }
32
33 private:
34
35 VkRenderPass renderPass;
36
37 };
38}
39
40#endif /* RENDERPASS */
Definition device.h:10
Definition renderPass.h:11
const VkRenderPass & getVkRenderPass() const
Definition renderPass.h:31
Definition buffer.h:10