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

Method getMemoryUsageInBytes

Source/Falcor/Scene/Lights/EnvMap.cpp:118–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 }
117
118 uint64_t EnvMap::getMemoryUsageInBytes() const
119 {
120 return mpEnvMap ? mpEnvMap->getTextureSizeInBytes() : 0;
121 }
122
123 EnvMap::EnvMap(ref<Device> pDevice, const ref<Texture>& pTexture)
124 : mpDevice(pDevice)

Callers 4

Scene.cppFile · 0.45
updateGeometryStatsMethod · 0.45
updateEnvMapMethod · 0.45
updateMethod · 0.45

Calls 1

getTextureSizeInBytesMethod · 0.80

Tested by

no test coverage detected