Graphics: Replace RenderFrame by RenderResources
This changes makes the whole rendering independent from the RenderFrame acquired from the Swapchain. This may allow to do offscreen rendering (= without swapchain), or multi-window rendering in the future
This commit is contained in:
@@ -82,7 +82,7 @@ namespace Nz
|
||||
bool HasPass(std::string_view passName) const;
|
||||
inline bool HasPass(std::size_t passIndex) const;
|
||||
|
||||
void OnTransfer(RenderFrame& renderFrame, CommandBufferBuilder& builder) override;
|
||||
void OnTransfer(RenderResources& renderResources, CommandBufferBuilder& builder) override;
|
||||
|
||||
inline void SetTextureProperty(std::string_view propertyName, std::shared_ptr<Texture> texture);
|
||||
inline void SetTextureProperty(std::string_view propertyName, std::shared_ptr<Texture> texture, const TextureSamplerInfo& samplerInfo);
|
||||
|
||||
Reference in New Issue
Block a user