MCPcopy Create free account
hub / github.com/SFML/SFML / debugCallback

Function debugCallback

examples/vulkan/Vulkan.cpp:160–173  ·  view source on GitHub ↗

Debug we pass to Vulkan to call when it detects warnings or errors

Source from the content-addressed store, hash-verified

158
159// Debug we pass to Vulkan to call when it detects warnings or errors
160VKAPI_ATTR VkBool32 VKAPI_CALL debugCallback(
161 VkDebugReportFlagsEXT,
162 VkDebugReportObjectTypeEXT,
163 std::uint64_t,
164 std::size_t,
165 std::int32_t,
166 const char*,
167 const char* pMessage,
168 void*)
169{
170 std::cerr << pMessage << std::endl;
171
172 return VK_FALSE;
173}
174} // namespace
175
176

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected