Graphics/FrameGraph: Rename BindAttachmentToExternalTexture
This commit is contained in:
@@ -43,7 +43,7 @@ namespace Nz
|
||||
|
||||
BakedFrameGraph Bake();
|
||||
|
||||
inline void BindAttachmentToExternalTexture(std::size_t attachmentIndex, std::shared_ptr<Texture> texture);
|
||||
inline void BindExternalTexture(std::size_t attachmentIndex, std::shared_ptr<Texture> texture);
|
||||
|
||||
FrameGraph& operator=(const FrameGraph&) = delete;
|
||||
FrameGraph& operator=(FrameGraph&&) noexcept = default;
|
||||
|
||||
@@ -89,7 +89,7 @@ namespace Nz
|
||||
m_backbufferOutputs.push_back(attachmentIndex);
|
||||
}
|
||||
|
||||
inline void FrameGraph::BindAttachmentToExternalTexture(std::size_t attachmentIndex, std::shared_ptr<Texture> texture)
|
||||
inline void FrameGraph::BindExternalTexture(std::size_t attachmentIndex, std::shared_ptr<Texture> texture)
|
||||
{
|
||||
m_externalTextures[attachmentIndex] = std::move(texture);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user