#include <VulkanUIOverlay.h>
 | 
|   | UIOverlay () | 
|   | 
|   | ~UIOverlay () | 
|   | 
| void  | preparePipeline (const VkPipelineCache pipelineCache, const VkRenderPass renderPass) | 
|   | 
| void  | prepareResources () | 
|   | 
| bool  | update () | 
|   | 
| void  | draw (const VkCommandBuffer commandBuffer) | 
|   | 
| void  | resize (uint32_t width, uint32_t height) | 
|   | 
| void  | freeResources () | 
|   | 
| bool  | header (const char *caption) | 
|   | 
| bool  | checkBox (const char *caption, bool *value) | 
|   | 
| bool  | checkBox (const char *caption, int32_t *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) | 
|   | 
| bool  | comboBox (const char *caption, int32_t *itemindex, std::vector< std::string > items) | 
|   | 
| bool  | button (const char *caption) | 
|   | 
| void  | text (const char *formatstr,...) | 
|   | 
Definition at line 35 of file VulkanUIOverlay.h.
 
◆ UIOverlay()
      
        
          | vks::UIOverlay::UIOverlay  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ ~UIOverlay()
      
        
          | vks::UIOverlay::~UIOverlay  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ button()
      
        
          | bool vks::UIOverlay::button  | 
          ( | 
          const char * |           caption | ) | 
           | 
        
      
 
 
◆ checkBox() [1/2]
      
        
          | bool vks::UIOverlay::checkBox  | 
          ( | 
          const char * |           caption,  | 
        
        
           | 
           | 
          bool * |           value ) | 
        
      
 
 
◆ checkBox() [2/2]
      
        
          | bool vks::UIOverlay::checkBox  | 
          ( | 
          const char * |           caption,  | 
        
        
           | 
           | 
          int32_t * |           value ) | 
        
      
 
 
◆ comboBox()
      
        
          | bool vks::UIOverlay::comboBox  | 
          ( | 
          const char * |           caption,  | 
        
        
           | 
           | 
          int32_t * |           itemindex,  | 
        
        
           | 
           | 
          std::vector< std::string > |           items ) | 
        
      
 
 
◆ draw()
      
        
          | void vks::UIOverlay::draw  | 
          ( | 
          const VkCommandBuffer |           commandBuffer | ) | 
           | 
        
      
 
 
◆ freeResources()
      
        
          | void vks::UIOverlay::freeResources  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ header()
      
        
          | bool vks::UIOverlay::header  | 
          ( | 
          const char * |           caption | ) | 
           | 
        
      
 
 
◆ inputFloat()
      
        
          | bool vks::UIOverlay::inputFloat  | 
          ( | 
          const char * |           caption,  | 
        
        
           | 
           | 
          float * |           value,  | 
        
        
           | 
           | 
          float |           step,  | 
        
        
           | 
           | 
          uint32_t |           precision ) | 
        
      
 
 
◆ preparePipeline()
      
        
          | void vks::UIOverlay::preparePipeline  | 
          ( | 
          const VkPipelineCache |           pipelineCache,  | 
        
        
           | 
           | 
          const VkRenderPass |           renderPass ) | 
        
      
 
Prepare a separate pipeline for the UI overlay rendering decoupled from the main application 
Definition at line 218 of file VulkanUIOverlay.cpp.
 
 
◆ prepareResources()
      
        
          | void vks::UIOverlay::prepareResources  | 
          ( | 
           | ) | 
           | 
        
      
 
Prepare all vulkan resources required to render the UI overlay 
Definition at line 62 of file VulkanUIOverlay.cpp.
 
 
◆ resize()
      
        
          | void vks::UIOverlay::resize  | 
          ( | 
          uint32_t |           width,  | 
        
        
           | 
           | 
          uint32_t |           height ) | 
        
      
 
 
◆ sliderFloat()
      
        
          | bool vks::UIOverlay::sliderFloat  | 
          ( | 
          const char * |           caption,  | 
        
        
           | 
           | 
          float * |           value,  | 
        
        
           | 
           | 
          float |           min,  | 
        
        
           | 
           | 
          float |           max ) | 
        
      
 
 
◆ sliderInt()
      
        
          | bool vks::UIOverlay::sliderInt  | 
          ( | 
          const char * |           caption,  | 
        
        
           | 
           | 
          int32_t * |           value,  | 
        
        
           | 
           | 
          int32_t |           min,  | 
        
        
           | 
           | 
          int32_t |           max ) | 
        
      
 
 
◆ text()
      
        
          | void vks::UIOverlay::text  | 
          ( | 
          const char * |           formatstr,  | 
        
        
           | 
           | 
           |           ... ) | 
        
      
 
 
◆ update()
      
        
          | bool vks::UIOverlay::update  | 
          ( | 
           | ) | 
           | 
        
      
 
Update vertex and index buffer containing the imGui elements when required 
Definition at line 299 of file VulkanUIOverlay.cpp.
 
 
◆ ctx
◆ descriptorPool
      
        
          | VkDescriptorPool vks::UIOverlay::descriptorPool | 
        
      
 
 
◆ descriptorSet
      
        
          | VkDescriptorSet vks::UIOverlay::descriptorSet | 
        
      
 
 
◆ descriptorSetLayout
      
        
          | VkDescriptorSetLayout vks::UIOverlay::descriptorSetLayout | 
        
      
 
 
◆ fontImage
      
        
          | VkImage vks::UIOverlay::fontImage = VK_NULL_HANDLE | 
        
      
 
 
◆ fontMemory
      
        
          | VkDeviceMemory vks::UIOverlay::fontMemory = VK_NULL_HANDLE | 
        
      
 
 
◆ fontView
      
        
          | VkImageView vks::UIOverlay::fontView = VK_NULL_HANDLE | 
        
      
 
 
◆ indexBuffer
      
        
          | std::shared_ptr<vks::Buffer> vks::UIOverlay::indexBuffer | 
        
      
 
 
◆ indexCount
      
        
          | int32_t vks::UIOverlay::indexCount = 0 | 
        
      
 
 
◆ pipeline
      
        
          | VkPipeline vks::UIOverlay::pipeline | 
        
      
 
 
◆ pipelineLayout
      
        
          | VkPipelineLayout vks::UIOverlay::pipelineLayout | 
        
      
 
 
◆ pushConstBlock
◆ rasterizationSamples
      
        
          | VkSampleCountFlagBits vks::UIOverlay::rasterizationSamples = VK_SAMPLE_COUNT_1_BIT | 
        
      
 
 
◆ sampler
      
        
          | VkSampler vks::UIOverlay::sampler | 
        
      
 
 
◆ scale
      
        
          | float vks::UIOverlay::scale = 1.0f | 
        
      
 
 
◆ shaders
      
        
          | std::vector<VkPipelineShaderStageCreateInfo> vks::UIOverlay::shaders | 
        
      
 
 
◆ subpass
      
        
          | uint32_t vks::UIOverlay::subpass = 0 | 
        
      
 
 
◆ updated
      
        
          | bool vks::UIOverlay::updated = false | 
        
      
 
 
◆ vertexBuffer
      
        
          | std::shared_ptr<vks::Buffer> vks::UIOverlay::vertexBuffer | 
        
      
 
 
◆ vertexCount
      
        
          | int32_t vks::UIOverlay::vertexCount = 0 | 
        
      
 
 
◆ visible
      
        
          | bool vks::UIOverlay::visible = true | 
        
      
 
 
The documentation for this class was generated from the following files: