MCPcopy Create free account
hub / github.com/RenderKit/ospray / copyToHost

Function copyToHost

modules/cpu/fb/LocalFB.cpp:446–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

444namespace {
445template <typename T>
446const void *copyToHost(T &buffer)
447{
448 buffer.copyToHost().wait();
449 return static_cast<const void *>(buffer.hostPtr());
450}
451} // namespace
452
453const void *LocalFrameBuffer::mapBuffer(OSPFrameBufferChannel channel)

Callers 1

mapBufferMethod · 0.85

Calls 3

copyToHostMethod · 0.80
hostPtrMethod · 0.80
waitMethod · 0.45

Tested by

no test coverage detected