Graphics/FrameGraph: Add FramePassAttachmentSize enum instead of boolean

This commit is contained in:
SirLynix
2022-11-22 18:16:06 +01:00
committed by Jérôme Leclercq
parent d6b9b4327a
commit d7eab778fb
8 changed files with 48 additions and 30 deletions

View File

@@ -581,8 +581,8 @@ namespace Nz
lightData->shadowMapAttachmentIndex = frameGraph.AddAttachment({
"Shadowmap",
shadowMapFormat,
FramePassAttachmentSize::Fixed,
shadowMapSize, shadowMapSize,
true // fixed size
});
if (!lightData->camera)