added render pipeline WIP

This commit is contained in:
2026-03-15 17:46:11 +01:00
parent f859288689
commit 226f60e9ae
7 changed files with 164 additions and 22 deletions

View File

@@ -101,7 +101,11 @@ void TSE::Camera::SetRenderTarget(IRenderTarget *target)
if(target != nullptr)
target->AddResizeNotifiable(this);
rt = target;
RecalculateProjMatrix();
if(lastRtSize != rt->GetRawIResizableSize())
{
lastRtSize = rt->GetRawIResizableSize();
RecalculateProjMatrix();
}
}
TSE::IRenderTarget *TSE::Camera::GetRenderTarget()