xo-imgui: + vulkan examples
This commit is contained in:
parent
c331058914
commit
fb7947a896
12 changed files with 5860 additions and 4 deletions
19
xo-imgui/example/ex4/imgui_ex4.cpp
Normal file
19
xo-imgui/example/ex4/imgui_ex4.cpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/* imgui_ex4.cpp */
|
||||
|
||||
#include "xo/imgui/VulkanApp.hpp"
|
||||
#include <iostream>
|
||||
|
||||
int main() {
|
||||
VulkanApp app;
|
||||
|
||||
try {
|
||||
app.run();
|
||||
} catch (const std::exception& e) {
|
||||
std::cerr << e.what() << std::endl;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
/* end imgui_ex4.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue