]> git.cworth.org Git - apitrace/blob - specs/dxgiformat.py
Merge branch 'directxtex'
[apitrace] / specs / dxgiformat.py
1 ##########################################################################
2 #
3 # Copyright 2011 Jose Fonseca
4 # All Rights Reserved.
5 #
6 # Permission is hereby granted, free of charge, to any person obtaining a copy
7 # of this software and associated documentation files (the "Software"), to deal
8 # in the Software without restriction, including without limitation the rights
9 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 # copies of the Software, and to permit persons to whom the Software is
11 # furnished to do so, subject to the following conditions:
12 #
13 # The above copyright notice and this permission notice shall be included in
14 # all copies or substantial portions of the Software.
15 #
16 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 # THE SOFTWARE.
23 #
24 ##########################################################################/
25
26
27 from winapi import *
28
29
30 DXGI_FORMAT = Enum("DXGI_FORMAT", [
31     "DXGI_FORMAT_UNKNOWN",
32     "DXGI_FORMAT_R32G32B32A32_TYPELESS",
33     "DXGI_FORMAT_R32G32B32A32_FLOAT",
34     "DXGI_FORMAT_R32G32B32A32_UINT",
35     "DXGI_FORMAT_R32G32B32A32_SINT",
36     "DXGI_FORMAT_R32G32B32_TYPELESS",
37     "DXGI_FORMAT_R32G32B32_FLOAT",
38     "DXGI_FORMAT_R32G32B32_UINT",
39     "DXGI_FORMAT_R32G32B32_SINT",
40     "DXGI_FORMAT_R16G16B16A16_TYPELESS",
41     "DXGI_FORMAT_R16G16B16A16_FLOAT",
42     "DXGI_FORMAT_R16G16B16A16_UNORM",
43     "DXGI_FORMAT_R16G16B16A16_UINT",
44     "DXGI_FORMAT_R16G16B16A16_SNORM",
45     "DXGI_FORMAT_R16G16B16A16_SINT",
46     "DXGI_FORMAT_R32G32_TYPELESS",
47     "DXGI_FORMAT_R32G32_FLOAT",
48     "DXGI_FORMAT_R32G32_UINT",
49     "DXGI_FORMAT_R32G32_SINT",
50     "DXGI_FORMAT_R32G8X24_TYPELESS",
51     "DXGI_FORMAT_D32_FLOAT_S8X24_UINT",
52     "DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS",
53     "DXGI_FORMAT_X32_TYPELESS_G8X24_UINT",
54     "DXGI_FORMAT_R10G10B10A2_TYPELESS",
55     "DXGI_FORMAT_R10G10B10A2_UNORM",
56     "DXGI_FORMAT_R10G10B10A2_UINT",
57     "DXGI_FORMAT_R11G11B10_FLOAT",
58     "DXGI_FORMAT_R8G8B8A8_TYPELESS",
59     "DXGI_FORMAT_R8G8B8A8_UNORM",
60     "DXGI_FORMAT_R8G8B8A8_UNORM_SRGB",
61     "DXGI_FORMAT_R8G8B8A8_UINT",
62     "DXGI_FORMAT_R8G8B8A8_SNORM",
63     "DXGI_FORMAT_R8G8B8A8_SINT",
64     "DXGI_FORMAT_R16G16_TYPELESS",
65     "DXGI_FORMAT_R16G16_FLOAT",
66     "DXGI_FORMAT_R16G16_UNORM",
67     "DXGI_FORMAT_R16G16_UINT",
68     "DXGI_FORMAT_R16G16_SNORM",
69     "DXGI_FORMAT_R16G16_SINT",
70     "DXGI_FORMAT_R32_TYPELESS",
71     "DXGI_FORMAT_D32_FLOAT",
72     "DXGI_FORMAT_R32_FLOAT",
73     "DXGI_FORMAT_R32_UINT",
74     "DXGI_FORMAT_R32_SINT",
75     "DXGI_FORMAT_R24G8_TYPELESS",
76     "DXGI_FORMAT_D24_UNORM_S8_UINT",
77     "DXGI_FORMAT_R24_UNORM_X8_TYPELESS",
78     "DXGI_FORMAT_X24_TYPELESS_G8_UINT",
79     "DXGI_FORMAT_R8G8_TYPELESS",
80     "DXGI_FORMAT_R8G8_UNORM",
81     "DXGI_FORMAT_R8G8_UINT",
82     "DXGI_FORMAT_R8G8_SNORM",
83     "DXGI_FORMAT_R8G8_SINT",
84     "DXGI_FORMAT_R16_TYPELESS",
85     "DXGI_FORMAT_R16_FLOAT",
86     "DXGI_FORMAT_D16_UNORM",
87     "DXGI_FORMAT_R16_UNORM",
88     "DXGI_FORMAT_R16_UINT",
89     "DXGI_FORMAT_R16_SNORM",
90     "DXGI_FORMAT_R16_SINT",
91     "DXGI_FORMAT_R8_TYPELESS",
92     "DXGI_FORMAT_R8_UNORM",
93     "DXGI_FORMAT_R8_UINT",
94     "DXGI_FORMAT_R8_SNORM",
95     "DXGI_FORMAT_R8_SINT",
96     "DXGI_FORMAT_A8_UNORM",
97     "DXGI_FORMAT_R1_UNORM",
98     "DXGI_FORMAT_R9G9B9E5_SHAREDEXP",
99     "DXGI_FORMAT_R8G8_B8G8_UNORM",
100     "DXGI_FORMAT_G8R8_G8B8_UNORM",
101     "DXGI_FORMAT_BC1_TYPELESS",
102     "DXGI_FORMAT_BC1_UNORM",
103     "DXGI_FORMAT_BC1_UNORM_SRGB",
104     "DXGI_FORMAT_BC2_TYPELESS",
105     "DXGI_FORMAT_BC2_UNORM",
106     "DXGI_FORMAT_BC2_UNORM_SRGB",
107     "DXGI_FORMAT_BC3_TYPELESS",
108     "DXGI_FORMAT_BC3_UNORM",
109     "DXGI_FORMAT_BC3_UNORM_SRGB",
110     "DXGI_FORMAT_BC4_TYPELESS",
111     "DXGI_FORMAT_BC4_UNORM",
112     "DXGI_FORMAT_BC4_SNORM",
113     "DXGI_FORMAT_BC5_TYPELESS",
114     "DXGI_FORMAT_BC5_UNORM",
115     "DXGI_FORMAT_BC5_SNORM",
116     "DXGI_FORMAT_B5G6R5_UNORM",
117     "DXGI_FORMAT_B5G5R5A1_UNORM",
118     "DXGI_FORMAT_B8G8R8A8_UNORM",
119     "DXGI_FORMAT_B8G8R8X8_UNORM",
120     "DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM",
121     "DXGI_FORMAT_B8G8R8A8_TYPELESS",
122     "DXGI_FORMAT_B8G8R8A8_UNORM_SRGB",
123     "DXGI_FORMAT_B8G8R8X8_TYPELESS",
124     "DXGI_FORMAT_B8G8R8X8_UNORM_SRGB",
125     "DXGI_FORMAT_BC6H_TYPELESS",
126     "DXGI_FORMAT_BC6H_UF16",
127     "DXGI_FORMAT_BC6H_SF16",
128     "DXGI_FORMAT_BC7_TYPELESS",
129     "DXGI_FORMAT_BC7_UNORM",
130     "DXGI_FORMAT_BC7_UNORM_SRGB",
131 ])
132