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

Method createImageViews

cpp/5_Domain_Specific/simpleVulkan/VulkanBaseApp.cpp:825–833  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

823}
824
825void VulkanBaseApp::createImageViews()
826{
827 m_swapChainImageViews.resize(m_swapChainImages.size());
828
829 for (uint32_t i = 0; i < m_swapChainImages.size(); i++) {
830 m_swapChainImageViews[i] =
831 createImageView(m_device, m_swapChainImages[i], m_swapChainFormat, VK_IMAGE_ASPECT_COLOR_BIT);
832 }
833}
834
835void VulkanBaseApp::createRenderPass()
836{

Callers

nothing calls this directly

Calls 2

createImageViewFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected