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

Method getTotalMemory

Source/Falcor/Scene/Scene.h:380–387  ·  view source on GitHub ↗

Get the total memory usage in bytes. */

Source from the content-addressed store, hash-verified

378 /** Get the total memory usage in bytes.
379 */
380 uint64_t getTotalMemory() const
381 {
382 return indexMemoryInBytes + vertexMemoryInBytes + geometryMemoryInBytes + animationMemoryInBytes +
383 curveIndexMemoryInBytes + curveVertexMemoryInBytes + sdfGridMemoryInBytes + materials.materialMemoryInBytes + materials.textureMemoryInBytes +
384 blasMemoryInBytes + blasScratchMemoryInBytes + tlasMemoryInBytes + tlasScratchMemoryInBytes +
385 lightsMemoryInBytes + envMapMemoryInBytes + emissiveMemoryInBytes +
386 gridVolumeMemoryInBytes + gridMemoryInBytes;
387 }
388 };
389
390 /** Return list of file extensions filters for all supported file formats.

Callers 2

renderUIMethod · 0.80
getMemoryUsageInBytesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected