| 55 | } |
| 56 | |
| 57 | HPPImage::HPPImage(vkb::core::DeviceCpp &device, |
| 58 | const vk::Extent3D &extent, |
| 59 | vk::Format format, |
| 60 | vk::ImageUsageFlags image_usage, |
| 61 | VmaMemoryUsage memory_usage, |
| 62 | vk::SampleCountFlagBits sample_count, |
| 63 | const uint32_t mip_levels, |
| 64 | const uint32_t array_layers, |
| 65 | vk::ImageTiling tiling, |
| 66 | vk::ImageCreateFlags flags, |
| 67 | uint32_t num_queue_families, |
| 68 | const uint32_t *queue_families) : |
| 69 | HPPImage{device, |
| 70 | HPPImageBuilder{extent} |
| 71 | .with_format(format) |
| 72 | .with_mip_levels(mip_levels) |
| 73 | .with_array_layers(array_layers) |
| 74 | .with_sample_count(sample_count) |
| 75 | .with_tiling(tiling) |
| 76 | .with_flags(flags) |
| 77 | .with_usage(image_usage) |
| 78 | .with_queue_families(num_queue_families, queue_families)} |
| 79 | {} |
| 80 | |
| 81 | HPPImage::HPPImage(vkb::core::DeviceCpp &device, HPPImageBuilder const &builder) : |
| 82 | vkb::allocated::AllocatedCpp<vk::Image>{builder.get_allocation_create_info(), nullptr, &device}, create_info{builder.get_create_info()} |
nothing calls this directly
no test coverage detected