Create image views and render passes
This commit is contained in:
@@ -33,6 +33,8 @@ namespace PB::Renderer
|
||||
static bool PickPhysicalDevice();
|
||||
static bool CreateLogicalDevice();
|
||||
static bool CreateSwapChain(GLFWwindow* window);
|
||||
static bool CreateImageViews();
|
||||
static bool CreateRenderPass();
|
||||
|
||||
private:
|
||||
static bool IsDeviceSuitable(VkPhysicalDevice device, VkSurfaceKHR surface);
|
||||
@@ -60,5 +62,7 @@ namespace PB::Renderer
|
||||
static std::vector<VkImageView> s_SwapChainImageViews;
|
||||
static VkFormat s_SwapChainImageFormat;
|
||||
static VkExtent2D s_SwapChainExtent;
|
||||
|
||||
static VkRenderPass s_RenderPass;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user