| 18 | ImageCreateInfo info; |
| 19 | |
| 20 | explicit ImageData( std::string name = {} |
| 21 | , ImageCreateFlags flags = {} |
| 22 | , ImageType imageType = {} |
| 23 | , PixelFormat format = {} |
| 24 | , Extent3D extent = {} |
| 25 | , ImageUsageFlags usage = {} |
| 26 | , uint32_t mipLevels = 1u |
| 27 | , uint32_t arrayLayers = 1u |
| 28 | , SampleCount samples = SampleCount::e1 |
| 29 | , ImageTiling tiling = ImageTiling::eOptimal |
| 30 | , MemoryPropertyFlags memory = MemoryPropertyFlags::eDeviceLocal ) |
| 31 | : name{ std::move( name ) } |
| 32 | , info{ flags, imageType, format |
| 33 | , extent, mipLevels, arrayLayers, samples |
| 34 | , tiling, usage, memory } |
| 35 | { |
| 36 | } |
| 37 | |
| 38 | private: |
| 39 | friend bool operator==( ImageData const & lhs, ImageData const & rhs ) = default; |
nothing calls this directly
no outgoing calls
no test coverage detected