Started working on sample showing comparing separate/interleaved vertex attributes

This commit is contained in:
Sascha Willems 2021-12-26 18:42:03 +01:00
parent 91958acad2
commit 5f1aac61ca
10 changed files with 929 additions and 0 deletions

View file

@ -434,6 +434,13 @@ namespace vks
return res;
}
bool UIOverlay::radioButton(const char* caption, bool value)
{
bool res = ImGui::RadioButton(caption, value);
if (res) { updated = true; };
return res;
}
bool UIOverlay::inputFloat(const char *caption, float *value, float step, uint32_t precision)
{
bool res = ImGui::InputFloat(caption, value, step, step * 10.0f, precision);