Graphics/FrameGraph: Add FramePassAttachmentSize enum instead of boolean
This commit is contained in:
committed by
Jérôme Leclercq
parent
d6b9b4327a
commit
d7eab778fb
@@ -14,13 +14,19 @@
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
enum class FramePassAttachmentSize
|
||||
{
|
||||
Fixed,
|
||||
SwapchainFactor
|
||||
};
|
||||
|
||||
struct FramePassAttachment
|
||||
{
|
||||
std::string name;
|
||||
PixelFormat format;
|
||||
FramePassAttachmentSize size = FramePassAttachmentSize::SwapchainFactor;
|
||||
unsigned int width = 100'000;
|
||||
unsigned int height = 100'000;
|
||||
bool hasFixedSize = false;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user