Update GUIFunc.h
parent
f53e0ad463
commit
0cb6a9f00b
|
@ -35,12 +35,24 @@ public:
|
|||
glm::vec2 translate;
|
||||
} pushConstBlock;
|
||||
|
||||
GUIFunc(vks::VulkanDevice* vulkanDevice, VkRenderPass renderPass, VkQueue queue, VkPipelineCache pipelineCache, VkSampleCountFlagBits multiSampleCount);
|
||||
|
||||
~GUIFunc();
|
||||
|
||||
void draw(VkCommandBuffer cmdBuffer);
|
||||
|
||||
template<typename T>
|
||||
bool checkbox(const char* caption, T* value);
|
||||
|
||||
bool header(const char* caption);
|
||||
|
||||
bool slider(const char* caption, float* value, float min, float max);
|
||||
|
||||
bool combo(const char* caption, int32_t* itemindex, std::vector<std::string> items);
|
||||
|
||||
bool button(const char* caption);
|
||||
|
||||
void text(const char* formatstr, ...);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue