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

Method writeSampler

Source/Falcor/Scene/SceneCache.cpp:817–825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

815 }
816
817 void SceneCache::writeSampler(OutputStream& stream, const ref<Sampler>& pSampler)
818 {
819 bool valid = pSampler != nullptr;
820 stream.write(valid);
821 if (valid)
822 {
823 stream.write(pSampler->getDesc());
824 }
825 }
826
827 ref<Sampler> SceneCache::readSampler(InputStream& stream, ref<Device> pDevice)
828 {

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected