Skip to content
0.2.0-dev Download ZIP
58 lines ·1.9 KB Raw
1<?xml version="1.0" encoding="utf-8"?>
2<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
3 <Type Name="D3D12MA::Vector&lt;*&gt;">
4 <DisplayString>{{ Count={m_Count} }}</DisplayString>
5 <Expand>
6 <Item Name="[Count]">m_Count</Item>
7 <Item Name="[Capacity]">m_Capacity</Item>
8 <ArrayItems>
9 <Size>m_Count</Size>
10 <ValuePointer>m_pArray</ValuePointer>
11 </ArrayItems>
12 </Expand>
13 </Type>
14
15 <Type Name="D3D12MA::List&lt;*&gt;">
16 <DisplayString>{{ Count={m_Count} }}</DisplayString>
17 <Expand>
18 <Item Name="[Count]">m_Count</Item>
19 <LinkedListItems>
20 <Size>m_Count</Size>
21 <HeadPointer>m_pFront</HeadPointer>
22 <NextPointer>pNext</NextPointer>
23 <ValueNode>Value</ValueNode>
24 </LinkedListItems>
25 </Expand>
26 </Type>
27
28 <!--
29 Due to custom way of accesing next items in
30 D3D12MA::IntrusiveLinkedList via methods in provided type traits,
31 every specialization must be manually added with
32 custom <NextPointer> field describing proper way of iterating the list.
33 -->
34 <Type Name="D3D12MA::IntrusiveLinkedList&lt;D3D12MA::CommittedAllocationListItemTraits&gt;">
35 <DisplayString>{{ Count={m_Count} }}</DisplayString>
36 <Expand>
37 <Item Name="[Count]">m_Count</Item>
38 <LinkedListItems>
39 <Size>m_Count</Size>
40 <HeadPointer>m_Front</HeadPointer>
41 <NextPointer>m_Committed.next</NextPointer>
42 <ValueNode>*this</ValueNode>
43 </LinkedListItems>
44 </Expand>
45 </Type>
46 <Type Name="D3D12MA::IntrusiveLinkedList&lt;D3D12MA::PoolListItemTraits&gt;">
47 <DisplayString>{{ Count={m_Count} }}</DisplayString>
48 <Expand>
49 <Item Name="[Count]">m_Count</Item>
50 <LinkedListItems>
51 <Size>m_Count</Size>
52 <HeadPointer>m_Front</HeadPointer>
53 <NextPointer>m_NextPool</NextPointer>
54 <ValueNode>*this</ValueNode>
55 </LinkedListItems>
56 </Expand>
57 </Type>
58</AutoVisualizer>