Graphics/FrameGraph: Remove SwapchainFactors attachment size and fully handle multiple viewer sizes

This commit is contained in:
Lynix
2023-11-21 23:02:07 +01:00
parent dca8555d34
commit d7d5c09428
4 changed files with 10 additions and 22 deletions

View File

@@ -91,6 +91,7 @@ namespace Nz
std::shared_ptr<CommandPool> m_commandPool;
std::vector<PassData> m_passes;
std::vector<TextureData> m_textures;
std::vector<Vector2ui> m_viewerSizes;
AttachmentIdToTextureId m_attachmentToTextureMapping;
PassIdToPhysicalPassIndex m_passIdToPhysicalPassMapping;
unsigned int m_height;

View File

@@ -18,7 +18,6 @@ namespace Nz
enum class FramePassAttachmentSize
{
Fixed,
SwapchainFactor,
ViewerTargetFactor,
};