optimized image_count of Swapchain

This commit is contained in:
2025-01-25 21:17:00 +08:00
parent 63dac1ef74
commit b47b096039
3 changed files with 13 additions and 8 deletions

View File

@@ -1,7 +1,8 @@
#pragma once
#include<hgl/graph/VKDevice.h>
#include<hgl/platform/Window.h>
#include<hgl/graph/VKDevice.h>
#include<hgl/graph/VKCommandBuffer.h>
#include<hgl/graph/module/GraphModuleManager.h>
VK_NAMESPACE_BEGIN

View File

@@ -16,12 +16,6 @@ VK_NAMESPACE_BEGIN
*
* 2.多帧渲染目标即有多帧数据每次渲染都是指定帧典型的是Swapchain
*
* 但不管是单帧还是多帧,又有两种情况:
*
* 1.单个颜色缓冲区
*
* 2.多个颜色缓冲区典型如PBR GBuffer
*
* 所以RenderTarget的其实是一个多态类根据不同的情况有不同的实现
*/