|
Orrery
A GPU-accelerated N-body gravitational simulator
|
How the window is created. More...
#include <orrery/viz/viewer_window.hpp>
Public Attributes | |
| std::size_t | width = 1280 |
| std::size_t | height = 720 |
| std::string | title = "Orrery" |
| bool | visible = true |
| Whether the window appears on screen. | |
| bool | vertical_sync = true |
| Whether presenting waits for the display's refresh. | |
How the window is created.
| bool orrery::viz::WindowOptions::visible = true |
Whether the window appears on screen.
False for the offline export, which needs a context and not a picture.
| bool orrery::viz::WindowOptions::vertical_sync = true |
Whether presenting waits for the display's refresh.
On for the interactive viewer, where drawing faster than the screen refreshes wastes power to produce frames nobody sees, and off for the export, where the point is to finish.