Jelajahi Sumber

resource: updated natvis file

Michele Caini 4 tahun lalu
induk
melakukan
73b6ef2293
1 mengubah file dengan 12 tambahan dan 0 penghapusan
  1. 12 0
      natvis/entt/resource.natvis

+ 12 - 0
natvis/entt/resource.natvis

@@ -1,3 +1,15 @@
 <?xml version="1.0" encoding="utf-8"?>
 <AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
+	<Type Name="entt::resource&lt;*&gt;">
+		<DisplayString>{ value }</DisplayString>
+		<Expand>
+			<ExpandedItem>value</ExpandedItem>
+		</Expand>
+	</Type>
+	<Type Name="entt::resource_cache&lt;*&gt;">
+		<DisplayString>{ pool.first_base::value }</DisplayString>
+		<Expand>
+			<ExpandedItem>pool.first_base::value</ExpandedItem>
+		</Expand>
+	</Type>
 </AutoVisualizer>