1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-12-04 17:50:06 +00:00

Updated Texdiag (markdown)

Chuck Walbourn 2016-09-25 16:44:57 -07:00
parent 23570ef69d
commit fd8196c475

@ -157,3 +157,61 @@ Results in the following output:
4 color blocks - 0
3 color blocks - 1
For block-compressed (BC) DDS files
texdiag.exe dumpbc -targetx 8 -targety 12 tex_dxt1.DDS
Results in the following output:
tex_dxt1.DDS
Compression: BC1_UNORM
Results by item ( 1) and mip ( 8)
[ 0, 0]:
Block 2 (pixel: 8 x 12)
Transparent - E0: (R: 0.000, G: 0.000, B: 0.000)
E1: (R: 0.000, G: 0.000, B: 0.032)
Index: 0 0 0 0 | 0 0 0 0 | 0 0 0 0 | 0 0 0 0
[ 0, 1]:
Block 1 (pixel: 4 x 4)
Transparent - E0: (R: 0.000, G: 0.000, B: 0.000)
E1: (R: 0.000, G: 0.000, B: 0.032)
Index: 0 0 0 0 | 0 0 0 0 | 0 0 0 0 | 0 0 0 0
[ 0, 2]:
Block 0 (pixel: 0 x 0)
Transparent - E0: (R: 0.000, G: 0.000, B: 0.000)
E1: (R: 0.000, G: 0.000, B: 0.032)
Index: 0 0 0 0 | 0 0 0 0 | 0 0 0 0 | 0 0 0 0
[ 0, 3]:
Block 0 (pixel: 0 x 0)
Transparent - E0: (R: 0.000, G: 0.000, B: 0.000)
E1: (R: 0.000, G: 0.000, B: 0.032)
Index: 0 0 0 0 | 0 0 0 0 | 0 0 0 0 | 0 0 0 0
[ 0, 4]:
Block 0 (pixel: 0 x 0)
Opaque - E0: (R: 0.000, G: 0.206, B: 0.194)
E1: (R: 0.000, G: 0.000, B: 0.000)
Index: 1 1 1 1 | 1 1 1 0 | 1 1 1 2 | 1 1 1 1
[ 0, 5]:
Block 0 (pixel: 0 x 0)
Opaque - E0: (R: 0.355, G: 0.302, B: 0.226)
E1: (R: 0.000, G: 0.016, B: 0.032)
Index: 1 1 1 1 | 1 1 1 1 | 1 0 2 1 | 1 1 3 1
[ 0, 6]:
Block 0 (pixel: 0 x 0)
Transparent - E0: (R: 0.000, G: 0.032, B: 0.032)
E1: (R: 0.097, G: 0.079, B: 0.065)
Index: 0 0 3 3 | 1 1 3 3 | 3 3 3 3 | 3 3 3 3
[ 0, 7]:
Block 0 (pixel: 0 x 0)
Transparent - E0: (R: 0.032, G: 0.048, B: 0.032)
E1: (R: 0.065, G: 0.063, B: 0.065)
Index: 2 3 3 3 | 3 3 3 3 | 3 3 3 3 | 3 3 3 3