FCT
载入中...
搜索中...
未找到
VK_CommandPool.cpp
浏览该文件的文档.
1//
2// Created by Administrator on 2025/3/31.
3//
4
5#include "../FCTAPI.h"
6namespace FCT
7{
8 namespace RHI
9 {
14
16 {
17 return m_ctx;
18 }
19
21 {
22 m_createInfo.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer;
23 m_createInfo.queueFamilyIndex = m_ctx->getGraphicsQueueFamily();
24 m_pool = m_ctx->device().createCommandPool(m_createInfo);
25 }
26
31 }
32}
CommandBuffer * createCommandBuffer() override
vk::CommandPoolCreateInfo m_createInfo