Files
Seele/src/Engine/Graphics/RenderTarget.cpp
T

47 lines
1.1 KiB
C++
Raw Normal View History

2023-10-26 18:37:29 +02:00
#include "RenderTarget.h"
using namespace Seele;
using namespace Seele::Gfx;
2023-11-15 00:06:00 +01:00
RenderTargetAttachment::RenderTargetAttachment(PTexture2D texture,
SeImageLayout initialLayout,
SeImageLayout finalLayout,
2023-11-15 17:42:57 +01:00
SeAttachmentLoadOp loadOp,
SeAttachmentStoreOp storeOp,
SeAttachmentLoadOp stencilLoadOp,
SeAttachmentStoreOp stencilStoreOp)
2023-11-15 00:06:00 +01:00
: clear()
, componentFlags(0)
, texture(texture)
, initialLayout(initialLayout)
, finalLayout(finalLayout)
2023-11-15 00:06:00 +01:00
, loadOp(loadOp)
, storeOp(storeOp)
, stencilLoadOp(stencilLoadOp)
, stencilStoreOp(stencilStoreOp)
{
}
2024-02-01 10:21:36 +01: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)
{
}
2023-11-15 00:06:00 +01:00
RenderTargetAttachment::~RenderTargetAttachment()
{
}