修改完了,还报警告。 先保存
This commit is contained in:
@@ -45,11 +45,12 @@ private:
|
||||
VkPipelineLayout pipelineLayout; // 管线布局
|
||||
VkPipeline graphicsPipeline; // 图形管线
|
||||
std::vector<VkFramebuffer> swapChainFramebuffers; // 帧缓冲区
|
||||
VkCommandPool commandPool; // 命令池
|
||||
VkCommandBuffer commandBuffer; // 命令缓冲区
|
||||
VkSemaphore imageAvailableSemaphore; // 图像可用信号量
|
||||
VkSemaphore renderFinishedSemaphore; // 渲染完成信号量
|
||||
VkFence inFlightFence; // 同步栅栏
|
||||
VkQueue presentQueue; // 呈现队列
|
||||
|
||||
VkCommandPool commandPool; // 命令池
|
||||
std::vector <VkCommandBuffer> commandBuffers; // 命令缓冲区
|
||||
std::vector<VkSemaphore> imageAvailableSemaphores; // 图像可用信号量
|
||||
std::vector<VkSemaphore> renderFinishedSemaphores; // 渲染完成信号量
|
||||
std::vector<VkFence> inFlightFences; // 同步栅栏
|
||||
int currentFrame = 0;
|
||||
};
|
||||
Reference in New Issue
Block a user