AdvancedOptionalautoWhether refresh() runs after each screen render of renderer;
GraphDebugOverlay#autoUpdate has the details
OptionalmaxMost frames one recording keeps before it stops itself
OptionalparentElement the overlay attaches to
OptionalrendererThe renderer to follow, so each capture is the frame just drawn; leave it unset to call refresh() yourself
The view to debug, given directly or through a getter evaluated on every capture
Constructor options for GraphDebugOverlay
Example