-
Notifications
You must be signed in to change notification settings - Fork 5
/
types.natvis
51 lines (40 loc) · 1.23 KB
/
types.natvis
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="String">
<DisplayString Condition="node.ptr == 0" >(empty)</DisplayString>
<DisplayString Condition="node.ptr != 0" >{*node.ptr}</DisplayString>
</Type>
<Type Name="String::Node">
<DisplayString>{str,s8}</DisplayString>
</Type>
<Type Name="Array<*>">
<DisplayString>{{len={size} capacity={capacity}}}</DisplayString>
<Expand>
<ArrayItems>
<Size>size</Size>
<ValuePointer>mem</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="Vec2">
<DisplayString>({x,g}, {y,g})</DisplayString>
</Type>
<Type Name="Vec3">
<DisplayString>({x,g}, {y,g}, {z,g})</DisplayString>
</Type>
<Type Name="Vec3P">
<DisplayString>P ({x,g}, {y,g}, {z,g})</DisplayString>
</Type>
<Type Name="Vec4">
<DisplayString>({x,g}, {y,g}, {z,g}, {w,g})</DisplayString>
</Type>
<Type Name="Mat22">
<DisplayString>({i}, {j})</DisplayString>
</Type>
<Type Name="Mat33">
<DisplayString>({i}, {j}, {k})</DisplayString>
</Type>
<Type Name="Mat44">
<DisplayString>({i}, {j}, {k}, {l})</DisplayString>
</Type>
</AutoVisualizer>