Designated UI overlay widget creation functions (wrapping ImGui calls)

This commit is contained in:
saschawillems 2017-10-30 12:37:36 +01:00
parent ab407f5346
commit 15f85d6e10
2 changed files with 42 additions and 0 deletions

View file

@ -86,5 +86,11 @@ namespace vks
void update();
void submit(VkQueue queue, uint32_t bufferindex, VkSubmitInfo submitInfo);
bool header(const char* caption);
bool checkBox(const char* caption, bool* value);
bool inputFloat(const char* caption, float* value, float step, uint32_t precision);
bool comboBox(const char* caption, int32_t* itemindex, std::vector<std::string> items);
void text(const char* formatstr, ...);
};
}