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

Method writeEnvMap

Source/Falcor/Scene/SceneCache.cpp:907–913  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

905 // EnvMap
906
907 void SceneCache::writeEnvMap(OutputStream& stream, const ref<EnvMap>& pEnvMap)
908 {
909 auto path = pEnvMap->getEnvMap()->getSourcePath();
910 stream.write(path);
911 stream.write(pEnvMap->mData);
912 stream.write(pEnvMap->mRotation);
913 }
914
915 ref<EnvMap> SceneCache::readEnvMap(InputStream& stream, ref<Device> pDevice)
916 {

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected