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

Method initVulkan

cpp/5_Domain_Specific/simpleVulkan/VulkanBaseApp.cpp:246–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

createSurfaceFunction · 0.85

Tested by

no test coverage detected