MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / writeGrid

Method writeGrid

Source/Falcor/Scene/SceneCache.cpp:890–895  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

888 // Grid
889
890 void SceneCache::writeGrid(OutputStream& stream, const ref<Grid>& pGrid)
891 {
892 const nanovdb::HostBuffer& buffer = pGrid->mGridHandle.buffer();
893 stream.write((uint64_t)buffer.size());
894 stream.write(buffer.data(), buffer.size());
895 }
896
897 ref<Grid> SceneCache::readGrid(InputStream& stream, ref<Device> pDevice)
898 {

Callers

nothing calls this directly

Calls 3

writeMethod · 0.45
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected