1 | #[cfg (feature = "Win32_Graphics_Direct3D_Dxc" )] |
2 | #[doc = "Required features: ` \"Win32_Graphics_Direct3D_Dxc \"`" ] |
3 | pub mod Dxc; |
4 | #[cfg (feature = "Win32_Graphics_Direct3D_Fxc" )] |
5 | #[doc = "Required features: ` \"Win32_Graphics_Direct3D_Fxc \"`" ] |
6 | pub mod Fxc; |
7 | #[repr (transparent)] |
8 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] |
9 | pub struct ID3DBlob(::windows_core::IUnknown); |
10 | impl ID3DBlob { |
11 | pub unsafe fn GetBufferPointer(&self) -> *mut ::core::ffi::c_void { |
12 | (::windows_core::Interface::vtable(self).GetBufferPointer)(::windows_core::Interface::as_raw(self)) |
13 | } |
14 | pub unsafe fn GetBufferSize(&self) -> usize { |
15 | (::windows_core::Interface::vtable(self).GetBufferSize)(::windows_core::Interface::as_raw(self)) |
16 | } |
17 | } |
18 | ::windows_core::imp::interface_hierarchy!(ID3DBlob, ::windows_core::IUnknown); |
19 | unsafe impl ::core::marker::Send for ID3DBlob {} |
20 | unsafe impl ::core::marker::Sync for ID3DBlob {} |
21 | unsafe impl ::windows_core::Interface for ID3DBlob { |
22 | type Vtable = ID3DBlob_Vtbl; |
23 | } |
24 | unsafe impl ::windows_core::ComInterface for ID3DBlob { |
25 | const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(uuid:0x8ba5fb08_5195_40e2_ac58_0d989c3a0102); |
26 | } |
27 | #[repr (C)] |
28 | #[doc (hidden)] |
29 | pub struct ID3DBlob_Vtbl { |
30 | pub base__: ::windows_core::IUnknown_Vtbl, |
31 | pub GetBufferPointer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> *mut ::core::ffi::c_void, |
32 | pub GetBufferSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> usize, |
33 | } |
34 | #[repr (transparent)] |
35 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] |
36 | pub struct ID3DDestructionNotifier(::windows_core::IUnknown); |
37 | impl ID3DDestructionNotifier { |
38 | pub unsafe fn RegisterDestructionCallback(&self, callbackfn: PFN_DESTRUCTION_CALLBACK, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<u32> { |
39 | let mut result__: u32 = ::std::mem::zeroed(); |
40 | (::windows_core::Interface::vtable(self).RegisterDestructionCallback)(::windows_core::Interface::as_raw(self), callbackfn, pdata, &mut result__).from_abi(result__) |
41 | } |
42 | pub unsafe fn UnregisterDestructionCallback(&self, callbackid: u32) -> ::windows_core::Result<()> { |
43 | (::windows_core::Interface::vtable(self).UnregisterDestructionCallback)(::windows_core::Interface::as_raw(self), callbackid).ok() |
44 | } |
45 | } |
46 | ::windows_core::imp::interface_hierarchy!(ID3DDestructionNotifier, ::windows_core::IUnknown); |
47 | unsafe impl ::core::marker::Send for ID3DDestructionNotifier {} |
48 | unsafe impl ::core::marker::Sync for ID3DDestructionNotifier {} |
49 | unsafe impl ::windows_core::Interface for ID3DDestructionNotifier { |
50 | type Vtable = ID3DDestructionNotifier_Vtbl; |
51 | } |
52 | unsafe impl ::windows_core::ComInterface for ID3DDestructionNotifier { |
53 | const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128(uuid:0xa06eb39a_50da_425b_8c31_4eecd6c270f3); |
54 | } |
55 | #[repr (C)] |
56 | #[doc (hidden)] |
57 | pub struct ID3DDestructionNotifier_Vtbl { |
58 | pub base__: ::windows_core::IUnknown_Vtbl, |
59 | pub RegisterDestructionCallback: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, callbackfn: PFN_DESTRUCTION_CALLBACK, pdata: *const ::core::ffi::c_void, pcallbackid: *mut u32) -> ::windows_core::HRESULT, |
60 | pub UnregisterDestructionCallback: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, callbackid: u32) -> ::windows_core::HRESULT, |
61 | } |
62 | #[repr (transparent)] |
63 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] |
64 | pub struct ID3DInclude(::std::ptr::NonNull<::std::ffi::c_void>); |
65 | impl ID3DInclude { |
66 | pub unsafe fn Open<P0>(&self, includetype: D3D_INCLUDE_TYPE, pfilename: P0, pparentdata: *const ::core::ffi::c_void, ppdata: *mut *mut ::core::ffi::c_void, pbytes: *mut u32) -> ::windows_core::Result<()> |
67 | where |
68 | P0: ::windows_core::IntoParam<::windows_core::PCSTR>, |
69 | { |
70 | (::windows_core::Interface::vtable(self).Open)(::windows_core::Interface::as_raw(self), includetype, pfilename.into_param().abi(), pparentdata, ppdata, pbytes).ok() |
71 | } |
72 | pub unsafe fn Close(&self, pdata: *const ::core::ffi::c_void) -> ::windows_core::Result<()> { |
73 | (::windows_core::Interface::vtable(self).Close)(::windows_core::Interface::as_raw(self), pdata).ok() |
74 | } |
75 | } |
76 | unsafe impl ::core::marker::Send for ID3DInclude {} |
77 | unsafe impl ::core::marker::Sync for ID3DInclude {} |
78 | unsafe impl ::windows_core::Interface for ID3DInclude { |
79 | type Vtable = ID3DInclude_Vtbl; |
80 | } |
81 | #[repr (C)] |
82 | #[doc (hidden)] |
83 | pub struct ID3DInclude_Vtbl { |
84 | pub Open: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, includetype: D3D_INCLUDE_TYPE, pfilename: ::windows_core::PCSTR, pparentdata: *const ::core::ffi::c_void, ppdata: *mut *mut ::core::ffi::c_void, pbytes: *mut u32) -> ::windows_core::HRESULT, |
85 | pub Close: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdata: *const ::core::ffi::c_void) -> ::windows_core::HRESULT, |
86 | } |
87 | pub const D3D10_1_SRV_DIMENSION_BUFFER: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(1i32); |
88 | pub const D3D10_1_SRV_DIMENSION_TEXTURE1D: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(2i32); |
89 | pub const D3D10_1_SRV_DIMENSION_TEXTURE1DARRAY: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(3i32); |
90 | pub const D3D10_1_SRV_DIMENSION_TEXTURE2D: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(4i32); |
91 | pub const D3D10_1_SRV_DIMENSION_TEXTURE2DARRAY: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(5i32); |
92 | pub const D3D10_1_SRV_DIMENSION_TEXTURE2DMS: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(6i32); |
93 | pub const D3D10_1_SRV_DIMENSION_TEXTURE2DMSARRAY: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(7i32); |
94 | pub const D3D10_1_SRV_DIMENSION_TEXTURE3D: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(8i32); |
95 | pub const D3D10_1_SRV_DIMENSION_TEXTURECUBE: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(9i32); |
96 | pub const D3D10_1_SRV_DIMENSION_TEXTURECUBEARRAY: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(10i32); |
97 | pub const D3D10_1_SRV_DIMENSION_UNKNOWN: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(0i32); |
98 | pub const D3D10_CBF_USERPACKED: D3D_SHADER_CBUFFER_FLAGS = D3D_SHADER_CBUFFER_FLAGS(1i32); |
99 | pub const D3D10_CT_CBUFFER: D3D_CBUFFER_TYPE = D3D_CBUFFER_TYPE(0i32); |
100 | pub const D3D10_CT_TBUFFER: D3D_CBUFFER_TYPE = D3D_CBUFFER_TYPE(1i32); |
101 | pub const D3D10_INCLUDE_LOCAL: D3D_INCLUDE_TYPE = D3D_INCLUDE_TYPE(0i32); |
102 | pub const D3D10_INCLUDE_SYSTEM: D3D_INCLUDE_TYPE = D3D_INCLUDE_TYPE(1i32); |
103 | pub const D3D10_NAME_CLIP_DISTANCE: D3D_NAME = D3D_NAME(2i32); |
104 | pub const D3D10_NAME_COVERAGE: D3D_NAME = D3D_NAME(66i32); |
105 | pub const D3D10_NAME_CULL_DISTANCE: D3D_NAME = D3D_NAME(3i32); |
106 | pub const D3D10_NAME_DEPTH: D3D_NAME = D3D_NAME(65i32); |
107 | pub const D3D10_NAME_INSTANCE_ID: D3D_NAME = D3D_NAME(8i32); |
108 | pub const D3D10_NAME_IS_FRONT_FACE: D3D_NAME = D3D_NAME(9i32); |
109 | pub const D3D10_NAME_POSITION: D3D_NAME = D3D_NAME(1i32); |
110 | pub const D3D10_NAME_PRIMITIVE_ID: D3D_NAME = D3D_NAME(7i32); |
111 | pub const D3D10_NAME_RENDER_TARGET_ARRAY_INDEX: D3D_NAME = D3D_NAME(4i32); |
112 | pub const D3D10_NAME_SAMPLE_INDEX: D3D_NAME = D3D_NAME(10i32); |
113 | pub const D3D10_NAME_TARGET: D3D_NAME = D3D_NAME(64i32); |
114 | pub const D3D10_NAME_UNDEFINED: D3D_NAME = D3D_NAME(0i32); |
115 | pub const D3D10_NAME_VERTEX_ID: D3D_NAME = D3D_NAME(6i32); |
116 | pub const D3D10_NAME_VIEWPORT_ARRAY_INDEX: D3D_NAME = D3D_NAME(5i32); |
117 | pub const D3D10_PRIMITIVE_LINE: D3D_PRIMITIVE = D3D_PRIMITIVE(2i32); |
118 | pub const D3D10_PRIMITIVE_LINE_ADJ: D3D_PRIMITIVE = D3D_PRIMITIVE(6i32); |
119 | pub const D3D10_PRIMITIVE_POINT: D3D_PRIMITIVE = D3D_PRIMITIVE(1i32); |
120 | pub const D3D10_PRIMITIVE_TOPOLOGY_LINELIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(2i32); |
121 | pub const D3D10_PRIMITIVE_TOPOLOGY_LINELIST_ADJ: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(10i32); |
122 | pub const D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(3i32); |
123 | pub const D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(11i32); |
124 | pub const D3D10_PRIMITIVE_TOPOLOGY_POINTLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(1i32); |
125 | pub const D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(4i32); |
126 | pub const D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(12i32); |
127 | pub const D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(5i32); |
128 | pub const D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(13i32); |
129 | pub const D3D10_PRIMITIVE_TOPOLOGY_UNDEFINED: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(0i32); |
130 | pub const D3D10_PRIMITIVE_TRIANGLE: D3D_PRIMITIVE = D3D_PRIMITIVE(3i32); |
131 | pub const D3D10_PRIMITIVE_TRIANGLE_ADJ: D3D_PRIMITIVE = D3D_PRIMITIVE(7i32); |
132 | pub const D3D10_PRIMITIVE_UNDEFINED: D3D_PRIMITIVE = D3D_PRIMITIVE(0i32); |
133 | pub const D3D10_REGISTER_COMPONENT_FLOAT32: D3D_REGISTER_COMPONENT_TYPE = D3D_REGISTER_COMPONENT_TYPE(3i32); |
134 | pub const D3D10_REGISTER_COMPONENT_SINT32: D3D_REGISTER_COMPONENT_TYPE = D3D_REGISTER_COMPONENT_TYPE(2i32); |
135 | pub const D3D10_REGISTER_COMPONENT_UINT32: D3D_REGISTER_COMPONENT_TYPE = D3D_REGISTER_COMPONENT_TYPE(1i32); |
136 | pub const D3D10_REGISTER_COMPONENT_UNKNOWN: D3D_REGISTER_COMPONENT_TYPE = D3D_REGISTER_COMPONENT_TYPE(0i32); |
137 | pub const D3D10_RETURN_TYPE_FLOAT: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(5i32); |
138 | pub const D3D10_RETURN_TYPE_MIXED: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(6i32); |
139 | pub const D3D10_RETURN_TYPE_SINT: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(3i32); |
140 | pub const D3D10_RETURN_TYPE_SNORM: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(2i32); |
141 | pub const D3D10_RETURN_TYPE_UINT: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(4i32); |
142 | pub const D3D10_RETURN_TYPE_UNORM: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(1i32); |
143 | pub const D3D10_SIF_COMPARISON_SAMPLER: D3D_SHADER_INPUT_FLAGS = D3D_SHADER_INPUT_FLAGS(2i32); |
144 | pub const D3D10_SIF_TEXTURE_COMPONENTS: D3D_SHADER_INPUT_FLAGS = D3D_SHADER_INPUT_FLAGS(12i32); |
145 | pub const D3D10_SIF_TEXTURE_COMPONENT_0: D3D_SHADER_INPUT_FLAGS = D3D_SHADER_INPUT_FLAGS(4i32); |
146 | pub const D3D10_SIF_TEXTURE_COMPONENT_1: D3D_SHADER_INPUT_FLAGS = D3D_SHADER_INPUT_FLAGS(8i32); |
147 | pub const D3D10_SIF_USERPACKED: D3D_SHADER_INPUT_FLAGS = D3D_SHADER_INPUT_FLAGS(1i32); |
148 | pub const D3D10_SIT_CBUFFER: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(0i32); |
149 | pub const D3D10_SIT_SAMPLER: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(3i32); |
150 | pub const D3D10_SIT_TBUFFER: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(1i32); |
151 | pub const D3D10_SIT_TEXTURE: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(2i32); |
152 | pub const D3D10_SRV_DIMENSION_BUFFER: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(1i32); |
153 | pub const D3D10_SRV_DIMENSION_TEXTURE1D: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(2i32); |
154 | pub const D3D10_SRV_DIMENSION_TEXTURE1DARRAY: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(3i32); |
155 | pub const D3D10_SRV_DIMENSION_TEXTURE2D: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(4i32); |
156 | pub const D3D10_SRV_DIMENSION_TEXTURE2DARRAY: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(5i32); |
157 | pub const D3D10_SRV_DIMENSION_TEXTURE2DMS: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(6i32); |
158 | pub const D3D10_SRV_DIMENSION_TEXTURE2DMSARRAY: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(7i32); |
159 | pub const D3D10_SRV_DIMENSION_TEXTURE3D: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(8i32); |
160 | pub const D3D10_SRV_DIMENSION_TEXTURECUBE: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(9i32); |
161 | pub const D3D10_SRV_DIMENSION_UNKNOWN: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(0i32); |
162 | pub const D3D10_SVC_MATRIX_COLUMNS: D3D_SHADER_VARIABLE_CLASS = D3D_SHADER_VARIABLE_CLASS(3i32); |
163 | pub const D3D10_SVC_MATRIX_ROWS: D3D_SHADER_VARIABLE_CLASS = D3D_SHADER_VARIABLE_CLASS(2i32); |
164 | pub const D3D10_SVC_OBJECT: D3D_SHADER_VARIABLE_CLASS = D3D_SHADER_VARIABLE_CLASS(4i32); |
165 | pub const D3D10_SVC_SCALAR: D3D_SHADER_VARIABLE_CLASS = D3D_SHADER_VARIABLE_CLASS(0i32); |
166 | pub const D3D10_SVC_STRUCT: D3D_SHADER_VARIABLE_CLASS = D3D_SHADER_VARIABLE_CLASS(5i32); |
167 | pub const D3D10_SVC_VECTOR: D3D_SHADER_VARIABLE_CLASS = D3D_SHADER_VARIABLE_CLASS(1i32); |
168 | pub const D3D10_SVF_USED: D3D_SHADER_VARIABLE_FLAGS = D3D_SHADER_VARIABLE_FLAGS(2i32); |
169 | pub const D3D10_SVF_USERPACKED: D3D_SHADER_VARIABLE_FLAGS = D3D_SHADER_VARIABLE_FLAGS(1i32); |
170 | pub const D3D10_SVT_BLEND: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(24i32); |
171 | pub const D3D10_SVT_BOOL: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(1i32); |
172 | pub const D3D10_SVT_BUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(25i32); |
173 | pub const D3D10_SVT_CBUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(26i32); |
174 | pub const D3D10_SVT_DEPTHSTENCIL: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(23i32); |
175 | pub const D3D10_SVT_DEPTHSTENCILVIEW: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(31i32); |
176 | pub const D3D10_SVT_FLOAT: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(3i32); |
177 | pub const D3D10_SVT_GEOMETRYSHADER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(21i32); |
178 | pub const D3D10_SVT_INT: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(2i32); |
179 | pub const D3D10_SVT_PIXELFRAGMENT: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(17i32); |
180 | pub const D3D10_SVT_PIXELSHADER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(15i32); |
181 | pub const D3D10_SVT_RASTERIZER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(22i32); |
182 | pub const D3D10_SVT_RENDERTARGETVIEW: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(30i32); |
183 | pub const D3D10_SVT_SAMPLER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(10i32); |
184 | pub const D3D10_SVT_SAMPLER1D: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(11i32); |
185 | pub const D3D10_SVT_SAMPLER2D: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(12i32); |
186 | pub const D3D10_SVT_SAMPLER3D: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(13i32); |
187 | pub const D3D10_SVT_SAMPLERCUBE: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(14i32); |
188 | pub const D3D10_SVT_STRING: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(4i32); |
189 | pub const D3D10_SVT_TBUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(27i32); |
190 | pub const D3D10_SVT_TEXTURE: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(5i32); |
191 | pub const D3D10_SVT_TEXTURE1D: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(6i32); |
192 | pub const D3D10_SVT_TEXTURE1DARRAY: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(28i32); |
193 | pub const D3D10_SVT_TEXTURE2D: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(7i32); |
194 | pub const D3D10_SVT_TEXTURE2DARRAY: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(29i32); |
195 | pub const D3D10_SVT_TEXTURE2DMS: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(32i32); |
196 | pub const D3D10_SVT_TEXTURE2DMSARRAY: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(33i32); |
197 | pub const D3D10_SVT_TEXTURE3D: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(8i32); |
198 | pub const D3D10_SVT_TEXTURECUBE: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(9i32); |
199 | pub const D3D10_SVT_TEXTURECUBEARRAY: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(34i32); |
200 | pub const D3D10_SVT_UINT: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(19i32); |
201 | pub const D3D10_SVT_UINT8: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(20i32); |
202 | pub const D3D10_SVT_VERTEXFRAGMENT: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(18i32); |
203 | pub const D3D10_SVT_VERTEXSHADER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(16i32); |
204 | pub const D3D10_SVT_VOID: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(0i32); |
205 | pub const D3D11_CT_CBUFFER: D3D_CBUFFER_TYPE = D3D_CBUFFER_TYPE(0i32); |
206 | pub const D3D11_CT_INTERFACE_POINTERS: D3D_CBUFFER_TYPE = D3D_CBUFFER_TYPE(2i32); |
207 | pub const D3D11_CT_RESOURCE_BIND_INFO: D3D_CBUFFER_TYPE = D3D_CBUFFER_TYPE(3i32); |
208 | pub const D3D11_CT_TBUFFER: D3D_CBUFFER_TYPE = D3D_CBUFFER_TYPE(1i32); |
209 | pub const D3D11_NAME_DEPTH_GREATER_EQUAL: D3D_NAME = D3D_NAME(67i32); |
210 | pub const D3D11_NAME_DEPTH_LESS_EQUAL: D3D_NAME = D3D_NAME(68i32); |
211 | pub const D3D11_NAME_FINAL_LINE_DENSITY_TESSFACTOR: D3D_NAME = D3D_NAME(16i32); |
212 | pub const D3D11_NAME_FINAL_LINE_DETAIL_TESSFACTOR: D3D_NAME = D3D_NAME(15i32); |
213 | pub const D3D11_NAME_FINAL_QUAD_EDGE_TESSFACTOR: D3D_NAME = D3D_NAME(11i32); |
214 | pub const D3D11_NAME_FINAL_QUAD_INSIDE_TESSFACTOR: D3D_NAME = D3D_NAME(12i32); |
215 | pub const D3D11_NAME_FINAL_TRI_EDGE_TESSFACTOR: D3D_NAME = D3D_NAME(13i32); |
216 | pub const D3D11_NAME_FINAL_TRI_INSIDE_TESSFACTOR: D3D_NAME = D3D_NAME(14i32); |
217 | pub const D3D11_NAME_INNER_COVERAGE: D3D_NAME = D3D_NAME(70i32); |
218 | pub const D3D11_NAME_STENCIL_REF: D3D_NAME = D3D_NAME(69i32); |
219 | pub const D3D11_PRIMITIVE_10_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(17i32); |
220 | pub const D3D11_PRIMITIVE_11_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(18i32); |
221 | pub const D3D11_PRIMITIVE_12_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(19i32); |
222 | pub const D3D11_PRIMITIVE_13_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(20i32); |
223 | pub const D3D11_PRIMITIVE_14_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(21i32); |
224 | pub const D3D11_PRIMITIVE_15_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(22i32); |
225 | pub const D3D11_PRIMITIVE_16_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(23i32); |
226 | pub const D3D11_PRIMITIVE_17_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(24i32); |
227 | pub const D3D11_PRIMITIVE_18_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(25i32); |
228 | pub const D3D11_PRIMITIVE_19_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(26i32); |
229 | pub const D3D11_PRIMITIVE_1_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(8i32); |
230 | pub const D3D11_PRIMITIVE_20_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(27i32); |
231 | pub const D3D11_PRIMITIVE_21_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(28i32); |
232 | pub const D3D11_PRIMITIVE_22_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(29i32); |
233 | pub const D3D11_PRIMITIVE_23_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(30i32); |
234 | pub const D3D11_PRIMITIVE_24_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(31i32); |
235 | pub const D3D11_PRIMITIVE_25_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(32i32); |
236 | pub const D3D11_PRIMITIVE_26_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(33i32); |
237 | pub const D3D11_PRIMITIVE_27_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(34i32); |
238 | pub const D3D11_PRIMITIVE_28_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(35i32); |
239 | pub const D3D11_PRIMITIVE_29_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(36i32); |
240 | pub const D3D11_PRIMITIVE_2_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(9i32); |
241 | pub const D3D11_PRIMITIVE_30_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(37i32); |
242 | pub const D3D11_PRIMITIVE_31_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(38i32); |
243 | pub const D3D11_PRIMITIVE_32_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(39i32); |
244 | pub const D3D11_PRIMITIVE_3_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(10i32); |
245 | pub const D3D11_PRIMITIVE_4_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(11i32); |
246 | pub const D3D11_PRIMITIVE_5_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(12i32); |
247 | pub const D3D11_PRIMITIVE_6_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(13i32); |
248 | pub const D3D11_PRIMITIVE_7_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(14i32); |
249 | pub const D3D11_PRIMITIVE_8_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(15i32); |
250 | pub const D3D11_PRIMITIVE_9_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(16i32); |
251 | pub const D3D11_PRIMITIVE_LINE: D3D_PRIMITIVE = D3D_PRIMITIVE(2i32); |
252 | pub const D3D11_PRIMITIVE_LINE_ADJ: D3D_PRIMITIVE = D3D_PRIMITIVE(6i32); |
253 | pub const D3D11_PRIMITIVE_POINT: D3D_PRIMITIVE = D3D_PRIMITIVE(1i32); |
254 | pub const D3D11_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(42i32); |
255 | pub const D3D11_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(43i32); |
256 | pub const D3D11_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(44i32); |
257 | pub const D3D11_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(45i32); |
258 | pub const D3D11_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(46i32); |
259 | pub const D3D11_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(47i32); |
260 | pub const D3D11_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(48i32); |
261 | pub const D3D11_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(49i32); |
262 | pub const D3D11_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(50i32); |
263 | pub const D3D11_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(51i32); |
264 | pub const D3D11_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(33i32); |
265 | pub const D3D11_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(52i32); |
266 | pub const D3D11_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(53i32); |
267 | pub const D3D11_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(54i32); |
268 | pub const D3D11_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(55i32); |
269 | pub const D3D11_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(56i32); |
270 | pub const D3D11_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(57i32); |
271 | pub const D3D11_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(58i32); |
272 | pub const D3D11_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(59i32); |
273 | pub const D3D11_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(60i32); |
274 | pub const D3D11_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(61i32); |
275 | pub const D3D11_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(34i32); |
276 | pub const D3D11_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(62i32); |
277 | pub const D3D11_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(63i32); |
278 | pub const D3D11_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(64i32); |
279 | pub const D3D11_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(35i32); |
280 | pub const D3D11_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(36i32); |
281 | pub const D3D11_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(37i32); |
282 | pub const D3D11_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(38i32); |
283 | pub const D3D11_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(39i32); |
284 | pub const D3D11_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(40i32); |
285 | pub const D3D11_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(41i32); |
286 | pub const D3D11_PRIMITIVE_TOPOLOGY_LINELIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(2i32); |
287 | pub const D3D11_PRIMITIVE_TOPOLOGY_LINELIST_ADJ: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(10i32); |
288 | pub const D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(3i32); |
289 | pub const D3D11_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(11i32); |
290 | pub const D3D11_PRIMITIVE_TOPOLOGY_POINTLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(1i32); |
291 | pub const D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(4i32); |
292 | pub const D3D11_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(12i32); |
293 | pub const D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(5i32); |
294 | pub const D3D11_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(13i32); |
295 | pub const D3D11_PRIMITIVE_TOPOLOGY_UNDEFINED: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(0i32); |
296 | pub const D3D11_PRIMITIVE_TRIANGLE: D3D_PRIMITIVE = D3D_PRIMITIVE(3i32); |
297 | pub const D3D11_PRIMITIVE_TRIANGLE_ADJ: D3D_PRIMITIVE = D3D_PRIMITIVE(7i32); |
298 | pub const D3D11_PRIMITIVE_UNDEFINED: D3D_PRIMITIVE = D3D_PRIMITIVE(0i32); |
299 | pub const D3D11_RETURN_TYPE_CONTINUED: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(8i32); |
300 | pub const D3D11_RETURN_TYPE_DOUBLE: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(7i32); |
301 | pub const D3D11_RETURN_TYPE_FLOAT: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(5i32); |
302 | pub const D3D11_RETURN_TYPE_MIXED: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(6i32); |
303 | pub const D3D11_RETURN_TYPE_SINT: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(3i32); |
304 | pub const D3D11_RETURN_TYPE_SNORM: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(2i32); |
305 | pub const D3D11_RETURN_TYPE_UINT: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(4i32); |
306 | pub const D3D11_RETURN_TYPE_UNORM: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(1i32); |
307 | pub const D3D11_SIT_BYTEADDRESS: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(7i32); |
308 | pub const D3D11_SIT_STRUCTURED: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(5i32); |
309 | pub const D3D11_SIT_UAV_APPEND_STRUCTURED: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(9i32); |
310 | pub const D3D11_SIT_UAV_CONSUME_STRUCTURED: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(10i32); |
311 | pub const D3D11_SIT_UAV_RWBYTEADDRESS: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(8i32); |
312 | pub const D3D11_SIT_UAV_RWSTRUCTURED: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(6i32); |
313 | pub const D3D11_SIT_UAV_RWSTRUCTURED_WITH_COUNTER: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(11i32); |
314 | pub const D3D11_SIT_UAV_RWTYPED: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(4i32); |
315 | pub const D3D11_SRV_DIMENSION_BUFFER: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(1i32); |
316 | pub const D3D11_SRV_DIMENSION_BUFFEREX: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(11i32); |
317 | pub const D3D11_SRV_DIMENSION_TEXTURE1D: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(2i32); |
318 | pub const D3D11_SRV_DIMENSION_TEXTURE1DARRAY: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(3i32); |
319 | pub const D3D11_SRV_DIMENSION_TEXTURE2D: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(4i32); |
320 | pub const D3D11_SRV_DIMENSION_TEXTURE2DARRAY: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(5i32); |
321 | pub const D3D11_SRV_DIMENSION_TEXTURE2DMS: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(6i32); |
322 | pub const D3D11_SRV_DIMENSION_TEXTURE2DMSARRAY: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(7i32); |
323 | pub const D3D11_SRV_DIMENSION_TEXTURE3D: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(8i32); |
324 | pub const D3D11_SRV_DIMENSION_TEXTURECUBE: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(9i32); |
325 | pub const D3D11_SRV_DIMENSION_TEXTURECUBEARRAY: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(10i32); |
326 | pub const D3D11_SRV_DIMENSION_UNKNOWN: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(0i32); |
327 | pub const D3D11_SVC_INTERFACE_CLASS: D3D_SHADER_VARIABLE_CLASS = D3D_SHADER_VARIABLE_CLASS(6i32); |
328 | pub const D3D11_SVC_INTERFACE_POINTER: D3D_SHADER_VARIABLE_CLASS = D3D_SHADER_VARIABLE_CLASS(7i32); |
329 | pub const D3D11_SVF_INTERFACE_PARAMETER: D3D_SHADER_VARIABLE_FLAGS = D3D_SHADER_VARIABLE_FLAGS(8i32); |
330 | pub const D3D11_SVF_INTERFACE_POINTER: D3D_SHADER_VARIABLE_FLAGS = D3D_SHADER_VARIABLE_FLAGS(4i32); |
331 | pub const D3D11_SVT_APPEND_STRUCTURED_BUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(50i32); |
332 | pub const D3D11_SVT_BYTEADDRESS_BUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(46i32); |
333 | pub const D3D11_SVT_COMPUTESHADER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(38i32); |
334 | pub const D3D11_SVT_CONSUME_STRUCTURED_BUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(51i32); |
335 | pub const D3D11_SVT_DOMAINSHADER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(36i32); |
336 | pub const D3D11_SVT_DOUBLE: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(39i32); |
337 | pub const D3D11_SVT_HULLSHADER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(35i32); |
338 | pub const D3D11_SVT_INTERFACE_POINTER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(37i32); |
339 | pub const D3D11_SVT_RWBUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(45i32); |
340 | pub const D3D11_SVT_RWBYTEADDRESS_BUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(47i32); |
341 | pub const D3D11_SVT_RWSTRUCTURED_BUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(49i32); |
342 | pub const D3D11_SVT_RWTEXTURE1D: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(40i32); |
343 | pub const D3D11_SVT_RWTEXTURE1DARRAY: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(41i32); |
344 | pub const D3D11_SVT_RWTEXTURE2D: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(42i32); |
345 | pub const D3D11_SVT_RWTEXTURE2DARRAY: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(43i32); |
346 | pub const D3D11_SVT_RWTEXTURE3D: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(44i32); |
347 | pub const D3D11_SVT_STRUCTURED_BUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(48i32); |
348 | pub const D3D11_TESSELLATOR_DOMAIN_ISOLINE: D3D_TESSELLATOR_DOMAIN = D3D_TESSELLATOR_DOMAIN(1i32); |
349 | pub const D3D11_TESSELLATOR_DOMAIN_QUAD: D3D_TESSELLATOR_DOMAIN = D3D_TESSELLATOR_DOMAIN(3i32); |
350 | pub const D3D11_TESSELLATOR_DOMAIN_TRI: D3D_TESSELLATOR_DOMAIN = D3D_TESSELLATOR_DOMAIN(2i32); |
351 | pub const D3D11_TESSELLATOR_DOMAIN_UNDEFINED: D3D_TESSELLATOR_DOMAIN = D3D_TESSELLATOR_DOMAIN(0i32); |
352 | pub const D3D11_TESSELLATOR_OUTPUT_LINE: D3D_TESSELLATOR_OUTPUT_PRIMITIVE = D3D_TESSELLATOR_OUTPUT_PRIMITIVE(2i32); |
353 | pub const D3D11_TESSELLATOR_OUTPUT_POINT: D3D_TESSELLATOR_OUTPUT_PRIMITIVE = D3D_TESSELLATOR_OUTPUT_PRIMITIVE(1i32); |
354 | pub const D3D11_TESSELLATOR_OUTPUT_TRIANGLE_CCW: D3D_TESSELLATOR_OUTPUT_PRIMITIVE = D3D_TESSELLATOR_OUTPUT_PRIMITIVE(4i32); |
355 | pub const D3D11_TESSELLATOR_OUTPUT_TRIANGLE_CW: D3D_TESSELLATOR_OUTPUT_PRIMITIVE = D3D_TESSELLATOR_OUTPUT_PRIMITIVE(3i32); |
356 | pub const D3D11_TESSELLATOR_OUTPUT_UNDEFINED: D3D_TESSELLATOR_OUTPUT_PRIMITIVE = D3D_TESSELLATOR_OUTPUT_PRIMITIVE(0i32); |
357 | pub const D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN: D3D_TESSELLATOR_PARTITIONING = D3D_TESSELLATOR_PARTITIONING(4i32); |
358 | pub const D3D11_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD: D3D_TESSELLATOR_PARTITIONING = D3D_TESSELLATOR_PARTITIONING(3i32); |
359 | pub const D3D11_TESSELLATOR_PARTITIONING_INTEGER: D3D_TESSELLATOR_PARTITIONING = D3D_TESSELLATOR_PARTITIONING(1i32); |
360 | pub const D3D11_TESSELLATOR_PARTITIONING_POW2: D3D_TESSELLATOR_PARTITIONING = D3D_TESSELLATOR_PARTITIONING(2i32); |
361 | pub const D3D11_TESSELLATOR_PARTITIONING_UNDEFINED: D3D_TESSELLATOR_PARTITIONING = D3D_TESSELLATOR_PARTITIONING(0i32); |
362 | pub const D3D12_NAME_BARYCENTRICS: D3D_NAME = D3D_NAME(23i32); |
363 | pub const D3D12_NAME_CULLPRIMITIVE: D3D_NAME = D3D_NAME(25i32); |
364 | pub const D3D12_NAME_SHADINGRATE: D3D_NAME = D3D_NAME(24i32); |
365 | pub const D3DFCI_BIASED_FIXED_2_8: D3D_FORMAT_COMPONENT_INTERPRETATION = D3D_FORMAT_COMPONENT_INTERPRETATION(3i32); |
366 | pub const D3DFCI_FLOAT: D3D_FORMAT_COMPONENT_INTERPRETATION = D3D_FORMAT_COMPONENT_INTERPRETATION(-4i32); |
367 | pub const D3DFCI_SINT: D3D_FORMAT_COMPONENT_INTERPRETATION = D3D_FORMAT_COMPONENT_INTERPRETATION(-1i32); |
368 | pub const D3DFCI_SNORM: D3D_FORMAT_COMPONENT_INTERPRETATION = D3D_FORMAT_COMPONENT_INTERPRETATION(-3i32); |
369 | pub const D3DFCI_TYPELESS: D3D_FORMAT_COMPONENT_INTERPRETATION = D3D_FORMAT_COMPONENT_INTERPRETATION(0i32); |
370 | pub const D3DFCI_UINT: D3D_FORMAT_COMPONENT_INTERPRETATION = D3D_FORMAT_COMPONENT_INTERPRETATION(1i32); |
371 | pub const D3DFCI_UNORM: D3D_FORMAT_COMPONENT_INTERPRETATION = D3D_FORMAT_COMPONENT_INTERPRETATION(-2i32); |
372 | pub const D3DFCI_UNORM_SRGB: D3D_FORMAT_COMPONENT_INTERPRETATION = D3D_FORMAT_COMPONENT_INTERPRETATION(2i32); |
373 | pub const D3DFCN_A: D3D_FORMAT_COMPONENT_NAME = D3D_FORMAT_COMPONENT_NAME(-1i32); |
374 | pub const D3DFCN_B: D3D_FORMAT_COMPONENT_NAME = D3D_FORMAT_COMPONENT_NAME(-2i32); |
375 | pub const D3DFCN_D: D3D_FORMAT_COMPONENT_NAME = D3D_FORMAT_COMPONENT_NAME(0i32); |
376 | pub const D3DFCN_G: D3D_FORMAT_COMPONENT_NAME = D3D_FORMAT_COMPONENT_NAME(-3i32); |
377 | pub const D3DFCN_R: D3D_FORMAT_COMPONENT_NAME = D3D_FORMAT_COMPONENT_NAME(-4i32); |
378 | pub const D3DFCN_S: D3D_FORMAT_COMPONENT_NAME = D3D_FORMAT_COMPONENT_NAME(1i32); |
379 | pub const D3DFCN_X: D3D_FORMAT_COMPONENT_NAME = D3D_FORMAT_COMPONENT_NAME(2i32); |
380 | pub const D3DFL_CUSTOM: D3D_FORMAT_LAYOUT = D3D_FORMAT_LAYOUT(-1i32); |
381 | pub const D3DFL_STANDARD: D3D_FORMAT_LAYOUT = D3D_FORMAT_LAYOUT(0i32); |
382 | pub const D3DFTL_FULL_TYPE: D3D_FORMAT_TYPE_LEVEL = D3D_FORMAT_TYPE_LEVEL(-1i32); |
383 | pub const D3DFTL_NO_TYPE: D3D_FORMAT_TYPE_LEVEL = D3D_FORMAT_TYPE_LEVEL(0i32); |
384 | pub const D3DFTL_PARTIAL_TYPE: D3D_FORMAT_TYPE_LEVEL = D3D_FORMAT_TYPE_LEVEL(-2i32); |
385 | pub const D3D_CBF_USERPACKED: D3D_SHADER_CBUFFER_FLAGS = D3D_SHADER_CBUFFER_FLAGS(1i32); |
386 | pub const D3D_COMPONENT_MASK_W: u32 = 8u32; |
387 | pub const D3D_COMPONENT_MASK_X: u32 = 1u32; |
388 | pub const D3D_COMPONENT_MASK_Y: u32 = 2u32; |
389 | pub const D3D_COMPONENT_MASK_Z: u32 = 4u32; |
390 | pub const D3D_CT_CBUFFER: D3D_CBUFFER_TYPE = D3D_CBUFFER_TYPE(0i32); |
391 | pub const D3D_CT_INTERFACE_POINTERS: D3D_CBUFFER_TYPE = D3D_CBUFFER_TYPE(2i32); |
392 | pub const D3D_CT_RESOURCE_BIND_INFO: D3D_CBUFFER_TYPE = D3D_CBUFFER_TYPE(3i32); |
393 | pub const D3D_CT_TBUFFER: D3D_CBUFFER_TYPE = D3D_CBUFFER_TYPE(1i32); |
394 | pub const D3D_DRIVER_TYPE_HARDWARE: D3D_DRIVER_TYPE = D3D_DRIVER_TYPE(1i32); |
395 | pub const D3D_DRIVER_TYPE_NULL: D3D_DRIVER_TYPE = D3D_DRIVER_TYPE(3i32); |
396 | pub const D3D_DRIVER_TYPE_REFERENCE: D3D_DRIVER_TYPE = D3D_DRIVER_TYPE(2i32); |
397 | pub const D3D_DRIVER_TYPE_SOFTWARE: D3D_DRIVER_TYPE = D3D_DRIVER_TYPE(4i32); |
398 | pub const D3D_DRIVER_TYPE_UNKNOWN: D3D_DRIVER_TYPE = D3D_DRIVER_TYPE(0i32); |
399 | pub const D3D_DRIVER_TYPE_WARP: D3D_DRIVER_TYPE = D3D_DRIVER_TYPE(5i32); |
400 | pub const D3D_FEATURE_LEVEL_10_0: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(40960i32); |
401 | pub const D3D_FEATURE_LEVEL_10_1: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(41216i32); |
402 | pub const D3D_FEATURE_LEVEL_11_0: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(45056i32); |
403 | pub const D3D_FEATURE_LEVEL_11_1: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(45312i32); |
404 | pub const D3D_FEATURE_LEVEL_12_0: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(49152i32); |
405 | pub const D3D_FEATURE_LEVEL_12_1: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(49408i32); |
406 | pub const D3D_FEATURE_LEVEL_12_2: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(49664i32); |
407 | pub const D3D_FEATURE_LEVEL_1_0_CORE: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(4096i32); |
408 | pub const D3D_FEATURE_LEVEL_9_1: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(37120i32); |
409 | pub const D3D_FEATURE_LEVEL_9_2: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(37376i32); |
410 | pub const D3D_FEATURE_LEVEL_9_3: D3D_FEATURE_LEVEL = D3D_FEATURE_LEVEL(37632i32); |
411 | pub const D3D_FL9_1_DEFAULT_MAX_ANISOTROPY: u32 = 2u32; |
412 | pub const D3D_FL9_1_IA_PRIMITIVE_MAX_COUNT: u32 = 65535u32; |
413 | pub const D3D_FL9_1_MAX_TEXTURE_REPEAT: u32 = 128u32; |
414 | pub const D3D_FL9_1_REQ_TEXTURE1D_U_DIMENSION: u32 = 2048u32; |
415 | pub const D3D_FL9_1_REQ_TEXTURE2D_U_OR_V_DIMENSION: u32 = 2048u32; |
416 | pub const D3D_FL9_1_REQ_TEXTURE3D_U_V_OR_W_DIMENSION: u32 = 256u32; |
417 | pub const D3D_FL9_1_REQ_TEXTURECUBE_DIMENSION: u32 = 512u32; |
418 | pub const D3D_FL9_1_SIMULTANEOUS_RENDER_TARGET_COUNT: u32 = 1u32; |
419 | pub const D3D_FL9_2_IA_PRIMITIVE_MAX_COUNT: u32 = 1048575u32; |
420 | pub const D3D_FL9_2_MAX_TEXTURE_REPEAT: u32 = 2048u32; |
421 | pub const D3D_FL9_3_MAX_TEXTURE_REPEAT: u32 = 8192u32; |
422 | pub const D3D_FL9_3_REQ_TEXTURE1D_U_DIMENSION: u32 = 4096u32; |
423 | pub const D3D_FL9_3_REQ_TEXTURE2D_U_OR_V_DIMENSION: u32 = 4096u32; |
424 | pub const D3D_FL9_3_REQ_TEXTURECUBE_DIMENSION: u32 = 4096u32; |
425 | pub const D3D_FL9_3_SIMULTANEOUS_RENDER_TARGET_COUNT: u32 = 4u32; |
426 | pub const D3D_INCLUDE_LOCAL: D3D_INCLUDE_TYPE = D3D_INCLUDE_TYPE(0i32); |
427 | pub const D3D_INCLUDE_SYSTEM: D3D_INCLUDE_TYPE = D3D_INCLUDE_TYPE(1i32); |
428 | pub const D3D_INTERPOLATION_CONSTANT: D3D_INTERPOLATION_MODE = D3D_INTERPOLATION_MODE(1i32); |
429 | pub const D3D_INTERPOLATION_LINEAR: D3D_INTERPOLATION_MODE = D3D_INTERPOLATION_MODE(2i32); |
430 | pub const D3D_INTERPOLATION_LINEAR_CENTROID: D3D_INTERPOLATION_MODE = D3D_INTERPOLATION_MODE(3i32); |
431 | pub const D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE: D3D_INTERPOLATION_MODE = D3D_INTERPOLATION_MODE(4i32); |
432 | pub const D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE_CENTROID: D3D_INTERPOLATION_MODE = D3D_INTERPOLATION_MODE(5i32); |
433 | pub const D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE_SAMPLE: D3D_INTERPOLATION_MODE = D3D_INTERPOLATION_MODE(7i32); |
434 | pub const D3D_INTERPOLATION_LINEAR_SAMPLE: D3D_INTERPOLATION_MODE = D3D_INTERPOLATION_MODE(6i32); |
435 | pub const D3D_INTERPOLATION_UNDEFINED: D3D_INTERPOLATION_MODE = D3D_INTERPOLATION_MODE(0i32); |
436 | pub const D3D_MIN_PRECISION_ANY_10: D3D_MIN_PRECISION = D3D_MIN_PRECISION(241i32); |
437 | pub const D3D_MIN_PRECISION_ANY_16: D3D_MIN_PRECISION = D3D_MIN_PRECISION(240i32); |
438 | pub const D3D_MIN_PRECISION_DEFAULT: D3D_MIN_PRECISION = D3D_MIN_PRECISION(0i32); |
439 | pub const D3D_MIN_PRECISION_FLOAT_16: D3D_MIN_PRECISION = D3D_MIN_PRECISION(1i32); |
440 | pub const D3D_MIN_PRECISION_FLOAT_2_8: D3D_MIN_PRECISION = D3D_MIN_PRECISION(2i32); |
441 | pub const D3D_MIN_PRECISION_RESERVED: D3D_MIN_PRECISION = D3D_MIN_PRECISION(3i32); |
442 | pub const D3D_MIN_PRECISION_SINT_16: D3D_MIN_PRECISION = D3D_MIN_PRECISION(4i32); |
443 | pub const D3D_MIN_PRECISION_UINT_16: D3D_MIN_PRECISION = D3D_MIN_PRECISION(5i32); |
444 | pub const D3D_NAME_BARYCENTRICS: D3D_NAME = D3D_NAME(23i32); |
445 | pub const D3D_NAME_CLIP_DISTANCE: D3D_NAME = D3D_NAME(2i32); |
446 | pub const D3D_NAME_COVERAGE: D3D_NAME = D3D_NAME(66i32); |
447 | pub const D3D_NAME_CULLPRIMITIVE: D3D_NAME = D3D_NAME(25i32); |
448 | pub const D3D_NAME_CULL_DISTANCE: D3D_NAME = D3D_NAME(3i32); |
449 | pub const D3D_NAME_DEPTH: D3D_NAME = D3D_NAME(65i32); |
450 | pub const D3D_NAME_DEPTH_GREATER_EQUAL: D3D_NAME = D3D_NAME(67i32); |
451 | pub const D3D_NAME_DEPTH_LESS_EQUAL: D3D_NAME = D3D_NAME(68i32); |
452 | pub const D3D_NAME_FINAL_LINE_DENSITY_TESSFACTOR: D3D_NAME = D3D_NAME(16i32); |
453 | pub const D3D_NAME_FINAL_LINE_DETAIL_TESSFACTOR: D3D_NAME = D3D_NAME(15i32); |
454 | pub const D3D_NAME_FINAL_QUAD_EDGE_TESSFACTOR: D3D_NAME = D3D_NAME(11i32); |
455 | pub const D3D_NAME_FINAL_QUAD_INSIDE_TESSFACTOR: D3D_NAME = D3D_NAME(12i32); |
456 | pub const D3D_NAME_FINAL_TRI_EDGE_TESSFACTOR: D3D_NAME = D3D_NAME(13i32); |
457 | pub const D3D_NAME_FINAL_TRI_INSIDE_TESSFACTOR: D3D_NAME = D3D_NAME(14i32); |
458 | pub const D3D_NAME_INNER_COVERAGE: D3D_NAME = D3D_NAME(70i32); |
459 | pub const D3D_NAME_INSTANCE_ID: D3D_NAME = D3D_NAME(8i32); |
460 | pub const D3D_NAME_IS_FRONT_FACE: D3D_NAME = D3D_NAME(9i32); |
461 | pub const D3D_NAME_POSITION: D3D_NAME = D3D_NAME(1i32); |
462 | pub const D3D_NAME_PRIMITIVE_ID: D3D_NAME = D3D_NAME(7i32); |
463 | pub const D3D_NAME_RENDER_TARGET_ARRAY_INDEX: D3D_NAME = D3D_NAME(4i32); |
464 | pub const D3D_NAME_SAMPLE_INDEX: D3D_NAME = D3D_NAME(10i32); |
465 | pub const D3D_NAME_SHADINGRATE: D3D_NAME = D3D_NAME(24i32); |
466 | pub const D3D_NAME_STENCIL_REF: D3D_NAME = D3D_NAME(69i32); |
467 | pub const D3D_NAME_TARGET: D3D_NAME = D3D_NAME(64i32); |
468 | pub const D3D_NAME_UNDEFINED: D3D_NAME = D3D_NAME(0i32); |
469 | pub const D3D_NAME_VERTEX_ID: D3D_NAME = D3D_NAME(6i32); |
470 | pub const D3D_NAME_VIEWPORT_ARRAY_INDEX: D3D_NAME = D3D_NAME(5i32); |
471 | pub const D3D_PF_IN: D3D_PARAMETER_FLAGS = D3D_PARAMETER_FLAGS(1i32); |
472 | pub const D3D_PF_NONE: D3D_PARAMETER_FLAGS = D3D_PARAMETER_FLAGS(0i32); |
473 | pub const D3D_PF_OUT: D3D_PARAMETER_FLAGS = D3D_PARAMETER_FLAGS(2i32); |
474 | pub const D3D_PRIMITIVE_10_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(17i32); |
475 | pub const D3D_PRIMITIVE_11_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(18i32); |
476 | pub const D3D_PRIMITIVE_12_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(19i32); |
477 | pub const D3D_PRIMITIVE_13_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(20i32); |
478 | pub const D3D_PRIMITIVE_14_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(21i32); |
479 | pub const D3D_PRIMITIVE_15_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(22i32); |
480 | pub const D3D_PRIMITIVE_16_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(23i32); |
481 | pub const D3D_PRIMITIVE_17_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(24i32); |
482 | pub const D3D_PRIMITIVE_18_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(25i32); |
483 | pub const D3D_PRIMITIVE_19_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(26i32); |
484 | pub const D3D_PRIMITIVE_1_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(8i32); |
485 | pub const D3D_PRIMITIVE_20_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(27i32); |
486 | pub const D3D_PRIMITIVE_21_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(28i32); |
487 | pub const D3D_PRIMITIVE_22_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(29i32); |
488 | pub const D3D_PRIMITIVE_23_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(30i32); |
489 | pub const D3D_PRIMITIVE_24_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(31i32); |
490 | pub const D3D_PRIMITIVE_25_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(32i32); |
491 | pub const D3D_PRIMITIVE_26_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(33i32); |
492 | pub const D3D_PRIMITIVE_27_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(34i32); |
493 | pub const D3D_PRIMITIVE_28_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(35i32); |
494 | pub const D3D_PRIMITIVE_29_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(36i32); |
495 | pub const D3D_PRIMITIVE_2_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(9i32); |
496 | pub const D3D_PRIMITIVE_30_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(37i32); |
497 | pub const D3D_PRIMITIVE_31_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(38i32); |
498 | pub const D3D_PRIMITIVE_32_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(39i32); |
499 | pub const D3D_PRIMITIVE_3_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(10i32); |
500 | pub const D3D_PRIMITIVE_4_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(11i32); |
501 | pub const D3D_PRIMITIVE_5_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(12i32); |
502 | pub const D3D_PRIMITIVE_6_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(13i32); |
503 | pub const D3D_PRIMITIVE_7_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(14i32); |
504 | pub const D3D_PRIMITIVE_8_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(15i32); |
505 | pub const D3D_PRIMITIVE_9_CONTROL_POINT_PATCH: D3D_PRIMITIVE = D3D_PRIMITIVE(16i32); |
506 | pub const D3D_PRIMITIVE_LINE: D3D_PRIMITIVE = D3D_PRIMITIVE(2i32); |
507 | pub const D3D_PRIMITIVE_LINE_ADJ: D3D_PRIMITIVE = D3D_PRIMITIVE(6i32); |
508 | pub const D3D_PRIMITIVE_POINT: D3D_PRIMITIVE = D3D_PRIMITIVE(1i32); |
509 | pub const D3D_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(42i32); |
510 | pub const D3D_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(43i32); |
511 | pub const D3D_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(44i32); |
512 | pub const D3D_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(45i32); |
513 | pub const D3D_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(46i32); |
514 | pub const D3D_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(47i32); |
515 | pub const D3D_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(48i32); |
516 | pub const D3D_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(49i32); |
517 | pub const D3D_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(50i32); |
518 | pub const D3D_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(51i32); |
519 | pub const D3D_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(33i32); |
520 | pub const D3D_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(52i32); |
521 | pub const D3D_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(53i32); |
522 | pub const D3D_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(54i32); |
523 | pub const D3D_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(55i32); |
524 | pub const D3D_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(56i32); |
525 | pub const D3D_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(57i32); |
526 | pub const D3D_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(58i32); |
527 | pub const D3D_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(59i32); |
528 | pub const D3D_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(60i32); |
529 | pub const D3D_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(61i32); |
530 | pub const D3D_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(34i32); |
531 | pub const D3D_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(62i32); |
532 | pub const D3D_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(63i32); |
533 | pub const D3D_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(64i32); |
534 | pub const D3D_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(35i32); |
535 | pub const D3D_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(36i32); |
536 | pub const D3D_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(37i32); |
537 | pub const D3D_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(38i32); |
538 | pub const D3D_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(39i32); |
539 | pub const D3D_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(40i32); |
540 | pub const D3D_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(41i32); |
541 | pub const D3D_PRIMITIVE_TOPOLOGY_LINELIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(2i32); |
542 | pub const D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(10i32); |
543 | pub const D3D_PRIMITIVE_TOPOLOGY_LINESTRIP: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(3i32); |
544 | pub const D3D_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(11i32); |
545 | pub const D3D_PRIMITIVE_TOPOLOGY_POINTLIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(1i32); |
546 | pub const D3D_PRIMITIVE_TOPOLOGY_TRIANGLEFAN: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(6i32); |
547 | pub const D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(4i32); |
548 | pub const D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(12i32); |
549 | pub const D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(5i32); |
550 | pub const D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(13i32); |
551 | pub const D3D_PRIMITIVE_TOPOLOGY_UNDEFINED: D3D_PRIMITIVE_TOPOLOGY = D3D_PRIMITIVE_TOPOLOGY(0i32); |
552 | pub const D3D_PRIMITIVE_TRIANGLE: D3D_PRIMITIVE = D3D_PRIMITIVE(3i32); |
553 | pub const D3D_PRIMITIVE_TRIANGLE_ADJ: D3D_PRIMITIVE = D3D_PRIMITIVE(7i32); |
554 | pub const D3D_PRIMITIVE_UNDEFINED: D3D_PRIMITIVE = D3D_PRIMITIVE(0i32); |
555 | pub const D3D_REGISTER_COMPONENT_FLOAT32: D3D_REGISTER_COMPONENT_TYPE = D3D_REGISTER_COMPONENT_TYPE(3i32); |
556 | pub const D3D_REGISTER_COMPONENT_SINT32: D3D_REGISTER_COMPONENT_TYPE = D3D_REGISTER_COMPONENT_TYPE(2i32); |
557 | pub const D3D_REGISTER_COMPONENT_UINT32: D3D_REGISTER_COMPONENT_TYPE = D3D_REGISTER_COMPONENT_TYPE(1i32); |
558 | pub const D3D_REGISTER_COMPONENT_UNKNOWN: D3D_REGISTER_COMPONENT_TYPE = D3D_REGISTER_COMPONENT_TYPE(0i32); |
559 | pub const D3D_RETURN_TYPE_CONTINUED: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(8i32); |
560 | pub const D3D_RETURN_TYPE_DOUBLE: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(7i32); |
561 | pub const D3D_RETURN_TYPE_FLOAT: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(5i32); |
562 | pub const D3D_RETURN_TYPE_MIXED: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(6i32); |
563 | pub const D3D_RETURN_TYPE_SINT: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(3i32); |
564 | pub const D3D_RETURN_TYPE_SNORM: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(2i32); |
565 | pub const D3D_RETURN_TYPE_UINT: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(4i32); |
566 | pub const D3D_RETURN_TYPE_UNORM: D3D_RESOURCE_RETURN_TYPE = D3D_RESOURCE_RETURN_TYPE(1i32); |
567 | pub const D3D_SHADER_FEATURE_11_1_DOUBLE_EXTENSIONS: u32 = 32u32; |
568 | pub const D3D_SHADER_FEATURE_11_1_SHADER_EXTENSIONS: u32 = 64u32; |
569 | pub const D3D_SHADER_FEATURE_64_UAVS: u32 = 8u32; |
570 | pub const D3D_SHADER_FEATURE_ATOMIC_INT64_ON_DESCRIPTOR_HEAP_RESOURCE: u32 = 268435456u32; |
571 | pub const D3D_SHADER_FEATURE_ATOMIC_INT64_ON_GROUP_SHARED: u32 = 8388608u32; |
572 | pub const D3D_SHADER_FEATURE_ATOMIC_INT64_ON_TYPED_RESOURCE: u32 = 4194304u32; |
573 | pub const D3D_SHADER_FEATURE_BARYCENTRICS: u32 = 131072u32; |
574 | pub const D3D_SHADER_FEATURE_COMPUTE_SHADERS_PLUS_RAW_AND_STRUCTURED_BUFFERS_VIA_SHADER_4_X: u32 = 2u32; |
575 | pub const D3D_SHADER_FEATURE_DERIVATIVES_IN_MESH_AND_AMPLIFICATION_SHADERS: u32 = 16777216u32; |
576 | pub const D3D_SHADER_FEATURE_DOUBLES: u32 = 1u32; |
577 | pub const D3D_SHADER_FEATURE_INNER_COVERAGE: u32 = 1024u32; |
578 | pub const D3D_SHADER_FEATURE_INT64_OPS: u32 = 32768u32; |
579 | pub const D3D_SHADER_FEATURE_LEVEL_9_COMPARISON_FILTERING: u32 = 128u32; |
580 | pub const D3D_SHADER_FEATURE_MINIMUM_PRECISION: u32 = 16u32; |
581 | pub const D3D_SHADER_FEATURE_NATIVE_16BIT_OPS: u32 = 262144u32; |
582 | pub const D3D_SHADER_FEATURE_RAYTRACING_TIER_1_1: u32 = 1048576u32; |
583 | pub const D3D_SHADER_FEATURE_RESOURCE_DESCRIPTOR_HEAP_INDEXING: u32 = 33554432u32; |
584 | pub const D3D_SHADER_FEATURE_ROVS: u32 = 4096u32; |
585 | pub const D3D_SHADER_FEATURE_SAMPLER_DESCRIPTOR_HEAP_INDEXING: u32 = 67108864u32; |
586 | pub const D3D_SHADER_FEATURE_SAMPLER_FEEDBACK: u32 = 2097152u32; |
587 | pub const D3D_SHADER_FEATURE_SHADING_RATE: u32 = 524288u32; |
588 | pub const D3D_SHADER_FEATURE_STENCIL_REF: u32 = 512u32; |
589 | pub const D3D_SHADER_FEATURE_TILED_RESOURCES: u32 = 256u32; |
590 | pub const D3D_SHADER_FEATURE_TYPED_UAV_LOAD_ADDITIONAL_FORMATS: u32 = 2048u32; |
591 | pub const D3D_SHADER_FEATURE_UAVS_AT_EVERY_STAGE: u32 = 4u32; |
592 | pub const D3D_SHADER_FEATURE_VIEWPORT_AND_RT_ARRAY_INDEX_FROM_ANY_SHADER_FEEDING_RASTERIZER: u32 = 8192u32; |
593 | pub const D3D_SHADER_FEATURE_VIEW_ID: u32 = 65536u32; |
594 | pub const D3D_SHADER_FEATURE_WAVE_MMA: u32 = 134217728u32; |
595 | pub const D3D_SHADER_FEATURE_WAVE_OPS: u32 = 16384u32; |
596 | pub const D3D_SIF_COMPARISON_SAMPLER: D3D_SHADER_INPUT_FLAGS = D3D_SHADER_INPUT_FLAGS(2i32); |
597 | pub const D3D_SIF_TEXTURE_COMPONENTS: D3D_SHADER_INPUT_FLAGS = D3D_SHADER_INPUT_FLAGS(12i32); |
598 | pub const D3D_SIF_TEXTURE_COMPONENT_0: D3D_SHADER_INPUT_FLAGS = D3D_SHADER_INPUT_FLAGS(4i32); |
599 | pub const D3D_SIF_TEXTURE_COMPONENT_1: D3D_SHADER_INPUT_FLAGS = D3D_SHADER_INPUT_FLAGS(8i32); |
600 | pub const D3D_SIF_UNUSED: D3D_SHADER_INPUT_FLAGS = D3D_SHADER_INPUT_FLAGS(16i32); |
601 | pub const D3D_SIF_USERPACKED: D3D_SHADER_INPUT_FLAGS = D3D_SHADER_INPUT_FLAGS(1i32); |
602 | pub const D3D_SIT_BYTEADDRESS: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(7i32); |
603 | pub const D3D_SIT_CBUFFER: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(0i32); |
604 | pub const D3D_SIT_RTACCELERATIONSTRUCTURE: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(12i32); |
605 | pub const D3D_SIT_SAMPLER: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(3i32); |
606 | pub const D3D_SIT_STRUCTURED: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(5i32); |
607 | pub const D3D_SIT_TBUFFER: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(1i32); |
608 | pub const D3D_SIT_TEXTURE: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(2i32); |
609 | pub const D3D_SIT_UAV_APPEND_STRUCTURED: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(9i32); |
610 | pub const D3D_SIT_UAV_CONSUME_STRUCTURED: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(10i32); |
611 | pub const D3D_SIT_UAV_FEEDBACKTEXTURE: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(13i32); |
612 | pub const D3D_SIT_UAV_RWBYTEADDRESS: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(8i32); |
613 | pub const D3D_SIT_UAV_RWSTRUCTURED: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(6i32); |
614 | pub const D3D_SIT_UAV_RWSTRUCTURED_WITH_COUNTER: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(11i32); |
615 | pub const D3D_SIT_UAV_RWTYPED: D3D_SHADER_INPUT_TYPE = D3D_SHADER_INPUT_TYPE(4i32); |
616 | pub const D3D_SRV_DIMENSION_BUFFER: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(1i32); |
617 | pub const D3D_SRV_DIMENSION_BUFFEREX: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(11i32); |
618 | pub const D3D_SRV_DIMENSION_TEXTURE1D: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(2i32); |
619 | pub const D3D_SRV_DIMENSION_TEXTURE1DARRAY: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(3i32); |
620 | pub const D3D_SRV_DIMENSION_TEXTURE2D: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(4i32); |
621 | pub const D3D_SRV_DIMENSION_TEXTURE2DARRAY: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(5i32); |
622 | pub const D3D_SRV_DIMENSION_TEXTURE2DMS: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(6i32); |
623 | pub const D3D_SRV_DIMENSION_TEXTURE2DMSARRAY: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(7i32); |
624 | pub const D3D_SRV_DIMENSION_TEXTURE3D: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(8i32); |
625 | pub const D3D_SRV_DIMENSION_TEXTURECUBE: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(9i32); |
626 | pub const D3D_SRV_DIMENSION_TEXTURECUBEARRAY: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(10i32); |
627 | pub const D3D_SRV_DIMENSION_UNKNOWN: D3D_SRV_DIMENSION = D3D_SRV_DIMENSION(0i32); |
628 | pub const D3D_SVC_INTERFACE_CLASS: D3D_SHADER_VARIABLE_CLASS = D3D_SHADER_VARIABLE_CLASS(6i32); |
629 | pub const D3D_SVC_INTERFACE_POINTER: D3D_SHADER_VARIABLE_CLASS = D3D_SHADER_VARIABLE_CLASS(7i32); |
630 | pub const D3D_SVC_MATRIX_COLUMNS: D3D_SHADER_VARIABLE_CLASS = D3D_SHADER_VARIABLE_CLASS(3i32); |
631 | pub const D3D_SVC_MATRIX_ROWS: D3D_SHADER_VARIABLE_CLASS = D3D_SHADER_VARIABLE_CLASS(2i32); |
632 | pub const D3D_SVC_OBJECT: D3D_SHADER_VARIABLE_CLASS = D3D_SHADER_VARIABLE_CLASS(4i32); |
633 | pub const D3D_SVC_SCALAR: D3D_SHADER_VARIABLE_CLASS = D3D_SHADER_VARIABLE_CLASS(0i32); |
634 | pub const D3D_SVC_STRUCT: D3D_SHADER_VARIABLE_CLASS = D3D_SHADER_VARIABLE_CLASS(5i32); |
635 | pub const D3D_SVC_VECTOR: D3D_SHADER_VARIABLE_CLASS = D3D_SHADER_VARIABLE_CLASS(1i32); |
636 | pub const D3D_SVF_INTERFACE_PARAMETER: D3D_SHADER_VARIABLE_FLAGS = D3D_SHADER_VARIABLE_FLAGS(8i32); |
637 | pub const D3D_SVF_INTERFACE_POINTER: D3D_SHADER_VARIABLE_FLAGS = D3D_SHADER_VARIABLE_FLAGS(4i32); |
638 | pub const D3D_SVF_USED: D3D_SHADER_VARIABLE_FLAGS = D3D_SHADER_VARIABLE_FLAGS(2i32); |
639 | pub const D3D_SVF_USERPACKED: D3D_SHADER_VARIABLE_FLAGS = D3D_SHADER_VARIABLE_FLAGS(1i32); |
640 | pub const D3D_SVT_APPEND_STRUCTURED_BUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(50i32); |
641 | pub const D3D_SVT_BLEND: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(24i32); |
642 | pub const D3D_SVT_BOOL: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(1i32); |
643 | pub const D3D_SVT_BUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(25i32); |
644 | pub const D3D_SVT_BYTEADDRESS_BUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(46i32); |
645 | pub const D3D_SVT_CBUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(26i32); |
646 | pub const D3D_SVT_COMPUTESHADER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(38i32); |
647 | pub const D3D_SVT_CONSUME_STRUCTURED_BUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(51i32); |
648 | pub const D3D_SVT_DEPTHSTENCIL: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(23i32); |
649 | pub const D3D_SVT_DEPTHSTENCILVIEW: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(31i32); |
650 | pub const D3D_SVT_DOMAINSHADER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(36i32); |
651 | pub const D3D_SVT_DOUBLE: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(39i32); |
652 | pub const D3D_SVT_FLOAT: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(3i32); |
653 | pub const D3D_SVT_FLOAT16: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(60i32); |
654 | pub const D3D_SVT_GEOMETRYSHADER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(21i32); |
655 | pub const D3D_SVT_HULLSHADER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(35i32); |
656 | pub const D3D_SVT_INT: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(2i32); |
657 | pub const D3D_SVT_INT16: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(58i32); |
658 | pub const D3D_SVT_INT64: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(61i32); |
659 | pub const D3D_SVT_INTERFACE_POINTER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(37i32); |
660 | pub const D3D_SVT_MIN10FLOAT: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(53i32); |
661 | pub const D3D_SVT_MIN12INT: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(55i32); |
662 | pub const D3D_SVT_MIN16FLOAT: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(54i32); |
663 | pub const D3D_SVT_MIN16INT: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(56i32); |
664 | pub const D3D_SVT_MIN16UINT: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(57i32); |
665 | pub const D3D_SVT_MIN8FLOAT: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(52i32); |
666 | pub const D3D_SVT_PIXELFRAGMENT: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(17i32); |
667 | pub const D3D_SVT_PIXELSHADER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(15i32); |
668 | pub const D3D_SVT_RASTERIZER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(22i32); |
669 | pub const D3D_SVT_RENDERTARGETVIEW: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(30i32); |
670 | pub const D3D_SVT_RWBUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(45i32); |
671 | pub const D3D_SVT_RWBYTEADDRESS_BUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(47i32); |
672 | pub const D3D_SVT_RWSTRUCTURED_BUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(49i32); |
673 | pub const D3D_SVT_RWTEXTURE1D: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(40i32); |
674 | pub const D3D_SVT_RWTEXTURE1DARRAY: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(41i32); |
675 | pub const D3D_SVT_RWTEXTURE2D: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(42i32); |
676 | pub const D3D_SVT_RWTEXTURE2DARRAY: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(43i32); |
677 | pub const D3D_SVT_RWTEXTURE3D: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(44i32); |
678 | pub const D3D_SVT_SAMPLER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(10i32); |
679 | pub const D3D_SVT_SAMPLER1D: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(11i32); |
680 | pub const D3D_SVT_SAMPLER2D: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(12i32); |
681 | pub const D3D_SVT_SAMPLER3D: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(13i32); |
682 | pub const D3D_SVT_SAMPLERCUBE: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(14i32); |
683 | pub const D3D_SVT_STRING: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(4i32); |
684 | pub const D3D_SVT_STRUCTURED_BUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(48i32); |
685 | pub const D3D_SVT_TBUFFER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(27i32); |
686 | pub const D3D_SVT_TEXTURE: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(5i32); |
687 | pub const D3D_SVT_TEXTURE1D: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(6i32); |
688 | pub const D3D_SVT_TEXTURE1DARRAY: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(28i32); |
689 | pub const D3D_SVT_TEXTURE2D: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(7i32); |
690 | pub const D3D_SVT_TEXTURE2DARRAY: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(29i32); |
691 | pub const D3D_SVT_TEXTURE2DMS: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(32i32); |
692 | pub const D3D_SVT_TEXTURE2DMSARRAY: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(33i32); |
693 | pub const D3D_SVT_TEXTURE3D: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(8i32); |
694 | pub const D3D_SVT_TEXTURECUBE: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(9i32); |
695 | pub const D3D_SVT_TEXTURECUBEARRAY: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(34i32); |
696 | pub const D3D_SVT_UINT: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(19i32); |
697 | pub const D3D_SVT_UINT16: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(59i32); |
698 | pub const D3D_SVT_UINT64: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(62i32); |
699 | pub const D3D_SVT_UINT8: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(20i32); |
700 | pub const D3D_SVT_VERTEXFRAGMENT: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(18i32); |
701 | pub const D3D_SVT_VERTEXSHADER: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(16i32); |
702 | pub const D3D_SVT_VOID: D3D_SHADER_VARIABLE_TYPE = D3D_SHADER_VARIABLE_TYPE(0i32); |
703 | pub const D3D_TESSELLATOR_DOMAIN_ISOLINE: D3D_TESSELLATOR_DOMAIN = D3D_TESSELLATOR_DOMAIN(1i32); |
704 | pub const D3D_TESSELLATOR_DOMAIN_QUAD: D3D_TESSELLATOR_DOMAIN = D3D_TESSELLATOR_DOMAIN(3i32); |
705 | pub const D3D_TESSELLATOR_DOMAIN_TRI: D3D_TESSELLATOR_DOMAIN = D3D_TESSELLATOR_DOMAIN(2i32); |
706 | pub const D3D_TESSELLATOR_DOMAIN_UNDEFINED: D3D_TESSELLATOR_DOMAIN = D3D_TESSELLATOR_DOMAIN(0i32); |
707 | pub const D3D_TESSELLATOR_OUTPUT_LINE: D3D_TESSELLATOR_OUTPUT_PRIMITIVE = D3D_TESSELLATOR_OUTPUT_PRIMITIVE(2i32); |
708 | pub const D3D_TESSELLATOR_OUTPUT_POINT: D3D_TESSELLATOR_OUTPUT_PRIMITIVE = D3D_TESSELLATOR_OUTPUT_PRIMITIVE(1i32); |
709 | pub const D3D_TESSELLATOR_OUTPUT_TRIANGLE_CCW: D3D_TESSELLATOR_OUTPUT_PRIMITIVE = D3D_TESSELLATOR_OUTPUT_PRIMITIVE(4i32); |
710 | pub const D3D_TESSELLATOR_OUTPUT_TRIANGLE_CW: D3D_TESSELLATOR_OUTPUT_PRIMITIVE = D3D_TESSELLATOR_OUTPUT_PRIMITIVE(3i32); |
711 | pub const D3D_TESSELLATOR_OUTPUT_UNDEFINED: D3D_TESSELLATOR_OUTPUT_PRIMITIVE = D3D_TESSELLATOR_OUTPUT_PRIMITIVE(0i32); |
712 | pub const D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN: D3D_TESSELLATOR_PARTITIONING = D3D_TESSELLATOR_PARTITIONING(4i32); |
713 | pub const D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD: D3D_TESSELLATOR_PARTITIONING = D3D_TESSELLATOR_PARTITIONING(3i32); |
714 | pub const D3D_TESSELLATOR_PARTITIONING_INTEGER: D3D_TESSELLATOR_PARTITIONING = D3D_TESSELLATOR_PARTITIONING(1i32); |
715 | pub const D3D_TESSELLATOR_PARTITIONING_POW2: D3D_TESSELLATOR_PARTITIONING = D3D_TESSELLATOR_PARTITIONING(2i32); |
716 | pub const D3D_TESSELLATOR_PARTITIONING_UNDEFINED: D3D_TESSELLATOR_PARTITIONING = D3D_TESSELLATOR_PARTITIONING(0i32); |
717 | pub const D3D_TEXTURE_LAYOUT_64KB_STANDARD_SWIZZLE: ::windows_core::GUID = ::windows_core::GUID::from_u128(uuid:0x4c0f29e3_3f5f_4d35_84c9_bc0983b62c28); |
718 | pub const D3D_TEXTURE_LAYOUT_ROW_MAJOR: ::windows_core::GUID = ::windows_core::GUID::from_u128(uuid:0xb5dc234f_72bb_4bec_9705_8cf258df6b6c); |
719 | pub const WKPDID_CommentStringW: ::windows_core::GUID = ::windows_core::GUID::from_u128(uuid:0xd0149dc0_90e8_4ec8_8144_e900ad266bb2); |
720 | pub const WKPDID_D3D12UniqueObjectId: ::windows_core::GUID = ::windows_core::GUID::from_u128(uuid:0x1b39de15_ec04_4bae_ba4d_8cef79fc04c1); |
721 | pub const WKPDID_D3DDebugObjectName: ::windows_core::GUID = ::windows_core::GUID::from_u128(uuid:0x429b8c22_9188_4b0c_8742_acb0bf85c200); |
722 | pub const WKPDID_D3DDebugObjectNameW: ::windows_core::GUID = ::windows_core::GUID::from_u128(uuid:0x4cca5fd8_921f_42c8_8566_70caf2a9b741); |
723 | #[repr (transparent)] |
724 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
725 | pub struct D3D_CBUFFER_TYPE(pub i32); |
726 | impl ::core::marker::Copy for D3D_CBUFFER_TYPE {} |
727 | impl ::core::clone::Clone for D3D_CBUFFER_TYPE { |
728 | fn clone(&self) -> Self { |
729 | *self |
730 | } |
731 | } |
732 | impl ::core::default::Default for D3D_CBUFFER_TYPE { |
733 | fn default() -> Self { |
734 | Self(0) |
735 | } |
736 | } |
737 | impl ::windows_core::TypeKind for D3D_CBUFFER_TYPE { |
738 | type TypeKind = ::windows_core::CopyType; |
739 | } |
740 | impl ::core::fmt::Debug for D3D_CBUFFER_TYPE { |
741 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
742 | f.debug_tuple(name:"D3D_CBUFFER_TYPE" ).field(&self.0).finish() |
743 | } |
744 | } |
745 | #[repr (transparent)] |
746 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
747 | pub struct D3D_DRIVER_TYPE(pub i32); |
748 | impl ::core::marker::Copy for D3D_DRIVER_TYPE {} |
749 | impl ::core::clone::Clone for D3D_DRIVER_TYPE { |
750 | fn clone(&self) -> Self { |
751 | *self |
752 | } |
753 | } |
754 | impl ::core::default::Default for D3D_DRIVER_TYPE { |
755 | fn default() -> Self { |
756 | Self(0) |
757 | } |
758 | } |
759 | impl ::windows_core::TypeKind for D3D_DRIVER_TYPE { |
760 | type TypeKind = ::windows_core::CopyType; |
761 | } |
762 | impl ::core::fmt::Debug for D3D_DRIVER_TYPE { |
763 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
764 | f.debug_tuple(name:"D3D_DRIVER_TYPE" ).field(&self.0).finish() |
765 | } |
766 | } |
767 | #[repr (transparent)] |
768 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
769 | pub struct D3D_FEATURE_LEVEL(pub i32); |
770 | impl ::core::marker::Copy for D3D_FEATURE_LEVEL {} |
771 | impl ::core::clone::Clone for D3D_FEATURE_LEVEL { |
772 | fn clone(&self) -> Self { |
773 | *self |
774 | } |
775 | } |
776 | impl ::core::default::Default for D3D_FEATURE_LEVEL { |
777 | fn default() -> Self { |
778 | Self(0) |
779 | } |
780 | } |
781 | impl ::windows_core::TypeKind for D3D_FEATURE_LEVEL { |
782 | type TypeKind = ::windows_core::CopyType; |
783 | } |
784 | impl ::core::fmt::Debug for D3D_FEATURE_LEVEL { |
785 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
786 | f.debug_tuple(name:"D3D_FEATURE_LEVEL" ).field(&self.0).finish() |
787 | } |
788 | } |
789 | #[repr (transparent)] |
790 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
791 | pub struct D3D_FORMAT_COMPONENT_INTERPRETATION(pub i32); |
792 | impl ::core::marker::Copy for D3D_FORMAT_COMPONENT_INTERPRETATION {} |
793 | impl ::core::clone::Clone for D3D_FORMAT_COMPONENT_INTERPRETATION { |
794 | fn clone(&self) -> Self { |
795 | *self |
796 | } |
797 | } |
798 | impl ::core::default::Default for D3D_FORMAT_COMPONENT_INTERPRETATION { |
799 | fn default() -> Self { |
800 | Self(0) |
801 | } |
802 | } |
803 | impl ::windows_core::TypeKind for D3D_FORMAT_COMPONENT_INTERPRETATION { |
804 | type TypeKind = ::windows_core::CopyType; |
805 | } |
806 | impl ::core::fmt::Debug for D3D_FORMAT_COMPONENT_INTERPRETATION { |
807 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
808 | f.debug_tuple(name:"D3D_FORMAT_COMPONENT_INTERPRETATION" ).field(&self.0).finish() |
809 | } |
810 | } |
811 | #[repr (transparent)] |
812 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
813 | pub struct D3D_FORMAT_COMPONENT_NAME(pub i32); |
814 | impl ::core::marker::Copy for D3D_FORMAT_COMPONENT_NAME {} |
815 | impl ::core::clone::Clone for D3D_FORMAT_COMPONENT_NAME { |
816 | fn clone(&self) -> Self { |
817 | *self |
818 | } |
819 | } |
820 | impl ::core::default::Default for D3D_FORMAT_COMPONENT_NAME { |
821 | fn default() -> Self { |
822 | Self(0) |
823 | } |
824 | } |
825 | impl ::windows_core::TypeKind for D3D_FORMAT_COMPONENT_NAME { |
826 | type TypeKind = ::windows_core::CopyType; |
827 | } |
828 | impl ::core::fmt::Debug for D3D_FORMAT_COMPONENT_NAME { |
829 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
830 | f.debug_tuple(name:"D3D_FORMAT_COMPONENT_NAME" ).field(&self.0).finish() |
831 | } |
832 | } |
833 | #[repr (transparent)] |
834 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
835 | pub struct D3D_FORMAT_LAYOUT(pub i32); |
836 | impl ::core::marker::Copy for D3D_FORMAT_LAYOUT {} |
837 | impl ::core::clone::Clone for D3D_FORMAT_LAYOUT { |
838 | fn clone(&self) -> Self { |
839 | *self |
840 | } |
841 | } |
842 | impl ::core::default::Default for D3D_FORMAT_LAYOUT { |
843 | fn default() -> Self { |
844 | Self(0) |
845 | } |
846 | } |
847 | impl ::windows_core::TypeKind for D3D_FORMAT_LAYOUT { |
848 | type TypeKind = ::windows_core::CopyType; |
849 | } |
850 | impl ::core::fmt::Debug for D3D_FORMAT_LAYOUT { |
851 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
852 | f.debug_tuple(name:"D3D_FORMAT_LAYOUT" ).field(&self.0).finish() |
853 | } |
854 | } |
855 | #[repr (transparent)] |
856 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
857 | pub struct D3D_FORMAT_TYPE_LEVEL(pub i32); |
858 | impl ::core::marker::Copy for D3D_FORMAT_TYPE_LEVEL {} |
859 | impl ::core::clone::Clone for D3D_FORMAT_TYPE_LEVEL { |
860 | fn clone(&self) -> Self { |
861 | *self |
862 | } |
863 | } |
864 | impl ::core::default::Default for D3D_FORMAT_TYPE_LEVEL { |
865 | fn default() -> Self { |
866 | Self(0) |
867 | } |
868 | } |
869 | impl ::windows_core::TypeKind for D3D_FORMAT_TYPE_LEVEL { |
870 | type TypeKind = ::windows_core::CopyType; |
871 | } |
872 | impl ::core::fmt::Debug for D3D_FORMAT_TYPE_LEVEL { |
873 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
874 | f.debug_tuple(name:"D3D_FORMAT_TYPE_LEVEL" ).field(&self.0).finish() |
875 | } |
876 | } |
877 | #[repr (transparent)] |
878 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
879 | pub struct D3D_INCLUDE_TYPE(pub i32); |
880 | impl ::core::marker::Copy for D3D_INCLUDE_TYPE {} |
881 | impl ::core::clone::Clone for D3D_INCLUDE_TYPE { |
882 | fn clone(&self) -> Self { |
883 | *self |
884 | } |
885 | } |
886 | impl ::core::default::Default for D3D_INCLUDE_TYPE { |
887 | fn default() -> Self { |
888 | Self(0) |
889 | } |
890 | } |
891 | impl ::windows_core::TypeKind for D3D_INCLUDE_TYPE { |
892 | type TypeKind = ::windows_core::CopyType; |
893 | } |
894 | impl ::core::fmt::Debug for D3D_INCLUDE_TYPE { |
895 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
896 | f.debug_tuple(name:"D3D_INCLUDE_TYPE" ).field(&self.0).finish() |
897 | } |
898 | } |
899 | #[repr (transparent)] |
900 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
901 | pub struct D3D_INTERPOLATION_MODE(pub i32); |
902 | impl ::core::marker::Copy for D3D_INTERPOLATION_MODE {} |
903 | impl ::core::clone::Clone for D3D_INTERPOLATION_MODE { |
904 | fn clone(&self) -> Self { |
905 | *self |
906 | } |
907 | } |
908 | impl ::core::default::Default for D3D_INTERPOLATION_MODE { |
909 | fn default() -> Self { |
910 | Self(0) |
911 | } |
912 | } |
913 | impl ::windows_core::TypeKind for D3D_INTERPOLATION_MODE { |
914 | type TypeKind = ::windows_core::CopyType; |
915 | } |
916 | impl ::core::fmt::Debug for D3D_INTERPOLATION_MODE { |
917 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
918 | f.debug_tuple(name:"D3D_INTERPOLATION_MODE" ).field(&self.0).finish() |
919 | } |
920 | } |
921 | #[repr (transparent)] |
922 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
923 | pub struct D3D_MIN_PRECISION(pub i32); |
924 | impl ::core::marker::Copy for D3D_MIN_PRECISION {} |
925 | impl ::core::clone::Clone for D3D_MIN_PRECISION { |
926 | fn clone(&self) -> Self { |
927 | *self |
928 | } |
929 | } |
930 | impl ::core::default::Default for D3D_MIN_PRECISION { |
931 | fn default() -> Self { |
932 | Self(0) |
933 | } |
934 | } |
935 | impl ::windows_core::TypeKind for D3D_MIN_PRECISION { |
936 | type TypeKind = ::windows_core::CopyType; |
937 | } |
938 | impl ::core::fmt::Debug for D3D_MIN_PRECISION { |
939 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
940 | f.debug_tuple(name:"D3D_MIN_PRECISION" ).field(&self.0).finish() |
941 | } |
942 | } |
943 | #[repr (transparent)] |
944 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
945 | pub struct D3D_NAME(pub i32); |
946 | impl ::core::marker::Copy for D3D_NAME {} |
947 | impl ::core::clone::Clone for D3D_NAME { |
948 | fn clone(&self) -> Self { |
949 | *self |
950 | } |
951 | } |
952 | impl ::core::default::Default for D3D_NAME { |
953 | fn default() -> Self { |
954 | Self(0) |
955 | } |
956 | } |
957 | impl ::windows_core::TypeKind for D3D_NAME { |
958 | type TypeKind = ::windows_core::CopyType; |
959 | } |
960 | impl ::core::fmt::Debug for D3D_NAME { |
961 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
962 | f.debug_tuple(name:"D3D_NAME" ).field(&self.0).finish() |
963 | } |
964 | } |
965 | #[repr (transparent)] |
966 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
967 | pub struct D3D_PARAMETER_FLAGS(pub i32); |
968 | impl ::core::marker::Copy for D3D_PARAMETER_FLAGS {} |
969 | impl ::core::clone::Clone for D3D_PARAMETER_FLAGS { |
970 | fn clone(&self) -> Self { |
971 | *self |
972 | } |
973 | } |
974 | impl ::core::default::Default for D3D_PARAMETER_FLAGS { |
975 | fn default() -> Self { |
976 | Self(0) |
977 | } |
978 | } |
979 | impl ::windows_core::TypeKind for D3D_PARAMETER_FLAGS { |
980 | type TypeKind = ::windows_core::CopyType; |
981 | } |
982 | impl ::core::fmt::Debug for D3D_PARAMETER_FLAGS { |
983 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
984 | f.debug_tuple(name:"D3D_PARAMETER_FLAGS" ).field(&self.0).finish() |
985 | } |
986 | } |
987 | #[repr (transparent)] |
988 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
989 | pub struct D3D_PRIMITIVE(pub i32); |
990 | impl ::core::marker::Copy for D3D_PRIMITIVE {} |
991 | impl ::core::clone::Clone for D3D_PRIMITIVE { |
992 | fn clone(&self) -> Self { |
993 | *self |
994 | } |
995 | } |
996 | impl ::core::default::Default for D3D_PRIMITIVE { |
997 | fn default() -> Self { |
998 | Self(0) |
999 | } |
1000 | } |
1001 | impl ::windows_core::TypeKind for D3D_PRIMITIVE { |
1002 | type TypeKind = ::windows_core::CopyType; |
1003 | } |
1004 | impl ::core::fmt::Debug for D3D_PRIMITIVE { |
1005 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
1006 | f.debug_tuple(name:"D3D_PRIMITIVE" ).field(&self.0).finish() |
1007 | } |
1008 | } |
1009 | #[repr (transparent)] |
1010 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
1011 | pub struct D3D_PRIMITIVE_TOPOLOGY(pub i32); |
1012 | impl ::core::marker::Copy for D3D_PRIMITIVE_TOPOLOGY {} |
1013 | impl ::core::clone::Clone for D3D_PRIMITIVE_TOPOLOGY { |
1014 | fn clone(&self) -> Self { |
1015 | *self |
1016 | } |
1017 | } |
1018 | impl ::core::default::Default for D3D_PRIMITIVE_TOPOLOGY { |
1019 | fn default() -> Self { |
1020 | Self(0) |
1021 | } |
1022 | } |
1023 | impl ::windows_core::TypeKind for D3D_PRIMITIVE_TOPOLOGY { |
1024 | type TypeKind = ::windows_core::CopyType; |
1025 | } |
1026 | impl ::core::fmt::Debug for D3D_PRIMITIVE_TOPOLOGY { |
1027 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
1028 | f.debug_tuple(name:"D3D_PRIMITIVE_TOPOLOGY" ).field(&self.0).finish() |
1029 | } |
1030 | } |
1031 | #[repr (transparent)] |
1032 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
1033 | pub struct D3D_REGISTER_COMPONENT_TYPE(pub i32); |
1034 | impl ::core::marker::Copy for D3D_REGISTER_COMPONENT_TYPE {} |
1035 | impl ::core::clone::Clone for D3D_REGISTER_COMPONENT_TYPE { |
1036 | fn clone(&self) -> Self { |
1037 | *self |
1038 | } |
1039 | } |
1040 | impl ::core::default::Default for D3D_REGISTER_COMPONENT_TYPE { |
1041 | fn default() -> Self { |
1042 | Self(0) |
1043 | } |
1044 | } |
1045 | impl ::windows_core::TypeKind for D3D_REGISTER_COMPONENT_TYPE { |
1046 | type TypeKind = ::windows_core::CopyType; |
1047 | } |
1048 | impl ::core::fmt::Debug for D3D_REGISTER_COMPONENT_TYPE { |
1049 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
1050 | f.debug_tuple(name:"D3D_REGISTER_COMPONENT_TYPE" ).field(&self.0).finish() |
1051 | } |
1052 | } |
1053 | #[repr (transparent)] |
1054 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
1055 | pub struct D3D_RESOURCE_RETURN_TYPE(pub i32); |
1056 | impl ::core::marker::Copy for D3D_RESOURCE_RETURN_TYPE {} |
1057 | impl ::core::clone::Clone for D3D_RESOURCE_RETURN_TYPE { |
1058 | fn clone(&self) -> Self { |
1059 | *self |
1060 | } |
1061 | } |
1062 | impl ::core::default::Default for D3D_RESOURCE_RETURN_TYPE { |
1063 | fn default() -> Self { |
1064 | Self(0) |
1065 | } |
1066 | } |
1067 | impl ::windows_core::TypeKind for D3D_RESOURCE_RETURN_TYPE { |
1068 | type TypeKind = ::windows_core::CopyType; |
1069 | } |
1070 | impl ::core::fmt::Debug for D3D_RESOURCE_RETURN_TYPE { |
1071 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
1072 | f.debug_tuple(name:"D3D_RESOURCE_RETURN_TYPE" ).field(&self.0).finish() |
1073 | } |
1074 | } |
1075 | #[repr (transparent)] |
1076 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
1077 | pub struct D3D_SHADER_CBUFFER_FLAGS(pub i32); |
1078 | impl ::core::marker::Copy for D3D_SHADER_CBUFFER_FLAGS {} |
1079 | impl ::core::clone::Clone for D3D_SHADER_CBUFFER_FLAGS { |
1080 | fn clone(&self) -> Self { |
1081 | *self |
1082 | } |
1083 | } |
1084 | impl ::core::default::Default for D3D_SHADER_CBUFFER_FLAGS { |
1085 | fn default() -> Self { |
1086 | Self(0) |
1087 | } |
1088 | } |
1089 | impl ::windows_core::TypeKind for D3D_SHADER_CBUFFER_FLAGS { |
1090 | type TypeKind = ::windows_core::CopyType; |
1091 | } |
1092 | impl ::core::fmt::Debug for D3D_SHADER_CBUFFER_FLAGS { |
1093 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
1094 | f.debug_tuple(name:"D3D_SHADER_CBUFFER_FLAGS" ).field(&self.0).finish() |
1095 | } |
1096 | } |
1097 | #[repr (transparent)] |
1098 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
1099 | pub struct D3D_SHADER_INPUT_FLAGS(pub i32); |
1100 | impl ::core::marker::Copy for D3D_SHADER_INPUT_FLAGS {} |
1101 | impl ::core::clone::Clone for D3D_SHADER_INPUT_FLAGS { |
1102 | fn clone(&self) -> Self { |
1103 | *self |
1104 | } |
1105 | } |
1106 | impl ::core::default::Default for D3D_SHADER_INPUT_FLAGS { |
1107 | fn default() -> Self { |
1108 | Self(0) |
1109 | } |
1110 | } |
1111 | impl ::windows_core::TypeKind for D3D_SHADER_INPUT_FLAGS { |
1112 | type TypeKind = ::windows_core::CopyType; |
1113 | } |
1114 | impl ::core::fmt::Debug for D3D_SHADER_INPUT_FLAGS { |
1115 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
1116 | f.debug_tuple(name:"D3D_SHADER_INPUT_FLAGS" ).field(&self.0).finish() |
1117 | } |
1118 | } |
1119 | #[repr (transparent)] |
1120 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
1121 | pub struct D3D_SHADER_INPUT_TYPE(pub i32); |
1122 | impl ::core::marker::Copy for D3D_SHADER_INPUT_TYPE {} |
1123 | impl ::core::clone::Clone for D3D_SHADER_INPUT_TYPE { |
1124 | fn clone(&self) -> Self { |
1125 | *self |
1126 | } |
1127 | } |
1128 | impl ::core::default::Default for D3D_SHADER_INPUT_TYPE { |
1129 | fn default() -> Self { |
1130 | Self(0) |
1131 | } |
1132 | } |
1133 | impl ::windows_core::TypeKind for D3D_SHADER_INPUT_TYPE { |
1134 | type TypeKind = ::windows_core::CopyType; |
1135 | } |
1136 | impl ::core::fmt::Debug for D3D_SHADER_INPUT_TYPE { |
1137 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
1138 | f.debug_tuple(name:"D3D_SHADER_INPUT_TYPE" ).field(&self.0).finish() |
1139 | } |
1140 | } |
1141 | #[repr (transparent)] |
1142 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
1143 | pub struct D3D_SHADER_VARIABLE_CLASS(pub i32); |
1144 | impl ::core::marker::Copy for D3D_SHADER_VARIABLE_CLASS {} |
1145 | impl ::core::clone::Clone for D3D_SHADER_VARIABLE_CLASS { |
1146 | fn clone(&self) -> Self { |
1147 | *self |
1148 | } |
1149 | } |
1150 | impl ::core::default::Default for D3D_SHADER_VARIABLE_CLASS { |
1151 | fn default() -> Self { |
1152 | Self(0) |
1153 | } |
1154 | } |
1155 | impl ::windows_core::TypeKind for D3D_SHADER_VARIABLE_CLASS { |
1156 | type TypeKind = ::windows_core::CopyType; |
1157 | } |
1158 | impl ::core::fmt::Debug for D3D_SHADER_VARIABLE_CLASS { |
1159 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
1160 | f.debug_tuple(name:"D3D_SHADER_VARIABLE_CLASS" ).field(&self.0).finish() |
1161 | } |
1162 | } |
1163 | #[repr (transparent)] |
1164 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
1165 | pub struct D3D_SHADER_VARIABLE_FLAGS(pub i32); |
1166 | impl ::core::marker::Copy for D3D_SHADER_VARIABLE_FLAGS {} |
1167 | impl ::core::clone::Clone for D3D_SHADER_VARIABLE_FLAGS { |
1168 | fn clone(&self) -> Self { |
1169 | *self |
1170 | } |
1171 | } |
1172 | impl ::core::default::Default for D3D_SHADER_VARIABLE_FLAGS { |
1173 | fn default() -> Self { |
1174 | Self(0) |
1175 | } |
1176 | } |
1177 | impl ::windows_core::TypeKind for D3D_SHADER_VARIABLE_FLAGS { |
1178 | type TypeKind = ::windows_core::CopyType; |
1179 | } |
1180 | impl ::core::fmt::Debug for D3D_SHADER_VARIABLE_FLAGS { |
1181 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
1182 | f.debug_tuple(name:"D3D_SHADER_VARIABLE_FLAGS" ).field(&self.0).finish() |
1183 | } |
1184 | } |
1185 | #[repr (transparent)] |
1186 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
1187 | pub struct D3D_SHADER_VARIABLE_TYPE(pub i32); |
1188 | impl ::core::marker::Copy for D3D_SHADER_VARIABLE_TYPE {} |
1189 | impl ::core::clone::Clone for D3D_SHADER_VARIABLE_TYPE { |
1190 | fn clone(&self) -> Self { |
1191 | *self |
1192 | } |
1193 | } |
1194 | impl ::core::default::Default for D3D_SHADER_VARIABLE_TYPE { |
1195 | fn default() -> Self { |
1196 | Self(0) |
1197 | } |
1198 | } |
1199 | impl ::windows_core::TypeKind for D3D_SHADER_VARIABLE_TYPE { |
1200 | type TypeKind = ::windows_core::CopyType; |
1201 | } |
1202 | impl ::core::fmt::Debug for D3D_SHADER_VARIABLE_TYPE { |
1203 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
1204 | f.debug_tuple(name:"D3D_SHADER_VARIABLE_TYPE" ).field(&self.0).finish() |
1205 | } |
1206 | } |
1207 | #[repr (transparent)] |
1208 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
1209 | pub struct D3D_SRV_DIMENSION(pub i32); |
1210 | impl ::core::marker::Copy for D3D_SRV_DIMENSION {} |
1211 | impl ::core::clone::Clone for D3D_SRV_DIMENSION { |
1212 | fn clone(&self) -> Self { |
1213 | *self |
1214 | } |
1215 | } |
1216 | impl ::core::default::Default for D3D_SRV_DIMENSION { |
1217 | fn default() -> Self { |
1218 | Self(0) |
1219 | } |
1220 | } |
1221 | impl ::windows_core::TypeKind for D3D_SRV_DIMENSION { |
1222 | type TypeKind = ::windows_core::CopyType; |
1223 | } |
1224 | impl ::core::fmt::Debug for D3D_SRV_DIMENSION { |
1225 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
1226 | f.debug_tuple(name:"D3D_SRV_DIMENSION" ).field(&self.0).finish() |
1227 | } |
1228 | } |
1229 | #[repr (transparent)] |
1230 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
1231 | pub struct D3D_TESSELLATOR_DOMAIN(pub i32); |
1232 | impl ::core::marker::Copy for D3D_TESSELLATOR_DOMAIN {} |
1233 | impl ::core::clone::Clone for D3D_TESSELLATOR_DOMAIN { |
1234 | fn clone(&self) -> Self { |
1235 | *self |
1236 | } |
1237 | } |
1238 | impl ::core::default::Default for D3D_TESSELLATOR_DOMAIN { |
1239 | fn default() -> Self { |
1240 | Self(0) |
1241 | } |
1242 | } |
1243 | impl ::windows_core::TypeKind for D3D_TESSELLATOR_DOMAIN { |
1244 | type TypeKind = ::windows_core::CopyType; |
1245 | } |
1246 | impl ::core::fmt::Debug for D3D_TESSELLATOR_DOMAIN { |
1247 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
1248 | f.debug_tuple(name:"D3D_TESSELLATOR_DOMAIN" ).field(&self.0).finish() |
1249 | } |
1250 | } |
1251 | #[repr (transparent)] |
1252 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
1253 | pub struct D3D_TESSELLATOR_OUTPUT_PRIMITIVE(pub i32); |
1254 | impl ::core::marker::Copy for D3D_TESSELLATOR_OUTPUT_PRIMITIVE {} |
1255 | impl ::core::clone::Clone for D3D_TESSELLATOR_OUTPUT_PRIMITIVE { |
1256 | fn clone(&self) -> Self { |
1257 | *self |
1258 | } |
1259 | } |
1260 | impl ::core::default::Default for D3D_TESSELLATOR_OUTPUT_PRIMITIVE { |
1261 | fn default() -> Self { |
1262 | Self(0) |
1263 | } |
1264 | } |
1265 | impl ::windows_core::TypeKind for D3D_TESSELLATOR_OUTPUT_PRIMITIVE { |
1266 | type TypeKind = ::windows_core::CopyType; |
1267 | } |
1268 | impl ::core::fmt::Debug for D3D_TESSELLATOR_OUTPUT_PRIMITIVE { |
1269 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
1270 | f.debug_tuple(name:"D3D_TESSELLATOR_OUTPUT_PRIMITIVE" ).field(&self.0).finish() |
1271 | } |
1272 | } |
1273 | #[repr (transparent)] |
1274 | #[derive (::core::cmp::PartialEq, ::core::cmp::Eq)] |
1275 | pub struct D3D_TESSELLATOR_PARTITIONING(pub i32); |
1276 | impl ::core::marker::Copy for D3D_TESSELLATOR_PARTITIONING {} |
1277 | impl ::core::clone::Clone for D3D_TESSELLATOR_PARTITIONING { |
1278 | fn clone(&self) -> Self { |
1279 | *self |
1280 | } |
1281 | } |
1282 | impl ::core::default::Default for D3D_TESSELLATOR_PARTITIONING { |
1283 | fn default() -> Self { |
1284 | Self(0) |
1285 | } |
1286 | } |
1287 | impl ::windows_core::TypeKind for D3D_TESSELLATOR_PARTITIONING { |
1288 | type TypeKind = ::windows_core::CopyType; |
1289 | } |
1290 | impl ::core::fmt::Debug for D3D_TESSELLATOR_PARTITIONING { |
1291 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
1292 | f.debug_tuple(name:"D3D_TESSELLATOR_PARTITIONING" ).field(&self.0).finish() |
1293 | } |
1294 | } |
1295 | #[repr (C)] |
1296 | pub struct D3DVECTOR { |
1297 | pub x: f32, |
1298 | pub y: f32, |
1299 | pub z: f32, |
1300 | } |
1301 | impl ::core::marker::Copy for D3DVECTOR {} |
1302 | impl ::core::clone::Clone for D3DVECTOR { |
1303 | fn clone(&self) -> Self { |
1304 | *self |
1305 | } |
1306 | } |
1307 | impl ::core::fmt::Debug for D3DVECTOR { |
1308 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
1309 | f.debug_struct("D3DVECTOR" ).field("x" , &self.x).field("y" , &self.y).field(name:"z" , &self.z).finish() |
1310 | } |
1311 | } |
1312 | impl ::windows_core::TypeKind for D3DVECTOR { |
1313 | type TypeKind = ::windows_core::CopyType; |
1314 | } |
1315 | impl ::core::cmp::PartialEq for D3DVECTOR { |
1316 | fn eq(&self, other: &Self) -> bool { |
1317 | self.x == other.x && self.y == other.y && self.z == other.z |
1318 | } |
1319 | } |
1320 | impl ::core::cmp::Eq for D3DVECTOR {} |
1321 | impl ::core::default::Default for D3DVECTOR { |
1322 | fn default() -> Self { |
1323 | unsafe { ::core::mem::zeroed() } |
1324 | } |
1325 | } |
1326 | #[repr (C)] |
1327 | pub struct D3D_SHADER_MACRO { |
1328 | pub Name: ::windows_core::PCSTR, |
1329 | pub Definition: ::windows_core::PCSTR, |
1330 | } |
1331 | impl ::core::marker::Copy for D3D_SHADER_MACRO {} |
1332 | impl ::core::clone::Clone for D3D_SHADER_MACRO { |
1333 | fn clone(&self) -> Self { |
1334 | *self |
1335 | } |
1336 | } |
1337 | impl ::core::fmt::Debug for D3D_SHADER_MACRO { |
1338 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
1339 | f.debug_struct("D3D_SHADER_MACRO" ).field("Name" , &self.Name).field(name:"Definition" , &self.Definition).finish() |
1340 | } |
1341 | } |
1342 | impl ::windows_core::TypeKind for D3D_SHADER_MACRO { |
1343 | type TypeKind = ::windows_core::CopyType; |
1344 | } |
1345 | impl ::core::cmp::PartialEq for D3D_SHADER_MACRO { |
1346 | fn eq(&self, other: &Self) -> bool { |
1347 | self.Name == other.Name && self.Definition == other.Definition |
1348 | } |
1349 | } |
1350 | impl ::core::cmp::Eq for D3D_SHADER_MACRO {} |
1351 | impl ::core::default::Default for D3D_SHADER_MACRO { |
1352 | fn default() -> Self { |
1353 | unsafe { ::core::mem::zeroed() } |
1354 | } |
1355 | } |
1356 | pub type PFN_DESTRUCTION_CALLBACK = ::core::option::Option<unsafe extern "system" fn(pdata: *mut ::core::ffi::c_void) -> ()>; |
1357 | #[cfg (feature = "implement" )] |
1358 | ::core::include!("impl.rs" ); |
1359 | |