|
| void | addRenderable (std::shared_ptr< Renderable > const &renderable) |
| |
| void | clearRenderables () |
| |
| void | close () |
| |
| WGPUDevice | device () const |
| |
| void | eraseRenderable (std::shared_ptr< Renderable > const &renderable) |
| |
| void | loadConfig (std::filesystem::path const &config) |
| |
|
std::size_t | numRenderables () const |
| |
| bool | open (int width=1280, int height=800, bool resizable=true, std::string const &window_name="UFOViz", WGPUPowerPreference power_preference=WGPUPowerPreference_Undefined, WGPUBackendType backend_type=WGPUBackendType_Undefined) |
| |
| void | run () |
| |
| void | runAsync () |
| |
| bool | running () const |
| |
| void | saveConfig (std::filesystem::path const &file) const |
| |
| void | update () |
| |
Definition at line 67 of file viz.hpp.
◆ Viz()
◆ ~Viz()
◆ addRenderable()
| void ufo::Viz::addRenderable |
( |
std::shared_ptr< Renderable > const & |
renderable | ) |
|
◆ clearRenderables()
| void ufo::Viz::clearRenderables |
( |
| ) |
|
◆ close()
◆ device()
| WGPUDevice ufo::Viz::device |
( |
| ) |
const |
◆ eraseRenderable()
| void ufo::Viz::eraseRenderable |
( |
std::shared_ptr< Renderable > const & |
renderable | ) |
|
◆ loadConfig()
| void ufo::Viz::loadConfig |
( |
std::filesystem::path const & |
config | ) |
|
◆ open()
| bool ufo::Viz::open |
( |
int |
width = 1280, |
|
|
int |
height = 800, |
|
|
bool |
resizable = true, |
|
|
std::string const & |
window_name = "UFOViz", |
|
|
WGPUPowerPreference |
power_preference = WGPUPowerPreference_Undefined, |
|
|
WGPUBackendType |
backend_type = WGPUBackendType_Undefined |
|
) |
| |
◆ run()
◆ runAsync()
| void ufo::Viz::runAsync |
( |
| ) |
|
◆ running()
| bool ufo::Viz::running |
( |
| ) |
const |
◆ saveConfig()
| void ufo::Viz::saveConfig |
( |
std::filesystem::path const & |
file | ) |
const |
◆ update()
| void ufo::Viz::update |
( |
| ) |
|
The documentation for this class was generated from the following files: