MCPcopy Create free account
hub / github.com/RenderKit/oidn / newImage

Function newImage

apps/oidnBenchmark.cpp:90–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90std::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
96void initImage(ImageBuffer& image, Random& rng, float minValue, float maxValue)

Callers 1

runBenchmarkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected