Started working on sample showing comparing separate/interleaved vertex attributes
This commit is contained in:
parent
91958acad2
commit
5f1aac61ca
10 changed files with 929 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue