changes
This commit is contained in:
@@ -67,7 +67,8 @@ class RenderGraph {
|
||||
/**
|
||||
* Adds a pass. `setup` runs immediately and declares what the pass does to
|
||||
* images; `execute` runs later, from execute(), with the barriers already
|
||||
* recorded and (if the pass writes color) rendering begun.
|
||||
* recorded and (if the pass writes color) rendering begun. `name` labels
|
||||
* the pass's commands in debugging tools such as RenderDoc.
|
||||
*/
|
||||
void addPass(std::string name, const SetupFn& setup, ExecuteFn execute);
|
||||
|
||||
@@ -112,6 +113,7 @@ class RenderGraph {
|
||||
PendingBarriers& pending);
|
||||
void flush(vk::CommandBuffer commandBuffer, PendingBarriers& pending);
|
||||
void recordPass(vk::CommandBuffer commandBuffer, Pass& pass);
|
||||
void recordRendering(vk::CommandBuffer commandBuffer, Pass& pass);
|
||||
|
||||
std::vector<ImportedImage> images;
|
||||
std::vector<Pass> passes;
|
||||
|
||||
Reference in New Issue
Block a user