2023-10-26 18:37:29 +02:00
|
|
|
#include "RenderTarget.h"
|
|
|
|
|
|
|
|
|
|
using namespace Seele;
|
|
|
|
|
using namespace Seele::Gfx;
|
|
|
|
|
|
2024-06-09 12:20:04 +02:00
|
|
|
RenderTargetAttachment::RenderTargetAttachment(PTexture2D texture, SeImageLayout initialLayout, SeImageLayout finalLayout,
|
|
|
|
|
SeAttachmentLoadOp loadOp, SeAttachmentStoreOp storeOp, SeAttachmentLoadOp stencilLoadOp,
|
|
|
|
|
SeAttachmentStoreOp stencilStoreOp)
|
|
|
|
|
: clear(), componentFlags(0), texture(texture), initialLayout(initialLayout), finalLayout(finalLayout), loadOp(loadOp),
|
|
|
|
|
storeOp(storeOp), stencilLoadOp(stencilLoadOp), stencilStoreOp(stencilStoreOp) {}
|
2023-11-15 00:06:00 +01:00
|
|
|
|
2024-06-09 12:20:04 +02:00
|
|
|
RenderTargetAttachment::RenderTargetAttachment(PViewport viewport, SeImageLayout initialLayout, SeImageLayout finalLayout,
|
|
|
|
|
SeAttachmentLoadOp loadOp, SeAttachmentStoreOp storeOp, SeAttachmentLoadOp stencilLoadOp,
|
|
|
|
|
SeAttachmentStoreOp stencilStoreOp)
|
|
|
|
|
: clear(), componentFlags(0), viewport(viewport), initialLayout(initialLayout), finalLayout(finalLayout), loadOp(loadOp),
|
|
|
|
|
storeOp(storeOp), stencilLoadOp(stencilLoadOp), stencilStoreOp(stencilStoreOp) {}
|
2024-02-01 10:21:36 +01:00
|
|
|
|
2024-06-09 12:20:04 +02:00
|
|
|
RenderTargetAttachment::~RenderTargetAttachment() {}
|