Get the total memory usage in bytes. */
| 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. |
no outgoing calls
no test coverage detected