Commit Graph

8 Commits

Author SHA1 Message Date
56ce6911eb Moved the static_assert in GLOBAL_CACHED to the top. 2025-03-31 12:55:17 +02:00
35b072e1df Reworked the new GLOBAL_GET_CACHED macro. 2025-03-31 12:51:27 +02:00
f3b8330182 Use HAS_TRIVIAL_DESTRUCTOR macro instead of std::is_trivially_destructible. 2025-03-31 10:44:03 +02:00
lawnjelly
d149a59513 Add GLOBAL_GET cached macros.
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.

Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-03-31 07:58:52 +02:00
337c99e52f File copyright header updates pt1. 2023-12-17 22:29:33 +01:00
2cd4e4d828 Renamed Set to RBSet. 2023-01-15 19:42:08 +01:00
1b0aac6028 Renamed Map to RBMap. 2023-01-15 19:12:50 +01:00
04feb63860 Moved Engine and projectSettings. 2022-08-17 15:35:28 +02:00