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

Function makeImage

apps/oidnTest.cpp:532–536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530}
531
532std::shared_ptr<ImageBuffer> makeImage(DeviceRef& device, int W, int H, int C = 3,
533 DataType dataType = DataType::Float32)
534{
535 return std::make_shared<ImageBuffer>(device, W, H, C, dataType);
536}
537
538std::shared_ptr<ImageBuffer> makeConstImage(DeviceRef& device, int W, int H, int C = 3,
539 DataType dataType = DataType::Float32,

Callers 2

oidnTest.cppFile · 0.85
imageSizeTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected