| 88 | } |
| 89 | |
| 90 | std::shared_ptr<ImageBuffer> newImage(DeviceRef& device, int width, int height) |
| 91 | { |
| 92 | return std::make_shared<ImageBuffer>(device, width, height, 3, dataType, bufferStorage, bufferCopy); |
| 93 | } |
| 94 | |
| 95 | // Initializes an image with random values |
| 96 | void initImage(ImageBuffer& image, Random& rng, float minValue, float maxValue) |