What problem does this solve or what need does it fill?
The three testbed_* examples, testbed_2d, testbed_3d, and testbed_ui, each consist of a number of scenes you cycle through by pressing the space key. This is annoying if you are using just one specific scene to test the thing you are working on and you have to cycle through to find the scene you want. Particularly with testbed_ui, which has a large number of scenes.
What solution would you like?
A commandline option that lets you choose the starting scene, i.e.:
cargo run --example testbed_ui -- RadialGradients
which would start the testbed_ui example displaying Scene::RadialGradients.
This should be trivial to implement using argh.
What alternative(s) have you considered?
There could be a menu that allows you to choose the scene, but it seems less convenient for developers than a commandline option.
What problem does this solve or what need does it fill?
The three
testbed_*examples,testbed_2d,testbed_3d, andtestbed_ui, each consist of a number of scenes you cycle through by pressing the space key. This is annoying if you are using just one specific scene to test the thing you are working on and you have to cycle through to find the scene you want. Particularly withtestbed_ui, which has a large number of scenes.What solution would you like?
A commandline option that lets you choose the starting scene, i.e.:
cargo run --example testbed_ui -- RadialGradientswhich would start the
testbed_uiexample displayingScene::RadialGradients.This should be trivial to implement using
argh.What alternative(s) have you considered?
There could be a menu that allows you to choose the scene, but it seems less convenient for developers than a commandline option.