| 1841 | |
| 1842 | DOCUMENT("A description of a bookmark on an event"); |
| 1843 | struct EventBookmark |
| 1844 | { |
| 1845 | DOCUMENT(R"(The :data:`eventId <renderdoc.APIEvent.eventId>` at which this bookmark is placed. |
| 1846 | |
| 1847 | :type: int |
| 1848 | )"); |
| 1849 | uint32_t eventId = 0; |
| 1850 | |
| 1851 | DOCUMENT(R"(The text associated with this bookmark - could be empty |
| 1852 | |
| 1853 | :type: str |
| 1854 | )"); |
| 1855 | rdcstr text; |
| 1856 | |
| 1857 | DOCUMENT(""); |
| 1858 | EventBookmark() = default; |
| 1859 | EventBookmark(uint32_t e) : eventId(e) {} |
| 1860 | bool operator==(const EventBookmark &o) const { return eventId == o.eventId; } |
| 1861 | bool operator!=(const EventBookmark &o) const { return eventId != o.eventId; } |
| 1862 | bool operator<(const EventBookmark &o) const { return eventId < o.eventId; } |
| 1863 | }; |
| 1864 | |
| 1865 | DECLARE_REFLECTION_STRUCT(EventBookmark); |
| 1866 |
no outgoing calls
no test coverage detected