#include "imgui.h"#include "imgui_impl_glfw.h"#include "imgui_impl_vulkan.h"#include <stdio.h>#include <stdlib.h>#include <GLFW/glfw3.h>#include <vulkan/vulkan.h>
Go to the source code of this file.
Macros | |
| #define | GLFW_INCLUDE_NONE |
| #define | GLFW_INCLUDE_VULKAN |
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) |
| static void | glfw_error_callback (int error, const char *description) |
| static void | glfw_resize_callback (GLFWwindow *, int w, int h) |
| 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 int | 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 |
| #define GLFW_INCLUDE_NONE |
Definition at line 16 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
| #define GLFW_INCLUDE_VULKAN |
Definition at line 17 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 49 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 231 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 245 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 312 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 250 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 327 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 332 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
| int main | ( | int | , |
| char ** | |||
| ) |
Definition at line 339 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 66 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 199 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 33 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 39 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 41 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 36 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 34 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 43 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 44 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 35 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 40 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 38 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 37 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 45 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 47 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.
|
static |
Definition at line 46 of file dependencies/third-party/imgui/src/examples/example_glfw_vulkan/main.cpp.