raisin::RayraiGlobalAsset::SharedGpuAssetStats
struct · #include <rayrai/RayraiGlobalAsset.hpp>
Counters of the process-wide shared GPU-asset cache (see sharedGpuAssetStats()).
Public attributes
cacheHits
cpp
size_t cacheHitsLookups served by an existing upload in a compatible context.
cacheMisses
cpp
size_t cacheMissesLookups that had to create and upload new geometry.
gpuBufferBytesUploaded
cpp
size_t gpuBufferBytesUploadedVBO/EBO bytes uploaded on misses.
gpuBufferBytesReused
cpp
size_t gpuBufferBytesReusedVBO/EBO bytes reused on hits.
cachedSnapshots
cpp
size_t cachedSnapshotsLive count of published templates still held, summed over every key. One per distinct asset and share group; growth beyond that means the same asset is being published repeatedly and every lookup walks them.