MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / CreateView

Method CreateView

tests/framework/binding.cpp:1581–1587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1579}
1580
1581ImageView Image::CreateView(VkImageAspectFlags aspect, void* pNext) const {
1582 VkImageViewCreateInfo ci = BasicViewCreatInfo(aspect);
1583 ci.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS;
1584 ci.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS;
1585 ci.pNext = pNext;
1586 return ImageView(*device_, ci);
1587}
1588
1589ImageView Image::CreateView(VkImageViewType type, uint32_t baseMipLevel, uint32_t levelCount, uint32_t baseArrayLayer,
1590 uint32_t layerCount, VkImageAspectFlags aspect) const {

Callers 15

SetupImageDescriptorsMethod · 0.80
InitRenderTargetMethod · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 1

ImageViewClass · 0.70

Tested by

no test coverage detected