Graphics/RenderTexture: Remove no longer used config

This commit is contained in:
SirLynix
2023-11-20 23:12:20 +01:00
parent 448cf3b86e
commit 7991071e41
3 changed files with 1 additions and 8 deletions

View File

@@ -718,7 +718,7 @@ namespace Nz
prevIt = it2;
}
auto framePassCallback = [&, viewerData, renderMask](std::size_t /*passIndex*/, FramePass& framePass, FramePipelinePassFlags flags)
auto framePassCallback = [&, viewer = viewerData->viewer](std::size_t /*passIndex*/, FramePass& framePass, FramePipelinePassFlags flags)
{
// Inject previous final attachments as inputs for all passes, to force framegraph to order viewers passes relative to each other
// TODO: Allow the user to define which pass of viewer A uses viewer B rendering

View File

@@ -12,9 +12,6 @@ namespace Nz
{
RenderTexture::RenderTexture(std::shared_ptr<Texture> texture, PipelineStage targetPipelineStage, MemoryAccessFlags targetMemoryFlags, TextureLayout targetLayout) :
m_targetTexture(std::move(texture)),
m_targetMemoryFlags(targetMemoryFlags),
m_targetPipelineStage(targetPipelineStage),
m_targetLayout(targetLayout),
m_textureSize(Vector2ui(m_targetTexture->GetSize()))
{
}