MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / resizeCallback

Method resizeCallback

cpp/5_Domain_Specific/simpleVulkan/VulkanBaseApp.cpp:62–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60static const size_t MAX_FRAMES_IN_FLIGHT = 5;
61
62void VulkanBaseApp::resizeCallback(GLFWwindow *window, int width, int height)
63{
64 VulkanBaseApp *app = reinterpret_cast<VulkanBaseApp *>(glfwGetWindowUserPointer(window));
65 app->m_framebufferResized = true;
66}
67
68static VKAPI_ATTR VkBool32 VKAPI_CALL debugCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity,
69 VkDebugUtilsMessageTypeFlagsEXT messageType,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected