+ void *staging = device.get_transfer_queue().prepare_transfer(this, false, data_size,
+ [this, level, discard](){
+ unsigned n_levels = static_cast<const TextureCube *>(this)->levels;
+ change_layout(n_levels, level, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, discard);
+ },