3
使用VS 2012 Graphic's Debugger進行調試時,我想查看一個索引緩衝區,但顯示它的格式爲float。這意味着數字與int或short格式不同。更改DirectX「Object Table」的顯示格式
有人知道如何改變它嗎?
以下是.txt文件的外觀。
The buffer format used is specified in the 'Graphics Object Table'.
---------------------------------------------------------------------------------------------------------------------------------
Types: bool, int, xint (an unsigned hex int), uint (unsigned int), int64, xint64, uint64,
byte, xbyte, ubyte, 2byte, x2byte, u2byte, 4byte, x4byte, u4byte, 8byte, x8byte, u8byte,
half (a 16-bit float), half2, half3, half4, float, float2, float3, float4, double
Usage: 'float' or 'float3 xint half half xint'
---------------------------------------------------------------------------------------------------------------------------------
Currently used format: float
---------------------------------------------------------------------------------------------------------------------------------
0 [0x00000000-0x00000003] | +1.8367099e-040
1 [0x00000004-0x00000007] | +9.1836897e-041
2 [0x00000008-0x0000000b] | +4.2038954e-045
3 [0x0000000c-0x0000000f] | +5.5101858e-040
4 [0x00000010-0x00000013] | +3.6734899e-040
5 [0x00000014-0x00000017] | +5.5102279e-040
6 [0x00000018-0x0000001b] | +9.1836617e-040
7 [0x0000001c-0x0000001f] | +8.2653208e-040
8 [0x00000020-0x00000023] | +7.3469938e-040
9 [0x00000024-0x00000027] | +1.2857138e-039
10 [0x00000028-0x0000002b] | +1.1938797e-039
11 [0x0000002c-0x0000002f] | +1.102047e-039
12 [0x00000030-0x00000033] | +1.6530614e-039
13 [0x00000034-0x00000037] | +1.6530628e-039
14 [0x00000038-0x0000003b] | +1.5612301e-039
15 [0x0000003c-0x0000003f] | +1.9285734e-039
16 [0x00000040-0x00000043] | +5.5102138e-040
17 [0x00000044-0x00000047] | +1.8367197e-039
我有視覺工作室2012年,它不讓我改變格式。我可以從那裏做的唯一事情是通過格式類型對不同的資源進行排序。但沒有讓我改變這個的組合框。你100%肯定這是否有效? – Miguel
@Miguel是的,我也在使用VS 2012,昨天我也在尋找同樣的東西。看看這裏的文章[鏈接](http://msdn.microsoft.com/en-us/library/vstudio/hh873203.aspx)。組合框就在該圖片中表格的標題行的正上方。 – AkisK
你剛把我帶到學校兄弟那裏。我無法相信在我面前那是正確的。再次感謝。 – Miguel