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

Method initVulkan

cpp/5_Domain_Specific/simpleVulkanMMAP/VulkanBaseApp.cpp:240–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238std::vector<const char *> VulkanBaseApp::getRequiredDeviceExtensions() const { return std::vector<const char *>(); }
239
240void VulkanBaseApp::initVulkan()
241{
242 createInstance();
243 createSurface();
244 createDevice();
245 createSwapChain();
246 createImageViews();
247 createRenderPass();
248 createDescriptorSetLayout();
249 createGraphicsPipeline();
250 createCommandPool();
251 createDepthResources();
252 createFramebuffers();
253 initVulkanApp();
254 createUniformBuffers();
255 createDescriptorPool();
256 createDescriptorSets();
257 createCommandBuffers();
258 createSyncObjects();
259}
260
261#ifdef _WIN64
262class WindowsSecurityAttributes

Callers

nothing calls this directly

Calls 1

createSurfaceFunction · 0.85

Tested by

no test coverage detected