mirror of
https://github.com/Karaka-Management/cOMS.git
synced 2026-01-11 03:08:41 +00:00
28 lines
594 B
C
28 lines
594 B
C
/**
|
|
* Jingga
|
|
*
|
|
* @copyright Jingga
|
|
* @license OMS License 2.0
|
|
* @version 1.0.0
|
|
* @link https://jingga.app
|
|
*/
|
|
#ifndef TOS_GPUAPI_VULKAN_GPU_API_CONTAINER
|
|
#define TOS_GPUAPI_VULKAN_GPU_API_CONTAINER
|
|
|
|
#include <vulkan/vulkan.h>
|
|
|
|
struct GpuApiContainer {
|
|
VkInstance instance;
|
|
VkSurfaceKHR surface;
|
|
VkDevice device;
|
|
VkSwapchainKHR swapchain;
|
|
VkPipelineLayout pipelineLayout;
|
|
VkFramebuffer framebuffer;
|
|
VkQueue graphicsQueue;
|
|
VkRenderPass renderPass;
|
|
VkPipeline pipeline;
|
|
VkCommandPool commandPool;
|
|
VkCommandBuffer commandBuffer;
|
|
};
|
|
|
|
#endif |