forked from godlikepanos/anki-3d-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AnKi.natvis
82 lines (70 loc) · 2.26 KB
/
AnKi.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="anki::ConstWeakArray<*>">
<Intrinsic Name="size" Expression="m_size" />
<DisplayString>{{ size={m_size} }}</DisplayString>
<Expand>
<ArrayItems>
<Size>m_size</Size>
<ValuePointer>m_data</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="anki::WeakArray<*>">
<Intrinsic Name="size" Expression="m_size" />
<DisplayString>{{ size={m_size} }}</DisplayString>
<Expand>
<ArrayItems>
<Size>m_size</Size>
<ValuePointer>m_data</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="anki::DynamicArray<*>">
<Intrinsic Name="size" Expression="m_size" />
<DisplayString>{{ size={m_size} capacity={m_capacity} }}</DisplayString>
<Expand>
<ArrayItems>
<Size>m_size</Size>
<ValuePointer>m_data</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="anki::DynamicArrayRaii<*>">
<Intrinsic Name="size" Expression="m_size" />
<DisplayString>{{ size={m_size} capacity={m_capacity} }}</DisplayString>
<Expand>
<ArrayItems>
<Size>m_size</Size>
<ValuePointer>m_data</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="anki::Array<*,*>">
<DisplayString>{{ size={$T2} }}</DisplayString>
<Expand>
<ExpandedItem>m_data</ExpandedItem>
</Expand>
</Type>
<Type Name="anki::CString">
<DisplayString Condition="(bool)(m_ptr==0)">*Empty*</DisplayString>
<DisplayString>{m_ptr,s}</DisplayString>
</Type>
<Type Name="anki::String">
<DisplayString Condition="(bool)(m_data.m_data==0)">*Empty*</DisplayString>
<DisplayString>{m_data.m_data,s}</DisplayString>
</Type>
<Type Name="anki::BaseStringRaii<*>">
<DisplayString Condition="(bool)(m_data.m_data==0)">*Empty*</DisplayString>
<DisplayString>{m_data.m_data,s}</DisplayString>
</Type>
<Type Name="anki::TVec<*,2>">
<DisplayString>x={m_carr[0]} y={m_carr[1]}</DisplayString>
</Type>
<Type Name="anki::TVec<*,3>">
<DisplayString>x={m_carr[0]} y={m_carr[1]} z={m_carr[2]}</DisplayString>
</Type>
<Type Name="anki::TVec<*,4>">
<DisplayString>x={m_carr[0]} y={m_carr[1]} z={m_carr[2]} w={m_carr[3]}</DisplayString>
</Type>
</AutoVisualizer>