188 VkRenderPass RenderPass;
189 VkDeviceSize BufferMemoryAlignment;
190 VkPipelineCreateFlags PipelineCreateFlags;
191 VkDescriptorSetLayout DescriptorSetLayout;
192 VkPipelineLayout PipelineLayout;
195 VkShaderModule ShaderModuleVert;
196 VkShaderModule ShaderModuleFrag;
199 VkSampler FontSampler;
200 VkDeviceMemory FontMemory;
202 VkImageView FontView;
203 VkDescriptorSet FontDescriptorSet;
204 VkDeviceMemory UploadBufferMemory;
205 VkBuffer UploadBuffer;
208 std::vector<KarmaGui_ImplVulkan_Image_TextureData*> vulkanMesaDecalDataList;
233 static uint32_t KarmaGui_ImplVulkan_MemoryType(VkMemoryPropertyFlags properties, uint32_t type_bits);
234 static void CreateOrResizeBuffer(VkBuffer& buffer, VkDeviceMemory& bufferMemory, VkDeviceSize& pBufferSize,
size_t newSize, VkBufferUsageFlagBits usage);
238 static void KarmaGui_ImplVulkan_SetupRenderStateFor3DRendering(
Scene* sceneToDraw, VkCommandBuffer commandBuffer,
KGDrawData* drawData);
240 static void KarmaGui_ImplVulkan_CreateShaderModules(VkDevice device,
const VkAllocationCallbacks* allocator);
241 static void KarmaGui_ImplVulkan_CreateFontSampler(VkDevice device,
const VkAllocationCallbacks* allocator);
242 static void KarmaGui_ImplVulkan_CreateDescriptorSetLayout(VkDevice device,
const VkAllocationCallbacks* allocator);
243 static void KarmaGui_ImplVulkan_CreatePipelineLayout(VkDevice device,
const VkAllocationCallbacks* allocator);
244 static void KarmaGui_ImplVulkan_CreatePipeline(VkDevice device,
const VkAllocationCallbacks* allocator, VkPipelineCache pipelineCache, VkRenderPass renderPass, VkSampleCountFlagBits MSAASamples, VkPipeline* pipeline, uint32_t subpass);
252 static void KarmaGui_ImplVulkan_RenderWindow(
KarmaGuiViewport* viewport,
void*);
253 static void KarmaGui_ImplVulkan_RenderDrawData(
KGDrawData* drawData, VkCommandBuffer commandBuffer, VkPipeline pipeline, uint32_t imageFrameIndex);
254 static void KarmaGui_ImplVulkan_SwapBuffers(
KarmaGuiViewport* viewport,
void*);
259 static void KarmaGui_ImplVulkan_CreateOrResizeWindow(
KarmaGui_ImplVulkanH_Window* windowData,
bool bCreateSyncronicity,
bool bRecreateSwapChainAndCommandBuffers);
260 static void KarmaGui_ImplVulkan_DestroyAllViewportsRenderBuffers(VkDevice device,
const VkAllocationCallbacks* allocator);
264 static bool KarmaGui_ImplVulkan_CreateFontsTexture(VkCommandBuffer commandBuffer);
265 static bool KarmaGui_ImplVulkan_CreateTexture(VkCommandBuffer commandBuffer,
char const* fileName,
const std::string& lable =
"");
267 static bool KarmaGui_ImplVulkan_CreateDeviceObjects();
268 static void KarmaGui_ImplVulkan_DestroyFontUploadObjects();
269 static void KarmaGui_ImplVulkan_DestroyDeviceObjects();
272 static void KarmaGui_ImplVulkan_Shutdown();
273 static void KarmaGui_ImplVulkan_NewFrame();
277 static VkDescriptorSet KarmaGui_ImplVulkan_AddTexture(VkSampler sampler, VkImageView imageView, VkImageLayout imageLayout);
278 static void KarmaGui_ImplVulkan_InitPlatformInterface();
279 static void KarmaGui_ImplVulkan_ShutdownPlatformInterface();
Definition KarmaGuiVulkanHandler.h:162