19#include <vulkan/vulkan.h>
25#include "imgui/imgui.h"
29#if defined(__ANDROID__)
49 std::vector<VkPipelineShaderStageCreateInfo>
shaders;
74 void preparePipeline(
const VkPipelineCache pipelineCache,
const VkRenderPass renderPass);
78 void draw(
const VkCommandBuffer commandBuffer);
79 void resize(uint32_t width, uint32_t height);
83 bool header(
const char* caption);
84 bool checkBox(
const char* caption,
bool* value);
85 bool checkBox(
const char* caption, int32_t* value);
86 bool inputFloat(
const char* caption,
float* value,
float step, uint32_t precision);
87 bool sliderFloat(
const char* caption,
float* value,
float min,
float max);
88 bool sliderInt(
const char* caption, int32_t* value, int32_t min, int32_t
max);
89 bool comboBox(
const char* caption, int32_t* itemindex, std::vector<std::string> items);
90 bool button(
const char* caption);
91 void text(
const char* formatstr, ...);
bool inputFloat(const char *caption, float *value, float step, uint32_t precision)
VkDescriptorPool descriptorPool
std::shared_ptr< vks::Buffer > vertexBuffer
bool sliderFloat(const char *caption, float *value, float min, float max)
bool comboBox(const char *caption, int32_t *itemindex, std::vector< std::string > items)
VkDeviceMemory fontMemory
bool sliderInt(const char *caption, int32_t *value, int32_t min, int32_t max)
bool checkBox(const char *caption, bool *value)
void draw(const VkCommandBuffer commandBuffer)
struct vks::UIOverlay::PushConstBlock pushConstBlock
bool button(const char *caption)
void resize(uint32_t width, uint32_t height)
void text(const char *formatstr,...)
VkDescriptorSetLayout descriptorSetLayout
bool header(const char *caption)
void preparePipeline(const VkPipelineCache pipelineCache, const VkRenderPass renderPass)
VkPipelineLayout pipelineLayout
VkSampleCountFlagBits rasterizationSamples
VkDescriptorSet descriptorSet
std::shared_ptr< vks::Buffer > indexBuffer
std::vector< VkPipelineShaderStageCreateInfo > shaders