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);
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@ namespace vks
|
|||
bool header(const char* caption);
|
||||
bool checkBox(const char* caption, bool* value);
|
||||
bool checkBox(const char* caption, int32_t* value);
|
||||
bool radioButton(const char* caption, bool value);
|
||||
bool inputFloat(const char* caption, float* value, float step, uint32_t precision);
|
||||
bool sliderFloat(const char* caption, float* value, float min, float max);
|
||||
bool sliderInt(const char* caption, int32_t* value, int32_t min, int32_t max);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue