浏览代码

Extended GetConfigurationString with state of more preprocessor symbols (#1074)

Andrea Catania 1 年之前
父节点
当前提交
40dc67068b
共有 1 个文件被更改,包括 14 次插入0 次删除
  1. 14 0
      Jolt/ConfigurationString.h

+ 14 - 0
Jolt/ConfigurationString.h

@@ -62,6 +62,20 @@ inline const char *GetConfigurationString()
 #ifdef JPH_FLOATING_POINT_EXCEPTIONS_ENABLED
 		"(FP Exceptions) "
 #endif
+#ifdef JPH_DEBUG_RENDERER
+		"(Debug Renderer) "
+#endif
+#ifdef JPH_PROFILE_ENABLED
+		"(Profile) "
+#endif
+#if defined(JPH_OBJECT_LAYER_BITS) && JPH_OBJECT_LAYER_BITS == 32
+		"(32-bit ObjectLayer) "
+#else
+		"(16-bit ObjectLayer) "
+#endif
+#ifdef JPH_ENABLE_ASSERTS
+		"(Assertions) "
+#endif
 #ifdef JPH_DEBUG
 		"(Debug) "
 #endif