Skip to content

Commit

Permalink
Updated readme with example GraphViz export.
Browse files Browse the repository at this point in the history
  • Loading branch information
acdemiralp committed Feb 10, 2018
1 parent 47a5554 commit 0e3b27b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Binary file added docs/images/example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ auto render_task = framegraph.add_render_task<render_task_data>(
auto& data = render_task->data();
```

Once all render tasks and resources are added, call `framegraph.compile()`. Then, `framegraph.execute()` in each update.
Once all render tasks and resources are added, call `framegraph.compile()`. Then, `framegraph.execute()` in each update. It is also possible to export to GraphViz for debugging / visualization via `framegraph.export_graphviz(filename)`:

![alt text](https://github.com/acdemiralp/fg/docs/images/example.png "Example Framegraph")

**Next Steps**
- Asynchronous render tasks (+ resource / aliasing barriers).

0 comments on commit 0e3b27b

Please sign in to comment.