MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / GetArray

Method GetArray

PresentData/TraceConsumer.hpp:54–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 }
53
54 template<typename T> T* GetArray(uint32_t expectedCount) const
55 {
56 assert(status_ & PROP_STATUS_FOUND);
57 assert(data_ != nullptr);
58 assert(size_ == sizeof(T));
59 assert(count_ == expectedCount); (void) expectedCount;
60
61 return (T*) data_;
62 }
63};
64
65template<> std::string EventDataDesc::GetData<std::string>() const;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected