parent
07fe7401a1
commit
72e8083b7c
12 changed files with 0 additions and 16 deletions
|
|
@ -278,7 +278,6 @@ public:
|
|||
VkImageViewCreateInfo view = vks::initializers::imageViewCreateInfo();
|
||||
view.viewType = VK_IMAGE_VIEW_TYPE_CUBE_ARRAY;
|
||||
view.format = format;
|
||||
view.components = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A };
|
||||
view.subresourceRange = { VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1 };
|
||||
view.subresourceRange.layerCount = 6 * cubeMapArray.layerCount;
|
||||
view.subresourceRange.levelCount = cubeMapArray.mipLevels;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue