https://vulkan-tutorial.com/Vertex_buffers/Staging_buffer Reached the above part of the tutorial. Adding IMGUI now before continuing.
21 lines
323 B
C++
21 lines
323 B
C++
#pragma once
|
|
|
|
#define GLFW_INCLUDE_VULKAN
|
|
#include <GLFW/glfw3.h>
|
|
|
|
class VulkanRenderPass
|
|
{
|
|
public:
|
|
void Initialize(VkDevice InDevice);
|
|
|
|
void Cleanup();
|
|
|
|
void CreateRenderPass(VkFormat SwapChainImageFormat);
|
|
|
|
VkRenderPass GetRenderPass() { return RenderPass; }
|
|
|
|
private:
|
|
VkDevice Device;
|
|
VkRenderPass RenderPass;
|
|
};
|