Move fullscreen graph ownership out of pass transitions

This commit is contained in:
2026-04-14 13:48:59 +08:00
parent 8bd375cd24
commit 9950e0a44f
6 changed files with 108 additions and 7 deletions

View File

@@ -84,6 +84,9 @@ public:
const RenderGraphTextureDesc& desc,
RHI::RHIResourceView* importedView = nullptr,
const RenderGraphImportedTextureOptions& importedOptions = {});
void MergeImportedTextureOptions(
RenderGraphTextureHandle handle,
const RenderGraphImportedTextureOptions& importedOptions);
RenderGraphTextureHandle CreateTransientTexture(
const Containers::String& name,

View File

@@ -106,6 +106,7 @@ struct RenderGraphExecutionContext {
RenderGraphTextureHandle handle,
RenderGraphTextureDesc& outDesc) const;
bool IsTransientTexture(RenderGraphTextureHandle handle) const;
bool OwnsTextureTransitions(RenderGraphTextureHandle handle) const;
};
using RenderGraphExecuteCallback = std::function<void(const RenderGraphExecutionContext&)>;