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

Method setupSurface

examples/vulkan/Vulkan.cpp:531–535  ·  view source on GitHub ↗

Setup the SFML window Vulkan rendering surface

Source from the content-addressed store, hash-verified

529
530 // Setup the SFML window Vulkan rendering surface
531 void setupSurface()
532 {
533 if (!window.createVulkanSurface(instance, surface))
534 vulkanAvailable = false;
535 }
536
537 // Select a GPU to use and query its capabilities
538 void setupPhysicalDevice()

Callers

nothing calls this directly

Calls 1

createVulkanSurfaceMethod · 0.45

Tested by

no test coverage detected