MCPcopy Create free account
hub / github.com/crosire/reshade / set_private_data

Method set_private_data

source/reshade_api_object_impl.hpp:71–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 *data = 0;
70 }
71 void set_private_data(const uint8_t guid[16], const uint64_t data) final
72 {
73 if (data != 0)
74 _private_data[*reinterpret_cast<const guid_t *>(guid)] = data;
75 else
76 _private_data.erase(*reinterpret_cast<const guid_t *>(guid));
77 }
78
79 uint64_t get_native() const final { return (uint64_t)_orig; }
80

Callers 1

set_private_dataFunction · 0.80

Calls 1

eraseMethod · 0.45

Tested by

no test coverage detected