mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-18 23:43:23 +09:00
[Feat] (MG_Backend/DirectVulkan): Basic Vulkan renderer and EGL impl for Vulkan.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
#include <Includes.h>
|
||||
|
||||
namespace MobileGL::MG_Backend::DirectVulkan {
|
||||
class VulkanContext;
|
||||
|
||||
struct FrameContext {
|
||||
FrameContext() = default;
|
||||
~FrameContext();
|
||||
|
||||
void Initialize(VulkanContext& ctx, VkCommandPool pool);
|
||||
void Cleanup(VulkanContext& ctx);
|
||||
|
||||
VkCommandBuffer CommandBuffer = VK_NULL_HANDLE;
|
||||
VkSemaphore ImageAvailable = VK_NULL_HANDLE;
|
||||
VkSemaphore RenderFinished = VK_NULL_HANDLE;
|
||||
VkFence InFlightFence = VK_NULL_HANDLE;
|
||||
};
|
||||
} // namespace MobileGL::MG_Backend::DirectVulkan
|
||||
Reference in New Issue
Block a user