Adding interface for renderpass layout transitions
This commit is contained in:
@@ -4,17 +4,21 @@ using namespace Seele;
|
||||
using namespace Seele::Gfx;
|
||||
|
||||
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)
|
||||
, texture(texture)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user