Triangle posting
https://vulkan-tutorial.com/Vertex_buffers/Staging_buffer Reached the above part of the tutorial. Adding IMGUI now before continuing.
This commit is contained in:
20
src/public/VulkanRenderPass.h
Normal file
20
src/public/VulkanRenderPass.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#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;
|
||||
};
|
||||
Reference in New Issue
Block a user