#include "imgui.h"
#include "imgui_impl_sdl.h"
#include "imgui_impl_vulkan.h"
#include <stdio.h>
#include <stdlib.h>
#include <SDL.h>
#include <SDL_vulkan.h>
#include <vulkan/vulkan.h>
Go to the source code of this file.
Functions | |
static void | check_vk_result (VkResult err) |
static void | CleanupVulkan () |
static void | CleanupVulkanWindow () |
static void | FramePresent (ImGui_ImplVulkanH_Window *wd) |
static void | FrameRender (ImGui_ImplVulkanH_Window *wd) |
int | main (int, char **) |
static void | SetupVulkan (const char **extensions, uint32_t extensions_count) |
static void | SetupVulkanWindow (ImGui_ImplVulkanH_Window *wd, VkSurfaceKHR surface, int width, int height) |
Variables | |
static VkAllocationCallbacks * | g_Allocator = NULL |
static VkDebugReportCallbackEXT | g_DebugReport = VK_NULL_HANDLE |
static VkDescriptorPool | g_DescriptorPool = VK_NULL_HANDLE |
static VkDevice | g_Device = VK_NULL_HANDLE |
static VkInstance | g_Instance = VK_NULL_HANDLE |
static ImGui_ImplVulkanH_Window | g_MainWindowData |
static uint32_t | g_MinImageCount = 2 |
static VkPhysicalDevice | g_PhysicalDevice = VK_NULL_HANDLE |
static VkPipelineCache | g_PipelineCache = VK_NULL_HANDLE |
static VkQueue | g_Queue = VK_NULL_HANDLE |
static uint32_t | g_QueueFamily = (uint32_t)-1 |
static bool | g_SwapChainRebuild = false |
static int | g_SwapChainResizeHeight = 0 |
static int | g_SwapChainResizeWidth = 0 |
|
static |
Definition at line 41 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 223 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 237 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 304 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 242 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
int main | ( | int | , |
char ** | |||
) |
Definition at line 319 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 58 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 191 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 25 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 31 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 33 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 28 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 26 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 35 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 36 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 27 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 32 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 30 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 29 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 37 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 39 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.
|
static |
Definition at line 38 of file dependencies/third-party/imgui/src/examples/example_sdl_vulkan/main.cpp.