Added VulkanHandle
This commit is contained in:
@@ -92,7 +92,7 @@ namespace PB::Renderer
|
||||
*/
|
||||
static bool RenderPass(GLFWwindow* window);
|
||||
|
||||
static void CreateNewRenderObject(Color color, Mesh mesh);
|
||||
static void CreateNewRenderObject(Color color, const Mesh& mesh);
|
||||
|
||||
private:
|
||||
// === Internal helper structs === //
|
||||
@@ -141,9 +141,9 @@ namespace PB::Renderer
|
||||
|
||||
// === Vulkan init helpers === //
|
||||
|
||||
static bool IsDeviceSuitable(const VkPhysicalDevice& device);
|
||||
static QueueFamilyIndices FindQueueFamilies(const VkPhysicalDevice& device);
|
||||
static bool CheckDeviceExtensionSupport(const VkPhysicalDevice& device);
|
||||
static bool IsDeviceSuitable(VulkanHandle device);
|
||||
static QueueFamilyIndices FindQueueFamilies(VulkanHandle device);
|
||||
static bool CheckDeviceExtensionSupport(VulkanHandle device);
|
||||
|
||||
static SwapChainSupportDetails QuerySwapChainSupport();
|
||||
static VkSurfaceFormatKHR ChooseSurfaceFormat(const std::vector<VkSurfaceFormatKHR>& availableFormats);
|
||||
|
||||
Reference in New Issue
Block a user