MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Hpp / DepthBufferData

Method DepthBufferData

samples/utils/utils.cpp:737–748  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

735 }
736
737 DepthBufferData::DepthBufferData( vk::PhysicalDevice const & physicalDevice, vk::Device const & device, vk::Format format, vk::Extent2D const & extent )
738 : ImageData( physicalDevice,
739 device,
740 format,
741 extent,
742 vk::ImageTiling::eOptimal,
743 vk::ImageUsageFlagBits::eDepthStencilAttachment,
744 vk::ImageLayout::eUndefined,
745 vk::MemoryPropertyFlagBits::eDeviceLocal,
746 vk::ImageAspectFlagBits::eDepth )
747 {
748 }
749
750 ImageData::ImageData( vk::PhysicalDevice const & physicalDevice,
751 vk::Device const & device,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected