12static const uint32_t kSnapshotVersion = 1;
15static const uint32_t kSnapshotMagic = 0x504e5350;
17enum class SnapshotCategory : uint8_t
34const char* SnapshotCategoryName(SnapshotCategory cat);
39 std::string mTypeName;
40 SnapshotCategory mCategory = SnapshotCategory::Other;
41 uint64_t mCpuBytes = 0;
42 uint64_t mGpuBytes = 0;
43 uint32_t mRefCount = 0;
49 uint32_t mVersion = kSnapshotVersion;
50 std::string mProjectName;
51 std::string mDateString;
52 bool mWasPlayingInEditor =
false;
53 uint32_t mActiveAudioVoices = 0;
57 uint64_t mSystemRamUsed = 0;
58 uint64_t mSystemVramUsed = 0;
59 uint64_t mSystemTotalRam = 0;
61 std::vector<SnapshotEntry> mEntries;
66 std::vector<uint8_t> mThumbRgba;
69 uint64_t GetTotalCpuBytes()
const;
70 uint64_t GetTotalGpuBytes()
const;
71 void GetCategoryTotals(uint64_t outCpu[(
int)SnapshotCategory::Count],
72 uint64_t outGpu[(
int)SnapshotCategory::Count])
const;
Definition SkeletalMesh.h:77