Implemented getResourceBindings methods to recursively collect resource bindings from nodes and resource-to-resource connections. Replaced many KRNode::preStream() overrides with a generic handler in KRNode::preStream() that walks the resource binding tree.
This commit is contained in:
@@ -61,7 +61,7 @@ public:
|
||||
|
||||
void renderFrame(VkCommandBuffer& commandBuffer, KRSurface& compositeSurface, KRRenderGraph& renderGraph);
|
||||
|
||||
void preStream(const KRViewport& viewport, std::list<KRResourceRequest>& resourceRequests) final;
|
||||
void getResourceBindings(std::list<KRResourceBinding*>& bindings) final;
|
||||
void render(KRNode::RenderInfo& ri) final;
|
||||
|
||||
KRRenderSettings settings;
|
||||
|
||||
Reference in New Issue
Block a user