Skip to content

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 cacheHits

Lookups served by an existing upload in a compatible context.

cacheMisses ​

cpp
size_t cacheMisses

Lookups that had to create and upload new geometry.

gpuBufferBytesUploaded ​

cpp
size_t gpuBufferBytesUploaded

VBO/EBO bytes uploaded on misses.

gpuBufferBytesReused ​

cpp
size_t gpuBufferBytesReused

VBO/EBO bytes reused on hits.

cachedSnapshots ​

cpp
size_t cachedSnapshots

Live 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.

RaiSim — physics for robotics and AI.