]>
Commit | Line | Data |
---|---|---|
353b0b11 FG |
1 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi\"`*"] |
2 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi"))] | |
3 | #[inline] | |
4 | pub unsafe fn D3D11CreateDevice<P0, P1>(padapter: P0, drivertype: super::Direct3D::D3D_DRIVER_TYPE, software: P1, flags: D3D11_CREATE_DEVICE_FLAG, pfeaturelevels: ::core::option::Option<&[super::Direct3D::D3D_FEATURE_LEVEL]>, sdkversion: u32, ppdevice: ::core::option::Option<*mut ::core::option::Option<ID3D11Device>>, pfeaturelevel: ::core::option::Option<*mut super::Direct3D::D3D_FEATURE_LEVEL>, ppimmediatecontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext>>) -> ::windows::core::Result<()> | |
5 | where | |
6 | P0: ::windows::core::IntoParam<super::Dxgi::IDXGIAdapter>, | |
7 | P1: ::windows::core::IntoParam<super::super::Foundation::HINSTANCE>, | |
8 | { | |
9 | ::windows::imp::link ! ( "d3d11.dll""system" fn D3D11CreateDevice ( padapter : * mut::core::ffi::c_void , drivertype : super::Direct3D:: D3D_DRIVER_TYPE , software : super::super::Foundation:: HINSTANCE , flags : D3D11_CREATE_DEVICE_FLAG , pfeaturelevels : *const super::Direct3D:: D3D_FEATURE_LEVEL , featurelevels : u32 , sdkversion : u32 , ppdevice : *mut * mut::core::ffi::c_void , pfeaturelevel : *mut super::Direct3D:: D3D_FEATURE_LEVEL , ppimmediatecontext : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); | |
10 | D3D11CreateDevice(padapter.into_param().abi(), drivertype, software.into_param().abi(), flags, ::core::mem::transmute(pfeaturelevels.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pfeaturelevels.as_deref().map_or(0, |slice| slice.len() as _), sdkversion, ::core::mem::transmute(ppdevice.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfeaturelevel.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppimmediatecontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
11 | } | |
12 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
13 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
14 | #[inline] | |
15 | pub unsafe fn D3D11CreateDeviceAndSwapChain<P0, P1>(padapter: P0, drivertype: super::Direct3D::D3D_DRIVER_TYPE, software: P1, flags: D3D11_CREATE_DEVICE_FLAG, pfeaturelevels: ::core::option::Option<&[super::Direct3D::D3D_FEATURE_LEVEL]>, sdkversion: u32, pswapchaindesc: ::core::option::Option<*const super::Dxgi::DXGI_SWAP_CHAIN_DESC>, ppswapchain: ::core::option::Option<*mut ::core::option::Option<super::Dxgi::IDXGISwapChain>>, ppdevice: ::core::option::Option<*mut ::core::option::Option<ID3D11Device>>, pfeaturelevel: ::core::option::Option<*mut super::Direct3D::D3D_FEATURE_LEVEL>, ppimmediatecontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext>>) -> ::windows::core::Result<()> | |
16 | where | |
17 | P0: ::windows::core::IntoParam<super::Dxgi::IDXGIAdapter>, | |
18 | P1: ::windows::core::IntoParam<super::super::Foundation::HINSTANCE>, | |
19 | { | |
20 | ::windows::imp::link ! ( "d3d11.dll""system" fn D3D11CreateDeviceAndSwapChain ( padapter : * mut::core::ffi::c_void , drivertype : super::Direct3D:: D3D_DRIVER_TYPE , software : super::super::Foundation:: HINSTANCE , flags : D3D11_CREATE_DEVICE_FLAG , pfeaturelevels : *const super::Direct3D:: D3D_FEATURE_LEVEL , featurelevels : u32 , sdkversion : u32 , pswapchaindesc : *const super::Dxgi:: DXGI_SWAP_CHAIN_DESC , ppswapchain : *mut * mut::core::ffi::c_void , ppdevice : *mut * mut::core::ffi::c_void , pfeaturelevel : *mut super::Direct3D:: D3D_FEATURE_LEVEL , ppimmediatecontext : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); | |
21 | D3D11CreateDeviceAndSwapChain( | |
22 | padapter.into_param().abi(), | |
23 | drivertype, | |
24 | software.into_param().abi(), | |
25 | flags, | |
26 | ::core::mem::transmute(pfeaturelevels.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
27 | pfeaturelevels.as_deref().map_or(0, |slice| slice.len() as _), | |
28 | sdkversion, | |
29 | ::core::mem::transmute(pswapchaindesc.unwrap_or(::std::ptr::null())), | |
30 | ::core::mem::transmute(ppswapchain.unwrap_or(::std::ptr::null_mut())), | |
31 | ::core::mem::transmute(ppdevice.unwrap_or(::std::ptr::null_mut())), | |
32 | ::core::mem::transmute(pfeaturelevel.unwrap_or(::std::ptr::null_mut())), | |
33 | ::core::mem::transmute(ppimmediatecontext.unwrap_or(::std::ptr::null_mut())), | |
34 | ) | |
35 | .ok() | |
36 | } | |
37 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`*"] | |
38 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
39 | #[inline] | |
40 | pub unsafe fn D3DDisassemble11Trace<P0>(psrcdata: *const ::core::ffi::c_void, srcdatasize: usize, ptrace: P0, startstep: u32, numsteps: u32, flags: u32) -> ::windows::core::Result<super::Direct3D::ID3DBlob> | |
41 | where | |
42 | P0: ::windows::core::IntoParam<ID3D11ShaderTrace>, | |
43 | { | |
44 | ::windows::imp::link ! ( "d3dcompiler_47.dll""system" fn D3DDisassemble11Trace ( psrcdata : *const ::core::ffi::c_void , srcdatasize : usize , ptrace : * mut::core::ffi::c_void , startstep : u32 , numsteps : u32 , flags : u32 , ppdisassembly : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); | |
45 | let mut result__ = ::windows::core::zeroed::<super::Direct3D::ID3DBlob>(); | |
46 | D3DDisassemble11Trace(psrcdata, srcdatasize, ptrace.into_param().abi(), startstep, numsteps, flags, &mut result__).from_abi(result__) | |
47 | } | |
48 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
49 | #[inline] | |
50 | pub unsafe fn D3DX11CreateFFT<P0>(pdevicecontext: P0, pdesc: *const D3DX11_FFT_DESC, flags: u32, pbufferinfo: *mut D3DX11_FFT_BUFFER_INFO, ppfft: *mut ::core::option::Option<ID3DX11FFT>) -> ::windows::core::Result<()> | |
51 | where | |
52 | P0: ::windows::core::IntoParam<ID3D11DeviceContext>, | |
53 | { | |
54 | ::windows::imp::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT ( pdevicecontext : * mut::core::ffi::c_void , pdesc : *const D3DX11_FFT_DESC , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); | |
55 | D3DX11CreateFFT(pdevicecontext.into_param().abi(), pdesc, flags, pbufferinfo, ::core::mem::transmute(ppfft)).ok() | |
56 | } | |
57 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
58 | #[inline] | |
59 | pub unsafe fn D3DX11CreateFFT1DComplex<P0>(pdevicecontext: P0, x: u32, flags: u32, pbufferinfo: *mut D3DX11_FFT_BUFFER_INFO, ppfft: *mut ::core::option::Option<ID3DX11FFT>) -> ::windows::core::Result<()> | |
60 | where | |
61 | P0: ::windows::core::IntoParam<ID3D11DeviceContext>, | |
62 | { | |
63 | ::windows::imp::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT1DComplex ( pdevicecontext : * mut::core::ffi::c_void , x : u32 , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); | |
64 | D3DX11CreateFFT1DComplex(pdevicecontext.into_param().abi(), x, flags, pbufferinfo, ::core::mem::transmute(ppfft)).ok() | |
65 | } | |
66 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
67 | #[inline] | |
68 | pub unsafe fn D3DX11CreateFFT1DReal<P0>(pdevicecontext: P0, x: u32, flags: u32, pbufferinfo: *mut D3DX11_FFT_BUFFER_INFO, ppfft: *mut ::core::option::Option<ID3DX11FFT>) -> ::windows::core::Result<()> | |
69 | where | |
70 | P0: ::windows::core::IntoParam<ID3D11DeviceContext>, | |
71 | { | |
72 | ::windows::imp::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT1DReal ( pdevicecontext : * mut::core::ffi::c_void , x : u32 , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); | |
73 | D3DX11CreateFFT1DReal(pdevicecontext.into_param().abi(), x, flags, pbufferinfo, ::core::mem::transmute(ppfft)).ok() | |
74 | } | |
75 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
76 | #[inline] | |
77 | pub unsafe fn D3DX11CreateFFT2DComplex<P0>(pdevicecontext: P0, x: u32, y: u32, flags: u32, pbufferinfo: *mut D3DX11_FFT_BUFFER_INFO, ppfft: *mut ::core::option::Option<ID3DX11FFT>) -> ::windows::core::Result<()> | |
78 | where | |
79 | P0: ::windows::core::IntoParam<ID3D11DeviceContext>, | |
80 | { | |
81 | ::windows::imp::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT2DComplex ( pdevicecontext : * mut::core::ffi::c_void , x : u32 , y : u32 , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); | |
82 | D3DX11CreateFFT2DComplex(pdevicecontext.into_param().abi(), x, y, flags, pbufferinfo, ::core::mem::transmute(ppfft)).ok() | |
83 | } | |
84 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
85 | #[inline] | |
86 | pub unsafe fn D3DX11CreateFFT2DReal<P0>(pdevicecontext: P0, x: u32, y: u32, flags: u32, pbufferinfo: *mut D3DX11_FFT_BUFFER_INFO, ppfft: *mut ::core::option::Option<ID3DX11FFT>) -> ::windows::core::Result<()> | |
87 | where | |
88 | P0: ::windows::core::IntoParam<ID3D11DeviceContext>, | |
89 | { | |
90 | ::windows::imp::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT2DReal ( pdevicecontext : * mut::core::ffi::c_void , x : u32 , y : u32 , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); | |
91 | D3DX11CreateFFT2DReal(pdevicecontext.into_param().abi(), x, y, flags, pbufferinfo, ::core::mem::transmute(ppfft)).ok() | |
92 | } | |
93 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
94 | #[inline] | |
95 | pub unsafe fn D3DX11CreateFFT3DComplex<P0>(pdevicecontext: P0, x: u32, y: u32, z: u32, flags: u32, pbufferinfo: *mut D3DX11_FFT_BUFFER_INFO, ppfft: *mut ::core::option::Option<ID3DX11FFT>) -> ::windows::core::Result<()> | |
96 | where | |
97 | P0: ::windows::core::IntoParam<ID3D11DeviceContext>, | |
98 | { | |
99 | ::windows::imp::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT3DComplex ( pdevicecontext : * mut::core::ffi::c_void , x : u32 , y : u32 , z : u32 , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); | |
100 | D3DX11CreateFFT3DComplex(pdevicecontext.into_param().abi(), x, y, z, flags, pbufferinfo, ::core::mem::transmute(ppfft)).ok() | |
101 | } | |
102 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
103 | #[inline] | |
104 | pub unsafe fn D3DX11CreateFFT3DReal<P0>(pdevicecontext: P0, x: u32, y: u32, z: u32, flags: u32, pbufferinfo: *mut D3DX11_FFT_BUFFER_INFO, ppfft: *mut ::core::option::Option<ID3DX11FFT>) -> ::windows::core::Result<()> | |
105 | where | |
106 | P0: ::windows::core::IntoParam<ID3D11DeviceContext>, | |
107 | { | |
108 | ::windows::imp::link ! ( "d3dcsx.dll""system" fn D3DX11CreateFFT3DReal ( pdevicecontext : * mut::core::ffi::c_void , x : u32 , y : u32 , z : u32 , flags : u32 , pbufferinfo : *mut D3DX11_FFT_BUFFER_INFO , ppfft : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); | |
109 | D3DX11CreateFFT3DReal(pdevicecontext.into_param().abi(), x, y, z, flags, pbufferinfo, ::core::mem::transmute(ppfft)).ok() | |
110 | } | |
111 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
112 | #[inline] | |
113 | pub unsafe fn D3DX11CreateScan<P0>(pdevicecontext: P0, maxelementscansize: u32, maxscancount: u32) -> ::windows::core::Result<ID3DX11Scan> | |
114 | where | |
115 | P0: ::windows::core::IntoParam<ID3D11DeviceContext>, | |
116 | { | |
117 | ::windows::imp::link ! ( "d3dcsx.dll""system" fn D3DX11CreateScan ( pdevicecontext : * mut::core::ffi::c_void , maxelementscansize : u32 , maxscancount : u32 , ppscan : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); | |
118 | let mut result__ = ::windows::core::zeroed::<ID3DX11Scan>(); | |
119 | D3DX11CreateScan(pdevicecontext.into_param().abi(), maxelementscansize, maxscancount, &mut result__).from_abi(result__) | |
120 | } | |
121 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
122 | #[inline] | |
123 | pub unsafe fn D3DX11CreateSegmentedScan<P0>(pdevicecontext: P0, maxelementscansize: u32) -> ::windows::core::Result<ID3DX11SegmentedScan> | |
124 | where | |
125 | P0: ::windows::core::IntoParam<ID3D11DeviceContext>, | |
126 | { | |
127 | ::windows::imp::link ! ( "d3dcsx.dll""system" fn D3DX11CreateSegmentedScan ( pdevicecontext : * mut::core::ffi::c_void , maxelementscansize : u32 , ppscan : *mut * mut::core::ffi::c_void ) -> :: windows::core::HRESULT ); | |
128 | let mut result__ = ::windows::core::zeroed::<ID3DX11SegmentedScan>(); | |
129 | D3DX11CreateSegmentedScan(pdevicecontext.into_param().abi(), maxelementscansize, &mut result__).from_abi(result__) | |
130 | } | |
131 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
132 | #[repr(transparent)] | |
133 | pub struct ID3D11Asynchronous(::windows::core::IUnknown); | |
134 | impl ID3D11Asynchronous { | |
135 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
136 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
137 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
138 | ::windows::core::from_abi(result__) | |
139 | } | |
140 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
141 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
142 | } | |
143 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
144 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
145 | } | |
146 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
147 | where | |
148 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
149 | { | |
150 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
151 | } | |
152 | pub unsafe fn GetDataSize(&self) -> u32 { | |
153 | (::windows::core::Interface::vtable(self).GetDataSize)(::windows::core::Interface::as_raw(self)) | |
154 | } | |
155 | } | |
156 | ::windows::imp::interface_hierarchy!(ID3D11Asynchronous, ::windows::core::IUnknown, ID3D11DeviceChild); | |
157 | impl ::core::cmp::PartialEq for ID3D11Asynchronous { | |
158 | fn eq(&self, other: &Self) -> bool { | |
159 | self.0 == other.0 | |
160 | } | |
161 | } | |
162 | impl ::core::cmp::Eq for ID3D11Asynchronous {} | |
163 | impl ::core::fmt::Debug for ID3D11Asynchronous { | |
164 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
165 | f.debug_tuple("ID3D11Asynchronous").field(&self.0).finish() | |
166 | } | |
167 | } | |
168 | unsafe impl ::core::marker::Send for ID3D11Asynchronous {} | |
169 | unsafe impl ::core::marker::Sync for ID3D11Asynchronous {} | |
170 | unsafe impl ::windows::core::Interface for ID3D11Asynchronous { | |
171 | type Vtable = ID3D11Asynchronous_Vtbl; | |
172 | } | |
173 | impl ::core::clone::Clone for ID3D11Asynchronous { | |
174 | fn clone(&self) -> Self { | |
175 | Self(self.0.clone()) | |
176 | } | |
177 | } | |
178 | unsafe impl ::windows::core::ComInterface for ID3D11Asynchronous { | |
179 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x4b35d0cd_1e15_4258_9c98_1b1333f6dd3b); | |
180 | } | |
181 | #[repr(C)] | |
182 | #[doc(hidden)] | |
183 | pub struct ID3D11Asynchronous_Vtbl { | |
184 | pub base__: ID3D11DeviceChild_Vtbl, | |
185 | pub GetDataSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, | |
186 | } | |
187 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
188 | #[repr(transparent)] | |
189 | pub struct ID3D11AuthenticatedChannel(::windows::core::IUnknown); | |
190 | impl ID3D11AuthenticatedChannel { | |
191 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
192 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
193 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
194 | ::windows::core::from_abi(result__) | |
195 | } | |
196 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
197 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
198 | } | |
199 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
200 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
201 | } | |
202 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
203 | where | |
204 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
205 | { | |
206 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
207 | } | |
208 | pub unsafe fn GetCertificateSize(&self) -> ::windows::core::Result<u32> { | |
209 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
210 | (::windows::core::Interface::vtable(self).GetCertificateSize)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
211 | } | |
212 | pub unsafe fn GetCertificate(&self, pcertificate: &mut [u8]) -> ::windows::core::Result<()> { | |
213 | (::windows::core::Interface::vtable(self).GetCertificate)(::windows::core::Interface::as_raw(self), pcertificate.len() as _, ::core::mem::transmute(pcertificate.as_ptr())).ok() | |
214 | } | |
215 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
216 | #[cfg(feature = "Win32_Foundation")] | |
217 | pub unsafe fn GetChannelHandle(&self) -> super::super::Foundation::HANDLE { | |
218 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::HANDLE>(); | |
219 | (::windows::core::Interface::vtable(self).GetChannelHandle)(::windows::core::Interface::as_raw(self), &mut result__); | |
220 | ::std::mem::transmute(result__) | |
221 | } | |
222 | } | |
223 | ::windows::imp::interface_hierarchy!(ID3D11AuthenticatedChannel, ::windows::core::IUnknown, ID3D11DeviceChild); | |
224 | impl ::core::cmp::PartialEq for ID3D11AuthenticatedChannel { | |
225 | fn eq(&self, other: &Self) -> bool { | |
226 | self.0 == other.0 | |
227 | } | |
228 | } | |
229 | impl ::core::cmp::Eq for ID3D11AuthenticatedChannel {} | |
230 | impl ::core::fmt::Debug for ID3D11AuthenticatedChannel { | |
231 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
232 | f.debug_tuple("ID3D11AuthenticatedChannel").field(&self.0).finish() | |
233 | } | |
234 | } | |
235 | unsafe impl ::core::marker::Send for ID3D11AuthenticatedChannel {} | |
236 | unsafe impl ::core::marker::Sync for ID3D11AuthenticatedChannel {} | |
237 | unsafe impl ::windows::core::Interface for ID3D11AuthenticatedChannel { | |
238 | type Vtable = ID3D11AuthenticatedChannel_Vtbl; | |
239 | } | |
240 | impl ::core::clone::Clone for ID3D11AuthenticatedChannel { | |
241 | fn clone(&self) -> Self { | |
242 | Self(self.0.clone()) | |
243 | } | |
244 | } | |
245 | unsafe impl ::windows::core::ComInterface for ID3D11AuthenticatedChannel { | |
246 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3015a308_dcbd_47aa_a747_192486d14d4a); | |
247 | } | |
248 | #[repr(C)] | |
249 | #[doc(hidden)] | |
250 | pub struct ID3D11AuthenticatedChannel_Vtbl { | |
251 | pub base__: ID3D11DeviceChild_Vtbl, | |
252 | pub GetCertificateSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcertificatesize: *mut u32) -> ::windows::core::HRESULT, | |
253 | pub GetCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, certificatesize: u32, pcertificate: *mut u8) -> ::windows::core::HRESULT, | |
254 | #[cfg(feature = "Win32_Foundation")] | |
255 | pub GetChannelHandle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pchannelhandle: *mut super::super::Foundation::HANDLE), | |
256 | #[cfg(not(feature = "Win32_Foundation"))] | |
257 | GetChannelHandle: usize, | |
258 | } | |
259 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
260 | #[repr(transparent)] | |
261 | pub struct ID3D11BlendState(::windows::core::IUnknown); | |
262 | impl ID3D11BlendState { | |
263 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
264 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
265 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
266 | ::windows::core::from_abi(result__) | |
267 | } | |
268 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
269 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
270 | } | |
271 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
272 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
273 | } | |
274 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
275 | where | |
276 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
277 | { | |
278 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
279 | } | |
280 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
281 | #[cfg(feature = "Win32_Foundation")] | |
282 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_BLEND_DESC) { | |
283 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
284 | } | |
285 | } | |
286 | ::windows::imp::interface_hierarchy!(ID3D11BlendState, ::windows::core::IUnknown, ID3D11DeviceChild); | |
287 | impl ::core::cmp::PartialEq for ID3D11BlendState { | |
288 | fn eq(&self, other: &Self) -> bool { | |
289 | self.0 == other.0 | |
290 | } | |
291 | } | |
292 | impl ::core::cmp::Eq for ID3D11BlendState {} | |
293 | impl ::core::fmt::Debug for ID3D11BlendState { | |
294 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
295 | f.debug_tuple("ID3D11BlendState").field(&self.0).finish() | |
296 | } | |
297 | } | |
298 | unsafe impl ::core::marker::Send for ID3D11BlendState {} | |
299 | unsafe impl ::core::marker::Sync for ID3D11BlendState {} | |
300 | unsafe impl ::windows::core::Interface for ID3D11BlendState { | |
301 | type Vtable = ID3D11BlendState_Vtbl; | |
302 | } | |
303 | impl ::core::clone::Clone for ID3D11BlendState { | |
304 | fn clone(&self) -> Self { | |
305 | Self(self.0.clone()) | |
306 | } | |
307 | } | |
308 | unsafe impl ::windows::core::ComInterface for ID3D11BlendState { | |
309 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x75b68faa_347d_4159_8f45_a0640f01cd9a); | |
310 | } | |
311 | #[repr(C)] | |
312 | #[doc(hidden)] | |
313 | pub struct ID3D11BlendState_Vtbl { | |
314 | pub base__: ID3D11DeviceChild_Vtbl, | |
315 | #[cfg(feature = "Win32_Foundation")] | |
316 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_BLEND_DESC), | |
317 | #[cfg(not(feature = "Win32_Foundation"))] | |
318 | GetDesc: usize, | |
319 | } | |
320 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
321 | #[repr(transparent)] | |
322 | pub struct ID3D11BlendState1(::windows::core::IUnknown); | |
323 | impl ID3D11BlendState1 { | |
324 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
325 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
326 | (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
327 | ::windows::core::from_abi(result__) | |
328 | } | |
329 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
330 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
331 | } | |
332 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
333 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
334 | } | |
335 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
336 | where | |
337 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
338 | { | |
339 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
340 | } | |
341 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
342 | #[cfg(feature = "Win32_Foundation")] | |
343 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_BLEND_DESC) { | |
344 | (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
345 | } | |
346 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
347 | #[cfg(feature = "Win32_Foundation")] | |
348 | pub unsafe fn GetDesc1(&self, pdesc: *mut D3D11_BLEND_DESC1) { | |
349 | (::windows::core::Interface::vtable(self).GetDesc1)(::windows::core::Interface::as_raw(self), pdesc) | |
350 | } | |
351 | } | |
352 | ::windows::imp::interface_hierarchy!(ID3D11BlendState1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11BlendState); | |
353 | impl ::core::cmp::PartialEq for ID3D11BlendState1 { | |
354 | fn eq(&self, other: &Self) -> bool { | |
355 | self.0 == other.0 | |
356 | } | |
357 | } | |
358 | impl ::core::cmp::Eq for ID3D11BlendState1 {} | |
359 | impl ::core::fmt::Debug for ID3D11BlendState1 { | |
360 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
361 | f.debug_tuple("ID3D11BlendState1").field(&self.0).finish() | |
362 | } | |
363 | } | |
364 | unsafe impl ::core::marker::Send for ID3D11BlendState1 {} | |
365 | unsafe impl ::core::marker::Sync for ID3D11BlendState1 {} | |
366 | unsafe impl ::windows::core::Interface for ID3D11BlendState1 { | |
367 | type Vtable = ID3D11BlendState1_Vtbl; | |
368 | } | |
369 | impl ::core::clone::Clone for ID3D11BlendState1 { | |
370 | fn clone(&self) -> Self { | |
371 | Self(self.0.clone()) | |
372 | } | |
373 | } | |
374 | unsafe impl ::windows::core::ComInterface for ID3D11BlendState1 { | |
375 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xcc86fabe_da55_401d_85e7_e3c9de2877e9); | |
376 | } | |
377 | #[repr(C)] | |
378 | #[doc(hidden)] | |
379 | pub struct ID3D11BlendState1_Vtbl { | |
380 | pub base__: ID3D11BlendState_Vtbl, | |
381 | #[cfg(feature = "Win32_Foundation")] | |
382 | pub GetDesc1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_BLEND_DESC1), | |
383 | #[cfg(not(feature = "Win32_Foundation"))] | |
384 | GetDesc1: usize, | |
385 | } | |
386 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
387 | #[repr(transparent)] | |
388 | pub struct ID3D11Buffer(::windows::core::IUnknown); | |
389 | impl ID3D11Buffer { | |
390 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
391 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
392 | (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
393 | ::windows::core::from_abi(result__) | |
394 | } | |
395 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
396 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
397 | } | |
398 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
399 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
400 | } | |
401 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
402 | where | |
403 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
404 | { | |
405 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
406 | } | |
407 | pub unsafe fn GetType(&self) -> D3D11_RESOURCE_DIMENSION { | |
408 | let mut result__ = ::windows::core::zeroed::<D3D11_RESOURCE_DIMENSION>(); | |
409 | (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), &mut result__); | |
410 | ::std::mem::transmute(result__) | |
411 | } | |
412 | pub unsafe fn SetEvictionPriority(&self, evictionpriority: u32) { | |
413 | (::windows::core::Interface::vtable(self).base__.SetEvictionPriority)(::windows::core::Interface::as_raw(self), evictionpriority) | |
414 | } | |
415 | pub unsafe fn GetEvictionPriority(&self) -> u32 { | |
416 | (::windows::core::Interface::vtable(self).base__.GetEvictionPriority)(::windows::core::Interface::as_raw(self)) | |
417 | } | |
418 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_BUFFER_DESC) { | |
419 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
420 | } | |
421 | } | |
422 | ::windows::imp::interface_hierarchy!(ID3D11Buffer, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Resource); | |
423 | impl ::core::cmp::PartialEq for ID3D11Buffer { | |
424 | fn eq(&self, other: &Self) -> bool { | |
425 | self.0 == other.0 | |
426 | } | |
427 | } | |
428 | impl ::core::cmp::Eq for ID3D11Buffer {} | |
429 | impl ::core::fmt::Debug for ID3D11Buffer { | |
430 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
431 | f.debug_tuple("ID3D11Buffer").field(&self.0).finish() | |
432 | } | |
433 | } | |
434 | unsafe impl ::core::marker::Send for ID3D11Buffer {} | |
435 | unsafe impl ::core::marker::Sync for ID3D11Buffer {} | |
436 | unsafe impl ::windows::core::Interface for ID3D11Buffer { | |
437 | type Vtable = ID3D11Buffer_Vtbl; | |
438 | } | |
439 | impl ::core::clone::Clone for ID3D11Buffer { | |
440 | fn clone(&self) -> Self { | |
441 | Self(self.0.clone()) | |
442 | } | |
443 | } | |
444 | unsafe impl ::windows::core::ComInterface for ID3D11Buffer { | |
445 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x48570b85_d1ee_4fcd_a250_eb350722b037); | |
446 | } | |
447 | #[repr(C)] | |
448 | #[doc(hidden)] | |
449 | pub struct ID3D11Buffer_Vtbl { | |
450 | pub base__: ID3D11Resource_Vtbl, | |
451 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_BUFFER_DESC), | |
452 | } | |
453 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
454 | #[repr(transparent)] | |
455 | pub struct ID3D11ClassInstance(::windows::core::IUnknown); | |
456 | impl ID3D11ClassInstance { | |
457 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
458 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
459 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
460 | ::windows::core::from_abi(result__) | |
461 | } | |
462 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
463 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
464 | } | |
465 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
466 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
467 | } | |
468 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
469 | where | |
470 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
471 | { | |
472 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
473 | } | |
474 | pub unsafe fn GetClassLinkage(&self) -> ::windows::core::Result<ID3D11ClassLinkage> { | |
475 | let mut result__ = ::windows::core::zeroed::<ID3D11ClassLinkage>(); | |
476 | (::windows::core::Interface::vtable(self).GetClassLinkage)(::windows::core::Interface::as_raw(self), &mut result__); | |
477 | ::windows::core::from_abi(result__) | |
478 | } | |
479 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
480 | #[cfg(feature = "Win32_Foundation")] | |
481 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_CLASS_INSTANCE_DESC) { | |
482 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
483 | } | |
484 | pub unsafe fn GetInstanceName(&self, pinstancename: ::windows::core::PSTR, pbufferlength: *mut usize) { | |
485 | (::windows::core::Interface::vtable(self).GetInstanceName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pinstancename), pbufferlength) | |
486 | } | |
487 | pub unsafe fn GetTypeName(&self, ptypename: ::windows::core::PSTR, pbufferlength: *mut usize) { | |
488 | (::windows::core::Interface::vtable(self).GetTypeName)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptypename), pbufferlength) | |
489 | } | |
490 | } | |
491 | ::windows::imp::interface_hierarchy!(ID3D11ClassInstance, ::windows::core::IUnknown, ID3D11DeviceChild); | |
492 | impl ::core::cmp::PartialEq for ID3D11ClassInstance { | |
493 | fn eq(&self, other: &Self) -> bool { | |
494 | self.0 == other.0 | |
495 | } | |
496 | } | |
497 | impl ::core::cmp::Eq for ID3D11ClassInstance {} | |
498 | impl ::core::fmt::Debug for ID3D11ClassInstance { | |
499 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
500 | f.debug_tuple("ID3D11ClassInstance").field(&self.0).finish() | |
501 | } | |
502 | } | |
503 | unsafe impl ::core::marker::Send for ID3D11ClassInstance {} | |
504 | unsafe impl ::core::marker::Sync for ID3D11ClassInstance {} | |
505 | unsafe impl ::windows::core::Interface for ID3D11ClassInstance { | |
506 | type Vtable = ID3D11ClassInstance_Vtbl; | |
507 | } | |
508 | impl ::core::clone::Clone for ID3D11ClassInstance { | |
509 | fn clone(&self) -> Self { | |
510 | Self(self.0.clone()) | |
511 | } | |
512 | } | |
513 | unsafe impl ::windows::core::ComInterface for ID3D11ClassInstance { | |
514 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa6cd7faa_b0b7_4a2f_9436_8662a65797cb); | |
515 | } | |
516 | #[repr(C)] | |
517 | #[doc(hidden)] | |
518 | pub struct ID3D11ClassInstance_Vtbl { | |
519 | pub base__: ID3D11DeviceChild_Vtbl, | |
520 | pub GetClassLinkage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pplinkage: *mut *mut ::core::ffi::c_void), | |
521 | #[cfg(feature = "Win32_Foundation")] | |
522 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_CLASS_INSTANCE_DESC), | |
523 | #[cfg(not(feature = "Win32_Foundation"))] | |
524 | GetDesc: usize, | |
525 | pub GetInstanceName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinstancename: ::windows::core::PSTR, pbufferlength: *mut usize), | |
526 | pub GetTypeName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptypename: ::windows::core::PSTR, pbufferlength: *mut usize), | |
527 | } | |
528 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
529 | #[repr(transparent)] | |
530 | pub struct ID3D11ClassLinkage(::windows::core::IUnknown); | |
531 | impl ID3D11ClassLinkage { | |
532 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
533 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
534 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
535 | ::windows::core::from_abi(result__) | |
536 | } | |
537 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
538 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
539 | } | |
540 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
541 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
542 | } | |
543 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
544 | where | |
545 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
546 | { | |
547 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
548 | } | |
549 | pub unsafe fn GetClassInstance<P0>(&self, pclassinstancename: P0, instanceindex: u32) -> ::windows::core::Result<ID3D11ClassInstance> | |
550 | where | |
551 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
552 | { | |
553 | let mut result__ = ::windows::core::zeroed::<ID3D11ClassInstance>(); | |
554 | (::windows::core::Interface::vtable(self).GetClassInstance)(::windows::core::Interface::as_raw(self), pclassinstancename.into_param().abi(), instanceindex, &mut result__).from_abi(result__) | |
555 | } | |
556 | pub unsafe fn CreateClassInstance<P0>(&self, pclasstypename: P0, constantbufferoffset: u32, constantvectoroffset: u32, textureoffset: u32, sampleroffset: u32) -> ::windows::core::Result<ID3D11ClassInstance> | |
557 | where | |
558 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
559 | { | |
560 | let mut result__ = ::windows::core::zeroed::<ID3D11ClassInstance>(); | |
561 | (::windows::core::Interface::vtable(self).CreateClassInstance)(::windows::core::Interface::as_raw(self), pclasstypename.into_param().abi(), constantbufferoffset, constantvectoroffset, textureoffset, sampleroffset, &mut result__).from_abi(result__) | |
562 | } | |
563 | } | |
564 | ::windows::imp::interface_hierarchy!(ID3D11ClassLinkage, ::windows::core::IUnknown, ID3D11DeviceChild); | |
565 | impl ::core::cmp::PartialEq for ID3D11ClassLinkage { | |
566 | fn eq(&self, other: &Self) -> bool { | |
567 | self.0 == other.0 | |
568 | } | |
569 | } | |
570 | impl ::core::cmp::Eq for ID3D11ClassLinkage {} | |
571 | impl ::core::fmt::Debug for ID3D11ClassLinkage { | |
572 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
573 | f.debug_tuple("ID3D11ClassLinkage").field(&self.0).finish() | |
574 | } | |
575 | } | |
576 | unsafe impl ::core::marker::Send for ID3D11ClassLinkage {} | |
577 | unsafe impl ::core::marker::Sync for ID3D11ClassLinkage {} | |
578 | unsafe impl ::windows::core::Interface for ID3D11ClassLinkage { | |
579 | type Vtable = ID3D11ClassLinkage_Vtbl; | |
580 | } | |
581 | impl ::core::clone::Clone for ID3D11ClassLinkage { | |
582 | fn clone(&self) -> Self { | |
583 | Self(self.0.clone()) | |
584 | } | |
585 | } | |
586 | unsafe impl ::windows::core::ComInterface for ID3D11ClassLinkage { | |
587 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xddf57cba_9543_46e4_a12b_f207a0fe7fed); | |
588 | } | |
589 | #[repr(C)] | |
590 | #[doc(hidden)] | |
591 | pub struct ID3D11ClassLinkage_Vtbl { | |
592 | pub base__: ID3D11DeviceChild_Vtbl, | |
593 | pub GetClassInstance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pclassinstancename: ::windows::core::PCSTR, instanceindex: u32, ppinstance: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
594 | pub CreateClassInstance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pclasstypename: ::windows::core::PCSTR, constantbufferoffset: u32, constantvectoroffset: u32, textureoffset: u32, sampleroffset: u32, ppinstance: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
595 | } | |
596 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
597 | #[repr(transparent)] | |
598 | pub struct ID3D11CommandList(::windows::core::IUnknown); | |
599 | impl ID3D11CommandList { | |
600 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
601 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
602 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
603 | ::windows::core::from_abi(result__) | |
604 | } | |
605 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
606 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
607 | } | |
608 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
609 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
610 | } | |
611 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
612 | where | |
613 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
614 | { | |
615 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
616 | } | |
617 | pub unsafe fn GetContextFlags(&self) -> u32 { | |
618 | (::windows::core::Interface::vtable(self).GetContextFlags)(::windows::core::Interface::as_raw(self)) | |
619 | } | |
620 | } | |
621 | ::windows::imp::interface_hierarchy!(ID3D11CommandList, ::windows::core::IUnknown, ID3D11DeviceChild); | |
622 | impl ::core::cmp::PartialEq for ID3D11CommandList { | |
623 | fn eq(&self, other: &Self) -> bool { | |
624 | self.0 == other.0 | |
625 | } | |
626 | } | |
627 | impl ::core::cmp::Eq for ID3D11CommandList {} | |
628 | impl ::core::fmt::Debug for ID3D11CommandList { | |
629 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
630 | f.debug_tuple("ID3D11CommandList").field(&self.0).finish() | |
631 | } | |
632 | } | |
633 | unsafe impl ::core::marker::Send for ID3D11CommandList {} | |
634 | unsafe impl ::core::marker::Sync for ID3D11CommandList {} | |
635 | unsafe impl ::windows::core::Interface for ID3D11CommandList { | |
636 | type Vtable = ID3D11CommandList_Vtbl; | |
637 | } | |
638 | impl ::core::clone::Clone for ID3D11CommandList { | |
639 | fn clone(&self) -> Self { | |
640 | Self(self.0.clone()) | |
641 | } | |
642 | } | |
643 | unsafe impl ::windows::core::ComInterface for ID3D11CommandList { | |
644 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa24bc4d1_769e_43f7_8013_98ff566c18e2); | |
645 | } | |
646 | #[repr(C)] | |
647 | #[doc(hidden)] | |
648 | pub struct ID3D11CommandList_Vtbl { | |
649 | pub base__: ID3D11DeviceChild_Vtbl, | |
650 | pub GetContextFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, | |
651 | } | |
652 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
653 | #[repr(transparent)] | |
654 | pub struct ID3D11ComputeShader(::windows::core::IUnknown); | |
655 | impl ID3D11ComputeShader { | |
656 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
657 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
658 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
659 | ::windows::core::from_abi(result__) | |
660 | } | |
661 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
662 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
663 | } | |
664 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
665 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
666 | } | |
667 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
668 | where | |
669 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
670 | { | |
671 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
672 | } | |
673 | } | |
674 | ::windows::imp::interface_hierarchy!(ID3D11ComputeShader, ::windows::core::IUnknown, ID3D11DeviceChild); | |
675 | impl ::core::cmp::PartialEq for ID3D11ComputeShader { | |
676 | fn eq(&self, other: &Self) -> bool { | |
677 | self.0 == other.0 | |
678 | } | |
679 | } | |
680 | impl ::core::cmp::Eq for ID3D11ComputeShader {} | |
681 | impl ::core::fmt::Debug for ID3D11ComputeShader { | |
682 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
683 | f.debug_tuple("ID3D11ComputeShader").field(&self.0).finish() | |
684 | } | |
685 | } | |
686 | unsafe impl ::core::marker::Send for ID3D11ComputeShader {} | |
687 | unsafe impl ::core::marker::Sync for ID3D11ComputeShader {} | |
688 | unsafe impl ::windows::core::Interface for ID3D11ComputeShader { | |
689 | type Vtable = ID3D11ComputeShader_Vtbl; | |
690 | } | |
691 | impl ::core::clone::Clone for ID3D11ComputeShader { | |
692 | fn clone(&self) -> Self { | |
693 | Self(self.0.clone()) | |
694 | } | |
695 | } | |
696 | unsafe impl ::windows::core::ComInterface for ID3D11ComputeShader { | |
697 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x4f5b196e_c2bd_495e_bd01_1fded38e4969); | |
698 | } | |
699 | #[repr(C)] | |
700 | #[doc(hidden)] | |
701 | pub struct ID3D11ComputeShader_Vtbl { | |
702 | pub base__: ID3D11DeviceChild_Vtbl, | |
703 | } | |
704 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
705 | #[repr(transparent)] | |
706 | pub struct ID3D11Counter(::windows::core::IUnknown); | |
707 | impl ID3D11Counter { | |
708 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
709 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
710 | (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
711 | ::windows::core::from_abi(result__) | |
712 | } | |
713 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
714 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
715 | } | |
716 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
717 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
718 | } | |
719 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
720 | where | |
721 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
722 | { | |
723 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
724 | } | |
725 | pub unsafe fn GetDataSize(&self) -> u32 { | |
726 | (::windows::core::Interface::vtable(self).base__.GetDataSize)(::windows::core::Interface::as_raw(self)) | |
727 | } | |
728 | pub unsafe fn GetDesc(&self) -> D3D11_COUNTER_DESC { | |
729 | let mut result__ = ::windows::core::zeroed::<D3D11_COUNTER_DESC>(); | |
730 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), &mut result__); | |
731 | ::std::mem::transmute(result__) | |
732 | } | |
733 | } | |
734 | ::windows::imp::interface_hierarchy!(ID3D11Counter, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous); | |
735 | impl ::core::cmp::PartialEq for ID3D11Counter { | |
736 | fn eq(&self, other: &Self) -> bool { | |
737 | self.0 == other.0 | |
738 | } | |
739 | } | |
740 | impl ::core::cmp::Eq for ID3D11Counter {} | |
741 | impl ::core::fmt::Debug for ID3D11Counter { | |
742 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
743 | f.debug_tuple("ID3D11Counter").field(&self.0).finish() | |
744 | } | |
745 | } | |
746 | unsafe impl ::core::marker::Send for ID3D11Counter {} | |
747 | unsafe impl ::core::marker::Sync for ID3D11Counter {} | |
748 | unsafe impl ::windows::core::Interface for ID3D11Counter { | |
749 | type Vtable = ID3D11Counter_Vtbl; | |
750 | } | |
751 | impl ::core::clone::Clone for ID3D11Counter { | |
752 | fn clone(&self) -> Self { | |
753 | Self(self.0.clone()) | |
754 | } | |
755 | } | |
756 | unsafe impl ::windows::core::ComInterface for ID3D11Counter { | |
757 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6e8c49fb_a371_4770_b440_29086022b741); | |
758 | } | |
759 | #[repr(C)] | |
760 | #[doc(hidden)] | |
761 | pub struct ID3D11Counter_Vtbl { | |
762 | pub base__: ID3D11Asynchronous_Vtbl, | |
763 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_COUNTER_DESC), | |
764 | } | |
765 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
766 | #[repr(transparent)] | |
767 | pub struct ID3D11CryptoSession(::windows::core::IUnknown); | |
768 | impl ID3D11CryptoSession { | |
769 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
770 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
771 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
772 | ::windows::core::from_abi(result__) | |
773 | } | |
774 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
775 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
776 | } | |
777 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
778 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
779 | } | |
780 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
781 | where | |
782 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
783 | { | |
784 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
785 | } | |
786 | pub unsafe fn GetCryptoType(&self) -> ::windows::core::GUID { | |
787 | let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); | |
788 | (::windows::core::Interface::vtable(self).GetCryptoType)(::windows::core::Interface::as_raw(self), &mut result__); | |
789 | ::std::mem::transmute(result__) | |
790 | } | |
791 | pub unsafe fn GetDecoderProfile(&self) -> ::windows::core::GUID { | |
792 | let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); | |
793 | (::windows::core::Interface::vtable(self).GetDecoderProfile)(::windows::core::Interface::as_raw(self), &mut result__); | |
794 | ::std::mem::transmute(result__) | |
795 | } | |
796 | pub unsafe fn GetCertificateSize(&self) -> ::windows::core::Result<u32> { | |
797 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
798 | (::windows::core::Interface::vtable(self).GetCertificateSize)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
799 | } | |
800 | pub unsafe fn GetCertificate(&self, pcertificate: &mut [u8]) -> ::windows::core::Result<()> { | |
801 | (::windows::core::Interface::vtable(self).GetCertificate)(::windows::core::Interface::as_raw(self), pcertificate.len() as _, ::core::mem::transmute(pcertificate.as_ptr())).ok() | |
802 | } | |
803 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
804 | #[cfg(feature = "Win32_Foundation")] | |
805 | pub unsafe fn GetCryptoSessionHandle(&self) -> super::super::Foundation::HANDLE { | |
806 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::HANDLE>(); | |
807 | (::windows::core::Interface::vtable(self).GetCryptoSessionHandle)(::windows::core::Interface::as_raw(self), &mut result__); | |
808 | ::std::mem::transmute(result__) | |
809 | } | |
810 | } | |
811 | ::windows::imp::interface_hierarchy!(ID3D11CryptoSession, ::windows::core::IUnknown, ID3D11DeviceChild); | |
812 | impl ::core::cmp::PartialEq for ID3D11CryptoSession { | |
813 | fn eq(&self, other: &Self) -> bool { | |
814 | self.0 == other.0 | |
815 | } | |
816 | } | |
817 | impl ::core::cmp::Eq for ID3D11CryptoSession {} | |
818 | impl ::core::fmt::Debug for ID3D11CryptoSession { | |
819 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
820 | f.debug_tuple("ID3D11CryptoSession").field(&self.0).finish() | |
821 | } | |
822 | } | |
823 | unsafe impl ::core::marker::Send for ID3D11CryptoSession {} | |
824 | unsafe impl ::core::marker::Sync for ID3D11CryptoSession {} | |
825 | unsafe impl ::windows::core::Interface for ID3D11CryptoSession { | |
826 | type Vtable = ID3D11CryptoSession_Vtbl; | |
827 | } | |
828 | impl ::core::clone::Clone for ID3D11CryptoSession { | |
829 | fn clone(&self) -> Self { | |
830 | Self(self.0.clone()) | |
831 | } | |
832 | } | |
833 | unsafe impl ::windows::core::ComInterface for ID3D11CryptoSession { | |
834 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x9b32f9ad_bdcc_40a6_a39d_d5c865845720); | |
835 | } | |
836 | #[repr(C)] | |
837 | #[doc(hidden)] | |
838 | pub struct ID3D11CryptoSession_Vtbl { | |
839 | pub base__: ID3D11DeviceChild_Vtbl, | |
840 | pub GetCryptoType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcryptotype: *mut ::windows::core::GUID), | |
841 | pub GetDecoderProfile: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdecoderprofile: *mut ::windows::core::GUID), | |
842 | pub GetCertificateSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcertificatesize: *mut u32) -> ::windows::core::HRESULT, | |
843 | pub GetCertificate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, certificatesize: u32, pcertificate: *mut u8) -> ::windows::core::HRESULT, | |
844 | #[cfg(feature = "Win32_Foundation")] | |
845 | pub GetCryptoSessionHandle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcryptosessionhandle: *mut super::super::Foundation::HANDLE), | |
846 | #[cfg(not(feature = "Win32_Foundation"))] | |
847 | GetCryptoSessionHandle: usize, | |
848 | } | |
849 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
850 | #[repr(transparent)] | |
851 | pub struct ID3D11Debug(::windows::core::IUnknown); | |
852 | impl ID3D11Debug { | |
853 | pub unsafe fn SetFeatureMask(&self, mask: u32) -> ::windows::core::Result<()> { | |
854 | (::windows::core::Interface::vtable(self).SetFeatureMask)(::windows::core::Interface::as_raw(self), mask).ok() | |
855 | } | |
856 | pub unsafe fn GetFeatureMask(&self) -> u32 { | |
857 | (::windows::core::Interface::vtable(self).GetFeatureMask)(::windows::core::Interface::as_raw(self)) | |
858 | } | |
859 | pub unsafe fn SetPresentPerRenderOpDelay(&self, milliseconds: u32) -> ::windows::core::Result<()> { | |
860 | (::windows::core::Interface::vtable(self).SetPresentPerRenderOpDelay)(::windows::core::Interface::as_raw(self), milliseconds).ok() | |
861 | } | |
862 | pub unsafe fn GetPresentPerRenderOpDelay(&self) -> u32 { | |
863 | (::windows::core::Interface::vtable(self).GetPresentPerRenderOpDelay)(::windows::core::Interface::as_raw(self)) | |
864 | } | |
865 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] | |
866 | #[cfg(feature = "Win32_Graphics_Dxgi")] | |
867 | pub unsafe fn SetSwapChain<P0>(&self, pswapchain: P0) -> ::windows::core::Result<()> | |
868 | where | |
869 | P0: ::windows::core::IntoParam<super::Dxgi::IDXGISwapChain>, | |
870 | { | |
871 | (::windows::core::Interface::vtable(self).SetSwapChain)(::windows::core::Interface::as_raw(self), pswapchain.into_param().abi()).ok() | |
872 | } | |
873 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] | |
874 | #[cfg(feature = "Win32_Graphics_Dxgi")] | |
875 | pub unsafe fn GetSwapChain(&self) -> ::windows::core::Result<super::Dxgi::IDXGISwapChain> { | |
876 | let mut result__ = ::windows::core::zeroed::<super::Dxgi::IDXGISwapChain>(); | |
877 | (::windows::core::Interface::vtable(self).GetSwapChain)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
878 | } | |
879 | pub unsafe fn ValidateContext<P0>(&self, pcontext: P0) -> ::windows::core::Result<()> | |
880 | where | |
881 | P0: ::windows::core::IntoParam<ID3D11DeviceContext>, | |
882 | { | |
883 | (::windows::core::Interface::vtable(self).ValidateContext)(::windows::core::Interface::as_raw(self), pcontext.into_param().abi()).ok() | |
884 | } | |
885 | pub unsafe fn ReportLiveDeviceObjects(&self, flags: D3D11_RLDO_FLAGS) -> ::windows::core::Result<()> { | |
886 | (::windows::core::Interface::vtable(self).ReportLiveDeviceObjects)(::windows::core::Interface::as_raw(self), flags).ok() | |
887 | } | |
888 | pub unsafe fn ValidateContextForDispatch<P0>(&self, pcontext: P0) -> ::windows::core::Result<()> | |
889 | where | |
890 | P0: ::windows::core::IntoParam<ID3D11DeviceContext>, | |
891 | { | |
892 | (::windows::core::Interface::vtable(self).ValidateContextForDispatch)(::windows::core::Interface::as_raw(self), pcontext.into_param().abi()).ok() | |
893 | } | |
894 | } | |
895 | ::windows::imp::interface_hierarchy!(ID3D11Debug, ::windows::core::IUnknown); | |
896 | impl ::core::cmp::PartialEq for ID3D11Debug { | |
897 | fn eq(&self, other: &Self) -> bool { | |
898 | self.0 == other.0 | |
899 | } | |
900 | } | |
901 | impl ::core::cmp::Eq for ID3D11Debug {} | |
902 | impl ::core::fmt::Debug for ID3D11Debug { | |
903 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
904 | f.debug_tuple("ID3D11Debug").field(&self.0).finish() | |
905 | } | |
906 | } | |
907 | unsafe impl ::core::marker::Send for ID3D11Debug {} | |
908 | unsafe impl ::core::marker::Sync for ID3D11Debug {} | |
909 | unsafe impl ::windows::core::Interface for ID3D11Debug { | |
910 | type Vtable = ID3D11Debug_Vtbl; | |
911 | } | |
912 | impl ::core::clone::Clone for ID3D11Debug { | |
913 | fn clone(&self) -> Self { | |
914 | Self(self.0.clone()) | |
915 | } | |
916 | } | |
917 | unsafe impl ::windows::core::ComInterface for ID3D11Debug { | |
918 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x79cf2233_7536_4948_9d36_1e4692dc5760); | |
919 | } | |
920 | #[repr(C)] | |
921 | #[doc(hidden)] | |
922 | pub struct ID3D11Debug_Vtbl { | |
923 | pub base__: ::windows::core::IUnknown_Vtbl, | |
924 | pub SetFeatureMask: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, mask: u32) -> ::windows::core::HRESULT, | |
925 | pub GetFeatureMask: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, | |
926 | pub SetPresentPerRenderOpDelay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, milliseconds: u32) -> ::windows::core::HRESULT, | |
927 | pub GetPresentPerRenderOpDelay: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, | |
928 | #[cfg(feature = "Win32_Graphics_Dxgi")] | |
929 | pub SetSwapChain: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pswapchain: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
930 | #[cfg(not(feature = "Win32_Graphics_Dxgi"))] | |
931 | SetSwapChain: usize, | |
932 | #[cfg(feature = "Win32_Graphics_Dxgi")] | |
933 | pub GetSwapChain: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppswapchain: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
934 | #[cfg(not(feature = "Win32_Graphics_Dxgi"))] | |
935 | GetSwapChain: usize, | |
936 | pub ValidateContext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcontext: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
937 | pub ReportLiveDeviceObjects: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: D3D11_RLDO_FLAGS) -> ::windows::core::HRESULT, | |
938 | pub ValidateContextForDispatch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcontext: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
939 | } | |
940 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
941 | #[repr(transparent)] | |
942 | pub struct ID3D11DepthStencilState(::windows::core::IUnknown); | |
943 | impl ID3D11DepthStencilState { | |
944 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
945 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
946 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
947 | ::windows::core::from_abi(result__) | |
948 | } | |
949 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
950 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
951 | } | |
952 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
953 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
954 | } | |
955 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
956 | where | |
957 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
958 | { | |
959 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
960 | } | |
961 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
962 | #[cfg(feature = "Win32_Foundation")] | |
963 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_DEPTH_STENCIL_DESC) { | |
964 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
965 | } | |
966 | } | |
967 | ::windows::imp::interface_hierarchy!(ID3D11DepthStencilState, ::windows::core::IUnknown, ID3D11DeviceChild); | |
968 | impl ::core::cmp::PartialEq for ID3D11DepthStencilState { | |
969 | fn eq(&self, other: &Self) -> bool { | |
970 | self.0 == other.0 | |
971 | } | |
972 | } | |
973 | impl ::core::cmp::Eq for ID3D11DepthStencilState {} | |
974 | impl ::core::fmt::Debug for ID3D11DepthStencilState { | |
975 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
976 | f.debug_tuple("ID3D11DepthStencilState").field(&self.0).finish() | |
977 | } | |
978 | } | |
979 | unsafe impl ::core::marker::Send for ID3D11DepthStencilState {} | |
980 | unsafe impl ::core::marker::Sync for ID3D11DepthStencilState {} | |
981 | unsafe impl ::windows::core::Interface for ID3D11DepthStencilState { | |
982 | type Vtable = ID3D11DepthStencilState_Vtbl; | |
983 | } | |
984 | impl ::core::clone::Clone for ID3D11DepthStencilState { | |
985 | fn clone(&self) -> Self { | |
986 | Self(self.0.clone()) | |
987 | } | |
988 | } | |
989 | unsafe impl ::windows::core::ComInterface for ID3D11DepthStencilState { | |
990 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x03823efb_8d8f_4e1c_9aa2_f64bb2cbfdf1); | |
991 | } | |
992 | #[repr(C)] | |
993 | #[doc(hidden)] | |
994 | pub struct ID3D11DepthStencilState_Vtbl { | |
995 | pub base__: ID3D11DeviceChild_Vtbl, | |
996 | #[cfg(feature = "Win32_Foundation")] | |
997 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_DEPTH_STENCIL_DESC), | |
998 | #[cfg(not(feature = "Win32_Foundation"))] | |
999 | GetDesc: usize, | |
1000 | } | |
1001 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
1002 | #[repr(transparent)] | |
1003 | pub struct ID3D11DepthStencilView(::windows::core::IUnknown); | |
1004 | impl ID3D11DepthStencilView { | |
1005 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
1006 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
1007 | (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
1008 | ::windows::core::from_abi(result__) | |
1009 | } | |
1010 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
1011 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
1012 | } | |
1013 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
1014 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
1015 | } | |
1016 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
1017 | where | |
1018 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
1019 | { | |
1020 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
1021 | } | |
1022 | pub unsafe fn GetResource(&self) -> ::windows::core::Result<ID3D11Resource> { | |
1023 | let mut result__ = ::windows::core::zeroed::<ID3D11Resource>(); | |
1024 | (::windows::core::Interface::vtable(self).base__.GetResource)(::windows::core::Interface::as_raw(self), &mut result__); | |
1025 | ::windows::core::from_abi(result__) | |
1026 | } | |
1027 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1028 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1029 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_DEPTH_STENCIL_VIEW_DESC) { | |
1030 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
1031 | } | |
1032 | } | |
1033 | ::windows::imp::interface_hierarchy!(ID3D11DepthStencilView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); | |
1034 | impl ::core::cmp::PartialEq for ID3D11DepthStencilView { | |
1035 | fn eq(&self, other: &Self) -> bool { | |
1036 | self.0 == other.0 | |
1037 | } | |
1038 | } | |
1039 | impl ::core::cmp::Eq for ID3D11DepthStencilView {} | |
1040 | impl ::core::fmt::Debug for ID3D11DepthStencilView { | |
1041 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
1042 | f.debug_tuple("ID3D11DepthStencilView").field(&self.0).finish() | |
1043 | } | |
1044 | } | |
1045 | unsafe impl ::core::marker::Send for ID3D11DepthStencilView {} | |
1046 | unsafe impl ::core::marker::Sync for ID3D11DepthStencilView {} | |
1047 | unsafe impl ::windows::core::Interface for ID3D11DepthStencilView { | |
1048 | type Vtable = ID3D11DepthStencilView_Vtbl; | |
1049 | } | |
1050 | impl ::core::clone::Clone for ID3D11DepthStencilView { | |
1051 | fn clone(&self) -> Self { | |
1052 | Self(self.0.clone()) | |
1053 | } | |
1054 | } | |
1055 | unsafe impl ::windows::core::ComInterface for ID3D11DepthStencilView { | |
1056 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x9fdac92a_1876_48c3_afad_25b94f84a9b6); | |
1057 | } | |
1058 | #[repr(C)] | |
1059 | #[doc(hidden)] | |
1060 | pub struct ID3D11DepthStencilView_Vtbl { | |
1061 | pub base__: ID3D11View_Vtbl, | |
1062 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1063 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_DEPTH_STENCIL_VIEW_DESC), | |
1064 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
1065 | GetDesc: usize, | |
1066 | } | |
1067 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
1068 | #[repr(transparent)] | |
1069 | pub struct ID3D11Device(::windows::core::IUnknown); | |
1070 | impl ID3D11Device { | |
1071 | pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, ppbuffer: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>) -> ::windows::core::Result<()> { | |
1072 | (::windows::core::Interface::vtable(self).CreateBuffer)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))).ok() | |
1073 | } | |
1074 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1075 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1076 | pub unsafe fn CreateTexture1D(&self, pdesc: *const D3D11_TEXTURE1D_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture1d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture1D>>) -> ::windows::core::Result<()> { | |
1077 | (::windows::core::Interface::vtable(self).CreateTexture1D)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture1d.unwrap_or(::std::ptr::null_mut()))).ok() | |
1078 | } | |
1079 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1080 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1081 | pub unsafe fn CreateTexture2D(&self, pdesc: *const D3D11_TEXTURE2D_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture2d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture2D>>) -> ::windows::core::Result<()> { | |
1082 | (::windows::core::Interface::vtable(self).CreateTexture2D)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture2d.unwrap_or(::std::ptr::null_mut()))).ok() | |
1083 | } | |
1084 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1085 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1086 | pub unsafe fn CreateTexture3D(&self, pdesc: *const D3D11_TEXTURE3D_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture3d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture3D>>) -> ::windows::core::Result<()> { | |
1087 | (::windows::core::Interface::vtable(self).CreateTexture3D)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture3d.unwrap_or(::std::ptr::null_mut()))).ok() | |
1088 | } | |
1089 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1090 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
1091 | pub unsafe fn CreateShaderResourceView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_SHADER_RESOURCE_VIEW_DESC>, ppsrview: ::core::option::Option<*mut ::core::option::Option<ID3D11ShaderResourceView>>) -> ::windows::core::Result<()> | |
1092 | where | |
1093 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
1094 | { | |
1095 | (::windows::core::Interface::vtable(self).CreateShaderResourceView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppsrview.unwrap_or(::std::ptr::null_mut()))).ok() | |
1096 | } | |
1097 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1098 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1099 | pub unsafe fn CreateUnorderedAccessView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_UNORDERED_ACCESS_VIEW_DESC>, ppuaview: ::core::option::Option<*mut ::core::option::Option<ID3D11UnorderedAccessView>>) -> ::windows::core::Result<()> | |
1100 | where | |
1101 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
1102 | { | |
1103 | (::windows::core::Interface::vtable(self).CreateUnorderedAccessView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppuaview.unwrap_or(::std::ptr::null_mut()))).ok() | |
1104 | } | |
1105 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1106 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1107 | pub unsafe fn CreateRenderTargetView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_RENDER_TARGET_VIEW_DESC>, pprtview: ::core::option::Option<*mut ::core::option::Option<ID3D11RenderTargetView>>) -> ::windows::core::Result<()> | |
1108 | where | |
1109 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
1110 | { | |
1111 | (::windows::core::Interface::vtable(self).CreateRenderTargetView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pprtview.unwrap_or(::std::ptr::null_mut()))).ok() | |
1112 | } | |
1113 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1114 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1115 | pub unsafe fn CreateDepthStencilView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_DEPTH_STENCIL_VIEW_DESC>, ppdepthstencilview: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilView>>) -> ::windows::core::Result<()> | |
1116 | where | |
1117 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
1118 | { | |
1119 | (::windows::core::Interface::vtable(self).CreateDepthStencilView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppdepthstencilview.unwrap_or(::std::ptr::null_mut()))).ok() | |
1120 | } | |
1121 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1122 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1123 | pub unsafe fn CreateInputLayout(&self, pinputelementdescs: &[D3D11_INPUT_ELEMENT_DESC], pshaderbytecodewithinputsignature: &[u8], ppinputlayout: ::core::option::Option<*mut ::core::option::Option<ID3D11InputLayout>>) -> ::windows::core::Result<()> { | |
1124 | (::windows::core::Interface::vtable(self).CreateInputLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pinputelementdescs.as_ptr()), pinputelementdescs.len() as _, ::core::mem::transmute(pshaderbytecodewithinputsignature.as_ptr()), pshaderbytecodewithinputsignature.len() as _, ::core::mem::transmute(ppinputlayout.unwrap_or(::std::ptr::null_mut()))).ok() | |
1125 | } | |
1126 | pub unsafe fn CreateVertexShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppvertexshader: ::core::option::Option<*mut ::core::option::Option<ID3D11VertexShader>>) -> ::windows::core::Result<()> | |
1127 | where | |
1128 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1129 | { | |
1130 | (::windows::core::Interface::vtable(self).CreateVertexShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppvertexshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
1131 | } | |
1132 | pub unsafe fn CreateGeometryShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppgeometryshader: ::core::option::Option<*mut ::core::option::Option<ID3D11GeometryShader>>) -> ::windows::core::Result<()> | |
1133 | where | |
1134 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1135 | { | |
1136 | (::windows::core::Interface::vtable(self).CreateGeometryShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppgeometryshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
1137 | } | |
1138 | pub unsafe fn CreateGeometryShaderWithStreamOutput<P0>(&self, pshaderbytecode: &[u8], psodeclaration: ::core::option::Option<&[D3D11_SO_DECLARATION_ENTRY]>, pbufferstrides: ::core::option::Option<&[u32]>, rasterizedstream: u32, pclasslinkage: P0, ppgeometryshader: ::core::option::Option<*mut ::core::option::Option<ID3D11GeometryShader>>) -> ::windows::core::Result<()> | |
1139 | where | |
1140 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1141 | { | |
1142 | (::windows::core::Interface::vtable(self).CreateGeometryShaderWithStreamOutput)( | |
1143 | ::windows::core::Interface::as_raw(self), | |
1144 | ::core::mem::transmute(pshaderbytecode.as_ptr()), | |
1145 | pshaderbytecode.len() as _, | |
1146 | ::core::mem::transmute(psodeclaration.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
1147 | psodeclaration.as_deref().map_or(0, |slice| slice.len() as _), | |
1148 | ::core::mem::transmute(pbufferstrides.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
1149 | pbufferstrides.as_deref().map_or(0, |slice| slice.len() as _), | |
1150 | rasterizedstream, | |
1151 | pclasslinkage.into_param().abi(), | |
1152 | ::core::mem::transmute(ppgeometryshader.unwrap_or(::std::ptr::null_mut())), | |
1153 | ) | |
1154 | .ok() | |
1155 | } | |
1156 | pub unsafe fn CreatePixelShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, pppixelshader: ::core::option::Option<*mut ::core::option::Option<ID3D11PixelShader>>) -> ::windows::core::Result<()> | |
1157 | where | |
1158 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1159 | { | |
1160 | (::windows::core::Interface::vtable(self).CreatePixelShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(pppixelshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
1161 | } | |
1162 | pub unsafe fn CreateHullShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, pphullshader: ::core::option::Option<*mut ::core::option::Option<ID3D11HullShader>>) -> ::windows::core::Result<()> | |
1163 | where | |
1164 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1165 | { | |
1166 | (::windows::core::Interface::vtable(self).CreateHullShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(pphullshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
1167 | } | |
1168 | pub unsafe fn CreateDomainShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppdomainshader: ::core::option::Option<*mut ::core::option::Option<ID3D11DomainShader>>) -> ::windows::core::Result<()> | |
1169 | where | |
1170 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1171 | { | |
1172 | (::windows::core::Interface::vtable(self).CreateDomainShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppdomainshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
1173 | } | |
1174 | pub unsafe fn CreateComputeShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppcomputeshader: ::core::option::Option<*mut ::core::option::Option<ID3D11ComputeShader>>) -> ::windows::core::Result<()> | |
1175 | where | |
1176 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1177 | { | |
1178 | (::windows::core::Interface::vtable(self).CreateComputeShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppcomputeshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
1179 | } | |
1180 | pub unsafe fn CreateClassLinkage(&self) -> ::windows::core::Result<ID3D11ClassLinkage> { | |
1181 | let mut result__ = ::windows::core::zeroed::<ID3D11ClassLinkage>(); | |
1182 | (::windows::core::Interface::vtable(self).CreateClassLinkage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1183 | } | |
1184 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1185 | #[cfg(feature = "Win32_Foundation")] | |
1186 | pub unsafe fn CreateBlendState(&self, pblendstatedesc: *const D3D11_BLEND_DESC, ppblendstate: ::core::option::Option<*mut ::core::option::Option<ID3D11BlendState>>) -> ::windows::core::Result<()> { | |
1187 | (::windows::core::Interface::vtable(self).CreateBlendState)(::windows::core::Interface::as_raw(self), pblendstatedesc, ::core::mem::transmute(ppblendstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1188 | } | |
1189 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1190 | #[cfg(feature = "Win32_Foundation")] | |
1191 | pub unsafe fn CreateDepthStencilState(&self, pdepthstencildesc: *const D3D11_DEPTH_STENCIL_DESC, ppdepthstencilstate: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilState>>) -> ::windows::core::Result<()> { | |
1192 | (::windows::core::Interface::vtable(self).CreateDepthStencilState)(::windows::core::Interface::as_raw(self), pdepthstencildesc, ::core::mem::transmute(ppdepthstencilstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1193 | } | |
1194 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1195 | #[cfg(feature = "Win32_Foundation")] | |
1196 | pub unsafe fn CreateRasterizerState(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC, pprasterizerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11RasterizerState>>) -> ::windows::core::Result<()> { | |
1197 | (::windows::core::Interface::vtable(self).CreateRasterizerState)(::windows::core::Interface::as_raw(self), prasterizerdesc, ::core::mem::transmute(pprasterizerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1198 | } | |
1199 | pub unsafe fn CreateSamplerState(&self, psamplerdesc: *const D3D11_SAMPLER_DESC, ppsamplerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11SamplerState>>) -> ::windows::core::Result<()> { | |
1200 | (::windows::core::Interface::vtable(self).CreateSamplerState)(::windows::core::Interface::as_raw(self), psamplerdesc, ::core::mem::transmute(ppsamplerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1201 | } | |
1202 | pub unsafe fn CreateQuery(&self, pquerydesc: *const D3D11_QUERY_DESC, ppquery: ::core::option::Option<*mut ::core::option::Option<ID3D11Query>>) -> ::windows::core::Result<()> { | |
1203 | (::windows::core::Interface::vtable(self).CreateQuery)(::windows::core::Interface::as_raw(self), pquerydesc, ::core::mem::transmute(ppquery.unwrap_or(::std::ptr::null_mut()))).ok() | |
1204 | } | |
1205 | pub unsafe fn CreatePredicate(&self, ppredicatedesc: *const D3D11_QUERY_DESC, pppredicate: ::core::option::Option<*mut ::core::option::Option<ID3D11Predicate>>) -> ::windows::core::Result<()> { | |
1206 | (::windows::core::Interface::vtable(self).CreatePredicate)(::windows::core::Interface::as_raw(self), ppredicatedesc, ::core::mem::transmute(pppredicate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1207 | } | |
1208 | pub unsafe fn CreateCounter(&self, pcounterdesc: *const D3D11_COUNTER_DESC, ppcounter: ::core::option::Option<*mut ::core::option::Option<ID3D11Counter>>) -> ::windows::core::Result<()> { | |
1209 | (::windows::core::Interface::vtable(self).CreateCounter)(::windows::core::Interface::as_raw(self), pcounterdesc, ::core::mem::transmute(ppcounter.unwrap_or(::std::ptr::null_mut()))).ok() | |
1210 | } | |
1211 | pub unsafe fn CreateDeferredContext(&self, contextflags: u32, ppdeferredcontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext>>) -> ::windows::core::Result<()> { | |
1212 | (::windows::core::Interface::vtable(self).CreateDeferredContext)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(ppdeferredcontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
1213 | } | |
1214 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1215 | #[cfg(feature = "Win32_Foundation")] | |
1216 | pub unsafe fn OpenSharedResource<P0, T>(&self, hresource: P0, result__: *mut ::core::option::Option<T>) -> ::windows::core::Result<()> | |
1217 | where | |
1218 | P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, | |
1219 | T: ::windows::core::ComInterface, | |
1220 | { | |
1221 | (::windows::core::Interface::vtable(self).OpenSharedResource)(::windows::core::Interface::as_raw(self), hresource.into_param().abi(), &<T as ::windows::core::ComInterface>::IID, result__ as *mut _ as *mut _).ok() | |
1222 | } | |
1223 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1224 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1225 | pub unsafe fn CheckFormatSupport(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result<u32> { | |
1226 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
1227 | (::windows::core::Interface::vtable(self).CheckFormatSupport)(::windows::core::Interface::as_raw(self), format, &mut result__).from_abi(result__) | |
1228 | } | |
1229 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1230 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1231 | pub unsafe fn CheckMultisampleQualityLevels(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32) -> ::windows::core::Result<u32> { | |
1232 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
1233 | (::windows::core::Interface::vtable(self).CheckMultisampleQualityLevels)(::windows::core::Interface::as_raw(self), format, samplecount, &mut result__).from_abi(result__) | |
1234 | } | |
1235 | pub unsafe fn CheckCounterInfo(&self) -> D3D11_COUNTER_INFO { | |
1236 | let mut result__ = ::windows::core::zeroed::<D3D11_COUNTER_INFO>(); | |
1237 | (::windows::core::Interface::vtable(self).CheckCounterInfo)(::windows::core::Interface::as_raw(self), &mut result__); | |
1238 | ::std::mem::transmute(result__) | |
1239 | } | |
1240 | pub unsafe fn CheckCounter(&self, pdesc: *const D3D11_COUNTER_DESC, ptype: *mut D3D11_COUNTER_TYPE, pactivecounters: *mut u32, szname: ::windows::core::PSTR, pnamelength: ::core::option::Option<*mut u32>, szunits: ::windows::core::PSTR, punitslength: ::core::option::Option<*mut u32>, szdescription: ::windows::core::PSTR, pdescriptionlength: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { | |
1241 | (::windows::core::Interface::vtable(self).CheckCounter)(::windows::core::Interface::as_raw(self), pdesc, ptype, pactivecounters, ::core::mem::transmute(szname), ::core::mem::transmute(pnamelength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szunits), ::core::mem::transmute(punitslength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szdescription), ::core::mem::transmute(pdescriptionlength.unwrap_or(::std::ptr::null_mut()))).ok() | |
1242 | } | |
1243 | pub unsafe fn CheckFeatureSupport(&self, feature: D3D11_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows::core::Result<()> { | |
1244 | (::windows::core::Interface::vtable(self).CheckFeatureSupport)(::windows::core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() | |
1245 | } | |
1246 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
1247 | (::windows::core::Interface::vtable(self).GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
1248 | } | |
1249 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
1250 | (::windows::core::Interface::vtable(self).SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
1251 | } | |
1252 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
1253 | where | |
1254 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
1255 | { | |
1256 | (::windows::core::Interface::vtable(self).SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
1257 | } | |
1258 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
1259 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
1260 | pub unsafe fn GetFeatureLevel(&self) -> super::Direct3D::D3D_FEATURE_LEVEL { | |
1261 | (::windows::core::Interface::vtable(self).GetFeatureLevel)(::windows::core::Interface::as_raw(self)) | |
1262 | } | |
1263 | pub unsafe fn GetCreationFlags(&self) -> u32 { | |
1264 | (::windows::core::Interface::vtable(self).GetCreationFlags)(::windows::core::Interface::as_raw(self)) | |
1265 | } | |
1266 | pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows::core::Result<()> { | |
1267 | (::windows::core::Interface::vtable(self).GetDeviceRemovedReason)(::windows::core::Interface::as_raw(self)).ok() | |
1268 | } | |
1269 | pub unsafe fn GetImmediateContext(&self) -> ::windows::core::Result<ID3D11DeviceContext> { | |
1270 | let mut result__ = ::windows::core::zeroed::<ID3D11DeviceContext>(); | |
1271 | (::windows::core::Interface::vtable(self).GetImmediateContext)(::windows::core::Interface::as_raw(self), &mut result__); | |
1272 | ::windows::core::from_abi(result__) | |
1273 | } | |
1274 | pub unsafe fn SetExceptionMode(&self, raiseflags: u32) -> ::windows::core::Result<()> { | |
1275 | (::windows::core::Interface::vtable(self).SetExceptionMode)(::windows::core::Interface::as_raw(self), raiseflags).ok() | |
1276 | } | |
1277 | pub unsafe fn GetExceptionMode(&self) -> u32 { | |
1278 | (::windows::core::Interface::vtable(self).GetExceptionMode)(::windows::core::Interface::as_raw(self)) | |
1279 | } | |
1280 | } | |
1281 | ::windows::imp::interface_hierarchy!(ID3D11Device, ::windows::core::IUnknown); | |
1282 | impl ::core::cmp::PartialEq for ID3D11Device { | |
1283 | fn eq(&self, other: &Self) -> bool { | |
1284 | self.0 == other.0 | |
1285 | } | |
1286 | } | |
1287 | impl ::core::cmp::Eq for ID3D11Device {} | |
1288 | impl ::core::fmt::Debug for ID3D11Device { | |
1289 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
1290 | f.debug_tuple("ID3D11Device").field(&self.0).finish() | |
1291 | } | |
1292 | } | |
1293 | unsafe impl ::core::marker::Send for ID3D11Device {} | |
1294 | unsafe impl ::core::marker::Sync for ID3D11Device {} | |
1295 | unsafe impl ::windows::core::Interface for ID3D11Device { | |
1296 | type Vtable = ID3D11Device_Vtbl; | |
1297 | } | |
1298 | impl ::core::clone::Clone for ID3D11Device { | |
1299 | fn clone(&self) -> Self { | |
1300 | Self(self.0.clone()) | |
1301 | } | |
1302 | } | |
1303 | unsafe impl ::windows::core::ComInterface for ID3D11Device { | |
1304 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xdb6f6ddb_ac77_4e88_8253_819df9bbf140); | |
1305 | } | |
1306 | #[repr(C)] | |
1307 | #[doc(hidden)] | |
1308 | pub struct ID3D11Device_Vtbl { | |
1309 | pub base__: ::windows::core::IUnknown_Vtbl, | |
1310 | pub CreateBuffer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1311 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1312 | pub CreateTexture1D: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *const D3D11_TEXTURE1D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA, pptexture1d: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1313 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
1314 | CreateTexture1D: usize, | |
1315 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1316 | pub CreateTexture2D: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *const D3D11_TEXTURE2D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA, pptexture2d: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1317 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
1318 | CreateTexture2D: usize, | |
1319 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1320 | pub CreateTexture3D: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *const D3D11_TEXTURE3D_DESC, pinitialdata: *const D3D11_SUBRESOURCE_DATA, pptexture3d: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1321 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
1322 | CreateTexture3D: usize, | |
1323 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
1324 | pub CreateShaderResourceView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presource: *mut ::core::ffi::c_void, pdesc: *const D3D11_SHADER_RESOURCE_VIEW_DESC, ppsrview: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1325 | #[cfg(not(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common")))] | |
1326 | CreateShaderResourceView: usize, | |
1327 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1328 | pub CreateUnorderedAccessView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presource: *mut ::core::ffi::c_void, pdesc: *const D3D11_UNORDERED_ACCESS_VIEW_DESC, ppuaview: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1329 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
1330 | CreateUnorderedAccessView: usize, | |
1331 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1332 | pub CreateRenderTargetView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presource: *mut ::core::ffi::c_void, pdesc: *const D3D11_RENDER_TARGET_VIEW_DESC, pprtview: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1333 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
1334 | CreateRenderTargetView: usize, | |
1335 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1336 | pub CreateDepthStencilView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presource: *mut ::core::ffi::c_void, pdesc: *const D3D11_DEPTH_STENCIL_VIEW_DESC, ppdepthstencilview: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1337 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
1338 | CreateDepthStencilView: usize, | |
1339 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1340 | pub CreateInputLayout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinputelementdescs: *const D3D11_INPUT_ELEMENT_DESC, numelements: u32, pshaderbytecodewithinputsignature: *const ::core::ffi::c_void, bytecodelength: usize, ppinputlayout: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1341 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
1342 | CreateInputLayout: usize, | |
1343 | pub CreateVertexShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, pclasslinkage: *mut ::core::ffi::c_void, ppvertexshader: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1344 | pub CreateGeometryShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, pclasslinkage: *mut ::core::ffi::c_void, ppgeometryshader: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1345 | pub CreateGeometryShaderWithStreamOutput: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, psodeclaration: *const D3D11_SO_DECLARATION_ENTRY, numentries: u32, pbufferstrides: *const u32, numstrides: u32, rasterizedstream: u32, pclasslinkage: *mut ::core::ffi::c_void, ppgeometryshader: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1346 | pub CreatePixelShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, pclasslinkage: *mut ::core::ffi::c_void, pppixelshader: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1347 | pub CreateHullShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, pclasslinkage: *mut ::core::ffi::c_void, pphullshader: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1348 | pub CreateDomainShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, pclasslinkage: *mut ::core::ffi::c_void, ppdomainshader: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1349 | pub CreateComputeShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pshaderbytecode: *const ::core::ffi::c_void, bytecodelength: usize, pclasslinkage: *mut ::core::ffi::c_void, ppcomputeshader: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1350 | pub CreateClassLinkage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pplinkage: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1351 | #[cfg(feature = "Win32_Foundation")] | |
1352 | pub CreateBlendState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pblendstatedesc: *const D3D11_BLEND_DESC, ppblendstate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1353 | #[cfg(not(feature = "Win32_Foundation"))] | |
1354 | CreateBlendState: usize, | |
1355 | #[cfg(feature = "Win32_Foundation")] | |
1356 | pub CreateDepthStencilState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdepthstencildesc: *const D3D11_DEPTH_STENCIL_DESC, ppdepthstencilstate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1357 | #[cfg(not(feature = "Win32_Foundation"))] | |
1358 | CreateDepthStencilState: usize, | |
1359 | #[cfg(feature = "Win32_Foundation")] | |
1360 | pub CreateRasterizerState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prasterizerdesc: *const D3D11_RASTERIZER_DESC, pprasterizerstate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1361 | #[cfg(not(feature = "Win32_Foundation"))] | |
1362 | CreateRasterizerState: usize, | |
1363 | pub CreateSamplerState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psamplerdesc: *const D3D11_SAMPLER_DESC, ppsamplerstate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1364 | pub CreateQuery: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pquerydesc: *const D3D11_QUERY_DESC, ppquery: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1365 | pub CreatePredicate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppredicatedesc: *const D3D11_QUERY_DESC, pppredicate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1366 | pub CreateCounter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcounterdesc: *const D3D11_COUNTER_DESC, ppcounter: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1367 | pub CreateDeferredContext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contextflags: u32, ppdeferredcontext: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1368 | #[cfg(feature = "Win32_Foundation")] | |
1369 | pub OpenSharedResource: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hresource: super::super::Foundation::HANDLE, returnedinterface: *const ::windows::core::GUID, ppresource: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1370 | #[cfg(not(feature = "Win32_Foundation"))] | |
1371 | OpenSharedResource: usize, | |
1372 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1373 | pub CheckFormatSupport: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, format: super::Dxgi::Common::DXGI_FORMAT, pformatsupport: *mut u32) -> ::windows::core::HRESULT, | |
1374 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
1375 | CheckFormatSupport: usize, | |
1376 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1377 | pub CheckMultisampleQualityLevels: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32, pnumqualitylevels: *mut u32) -> ::windows::core::HRESULT, | |
1378 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
1379 | CheckMultisampleQualityLevels: usize, | |
1380 | pub CheckCounterInfo: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcounterinfo: *mut D3D11_COUNTER_INFO), | |
1381 | pub CheckCounter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *const D3D11_COUNTER_DESC, ptype: *mut D3D11_COUNTER_TYPE, pactivecounters: *mut u32, szname: ::windows::core::PSTR, pnamelength: *mut u32, szunits: ::windows::core::PSTR, punitslength: *mut u32, szdescription: ::windows::core::PSTR, pdescriptionlength: *mut u32) -> ::windows::core::HRESULT, | |
1382 | pub CheckFeatureSupport: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, feature: D3D11_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows::core::HRESULT, | |
1383 | pub GetPrivateData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1384 | pub SetPrivateData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guid: *const ::windows::core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1385 | pub SetPrivateDataInterface: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guid: *const ::windows::core::GUID, pdata: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1386 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
1387 | pub GetFeatureLevel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> super::Direct3D::D3D_FEATURE_LEVEL, | |
1388 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
1389 | GetFeatureLevel: usize, | |
1390 | pub GetCreationFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, | |
1391 | pub GetDeviceRemovedReason: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1392 | pub GetImmediateContext: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppimmediatecontext: *mut *mut ::core::ffi::c_void), | |
1393 | pub SetExceptionMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, raiseflags: u32) -> ::windows::core::HRESULT, | |
1394 | pub GetExceptionMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, | |
1395 | } | |
1396 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
1397 | #[repr(transparent)] | |
1398 | pub struct ID3D11Device1(::windows::core::IUnknown); | |
1399 | impl ID3D11Device1 { | |
1400 | pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, ppbuffer: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>) -> ::windows::core::Result<()> { | |
1401 | (::windows::core::Interface::vtable(self).base__.CreateBuffer)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))).ok() | |
1402 | } | |
1403 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1404 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1405 | pub unsafe fn CreateTexture1D(&self, pdesc: *const D3D11_TEXTURE1D_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture1d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture1D>>) -> ::windows::core::Result<()> { | |
1406 | (::windows::core::Interface::vtable(self).base__.CreateTexture1D)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture1d.unwrap_or(::std::ptr::null_mut()))).ok() | |
1407 | } | |
1408 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1409 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1410 | pub unsafe fn CreateTexture2D(&self, pdesc: *const D3D11_TEXTURE2D_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture2d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture2D>>) -> ::windows::core::Result<()> { | |
1411 | (::windows::core::Interface::vtable(self).base__.CreateTexture2D)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture2d.unwrap_or(::std::ptr::null_mut()))).ok() | |
1412 | } | |
1413 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1414 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1415 | pub unsafe fn CreateTexture3D(&self, pdesc: *const D3D11_TEXTURE3D_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture3d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture3D>>) -> ::windows::core::Result<()> { | |
1416 | (::windows::core::Interface::vtable(self).base__.CreateTexture3D)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture3d.unwrap_or(::std::ptr::null_mut()))).ok() | |
1417 | } | |
1418 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1419 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
1420 | pub unsafe fn CreateShaderResourceView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_SHADER_RESOURCE_VIEW_DESC>, ppsrview: ::core::option::Option<*mut ::core::option::Option<ID3D11ShaderResourceView>>) -> ::windows::core::Result<()> | |
1421 | where | |
1422 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
1423 | { | |
1424 | (::windows::core::Interface::vtable(self).base__.CreateShaderResourceView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppsrview.unwrap_or(::std::ptr::null_mut()))).ok() | |
1425 | } | |
1426 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1427 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1428 | pub unsafe fn CreateUnorderedAccessView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_UNORDERED_ACCESS_VIEW_DESC>, ppuaview: ::core::option::Option<*mut ::core::option::Option<ID3D11UnorderedAccessView>>) -> ::windows::core::Result<()> | |
1429 | where | |
1430 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
1431 | { | |
1432 | (::windows::core::Interface::vtable(self).base__.CreateUnorderedAccessView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppuaview.unwrap_or(::std::ptr::null_mut()))).ok() | |
1433 | } | |
1434 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1435 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1436 | pub unsafe fn CreateRenderTargetView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_RENDER_TARGET_VIEW_DESC>, pprtview: ::core::option::Option<*mut ::core::option::Option<ID3D11RenderTargetView>>) -> ::windows::core::Result<()> | |
1437 | where | |
1438 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
1439 | { | |
1440 | (::windows::core::Interface::vtable(self).base__.CreateRenderTargetView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pprtview.unwrap_or(::std::ptr::null_mut()))).ok() | |
1441 | } | |
1442 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1443 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1444 | pub unsafe fn CreateDepthStencilView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_DEPTH_STENCIL_VIEW_DESC>, ppdepthstencilview: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilView>>) -> ::windows::core::Result<()> | |
1445 | where | |
1446 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
1447 | { | |
1448 | (::windows::core::Interface::vtable(self).base__.CreateDepthStencilView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppdepthstencilview.unwrap_or(::std::ptr::null_mut()))).ok() | |
1449 | } | |
1450 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1451 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1452 | pub unsafe fn CreateInputLayout(&self, pinputelementdescs: &[D3D11_INPUT_ELEMENT_DESC], pshaderbytecodewithinputsignature: &[u8], ppinputlayout: ::core::option::Option<*mut ::core::option::Option<ID3D11InputLayout>>) -> ::windows::core::Result<()> { | |
1453 | (::windows::core::Interface::vtable(self).base__.CreateInputLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pinputelementdescs.as_ptr()), pinputelementdescs.len() as _, ::core::mem::transmute(pshaderbytecodewithinputsignature.as_ptr()), pshaderbytecodewithinputsignature.len() as _, ::core::mem::transmute(ppinputlayout.unwrap_or(::std::ptr::null_mut()))).ok() | |
1454 | } | |
1455 | pub unsafe fn CreateVertexShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppvertexshader: ::core::option::Option<*mut ::core::option::Option<ID3D11VertexShader>>) -> ::windows::core::Result<()> | |
1456 | where | |
1457 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1458 | { | |
1459 | (::windows::core::Interface::vtable(self).base__.CreateVertexShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppvertexshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
1460 | } | |
1461 | pub unsafe fn CreateGeometryShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppgeometryshader: ::core::option::Option<*mut ::core::option::Option<ID3D11GeometryShader>>) -> ::windows::core::Result<()> | |
1462 | where | |
1463 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1464 | { | |
1465 | (::windows::core::Interface::vtable(self).base__.CreateGeometryShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppgeometryshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
1466 | } | |
1467 | pub unsafe fn CreateGeometryShaderWithStreamOutput<P0>(&self, pshaderbytecode: &[u8], psodeclaration: ::core::option::Option<&[D3D11_SO_DECLARATION_ENTRY]>, pbufferstrides: ::core::option::Option<&[u32]>, rasterizedstream: u32, pclasslinkage: P0, ppgeometryshader: ::core::option::Option<*mut ::core::option::Option<ID3D11GeometryShader>>) -> ::windows::core::Result<()> | |
1468 | where | |
1469 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1470 | { | |
1471 | (::windows::core::Interface::vtable(self).base__.CreateGeometryShaderWithStreamOutput)( | |
1472 | ::windows::core::Interface::as_raw(self), | |
1473 | ::core::mem::transmute(pshaderbytecode.as_ptr()), | |
1474 | pshaderbytecode.len() as _, | |
1475 | ::core::mem::transmute(psodeclaration.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
1476 | psodeclaration.as_deref().map_or(0, |slice| slice.len() as _), | |
1477 | ::core::mem::transmute(pbufferstrides.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
1478 | pbufferstrides.as_deref().map_or(0, |slice| slice.len() as _), | |
1479 | rasterizedstream, | |
1480 | pclasslinkage.into_param().abi(), | |
1481 | ::core::mem::transmute(ppgeometryshader.unwrap_or(::std::ptr::null_mut())), | |
1482 | ) | |
1483 | .ok() | |
1484 | } | |
1485 | pub unsafe fn CreatePixelShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, pppixelshader: ::core::option::Option<*mut ::core::option::Option<ID3D11PixelShader>>) -> ::windows::core::Result<()> | |
1486 | where | |
1487 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1488 | { | |
1489 | (::windows::core::Interface::vtable(self).base__.CreatePixelShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(pppixelshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
1490 | } | |
1491 | pub unsafe fn CreateHullShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, pphullshader: ::core::option::Option<*mut ::core::option::Option<ID3D11HullShader>>) -> ::windows::core::Result<()> | |
1492 | where | |
1493 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1494 | { | |
1495 | (::windows::core::Interface::vtable(self).base__.CreateHullShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(pphullshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
1496 | } | |
1497 | pub unsafe fn CreateDomainShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppdomainshader: ::core::option::Option<*mut ::core::option::Option<ID3D11DomainShader>>) -> ::windows::core::Result<()> | |
1498 | where | |
1499 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1500 | { | |
1501 | (::windows::core::Interface::vtable(self).base__.CreateDomainShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppdomainshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
1502 | } | |
1503 | pub unsafe fn CreateComputeShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppcomputeshader: ::core::option::Option<*mut ::core::option::Option<ID3D11ComputeShader>>) -> ::windows::core::Result<()> | |
1504 | where | |
1505 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1506 | { | |
1507 | (::windows::core::Interface::vtable(self).base__.CreateComputeShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppcomputeshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
1508 | } | |
1509 | pub unsafe fn CreateClassLinkage(&self) -> ::windows::core::Result<ID3D11ClassLinkage> { | |
1510 | let mut result__ = ::windows::core::zeroed::<ID3D11ClassLinkage>(); | |
1511 | (::windows::core::Interface::vtable(self).base__.CreateClassLinkage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1512 | } | |
1513 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1514 | #[cfg(feature = "Win32_Foundation")] | |
1515 | pub unsafe fn CreateBlendState(&self, pblendstatedesc: *const D3D11_BLEND_DESC, ppblendstate: ::core::option::Option<*mut ::core::option::Option<ID3D11BlendState>>) -> ::windows::core::Result<()> { | |
1516 | (::windows::core::Interface::vtable(self).base__.CreateBlendState)(::windows::core::Interface::as_raw(self), pblendstatedesc, ::core::mem::transmute(ppblendstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1517 | } | |
1518 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1519 | #[cfg(feature = "Win32_Foundation")] | |
1520 | pub unsafe fn CreateDepthStencilState(&self, pdepthstencildesc: *const D3D11_DEPTH_STENCIL_DESC, ppdepthstencilstate: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilState>>) -> ::windows::core::Result<()> { | |
1521 | (::windows::core::Interface::vtable(self).base__.CreateDepthStencilState)(::windows::core::Interface::as_raw(self), pdepthstencildesc, ::core::mem::transmute(ppdepthstencilstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1522 | } | |
1523 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1524 | #[cfg(feature = "Win32_Foundation")] | |
1525 | pub unsafe fn CreateRasterizerState(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC, pprasterizerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11RasterizerState>>) -> ::windows::core::Result<()> { | |
1526 | (::windows::core::Interface::vtable(self).base__.CreateRasterizerState)(::windows::core::Interface::as_raw(self), prasterizerdesc, ::core::mem::transmute(pprasterizerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1527 | } | |
1528 | pub unsafe fn CreateSamplerState(&self, psamplerdesc: *const D3D11_SAMPLER_DESC, ppsamplerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11SamplerState>>) -> ::windows::core::Result<()> { | |
1529 | (::windows::core::Interface::vtable(self).base__.CreateSamplerState)(::windows::core::Interface::as_raw(self), psamplerdesc, ::core::mem::transmute(ppsamplerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1530 | } | |
1531 | pub unsafe fn CreateQuery(&self, pquerydesc: *const D3D11_QUERY_DESC, ppquery: ::core::option::Option<*mut ::core::option::Option<ID3D11Query>>) -> ::windows::core::Result<()> { | |
1532 | (::windows::core::Interface::vtable(self).base__.CreateQuery)(::windows::core::Interface::as_raw(self), pquerydesc, ::core::mem::transmute(ppquery.unwrap_or(::std::ptr::null_mut()))).ok() | |
1533 | } | |
1534 | pub unsafe fn CreatePredicate(&self, ppredicatedesc: *const D3D11_QUERY_DESC, pppredicate: ::core::option::Option<*mut ::core::option::Option<ID3D11Predicate>>) -> ::windows::core::Result<()> { | |
1535 | (::windows::core::Interface::vtable(self).base__.CreatePredicate)(::windows::core::Interface::as_raw(self), ppredicatedesc, ::core::mem::transmute(pppredicate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1536 | } | |
1537 | pub unsafe fn CreateCounter(&self, pcounterdesc: *const D3D11_COUNTER_DESC, ppcounter: ::core::option::Option<*mut ::core::option::Option<ID3D11Counter>>) -> ::windows::core::Result<()> { | |
1538 | (::windows::core::Interface::vtable(self).base__.CreateCounter)(::windows::core::Interface::as_raw(self), pcounterdesc, ::core::mem::transmute(ppcounter.unwrap_or(::std::ptr::null_mut()))).ok() | |
1539 | } | |
1540 | pub unsafe fn CreateDeferredContext(&self, contextflags: u32, ppdeferredcontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext>>) -> ::windows::core::Result<()> { | |
1541 | (::windows::core::Interface::vtable(self).base__.CreateDeferredContext)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(ppdeferredcontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
1542 | } | |
1543 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1544 | #[cfg(feature = "Win32_Foundation")] | |
1545 | pub unsafe fn OpenSharedResource<P0, T>(&self, hresource: P0, result__: *mut ::core::option::Option<T>) -> ::windows::core::Result<()> | |
1546 | where | |
1547 | P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, | |
1548 | T: ::windows::core::ComInterface, | |
1549 | { | |
1550 | (::windows::core::Interface::vtable(self).base__.OpenSharedResource)(::windows::core::Interface::as_raw(self), hresource.into_param().abi(), &<T as ::windows::core::ComInterface>::IID, result__ as *mut _ as *mut _).ok() | |
1551 | } | |
1552 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1553 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1554 | pub unsafe fn CheckFormatSupport(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result<u32> { | |
1555 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
1556 | (::windows::core::Interface::vtable(self).base__.CheckFormatSupport)(::windows::core::Interface::as_raw(self), format, &mut result__).from_abi(result__) | |
1557 | } | |
1558 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1559 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1560 | pub unsafe fn CheckMultisampleQualityLevels(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32) -> ::windows::core::Result<u32> { | |
1561 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
1562 | (::windows::core::Interface::vtable(self).base__.CheckMultisampleQualityLevels)(::windows::core::Interface::as_raw(self), format, samplecount, &mut result__).from_abi(result__) | |
1563 | } | |
1564 | pub unsafe fn CheckCounterInfo(&self) -> D3D11_COUNTER_INFO { | |
1565 | let mut result__ = ::windows::core::zeroed::<D3D11_COUNTER_INFO>(); | |
1566 | (::windows::core::Interface::vtable(self).base__.CheckCounterInfo)(::windows::core::Interface::as_raw(self), &mut result__); | |
1567 | ::std::mem::transmute(result__) | |
1568 | } | |
1569 | pub unsafe fn CheckCounter(&self, pdesc: *const D3D11_COUNTER_DESC, ptype: *mut D3D11_COUNTER_TYPE, pactivecounters: *mut u32, szname: ::windows::core::PSTR, pnamelength: ::core::option::Option<*mut u32>, szunits: ::windows::core::PSTR, punitslength: ::core::option::Option<*mut u32>, szdescription: ::windows::core::PSTR, pdescriptionlength: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { | |
1570 | (::windows::core::Interface::vtable(self).base__.CheckCounter)(::windows::core::Interface::as_raw(self), pdesc, ptype, pactivecounters, ::core::mem::transmute(szname), ::core::mem::transmute(pnamelength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szunits), ::core::mem::transmute(punitslength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szdescription), ::core::mem::transmute(pdescriptionlength.unwrap_or(::std::ptr::null_mut()))).ok() | |
1571 | } | |
1572 | pub unsafe fn CheckFeatureSupport(&self, feature: D3D11_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows::core::Result<()> { | |
1573 | (::windows::core::Interface::vtable(self).base__.CheckFeatureSupport)(::windows::core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() | |
1574 | } | |
1575 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
1576 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
1577 | } | |
1578 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
1579 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
1580 | } | |
1581 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
1582 | where | |
1583 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
1584 | { | |
1585 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
1586 | } | |
1587 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
1588 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
1589 | pub unsafe fn GetFeatureLevel(&self) -> super::Direct3D::D3D_FEATURE_LEVEL { | |
1590 | (::windows::core::Interface::vtable(self).base__.GetFeatureLevel)(::windows::core::Interface::as_raw(self)) | |
1591 | } | |
1592 | pub unsafe fn GetCreationFlags(&self) -> u32 { | |
1593 | (::windows::core::Interface::vtable(self).base__.GetCreationFlags)(::windows::core::Interface::as_raw(self)) | |
1594 | } | |
1595 | pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows::core::Result<()> { | |
1596 | (::windows::core::Interface::vtable(self).base__.GetDeviceRemovedReason)(::windows::core::Interface::as_raw(self)).ok() | |
1597 | } | |
1598 | pub unsafe fn GetImmediateContext(&self) -> ::windows::core::Result<ID3D11DeviceContext> { | |
1599 | let mut result__ = ::windows::core::zeroed::<ID3D11DeviceContext>(); | |
1600 | (::windows::core::Interface::vtable(self).base__.GetImmediateContext)(::windows::core::Interface::as_raw(self), &mut result__); | |
1601 | ::windows::core::from_abi(result__) | |
1602 | } | |
1603 | pub unsafe fn SetExceptionMode(&self, raiseflags: u32) -> ::windows::core::Result<()> { | |
1604 | (::windows::core::Interface::vtable(self).base__.SetExceptionMode)(::windows::core::Interface::as_raw(self), raiseflags).ok() | |
1605 | } | |
1606 | pub unsafe fn GetExceptionMode(&self) -> u32 { | |
1607 | (::windows::core::Interface::vtable(self).base__.GetExceptionMode)(::windows::core::Interface::as_raw(self)) | |
1608 | } | |
1609 | pub unsafe fn GetImmediateContext1(&self) -> ::windows::core::Result<ID3D11DeviceContext1> { | |
1610 | let mut result__ = ::windows::core::zeroed::<ID3D11DeviceContext1>(); | |
1611 | (::windows::core::Interface::vtable(self).GetImmediateContext1)(::windows::core::Interface::as_raw(self), &mut result__); | |
1612 | ::windows::core::from_abi(result__) | |
1613 | } | |
1614 | pub unsafe fn CreateDeferredContext1(&self, contextflags: u32, ppdeferredcontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext1>>) -> ::windows::core::Result<()> { | |
1615 | (::windows::core::Interface::vtable(self).CreateDeferredContext1)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(ppdeferredcontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
1616 | } | |
1617 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1618 | #[cfg(feature = "Win32_Foundation")] | |
1619 | pub unsafe fn CreateBlendState1(&self, pblendstatedesc: *const D3D11_BLEND_DESC1, ppblendstate: ::core::option::Option<*mut ::core::option::Option<ID3D11BlendState1>>) -> ::windows::core::Result<()> { | |
1620 | (::windows::core::Interface::vtable(self).CreateBlendState1)(::windows::core::Interface::as_raw(self), pblendstatedesc, ::core::mem::transmute(ppblendstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1621 | } | |
1622 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1623 | #[cfg(feature = "Win32_Foundation")] | |
1624 | pub unsafe fn CreateRasterizerState1(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC1, pprasterizerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11RasterizerState1>>) -> ::windows::core::Result<()> { | |
1625 | (::windows::core::Interface::vtable(self).CreateRasterizerState1)(::windows::core::Interface::as_raw(self), prasterizerdesc, ::core::mem::transmute(pprasterizerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1626 | } | |
1627 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
1628 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
1629 | pub unsafe fn CreateDeviceContextState(&self, flags: u32, pfeaturelevels: &[super::Direct3D::D3D_FEATURE_LEVEL], sdkversion: u32, emulatedinterface: *const ::windows::core::GUID, pchosenfeaturelevel: ::core::option::Option<*mut super::Direct3D::D3D_FEATURE_LEVEL>, ppcontextstate: ::core::option::Option<*mut ::core::option::Option<ID3DDeviceContextState>>) -> ::windows::core::Result<()> { | |
1630 | (::windows::core::Interface::vtable(self).CreateDeviceContextState)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(pfeaturelevels.as_ptr()), pfeaturelevels.len() as _, sdkversion, emulatedinterface, ::core::mem::transmute(pchosenfeaturelevel.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppcontextstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1631 | } | |
1632 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1633 | #[cfg(feature = "Win32_Foundation")] | |
1634 | pub unsafe fn OpenSharedResource1<P0, T>(&self, hresource: P0) -> ::windows::core::Result<T> | |
1635 | where | |
1636 | P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, | |
1637 | T: ::windows::core::ComInterface, | |
1638 | { | |
1639 | let mut result__ = ::std::ptr::null_mut(); | |
1640 | (::windows::core::Interface::vtable(self).OpenSharedResource1)(::windows::core::Interface::as_raw(self), hresource.into_param().abi(), &<T as ::windows::core::ComInterface>::IID, &mut result__).from_abi(result__) | |
1641 | } | |
1642 | pub unsafe fn OpenSharedResourceByName<P0, T>(&self, lpname: P0, dwdesiredaccess: u32) -> ::windows::core::Result<T> | |
1643 | where | |
1644 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
1645 | T: ::windows::core::ComInterface, | |
1646 | { | |
1647 | let mut result__ = ::std::ptr::null_mut(); | |
1648 | (::windows::core::Interface::vtable(self).OpenSharedResourceByName)(::windows::core::Interface::as_raw(self), lpname.into_param().abi(), dwdesiredaccess, &<T as ::windows::core::ComInterface>::IID, &mut result__).from_abi(result__) | |
1649 | } | |
1650 | } | |
1651 | ::windows::imp::interface_hierarchy!(ID3D11Device1, ::windows::core::IUnknown, ID3D11Device); | |
1652 | impl ::core::cmp::PartialEq for ID3D11Device1 { | |
1653 | fn eq(&self, other: &Self) -> bool { | |
1654 | self.0 == other.0 | |
1655 | } | |
1656 | } | |
1657 | impl ::core::cmp::Eq for ID3D11Device1 {} | |
1658 | impl ::core::fmt::Debug for ID3D11Device1 { | |
1659 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
1660 | f.debug_tuple("ID3D11Device1").field(&self.0).finish() | |
1661 | } | |
1662 | } | |
1663 | unsafe impl ::core::marker::Send for ID3D11Device1 {} | |
1664 | unsafe impl ::core::marker::Sync for ID3D11Device1 {} | |
1665 | unsafe impl ::windows::core::Interface for ID3D11Device1 { | |
1666 | type Vtable = ID3D11Device1_Vtbl; | |
1667 | } | |
1668 | impl ::core::clone::Clone for ID3D11Device1 { | |
1669 | fn clone(&self) -> Self { | |
1670 | Self(self.0.clone()) | |
1671 | } | |
1672 | } | |
1673 | unsafe impl ::windows::core::ComInterface for ID3D11Device1 { | |
1674 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa04bfb29_08ef_43d6_a49c_a9bdbdcbe686); | |
1675 | } | |
1676 | #[repr(C)] | |
1677 | #[doc(hidden)] | |
1678 | pub struct ID3D11Device1_Vtbl { | |
1679 | pub base__: ID3D11Device_Vtbl, | |
1680 | pub GetImmediateContext1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppimmediatecontext: *mut *mut ::core::ffi::c_void), | |
1681 | pub CreateDeferredContext1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contextflags: u32, ppdeferredcontext: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1682 | #[cfg(feature = "Win32_Foundation")] | |
1683 | pub CreateBlendState1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pblendstatedesc: *const D3D11_BLEND_DESC1, ppblendstate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1684 | #[cfg(not(feature = "Win32_Foundation"))] | |
1685 | CreateBlendState1: usize, | |
1686 | #[cfg(feature = "Win32_Foundation")] | |
1687 | pub CreateRasterizerState1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prasterizerdesc: *const D3D11_RASTERIZER_DESC1, pprasterizerstate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1688 | #[cfg(not(feature = "Win32_Foundation"))] | |
1689 | CreateRasterizerState1: usize, | |
1690 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
1691 | pub CreateDeviceContextState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, flags: u32, pfeaturelevels: *const super::Direct3D::D3D_FEATURE_LEVEL, featurelevels: u32, sdkversion: u32, emulatedinterface: *const ::windows::core::GUID, pchosenfeaturelevel: *mut super::Direct3D::D3D_FEATURE_LEVEL, ppcontextstate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1692 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
1693 | CreateDeviceContextState: usize, | |
1694 | #[cfg(feature = "Win32_Foundation")] | |
1695 | pub OpenSharedResource1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hresource: super::super::Foundation::HANDLE, returnedinterface: *const ::windows::core::GUID, ppresource: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1696 | #[cfg(not(feature = "Win32_Foundation"))] | |
1697 | OpenSharedResource1: usize, | |
1698 | pub OpenSharedResourceByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, lpname: ::windows::core::PCWSTR, dwdesiredaccess: u32, returnedinterface: *const ::windows::core::GUID, ppresource: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
1699 | } | |
1700 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
1701 | #[repr(transparent)] | |
1702 | pub struct ID3D11Device2(::windows::core::IUnknown); | |
1703 | impl ID3D11Device2 { | |
1704 | pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, ppbuffer: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>) -> ::windows::core::Result<()> { | |
1705 | (::windows::core::Interface::vtable(self).base__.base__.CreateBuffer)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))).ok() | |
1706 | } | |
1707 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1708 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1709 | pub unsafe fn CreateTexture1D(&self, pdesc: *const D3D11_TEXTURE1D_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture1d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture1D>>) -> ::windows::core::Result<()> { | |
1710 | (::windows::core::Interface::vtable(self).base__.base__.CreateTexture1D)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture1d.unwrap_or(::std::ptr::null_mut()))).ok() | |
1711 | } | |
1712 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1713 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1714 | pub unsafe fn CreateTexture2D(&self, pdesc: *const D3D11_TEXTURE2D_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture2d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture2D>>) -> ::windows::core::Result<()> { | |
1715 | (::windows::core::Interface::vtable(self).base__.base__.CreateTexture2D)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture2d.unwrap_or(::std::ptr::null_mut()))).ok() | |
1716 | } | |
1717 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1718 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1719 | pub unsafe fn CreateTexture3D(&self, pdesc: *const D3D11_TEXTURE3D_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture3d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture3D>>) -> ::windows::core::Result<()> { | |
1720 | (::windows::core::Interface::vtable(self).base__.base__.CreateTexture3D)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture3d.unwrap_or(::std::ptr::null_mut()))).ok() | |
1721 | } | |
1722 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1723 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
1724 | pub unsafe fn CreateShaderResourceView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_SHADER_RESOURCE_VIEW_DESC>, ppsrview: ::core::option::Option<*mut ::core::option::Option<ID3D11ShaderResourceView>>) -> ::windows::core::Result<()> | |
1725 | where | |
1726 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
1727 | { | |
1728 | (::windows::core::Interface::vtable(self).base__.base__.CreateShaderResourceView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppsrview.unwrap_or(::std::ptr::null_mut()))).ok() | |
1729 | } | |
1730 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1731 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1732 | pub unsafe fn CreateUnorderedAccessView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_UNORDERED_ACCESS_VIEW_DESC>, ppuaview: ::core::option::Option<*mut ::core::option::Option<ID3D11UnorderedAccessView>>) -> ::windows::core::Result<()> | |
1733 | where | |
1734 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
1735 | { | |
1736 | (::windows::core::Interface::vtable(self).base__.base__.CreateUnorderedAccessView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppuaview.unwrap_or(::std::ptr::null_mut()))).ok() | |
1737 | } | |
1738 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1739 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1740 | pub unsafe fn CreateRenderTargetView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_RENDER_TARGET_VIEW_DESC>, pprtview: ::core::option::Option<*mut ::core::option::Option<ID3D11RenderTargetView>>) -> ::windows::core::Result<()> | |
1741 | where | |
1742 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
1743 | { | |
1744 | (::windows::core::Interface::vtable(self).base__.base__.CreateRenderTargetView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pprtview.unwrap_or(::std::ptr::null_mut()))).ok() | |
1745 | } | |
1746 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1747 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1748 | pub unsafe fn CreateDepthStencilView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_DEPTH_STENCIL_VIEW_DESC>, ppdepthstencilview: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilView>>) -> ::windows::core::Result<()> | |
1749 | where | |
1750 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
1751 | { | |
1752 | (::windows::core::Interface::vtable(self).base__.base__.CreateDepthStencilView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppdepthstencilview.unwrap_or(::std::ptr::null_mut()))).ok() | |
1753 | } | |
1754 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1755 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1756 | pub unsafe fn CreateInputLayout(&self, pinputelementdescs: &[D3D11_INPUT_ELEMENT_DESC], pshaderbytecodewithinputsignature: &[u8], ppinputlayout: ::core::option::Option<*mut ::core::option::Option<ID3D11InputLayout>>) -> ::windows::core::Result<()> { | |
1757 | (::windows::core::Interface::vtable(self).base__.base__.CreateInputLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pinputelementdescs.as_ptr()), pinputelementdescs.len() as _, ::core::mem::transmute(pshaderbytecodewithinputsignature.as_ptr()), pshaderbytecodewithinputsignature.len() as _, ::core::mem::transmute(ppinputlayout.unwrap_or(::std::ptr::null_mut()))).ok() | |
1758 | } | |
1759 | pub unsafe fn CreateVertexShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppvertexshader: ::core::option::Option<*mut ::core::option::Option<ID3D11VertexShader>>) -> ::windows::core::Result<()> | |
1760 | where | |
1761 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1762 | { | |
1763 | (::windows::core::Interface::vtable(self).base__.base__.CreateVertexShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppvertexshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
1764 | } | |
1765 | pub unsafe fn CreateGeometryShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppgeometryshader: ::core::option::Option<*mut ::core::option::Option<ID3D11GeometryShader>>) -> ::windows::core::Result<()> | |
1766 | where | |
1767 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1768 | { | |
1769 | (::windows::core::Interface::vtable(self).base__.base__.CreateGeometryShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppgeometryshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
1770 | } | |
1771 | pub unsafe fn CreateGeometryShaderWithStreamOutput<P0>(&self, pshaderbytecode: &[u8], psodeclaration: ::core::option::Option<&[D3D11_SO_DECLARATION_ENTRY]>, pbufferstrides: ::core::option::Option<&[u32]>, rasterizedstream: u32, pclasslinkage: P0, ppgeometryshader: ::core::option::Option<*mut ::core::option::Option<ID3D11GeometryShader>>) -> ::windows::core::Result<()> | |
1772 | where | |
1773 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1774 | { | |
1775 | (::windows::core::Interface::vtable(self).base__.base__.CreateGeometryShaderWithStreamOutput)( | |
1776 | ::windows::core::Interface::as_raw(self), | |
1777 | ::core::mem::transmute(pshaderbytecode.as_ptr()), | |
1778 | pshaderbytecode.len() as _, | |
1779 | ::core::mem::transmute(psodeclaration.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
1780 | psodeclaration.as_deref().map_or(0, |slice| slice.len() as _), | |
1781 | ::core::mem::transmute(pbufferstrides.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
1782 | pbufferstrides.as_deref().map_or(0, |slice| slice.len() as _), | |
1783 | rasterizedstream, | |
1784 | pclasslinkage.into_param().abi(), | |
1785 | ::core::mem::transmute(ppgeometryshader.unwrap_or(::std::ptr::null_mut())), | |
1786 | ) | |
1787 | .ok() | |
1788 | } | |
1789 | pub unsafe fn CreatePixelShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, pppixelshader: ::core::option::Option<*mut ::core::option::Option<ID3D11PixelShader>>) -> ::windows::core::Result<()> | |
1790 | where | |
1791 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1792 | { | |
1793 | (::windows::core::Interface::vtable(self).base__.base__.CreatePixelShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(pppixelshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
1794 | } | |
1795 | pub unsafe fn CreateHullShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, pphullshader: ::core::option::Option<*mut ::core::option::Option<ID3D11HullShader>>) -> ::windows::core::Result<()> | |
1796 | where | |
1797 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1798 | { | |
1799 | (::windows::core::Interface::vtable(self).base__.base__.CreateHullShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(pphullshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
1800 | } | |
1801 | pub unsafe fn CreateDomainShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppdomainshader: ::core::option::Option<*mut ::core::option::Option<ID3D11DomainShader>>) -> ::windows::core::Result<()> | |
1802 | where | |
1803 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1804 | { | |
1805 | (::windows::core::Interface::vtable(self).base__.base__.CreateDomainShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppdomainshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
1806 | } | |
1807 | pub unsafe fn CreateComputeShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppcomputeshader: ::core::option::Option<*mut ::core::option::Option<ID3D11ComputeShader>>) -> ::windows::core::Result<()> | |
1808 | where | |
1809 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
1810 | { | |
1811 | (::windows::core::Interface::vtable(self).base__.base__.CreateComputeShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppcomputeshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
1812 | } | |
1813 | pub unsafe fn CreateClassLinkage(&self) -> ::windows::core::Result<ID3D11ClassLinkage> { | |
1814 | let mut result__ = ::windows::core::zeroed::<ID3D11ClassLinkage>(); | |
1815 | (::windows::core::Interface::vtable(self).base__.base__.CreateClassLinkage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
1816 | } | |
1817 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1818 | #[cfg(feature = "Win32_Foundation")] | |
1819 | pub unsafe fn CreateBlendState(&self, pblendstatedesc: *const D3D11_BLEND_DESC, ppblendstate: ::core::option::Option<*mut ::core::option::Option<ID3D11BlendState>>) -> ::windows::core::Result<()> { | |
1820 | (::windows::core::Interface::vtable(self).base__.base__.CreateBlendState)(::windows::core::Interface::as_raw(self), pblendstatedesc, ::core::mem::transmute(ppblendstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1821 | } | |
1822 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1823 | #[cfg(feature = "Win32_Foundation")] | |
1824 | pub unsafe fn CreateDepthStencilState(&self, pdepthstencildesc: *const D3D11_DEPTH_STENCIL_DESC, ppdepthstencilstate: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilState>>) -> ::windows::core::Result<()> { | |
1825 | (::windows::core::Interface::vtable(self).base__.base__.CreateDepthStencilState)(::windows::core::Interface::as_raw(self), pdepthstencildesc, ::core::mem::transmute(ppdepthstencilstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1826 | } | |
1827 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1828 | #[cfg(feature = "Win32_Foundation")] | |
1829 | pub unsafe fn CreateRasterizerState(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC, pprasterizerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11RasterizerState>>) -> ::windows::core::Result<()> { | |
1830 | (::windows::core::Interface::vtable(self).base__.base__.CreateRasterizerState)(::windows::core::Interface::as_raw(self), prasterizerdesc, ::core::mem::transmute(pprasterizerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1831 | } | |
1832 | pub unsafe fn CreateSamplerState(&self, psamplerdesc: *const D3D11_SAMPLER_DESC, ppsamplerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11SamplerState>>) -> ::windows::core::Result<()> { | |
1833 | (::windows::core::Interface::vtable(self).base__.base__.CreateSamplerState)(::windows::core::Interface::as_raw(self), psamplerdesc, ::core::mem::transmute(ppsamplerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1834 | } | |
1835 | pub unsafe fn CreateQuery(&self, pquerydesc: *const D3D11_QUERY_DESC, ppquery: ::core::option::Option<*mut ::core::option::Option<ID3D11Query>>) -> ::windows::core::Result<()> { | |
1836 | (::windows::core::Interface::vtable(self).base__.base__.CreateQuery)(::windows::core::Interface::as_raw(self), pquerydesc, ::core::mem::transmute(ppquery.unwrap_or(::std::ptr::null_mut()))).ok() | |
1837 | } | |
1838 | pub unsafe fn CreatePredicate(&self, ppredicatedesc: *const D3D11_QUERY_DESC, pppredicate: ::core::option::Option<*mut ::core::option::Option<ID3D11Predicate>>) -> ::windows::core::Result<()> { | |
1839 | (::windows::core::Interface::vtable(self).base__.base__.CreatePredicate)(::windows::core::Interface::as_raw(self), ppredicatedesc, ::core::mem::transmute(pppredicate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1840 | } | |
1841 | pub unsafe fn CreateCounter(&self, pcounterdesc: *const D3D11_COUNTER_DESC, ppcounter: ::core::option::Option<*mut ::core::option::Option<ID3D11Counter>>) -> ::windows::core::Result<()> { | |
1842 | (::windows::core::Interface::vtable(self).base__.base__.CreateCounter)(::windows::core::Interface::as_raw(self), pcounterdesc, ::core::mem::transmute(ppcounter.unwrap_or(::std::ptr::null_mut()))).ok() | |
1843 | } | |
1844 | pub unsafe fn CreateDeferredContext(&self, contextflags: u32, ppdeferredcontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext>>) -> ::windows::core::Result<()> { | |
1845 | (::windows::core::Interface::vtable(self).base__.base__.CreateDeferredContext)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(ppdeferredcontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
1846 | } | |
1847 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1848 | #[cfg(feature = "Win32_Foundation")] | |
1849 | pub unsafe fn OpenSharedResource<P0, T>(&self, hresource: P0, result__: *mut ::core::option::Option<T>) -> ::windows::core::Result<()> | |
1850 | where | |
1851 | P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, | |
1852 | T: ::windows::core::ComInterface, | |
1853 | { | |
1854 | (::windows::core::Interface::vtable(self).base__.base__.OpenSharedResource)(::windows::core::Interface::as_raw(self), hresource.into_param().abi(), &<T as ::windows::core::ComInterface>::IID, result__ as *mut _ as *mut _).ok() | |
1855 | } | |
1856 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1857 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1858 | pub unsafe fn CheckFormatSupport(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result<u32> { | |
1859 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
1860 | (::windows::core::Interface::vtable(self).base__.base__.CheckFormatSupport)(::windows::core::Interface::as_raw(self), format, &mut result__).from_abi(result__) | |
1861 | } | |
1862 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1863 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1864 | pub unsafe fn CheckMultisampleQualityLevels(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32) -> ::windows::core::Result<u32> { | |
1865 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
1866 | (::windows::core::Interface::vtable(self).base__.base__.CheckMultisampleQualityLevels)(::windows::core::Interface::as_raw(self), format, samplecount, &mut result__).from_abi(result__) | |
1867 | } | |
1868 | pub unsafe fn CheckCounterInfo(&self) -> D3D11_COUNTER_INFO { | |
1869 | let mut result__ = ::windows::core::zeroed::<D3D11_COUNTER_INFO>(); | |
1870 | (::windows::core::Interface::vtable(self).base__.base__.CheckCounterInfo)(::windows::core::Interface::as_raw(self), &mut result__); | |
1871 | ::std::mem::transmute(result__) | |
1872 | } | |
1873 | pub unsafe fn CheckCounter(&self, pdesc: *const D3D11_COUNTER_DESC, ptype: *mut D3D11_COUNTER_TYPE, pactivecounters: *mut u32, szname: ::windows::core::PSTR, pnamelength: ::core::option::Option<*mut u32>, szunits: ::windows::core::PSTR, punitslength: ::core::option::Option<*mut u32>, szdescription: ::windows::core::PSTR, pdescriptionlength: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { | |
1874 | (::windows::core::Interface::vtable(self).base__.base__.CheckCounter)(::windows::core::Interface::as_raw(self), pdesc, ptype, pactivecounters, ::core::mem::transmute(szname), ::core::mem::transmute(pnamelength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szunits), ::core::mem::transmute(punitslength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szdescription), ::core::mem::transmute(pdescriptionlength.unwrap_or(::std::ptr::null_mut()))).ok() | |
1875 | } | |
1876 | pub unsafe fn CheckFeatureSupport(&self, feature: D3D11_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows::core::Result<()> { | |
1877 | (::windows::core::Interface::vtable(self).base__.base__.CheckFeatureSupport)(::windows::core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() | |
1878 | } | |
1879 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
1880 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
1881 | } | |
1882 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
1883 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
1884 | } | |
1885 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
1886 | where | |
1887 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
1888 | { | |
1889 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
1890 | } | |
1891 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
1892 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
1893 | pub unsafe fn GetFeatureLevel(&self) -> super::Direct3D::D3D_FEATURE_LEVEL { | |
1894 | (::windows::core::Interface::vtable(self).base__.base__.GetFeatureLevel)(::windows::core::Interface::as_raw(self)) | |
1895 | } | |
1896 | pub unsafe fn GetCreationFlags(&self) -> u32 { | |
1897 | (::windows::core::Interface::vtable(self).base__.base__.GetCreationFlags)(::windows::core::Interface::as_raw(self)) | |
1898 | } | |
1899 | pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows::core::Result<()> { | |
1900 | (::windows::core::Interface::vtable(self).base__.base__.GetDeviceRemovedReason)(::windows::core::Interface::as_raw(self)).ok() | |
1901 | } | |
1902 | pub unsafe fn GetImmediateContext(&self) -> ::windows::core::Result<ID3D11DeviceContext> { | |
1903 | let mut result__ = ::windows::core::zeroed::<ID3D11DeviceContext>(); | |
1904 | (::windows::core::Interface::vtable(self).base__.base__.GetImmediateContext)(::windows::core::Interface::as_raw(self), &mut result__); | |
1905 | ::windows::core::from_abi(result__) | |
1906 | } | |
1907 | pub unsafe fn SetExceptionMode(&self, raiseflags: u32) -> ::windows::core::Result<()> { | |
1908 | (::windows::core::Interface::vtable(self).base__.base__.SetExceptionMode)(::windows::core::Interface::as_raw(self), raiseflags).ok() | |
1909 | } | |
1910 | pub unsafe fn GetExceptionMode(&self) -> u32 { | |
1911 | (::windows::core::Interface::vtable(self).base__.base__.GetExceptionMode)(::windows::core::Interface::as_raw(self)) | |
1912 | } | |
1913 | pub unsafe fn GetImmediateContext1(&self) -> ::windows::core::Result<ID3D11DeviceContext1> { | |
1914 | let mut result__ = ::windows::core::zeroed::<ID3D11DeviceContext1>(); | |
1915 | (::windows::core::Interface::vtable(self).base__.GetImmediateContext1)(::windows::core::Interface::as_raw(self), &mut result__); | |
1916 | ::windows::core::from_abi(result__) | |
1917 | } | |
1918 | pub unsafe fn CreateDeferredContext1(&self, contextflags: u32, ppdeferredcontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext1>>) -> ::windows::core::Result<()> { | |
1919 | (::windows::core::Interface::vtable(self).base__.CreateDeferredContext1)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(ppdeferredcontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
1920 | } | |
1921 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1922 | #[cfg(feature = "Win32_Foundation")] | |
1923 | pub unsafe fn CreateBlendState1(&self, pblendstatedesc: *const D3D11_BLEND_DESC1, ppblendstate: ::core::option::Option<*mut ::core::option::Option<ID3D11BlendState1>>) -> ::windows::core::Result<()> { | |
1924 | (::windows::core::Interface::vtable(self).base__.CreateBlendState1)(::windows::core::Interface::as_raw(self), pblendstatedesc, ::core::mem::transmute(ppblendstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1925 | } | |
1926 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1927 | #[cfg(feature = "Win32_Foundation")] | |
1928 | pub unsafe fn CreateRasterizerState1(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC1, pprasterizerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11RasterizerState1>>) -> ::windows::core::Result<()> { | |
1929 | (::windows::core::Interface::vtable(self).base__.CreateRasterizerState1)(::windows::core::Interface::as_raw(self), prasterizerdesc, ::core::mem::transmute(pprasterizerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1930 | } | |
1931 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
1932 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
1933 | pub unsafe fn CreateDeviceContextState(&self, flags: u32, pfeaturelevels: &[super::Direct3D::D3D_FEATURE_LEVEL], sdkversion: u32, emulatedinterface: *const ::windows::core::GUID, pchosenfeaturelevel: ::core::option::Option<*mut super::Direct3D::D3D_FEATURE_LEVEL>, ppcontextstate: ::core::option::Option<*mut ::core::option::Option<ID3DDeviceContextState>>) -> ::windows::core::Result<()> { | |
1934 | (::windows::core::Interface::vtable(self).base__.CreateDeviceContextState)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(pfeaturelevels.as_ptr()), pfeaturelevels.len() as _, sdkversion, emulatedinterface, ::core::mem::transmute(pchosenfeaturelevel.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppcontextstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
1935 | } | |
1936 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
1937 | #[cfg(feature = "Win32_Foundation")] | |
1938 | pub unsafe fn OpenSharedResource1<P0, T>(&self, hresource: P0) -> ::windows::core::Result<T> | |
1939 | where | |
1940 | P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, | |
1941 | T: ::windows::core::ComInterface, | |
1942 | { | |
1943 | let mut result__ = ::std::ptr::null_mut(); | |
1944 | (::windows::core::Interface::vtable(self).base__.OpenSharedResource1)(::windows::core::Interface::as_raw(self), hresource.into_param().abi(), &<T as ::windows::core::ComInterface>::IID, &mut result__).from_abi(result__) | |
1945 | } | |
1946 | pub unsafe fn OpenSharedResourceByName<P0, T>(&self, lpname: P0, dwdesiredaccess: u32) -> ::windows::core::Result<T> | |
1947 | where | |
1948 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
1949 | T: ::windows::core::ComInterface, | |
1950 | { | |
1951 | let mut result__ = ::std::ptr::null_mut(); | |
1952 | (::windows::core::Interface::vtable(self).base__.OpenSharedResourceByName)(::windows::core::Interface::as_raw(self), lpname.into_param().abi(), dwdesiredaccess, &<T as ::windows::core::ComInterface>::IID, &mut result__).from_abi(result__) | |
1953 | } | |
1954 | pub unsafe fn GetImmediateContext2(&self) -> ::windows::core::Result<ID3D11DeviceContext2> { | |
1955 | let mut result__ = ::windows::core::zeroed::<ID3D11DeviceContext2>(); | |
1956 | (::windows::core::Interface::vtable(self).GetImmediateContext2)(::windows::core::Interface::as_raw(self), &mut result__); | |
1957 | ::windows::core::from_abi(result__) | |
1958 | } | |
1959 | pub unsafe fn CreateDeferredContext2(&self, contextflags: u32, ppdeferredcontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext2>>) -> ::windows::core::Result<()> { | |
1960 | (::windows::core::Interface::vtable(self).CreateDeferredContext2)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(ppdeferredcontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
1961 | } | |
1962 | pub unsafe fn GetResourceTiling<P0>(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D11_PACKED_MIP_DESC>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D11_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D11_SUBRESOURCE_TILING) | |
1963 | where | |
1964 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
1965 | { | |
1966 | (::windows::core::Interface::vtable(self).GetResourceTiling)(::windows::core::Interface::as_raw(self), ptiledresource.into_param().abi(), ::core::mem::transmute(pnumtilesforentireresource.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppackedmipdesc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pstandardtileshapefornonpackedmips.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumsubresourcetilings.unwrap_or(::std::ptr::null_mut())), firstsubresourcetilingtoget, psubresourcetilingsfornonpackedmips) | |
1967 | } | |
1968 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
1969 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
1970 | pub unsafe fn CheckMultisampleQualityLevels1(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32, flags: u32) -> ::windows::core::Result<u32> { | |
1971 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
1972 | (::windows::core::Interface::vtable(self).CheckMultisampleQualityLevels1)(::windows::core::Interface::as_raw(self), format, samplecount, flags, &mut result__).from_abi(result__) | |
1973 | } | |
1974 | } | |
1975 | ::windows::imp::interface_hierarchy!(ID3D11Device2, ::windows::core::IUnknown, ID3D11Device, ID3D11Device1); | |
1976 | impl ::core::cmp::PartialEq for ID3D11Device2 { | |
1977 | fn eq(&self, other: &Self) -> bool { | |
1978 | self.0 == other.0 | |
1979 | } | |
1980 | } | |
1981 | impl ::core::cmp::Eq for ID3D11Device2 {} | |
1982 | impl ::core::fmt::Debug for ID3D11Device2 { | |
1983 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
1984 | f.debug_tuple("ID3D11Device2").field(&self.0).finish() | |
1985 | } | |
1986 | } | |
1987 | unsafe impl ::core::marker::Send for ID3D11Device2 {} | |
1988 | unsafe impl ::core::marker::Sync for ID3D11Device2 {} | |
1989 | unsafe impl ::windows::core::Interface for ID3D11Device2 { | |
1990 | type Vtable = ID3D11Device2_Vtbl; | |
1991 | } | |
1992 | impl ::core::clone::Clone for ID3D11Device2 { | |
1993 | fn clone(&self) -> Self { | |
1994 | Self(self.0.clone()) | |
1995 | } | |
1996 | } | |
1997 | unsafe impl ::windows::core::ComInterface for ID3D11Device2 { | |
1998 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x9d06dffa_d1e5_4d07_83a8_1bb123f2f841); | |
1999 | } | |
2000 | #[repr(C)] | |
2001 | #[doc(hidden)] | |
2002 | pub struct ID3D11Device2_Vtbl { | |
2003 | pub base__: ID3D11Device1_Vtbl, | |
2004 | pub GetImmediateContext2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppimmediatecontext: *mut *mut ::core::ffi::c_void), | |
2005 | pub CreateDeferredContext2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contextflags: u32, ppdeferredcontext: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
2006 | pub GetResourceTiling: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptiledresource: *mut ::core::ffi::c_void, pnumtilesforentireresource: *mut u32, ppackedmipdesc: *mut D3D11_PACKED_MIP_DESC, pstandardtileshapefornonpackedmips: *mut D3D11_TILE_SHAPE, pnumsubresourcetilings: *mut u32, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D11_SUBRESOURCE_TILING), | |
2007 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2008 | pub CheckMultisampleQualityLevels1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32, flags: u32, pnumqualitylevels: *mut u32) -> ::windows::core::HRESULT, | |
2009 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
2010 | CheckMultisampleQualityLevels1: usize, | |
2011 | } | |
2012 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
2013 | #[repr(transparent)] | |
2014 | pub struct ID3D11Device3(::windows::core::IUnknown); | |
2015 | impl ID3D11Device3 { | |
2016 | pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, ppbuffer: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>) -> ::windows::core::Result<()> { | |
2017 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateBuffer)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))).ok() | |
2018 | } | |
2019 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2020 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2021 | pub unsafe fn CreateTexture1D(&self, pdesc: *const D3D11_TEXTURE1D_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture1d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture1D>>) -> ::windows::core::Result<()> { | |
2022 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateTexture1D)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture1d.unwrap_or(::std::ptr::null_mut()))).ok() | |
2023 | } | |
2024 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2025 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2026 | pub unsafe fn CreateTexture2D(&self, pdesc: *const D3D11_TEXTURE2D_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture2d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture2D>>) -> ::windows::core::Result<()> { | |
2027 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateTexture2D)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture2d.unwrap_or(::std::ptr::null_mut()))).ok() | |
2028 | } | |
2029 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2030 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2031 | pub unsafe fn CreateTexture3D(&self, pdesc: *const D3D11_TEXTURE3D_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture3d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture3D>>) -> ::windows::core::Result<()> { | |
2032 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateTexture3D)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture3d.unwrap_or(::std::ptr::null_mut()))).ok() | |
2033 | } | |
2034 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2035 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
2036 | pub unsafe fn CreateShaderResourceView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_SHADER_RESOURCE_VIEW_DESC>, ppsrview: ::core::option::Option<*mut ::core::option::Option<ID3D11ShaderResourceView>>) -> ::windows::core::Result<()> | |
2037 | where | |
2038 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2039 | { | |
2040 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateShaderResourceView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppsrview.unwrap_or(::std::ptr::null_mut()))).ok() | |
2041 | } | |
2042 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2043 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2044 | pub unsafe fn CreateUnorderedAccessView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_UNORDERED_ACCESS_VIEW_DESC>, ppuaview: ::core::option::Option<*mut ::core::option::Option<ID3D11UnorderedAccessView>>) -> ::windows::core::Result<()> | |
2045 | where | |
2046 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2047 | { | |
2048 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateUnorderedAccessView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppuaview.unwrap_or(::std::ptr::null_mut()))).ok() | |
2049 | } | |
2050 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2051 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2052 | pub unsafe fn CreateRenderTargetView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_RENDER_TARGET_VIEW_DESC>, pprtview: ::core::option::Option<*mut ::core::option::Option<ID3D11RenderTargetView>>) -> ::windows::core::Result<()> | |
2053 | where | |
2054 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2055 | { | |
2056 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateRenderTargetView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pprtview.unwrap_or(::std::ptr::null_mut()))).ok() | |
2057 | } | |
2058 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2059 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2060 | pub unsafe fn CreateDepthStencilView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_DEPTH_STENCIL_VIEW_DESC>, ppdepthstencilview: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilView>>) -> ::windows::core::Result<()> | |
2061 | where | |
2062 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2063 | { | |
2064 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDepthStencilView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppdepthstencilview.unwrap_or(::std::ptr::null_mut()))).ok() | |
2065 | } | |
2066 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2067 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2068 | pub unsafe fn CreateInputLayout(&self, pinputelementdescs: &[D3D11_INPUT_ELEMENT_DESC], pshaderbytecodewithinputsignature: &[u8], ppinputlayout: ::core::option::Option<*mut ::core::option::Option<ID3D11InputLayout>>) -> ::windows::core::Result<()> { | |
2069 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateInputLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pinputelementdescs.as_ptr()), pinputelementdescs.len() as _, ::core::mem::transmute(pshaderbytecodewithinputsignature.as_ptr()), pshaderbytecodewithinputsignature.len() as _, ::core::mem::transmute(ppinputlayout.unwrap_or(::std::ptr::null_mut()))).ok() | |
2070 | } | |
2071 | pub unsafe fn CreateVertexShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppvertexshader: ::core::option::Option<*mut ::core::option::Option<ID3D11VertexShader>>) -> ::windows::core::Result<()> | |
2072 | where | |
2073 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2074 | { | |
2075 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateVertexShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppvertexshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
2076 | } | |
2077 | pub unsafe fn CreateGeometryShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppgeometryshader: ::core::option::Option<*mut ::core::option::Option<ID3D11GeometryShader>>) -> ::windows::core::Result<()> | |
2078 | where | |
2079 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2080 | { | |
2081 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateGeometryShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppgeometryshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
2082 | } | |
2083 | pub unsafe fn CreateGeometryShaderWithStreamOutput<P0>(&self, pshaderbytecode: &[u8], psodeclaration: ::core::option::Option<&[D3D11_SO_DECLARATION_ENTRY]>, pbufferstrides: ::core::option::Option<&[u32]>, rasterizedstream: u32, pclasslinkage: P0, ppgeometryshader: ::core::option::Option<*mut ::core::option::Option<ID3D11GeometryShader>>) -> ::windows::core::Result<()> | |
2084 | where | |
2085 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2086 | { | |
2087 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateGeometryShaderWithStreamOutput)( | |
2088 | ::windows::core::Interface::as_raw(self), | |
2089 | ::core::mem::transmute(pshaderbytecode.as_ptr()), | |
2090 | pshaderbytecode.len() as _, | |
2091 | ::core::mem::transmute(psodeclaration.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
2092 | psodeclaration.as_deref().map_or(0, |slice| slice.len() as _), | |
2093 | ::core::mem::transmute(pbufferstrides.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
2094 | pbufferstrides.as_deref().map_or(0, |slice| slice.len() as _), | |
2095 | rasterizedstream, | |
2096 | pclasslinkage.into_param().abi(), | |
2097 | ::core::mem::transmute(ppgeometryshader.unwrap_or(::std::ptr::null_mut())), | |
2098 | ) | |
2099 | .ok() | |
2100 | } | |
2101 | pub unsafe fn CreatePixelShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, pppixelshader: ::core::option::Option<*mut ::core::option::Option<ID3D11PixelShader>>) -> ::windows::core::Result<()> | |
2102 | where | |
2103 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2104 | { | |
2105 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreatePixelShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(pppixelshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
2106 | } | |
2107 | pub unsafe fn CreateHullShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, pphullshader: ::core::option::Option<*mut ::core::option::Option<ID3D11HullShader>>) -> ::windows::core::Result<()> | |
2108 | where | |
2109 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2110 | { | |
2111 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateHullShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(pphullshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
2112 | } | |
2113 | pub unsafe fn CreateDomainShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppdomainshader: ::core::option::Option<*mut ::core::option::Option<ID3D11DomainShader>>) -> ::windows::core::Result<()> | |
2114 | where | |
2115 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2116 | { | |
2117 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDomainShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppdomainshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
2118 | } | |
2119 | pub unsafe fn CreateComputeShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppcomputeshader: ::core::option::Option<*mut ::core::option::Option<ID3D11ComputeShader>>) -> ::windows::core::Result<()> | |
2120 | where | |
2121 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2122 | { | |
2123 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateComputeShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppcomputeshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
2124 | } | |
2125 | pub unsafe fn CreateClassLinkage(&self) -> ::windows::core::Result<ID3D11ClassLinkage> { | |
2126 | let mut result__ = ::windows::core::zeroed::<ID3D11ClassLinkage>(); | |
2127 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateClassLinkage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2128 | } | |
2129 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2130 | #[cfg(feature = "Win32_Foundation")] | |
2131 | pub unsafe fn CreateBlendState(&self, pblendstatedesc: *const D3D11_BLEND_DESC, ppblendstate: ::core::option::Option<*mut ::core::option::Option<ID3D11BlendState>>) -> ::windows::core::Result<()> { | |
2132 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateBlendState)(::windows::core::Interface::as_raw(self), pblendstatedesc, ::core::mem::transmute(ppblendstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2133 | } | |
2134 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2135 | #[cfg(feature = "Win32_Foundation")] | |
2136 | pub unsafe fn CreateDepthStencilState(&self, pdepthstencildesc: *const D3D11_DEPTH_STENCIL_DESC, ppdepthstencilstate: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilState>>) -> ::windows::core::Result<()> { | |
2137 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDepthStencilState)(::windows::core::Interface::as_raw(self), pdepthstencildesc, ::core::mem::transmute(ppdepthstencilstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2138 | } | |
2139 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2140 | #[cfg(feature = "Win32_Foundation")] | |
2141 | pub unsafe fn CreateRasterizerState(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC, pprasterizerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11RasterizerState>>) -> ::windows::core::Result<()> { | |
2142 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateRasterizerState)(::windows::core::Interface::as_raw(self), prasterizerdesc, ::core::mem::transmute(pprasterizerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2143 | } | |
2144 | pub unsafe fn CreateSamplerState(&self, psamplerdesc: *const D3D11_SAMPLER_DESC, ppsamplerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11SamplerState>>) -> ::windows::core::Result<()> { | |
2145 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateSamplerState)(::windows::core::Interface::as_raw(self), psamplerdesc, ::core::mem::transmute(ppsamplerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2146 | } | |
2147 | pub unsafe fn CreateQuery(&self, pquerydesc: *const D3D11_QUERY_DESC, ppquery: ::core::option::Option<*mut ::core::option::Option<ID3D11Query>>) -> ::windows::core::Result<()> { | |
2148 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateQuery)(::windows::core::Interface::as_raw(self), pquerydesc, ::core::mem::transmute(ppquery.unwrap_or(::std::ptr::null_mut()))).ok() | |
2149 | } | |
2150 | pub unsafe fn CreatePredicate(&self, ppredicatedesc: *const D3D11_QUERY_DESC, pppredicate: ::core::option::Option<*mut ::core::option::Option<ID3D11Predicate>>) -> ::windows::core::Result<()> { | |
2151 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreatePredicate)(::windows::core::Interface::as_raw(self), ppredicatedesc, ::core::mem::transmute(pppredicate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2152 | } | |
2153 | pub unsafe fn CreateCounter(&self, pcounterdesc: *const D3D11_COUNTER_DESC, ppcounter: ::core::option::Option<*mut ::core::option::Option<ID3D11Counter>>) -> ::windows::core::Result<()> { | |
2154 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateCounter)(::windows::core::Interface::as_raw(self), pcounterdesc, ::core::mem::transmute(ppcounter.unwrap_or(::std::ptr::null_mut()))).ok() | |
2155 | } | |
2156 | pub unsafe fn CreateDeferredContext(&self, contextflags: u32, ppdeferredcontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext>>) -> ::windows::core::Result<()> { | |
2157 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDeferredContext)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(ppdeferredcontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
2158 | } | |
2159 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2160 | #[cfg(feature = "Win32_Foundation")] | |
2161 | pub unsafe fn OpenSharedResource<P0, T>(&self, hresource: P0, result__: *mut ::core::option::Option<T>) -> ::windows::core::Result<()> | |
2162 | where | |
2163 | P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, | |
2164 | T: ::windows::core::ComInterface, | |
2165 | { | |
2166 | (::windows::core::Interface::vtable(self).base__.base__.base__.OpenSharedResource)(::windows::core::Interface::as_raw(self), hresource.into_param().abi(), &<T as ::windows::core::ComInterface>::IID, result__ as *mut _ as *mut _).ok() | |
2167 | } | |
2168 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2169 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2170 | pub unsafe fn CheckFormatSupport(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result<u32> { | |
2171 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
2172 | (::windows::core::Interface::vtable(self).base__.base__.base__.CheckFormatSupport)(::windows::core::Interface::as_raw(self), format, &mut result__).from_abi(result__) | |
2173 | } | |
2174 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2175 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2176 | pub unsafe fn CheckMultisampleQualityLevels(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32) -> ::windows::core::Result<u32> { | |
2177 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
2178 | (::windows::core::Interface::vtable(self).base__.base__.base__.CheckMultisampleQualityLevels)(::windows::core::Interface::as_raw(self), format, samplecount, &mut result__).from_abi(result__) | |
2179 | } | |
2180 | pub unsafe fn CheckCounterInfo(&self) -> D3D11_COUNTER_INFO { | |
2181 | let mut result__ = ::windows::core::zeroed::<D3D11_COUNTER_INFO>(); | |
2182 | (::windows::core::Interface::vtable(self).base__.base__.base__.CheckCounterInfo)(::windows::core::Interface::as_raw(self), &mut result__); | |
2183 | ::std::mem::transmute(result__) | |
2184 | } | |
2185 | pub unsafe fn CheckCounter(&self, pdesc: *const D3D11_COUNTER_DESC, ptype: *mut D3D11_COUNTER_TYPE, pactivecounters: *mut u32, szname: ::windows::core::PSTR, pnamelength: ::core::option::Option<*mut u32>, szunits: ::windows::core::PSTR, punitslength: ::core::option::Option<*mut u32>, szdescription: ::windows::core::PSTR, pdescriptionlength: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { | |
2186 | (::windows::core::Interface::vtable(self).base__.base__.base__.CheckCounter)(::windows::core::Interface::as_raw(self), pdesc, ptype, pactivecounters, ::core::mem::transmute(szname), ::core::mem::transmute(pnamelength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szunits), ::core::mem::transmute(punitslength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szdescription), ::core::mem::transmute(pdescriptionlength.unwrap_or(::std::ptr::null_mut()))).ok() | |
2187 | } | |
2188 | pub unsafe fn CheckFeatureSupport(&self, feature: D3D11_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows::core::Result<()> { | |
2189 | (::windows::core::Interface::vtable(self).base__.base__.base__.CheckFeatureSupport)(::windows::core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() | |
2190 | } | |
2191 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
2192 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
2193 | } | |
2194 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
2195 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
2196 | } | |
2197 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
2198 | where | |
2199 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
2200 | { | |
2201 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
2202 | } | |
2203 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
2204 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
2205 | pub unsafe fn GetFeatureLevel(&self) -> super::Direct3D::D3D_FEATURE_LEVEL { | |
2206 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetFeatureLevel)(::windows::core::Interface::as_raw(self)) | |
2207 | } | |
2208 | pub unsafe fn GetCreationFlags(&self) -> u32 { | |
2209 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetCreationFlags)(::windows::core::Interface::as_raw(self)) | |
2210 | } | |
2211 | pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows::core::Result<()> { | |
2212 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetDeviceRemovedReason)(::windows::core::Interface::as_raw(self)).ok() | |
2213 | } | |
2214 | pub unsafe fn GetImmediateContext(&self) -> ::windows::core::Result<ID3D11DeviceContext> { | |
2215 | let mut result__ = ::windows::core::zeroed::<ID3D11DeviceContext>(); | |
2216 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetImmediateContext)(::windows::core::Interface::as_raw(self), &mut result__); | |
2217 | ::windows::core::from_abi(result__) | |
2218 | } | |
2219 | pub unsafe fn SetExceptionMode(&self, raiseflags: u32) -> ::windows::core::Result<()> { | |
2220 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetExceptionMode)(::windows::core::Interface::as_raw(self), raiseflags).ok() | |
2221 | } | |
2222 | pub unsafe fn GetExceptionMode(&self) -> u32 { | |
2223 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetExceptionMode)(::windows::core::Interface::as_raw(self)) | |
2224 | } | |
2225 | pub unsafe fn GetImmediateContext1(&self) -> ::windows::core::Result<ID3D11DeviceContext1> { | |
2226 | let mut result__ = ::windows::core::zeroed::<ID3D11DeviceContext1>(); | |
2227 | (::windows::core::Interface::vtable(self).base__.base__.GetImmediateContext1)(::windows::core::Interface::as_raw(self), &mut result__); | |
2228 | ::windows::core::from_abi(result__) | |
2229 | } | |
2230 | pub unsafe fn CreateDeferredContext1(&self, contextflags: u32, ppdeferredcontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext1>>) -> ::windows::core::Result<()> { | |
2231 | (::windows::core::Interface::vtable(self).base__.base__.CreateDeferredContext1)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(ppdeferredcontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
2232 | } | |
2233 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2234 | #[cfg(feature = "Win32_Foundation")] | |
2235 | pub unsafe fn CreateBlendState1(&self, pblendstatedesc: *const D3D11_BLEND_DESC1, ppblendstate: ::core::option::Option<*mut ::core::option::Option<ID3D11BlendState1>>) -> ::windows::core::Result<()> { | |
2236 | (::windows::core::Interface::vtable(self).base__.base__.CreateBlendState1)(::windows::core::Interface::as_raw(self), pblendstatedesc, ::core::mem::transmute(ppblendstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2237 | } | |
2238 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2239 | #[cfg(feature = "Win32_Foundation")] | |
2240 | pub unsafe fn CreateRasterizerState1(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC1, pprasterizerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11RasterizerState1>>) -> ::windows::core::Result<()> { | |
2241 | (::windows::core::Interface::vtable(self).base__.base__.CreateRasterizerState1)(::windows::core::Interface::as_raw(self), prasterizerdesc, ::core::mem::transmute(pprasterizerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2242 | } | |
2243 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
2244 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
2245 | pub unsafe fn CreateDeviceContextState(&self, flags: u32, pfeaturelevels: &[super::Direct3D::D3D_FEATURE_LEVEL], sdkversion: u32, emulatedinterface: *const ::windows::core::GUID, pchosenfeaturelevel: ::core::option::Option<*mut super::Direct3D::D3D_FEATURE_LEVEL>, ppcontextstate: ::core::option::Option<*mut ::core::option::Option<ID3DDeviceContextState>>) -> ::windows::core::Result<()> { | |
2246 | (::windows::core::Interface::vtable(self).base__.base__.CreateDeviceContextState)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(pfeaturelevels.as_ptr()), pfeaturelevels.len() as _, sdkversion, emulatedinterface, ::core::mem::transmute(pchosenfeaturelevel.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppcontextstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2247 | } | |
2248 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2249 | #[cfg(feature = "Win32_Foundation")] | |
2250 | pub unsafe fn OpenSharedResource1<P0, T>(&self, hresource: P0) -> ::windows::core::Result<T> | |
2251 | where | |
2252 | P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, | |
2253 | T: ::windows::core::ComInterface, | |
2254 | { | |
2255 | let mut result__ = ::std::ptr::null_mut(); | |
2256 | (::windows::core::Interface::vtable(self).base__.base__.OpenSharedResource1)(::windows::core::Interface::as_raw(self), hresource.into_param().abi(), &<T as ::windows::core::ComInterface>::IID, &mut result__).from_abi(result__) | |
2257 | } | |
2258 | pub unsafe fn OpenSharedResourceByName<P0, T>(&self, lpname: P0, dwdesiredaccess: u32) -> ::windows::core::Result<T> | |
2259 | where | |
2260 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
2261 | T: ::windows::core::ComInterface, | |
2262 | { | |
2263 | let mut result__ = ::std::ptr::null_mut(); | |
2264 | (::windows::core::Interface::vtable(self).base__.base__.OpenSharedResourceByName)(::windows::core::Interface::as_raw(self), lpname.into_param().abi(), dwdesiredaccess, &<T as ::windows::core::ComInterface>::IID, &mut result__).from_abi(result__) | |
2265 | } | |
2266 | pub unsafe fn GetImmediateContext2(&self) -> ::windows::core::Result<ID3D11DeviceContext2> { | |
2267 | let mut result__ = ::windows::core::zeroed::<ID3D11DeviceContext2>(); | |
2268 | (::windows::core::Interface::vtable(self).base__.GetImmediateContext2)(::windows::core::Interface::as_raw(self), &mut result__); | |
2269 | ::windows::core::from_abi(result__) | |
2270 | } | |
2271 | pub unsafe fn CreateDeferredContext2(&self, contextflags: u32, ppdeferredcontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext2>>) -> ::windows::core::Result<()> { | |
2272 | (::windows::core::Interface::vtable(self).base__.CreateDeferredContext2)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(ppdeferredcontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
2273 | } | |
2274 | pub unsafe fn GetResourceTiling<P0>(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D11_PACKED_MIP_DESC>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D11_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D11_SUBRESOURCE_TILING) | |
2275 | where | |
2276 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2277 | { | |
2278 | (::windows::core::Interface::vtable(self).base__.GetResourceTiling)(::windows::core::Interface::as_raw(self), ptiledresource.into_param().abi(), ::core::mem::transmute(pnumtilesforentireresource.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppackedmipdesc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pstandardtileshapefornonpackedmips.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumsubresourcetilings.unwrap_or(::std::ptr::null_mut())), firstsubresourcetilingtoget, psubresourcetilingsfornonpackedmips) | |
2279 | } | |
2280 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2281 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2282 | pub unsafe fn CheckMultisampleQualityLevels1(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32, flags: u32) -> ::windows::core::Result<u32> { | |
2283 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
2284 | (::windows::core::Interface::vtable(self).base__.CheckMultisampleQualityLevels1)(::windows::core::Interface::as_raw(self), format, samplecount, flags, &mut result__).from_abi(result__) | |
2285 | } | |
2286 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2287 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2288 | pub unsafe fn CreateTexture2D1(&self, pdesc1: *const D3D11_TEXTURE2D_DESC1, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture2d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture2D1>>) -> ::windows::core::Result<()> { | |
2289 | (::windows::core::Interface::vtable(self).CreateTexture2D1)(::windows::core::Interface::as_raw(self), pdesc1, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture2d.unwrap_or(::std::ptr::null_mut()))).ok() | |
2290 | } | |
2291 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2292 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2293 | pub unsafe fn CreateTexture3D1(&self, pdesc1: *const D3D11_TEXTURE3D_DESC1, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture3d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture3D1>>) -> ::windows::core::Result<()> { | |
2294 | (::windows::core::Interface::vtable(self).CreateTexture3D1)(::windows::core::Interface::as_raw(self), pdesc1, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture3d.unwrap_or(::std::ptr::null_mut()))).ok() | |
2295 | } | |
2296 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2297 | #[cfg(feature = "Win32_Foundation")] | |
2298 | pub unsafe fn CreateRasterizerState2(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC2, pprasterizerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11RasterizerState2>>) -> ::windows::core::Result<()> { | |
2299 | (::windows::core::Interface::vtable(self).CreateRasterizerState2)(::windows::core::Interface::as_raw(self), prasterizerdesc, ::core::mem::transmute(pprasterizerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2300 | } | |
2301 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2302 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
2303 | pub unsafe fn CreateShaderResourceView1<P0>(&self, presource: P0, pdesc1: ::core::option::Option<*const D3D11_SHADER_RESOURCE_VIEW_DESC1>, ppsrview1: ::core::option::Option<*mut ::core::option::Option<ID3D11ShaderResourceView1>>) -> ::windows::core::Result<()> | |
2304 | where | |
2305 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2306 | { | |
2307 | (::windows::core::Interface::vtable(self).CreateShaderResourceView1)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppsrview1.unwrap_or(::std::ptr::null_mut()))).ok() | |
2308 | } | |
2309 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2310 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2311 | pub unsafe fn CreateUnorderedAccessView1<P0>(&self, presource: P0, pdesc1: ::core::option::Option<*const D3D11_UNORDERED_ACCESS_VIEW_DESC1>, ppuaview1: ::core::option::Option<*mut ::core::option::Option<ID3D11UnorderedAccessView1>>) -> ::windows::core::Result<()> | |
2312 | where | |
2313 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2314 | { | |
2315 | (::windows::core::Interface::vtable(self).CreateUnorderedAccessView1)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppuaview1.unwrap_or(::std::ptr::null_mut()))).ok() | |
2316 | } | |
2317 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2318 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2319 | pub unsafe fn CreateRenderTargetView1<P0>(&self, presource: P0, pdesc1: ::core::option::Option<*const D3D11_RENDER_TARGET_VIEW_DESC1>, pprtview1: ::core::option::Option<*mut ::core::option::Option<ID3D11RenderTargetView1>>) -> ::windows::core::Result<()> | |
2320 | where | |
2321 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2322 | { | |
2323 | (::windows::core::Interface::vtable(self).CreateRenderTargetView1)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pprtview1.unwrap_or(::std::ptr::null_mut()))).ok() | |
2324 | } | |
2325 | pub unsafe fn CreateQuery1(&self, pquerydesc1: *const D3D11_QUERY_DESC1, ppquery1: ::core::option::Option<*mut ::core::option::Option<ID3D11Query1>>) -> ::windows::core::Result<()> { | |
2326 | (::windows::core::Interface::vtable(self).CreateQuery1)(::windows::core::Interface::as_raw(self), pquerydesc1, ::core::mem::transmute(ppquery1.unwrap_or(::std::ptr::null_mut()))).ok() | |
2327 | } | |
2328 | pub unsafe fn GetImmediateContext3(&self) -> ::windows::core::Result<ID3D11DeviceContext3> { | |
2329 | let mut result__ = ::windows::core::zeroed::<ID3D11DeviceContext3>(); | |
2330 | (::windows::core::Interface::vtable(self).GetImmediateContext3)(::windows::core::Interface::as_raw(self), &mut result__); | |
2331 | ::windows::core::from_abi(result__) | |
2332 | } | |
2333 | pub unsafe fn CreateDeferredContext3(&self, contextflags: u32, ppdeferredcontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext3>>) -> ::windows::core::Result<()> { | |
2334 | (::windows::core::Interface::vtable(self).CreateDeferredContext3)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(ppdeferredcontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
2335 | } | |
2336 | pub unsafe fn WriteToSubresource<P0>(&self, pdstresource: P0, dstsubresource: u32, pdstbox: ::core::option::Option<*const D3D11_BOX>, psrcdata: *const ::core::ffi::c_void, srcrowpitch: u32, srcdepthpitch: u32) | |
2337 | where | |
2338 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2339 | { | |
2340 | (::windows::core::Interface::vtable(self).WriteToSubresource)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, ::core::mem::transmute(pdstbox.unwrap_or(::std::ptr::null())), psrcdata, srcrowpitch, srcdepthpitch) | |
2341 | } | |
2342 | pub unsafe fn ReadFromSubresource<P0>(&self, pdstdata: *mut ::core::ffi::c_void, dstrowpitch: u32, dstdepthpitch: u32, psrcresource: P0, srcsubresource: u32, psrcbox: ::core::option::Option<*const D3D11_BOX>) | |
2343 | where | |
2344 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2345 | { | |
2346 | (::windows::core::Interface::vtable(self).ReadFromSubresource)(::windows::core::Interface::as_raw(self), pdstdata, dstrowpitch, dstdepthpitch, psrcresource.into_param().abi(), srcsubresource, ::core::mem::transmute(psrcbox.unwrap_or(::std::ptr::null()))) | |
2347 | } | |
2348 | } | |
2349 | ::windows::imp::interface_hierarchy!(ID3D11Device3, ::windows::core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2); | |
2350 | impl ::core::cmp::PartialEq for ID3D11Device3 { | |
2351 | fn eq(&self, other: &Self) -> bool { | |
2352 | self.0 == other.0 | |
2353 | } | |
2354 | } | |
2355 | impl ::core::cmp::Eq for ID3D11Device3 {} | |
2356 | impl ::core::fmt::Debug for ID3D11Device3 { | |
2357 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
2358 | f.debug_tuple("ID3D11Device3").field(&self.0).finish() | |
2359 | } | |
2360 | } | |
2361 | unsafe impl ::core::marker::Send for ID3D11Device3 {} | |
2362 | unsafe impl ::core::marker::Sync for ID3D11Device3 {} | |
2363 | unsafe impl ::windows::core::Interface for ID3D11Device3 { | |
2364 | type Vtable = ID3D11Device3_Vtbl; | |
2365 | } | |
2366 | impl ::core::clone::Clone for ID3D11Device3 { | |
2367 | fn clone(&self) -> Self { | |
2368 | Self(self.0.clone()) | |
2369 | } | |
2370 | } | |
2371 | unsafe impl ::windows::core::ComInterface for ID3D11Device3 { | |
2372 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa05c8c37_d2c6_4732_b3a0_9ce0b0dc9ae6); | |
2373 | } | |
2374 | #[repr(C)] | |
2375 | #[doc(hidden)] | |
2376 | pub struct ID3D11Device3_Vtbl { | |
2377 | pub base__: ID3D11Device2_Vtbl, | |
2378 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2379 | pub CreateTexture2D1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc1: *const D3D11_TEXTURE2D_DESC1, pinitialdata: *const D3D11_SUBRESOURCE_DATA, pptexture2d: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
2380 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
2381 | CreateTexture2D1: usize, | |
2382 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2383 | pub CreateTexture3D1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc1: *const D3D11_TEXTURE3D_DESC1, pinitialdata: *const D3D11_SUBRESOURCE_DATA, pptexture3d: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
2384 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
2385 | CreateTexture3D1: usize, | |
2386 | #[cfg(feature = "Win32_Foundation")] | |
2387 | pub CreateRasterizerState2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prasterizerdesc: *const D3D11_RASTERIZER_DESC2, pprasterizerstate: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
2388 | #[cfg(not(feature = "Win32_Foundation"))] | |
2389 | CreateRasterizerState2: usize, | |
2390 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
2391 | pub CreateShaderResourceView1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presource: *mut ::core::ffi::c_void, pdesc1: *const D3D11_SHADER_RESOURCE_VIEW_DESC1, ppsrview1: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
2392 | #[cfg(not(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common")))] | |
2393 | CreateShaderResourceView1: usize, | |
2394 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2395 | pub CreateUnorderedAccessView1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presource: *mut ::core::ffi::c_void, pdesc1: *const D3D11_UNORDERED_ACCESS_VIEW_DESC1, ppuaview1: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
2396 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
2397 | CreateUnorderedAccessView1: usize, | |
2398 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2399 | pub CreateRenderTargetView1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presource: *mut ::core::ffi::c_void, pdesc1: *const D3D11_RENDER_TARGET_VIEW_DESC1, pprtview1: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
2400 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
2401 | CreateRenderTargetView1: usize, | |
2402 | pub CreateQuery1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pquerydesc1: *const D3D11_QUERY_DESC1, ppquery1: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
2403 | pub GetImmediateContext3: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppimmediatecontext: *mut *mut ::core::ffi::c_void), | |
2404 | pub CreateDeferredContext3: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contextflags: u32, ppdeferredcontext: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
2405 | pub WriteToSubresource: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdstresource: *mut ::core::ffi::c_void, dstsubresource: u32, pdstbox: *const D3D11_BOX, psrcdata: *const ::core::ffi::c_void, srcrowpitch: u32, srcdepthpitch: u32), | |
2406 | pub ReadFromSubresource: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdstdata: *mut ::core::ffi::c_void, dstrowpitch: u32, dstdepthpitch: u32, psrcresource: *mut ::core::ffi::c_void, srcsubresource: u32, psrcbox: *const D3D11_BOX), | |
2407 | } | |
2408 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
2409 | #[repr(transparent)] | |
2410 | pub struct ID3D11Device4(::windows::core::IUnknown); | |
2411 | impl ID3D11Device4 { | |
2412 | pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, ppbuffer: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>) -> ::windows::core::Result<()> { | |
2413 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateBuffer)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))).ok() | |
2414 | } | |
2415 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2416 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2417 | pub unsafe fn CreateTexture1D(&self, pdesc: *const D3D11_TEXTURE1D_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture1d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture1D>>) -> ::windows::core::Result<()> { | |
2418 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateTexture1D)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture1d.unwrap_or(::std::ptr::null_mut()))).ok() | |
2419 | } | |
2420 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2421 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2422 | pub unsafe fn CreateTexture2D(&self, pdesc: *const D3D11_TEXTURE2D_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture2d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture2D>>) -> ::windows::core::Result<()> { | |
2423 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateTexture2D)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture2d.unwrap_or(::std::ptr::null_mut()))).ok() | |
2424 | } | |
2425 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2426 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2427 | pub unsafe fn CreateTexture3D(&self, pdesc: *const D3D11_TEXTURE3D_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture3d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture3D>>) -> ::windows::core::Result<()> { | |
2428 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateTexture3D)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture3d.unwrap_or(::std::ptr::null_mut()))).ok() | |
2429 | } | |
2430 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2431 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
2432 | pub unsafe fn CreateShaderResourceView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_SHADER_RESOURCE_VIEW_DESC>, ppsrview: ::core::option::Option<*mut ::core::option::Option<ID3D11ShaderResourceView>>) -> ::windows::core::Result<()> | |
2433 | where | |
2434 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2435 | { | |
2436 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateShaderResourceView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppsrview.unwrap_or(::std::ptr::null_mut()))).ok() | |
2437 | } | |
2438 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2439 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2440 | pub unsafe fn CreateUnorderedAccessView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_UNORDERED_ACCESS_VIEW_DESC>, ppuaview: ::core::option::Option<*mut ::core::option::Option<ID3D11UnorderedAccessView>>) -> ::windows::core::Result<()> | |
2441 | where | |
2442 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2443 | { | |
2444 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateUnorderedAccessView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppuaview.unwrap_or(::std::ptr::null_mut()))).ok() | |
2445 | } | |
2446 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2447 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2448 | pub unsafe fn CreateRenderTargetView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_RENDER_TARGET_VIEW_DESC>, pprtview: ::core::option::Option<*mut ::core::option::Option<ID3D11RenderTargetView>>) -> ::windows::core::Result<()> | |
2449 | where | |
2450 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2451 | { | |
2452 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateRenderTargetView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pprtview.unwrap_or(::std::ptr::null_mut()))).ok() | |
2453 | } | |
2454 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2455 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2456 | pub unsafe fn CreateDepthStencilView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_DEPTH_STENCIL_VIEW_DESC>, ppdepthstencilview: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilView>>) -> ::windows::core::Result<()> | |
2457 | where | |
2458 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2459 | { | |
2460 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDepthStencilView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppdepthstencilview.unwrap_or(::std::ptr::null_mut()))).ok() | |
2461 | } | |
2462 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2463 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2464 | pub unsafe fn CreateInputLayout(&self, pinputelementdescs: &[D3D11_INPUT_ELEMENT_DESC], pshaderbytecodewithinputsignature: &[u8], ppinputlayout: ::core::option::Option<*mut ::core::option::Option<ID3D11InputLayout>>) -> ::windows::core::Result<()> { | |
2465 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateInputLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pinputelementdescs.as_ptr()), pinputelementdescs.len() as _, ::core::mem::transmute(pshaderbytecodewithinputsignature.as_ptr()), pshaderbytecodewithinputsignature.len() as _, ::core::mem::transmute(ppinputlayout.unwrap_or(::std::ptr::null_mut()))).ok() | |
2466 | } | |
2467 | pub unsafe fn CreateVertexShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppvertexshader: ::core::option::Option<*mut ::core::option::Option<ID3D11VertexShader>>) -> ::windows::core::Result<()> | |
2468 | where | |
2469 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2470 | { | |
2471 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateVertexShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppvertexshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
2472 | } | |
2473 | pub unsafe fn CreateGeometryShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppgeometryshader: ::core::option::Option<*mut ::core::option::Option<ID3D11GeometryShader>>) -> ::windows::core::Result<()> | |
2474 | where | |
2475 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2476 | { | |
2477 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateGeometryShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppgeometryshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
2478 | } | |
2479 | pub unsafe fn CreateGeometryShaderWithStreamOutput<P0>(&self, pshaderbytecode: &[u8], psodeclaration: ::core::option::Option<&[D3D11_SO_DECLARATION_ENTRY]>, pbufferstrides: ::core::option::Option<&[u32]>, rasterizedstream: u32, pclasslinkage: P0, ppgeometryshader: ::core::option::Option<*mut ::core::option::Option<ID3D11GeometryShader>>) -> ::windows::core::Result<()> | |
2480 | where | |
2481 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2482 | { | |
2483 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateGeometryShaderWithStreamOutput)( | |
2484 | ::windows::core::Interface::as_raw(self), | |
2485 | ::core::mem::transmute(pshaderbytecode.as_ptr()), | |
2486 | pshaderbytecode.len() as _, | |
2487 | ::core::mem::transmute(psodeclaration.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
2488 | psodeclaration.as_deref().map_or(0, |slice| slice.len() as _), | |
2489 | ::core::mem::transmute(pbufferstrides.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
2490 | pbufferstrides.as_deref().map_or(0, |slice| slice.len() as _), | |
2491 | rasterizedstream, | |
2492 | pclasslinkage.into_param().abi(), | |
2493 | ::core::mem::transmute(ppgeometryshader.unwrap_or(::std::ptr::null_mut())), | |
2494 | ) | |
2495 | .ok() | |
2496 | } | |
2497 | pub unsafe fn CreatePixelShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, pppixelshader: ::core::option::Option<*mut ::core::option::Option<ID3D11PixelShader>>) -> ::windows::core::Result<()> | |
2498 | where | |
2499 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2500 | { | |
2501 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreatePixelShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(pppixelshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
2502 | } | |
2503 | pub unsafe fn CreateHullShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, pphullshader: ::core::option::Option<*mut ::core::option::Option<ID3D11HullShader>>) -> ::windows::core::Result<()> | |
2504 | where | |
2505 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2506 | { | |
2507 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateHullShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(pphullshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
2508 | } | |
2509 | pub unsafe fn CreateDomainShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppdomainshader: ::core::option::Option<*mut ::core::option::Option<ID3D11DomainShader>>) -> ::windows::core::Result<()> | |
2510 | where | |
2511 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2512 | { | |
2513 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDomainShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppdomainshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
2514 | } | |
2515 | pub unsafe fn CreateComputeShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppcomputeshader: ::core::option::Option<*mut ::core::option::Option<ID3D11ComputeShader>>) -> ::windows::core::Result<()> | |
2516 | where | |
2517 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2518 | { | |
2519 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateComputeShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppcomputeshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
2520 | } | |
2521 | pub unsafe fn CreateClassLinkage(&self) -> ::windows::core::Result<ID3D11ClassLinkage> { | |
2522 | let mut result__ = ::windows::core::zeroed::<ID3D11ClassLinkage>(); | |
2523 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateClassLinkage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2524 | } | |
2525 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2526 | #[cfg(feature = "Win32_Foundation")] | |
2527 | pub unsafe fn CreateBlendState(&self, pblendstatedesc: *const D3D11_BLEND_DESC, ppblendstate: ::core::option::Option<*mut ::core::option::Option<ID3D11BlendState>>) -> ::windows::core::Result<()> { | |
2528 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateBlendState)(::windows::core::Interface::as_raw(self), pblendstatedesc, ::core::mem::transmute(ppblendstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2529 | } | |
2530 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2531 | #[cfg(feature = "Win32_Foundation")] | |
2532 | pub unsafe fn CreateDepthStencilState(&self, pdepthstencildesc: *const D3D11_DEPTH_STENCIL_DESC, ppdepthstencilstate: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilState>>) -> ::windows::core::Result<()> { | |
2533 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDepthStencilState)(::windows::core::Interface::as_raw(self), pdepthstencildesc, ::core::mem::transmute(ppdepthstencilstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2534 | } | |
2535 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2536 | #[cfg(feature = "Win32_Foundation")] | |
2537 | pub unsafe fn CreateRasterizerState(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC, pprasterizerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11RasterizerState>>) -> ::windows::core::Result<()> { | |
2538 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateRasterizerState)(::windows::core::Interface::as_raw(self), prasterizerdesc, ::core::mem::transmute(pprasterizerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2539 | } | |
2540 | pub unsafe fn CreateSamplerState(&self, psamplerdesc: *const D3D11_SAMPLER_DESC, ppsamplerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11SamplerState>>) -> ::windows::core::Result<()> { | |
2541 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateSamplerState)(::windows::core::Interface::as_raw(self), psamplerdesc, ::core::mem::transmute(ppsamplerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2542 | } | |
2543 | pub unsafe fn CreateQuery(&self, pquerydesc: *const D3D11_QUERY_DESC, ppquery: ::core::option::Option<*mut ::core::option::Option<ID3D11Query>>) -> ::windows::core::Result<()> { | |
2544 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateQuery)(::windows::core::Interface::as_raw(self), pquerydesc, ::core::mem::transmute(ppquery.unwrap_or(::std::ptr::null_mut()))).ok() | |
2545 | } | |
2546 | pub unsafe fn CreatePredicate(&self, ppredicatedesc: *const D3D11_QUERY_DESC, pppredicate: ::core::option::Option<*mut ::core::option::Option<ID3D11Predicate>>) -> ::windows::core::Result<()> { | |
2547 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreatePredicate)(::windows::core::Interface::as_raw(self), ppredicatedesc, ::core::mem::transmute(pppredicate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2548 | } | |
2549 | pub unsafe fn CreateCounter(&self, pcounterdesc: *const D3D11_COUNTER_DESC, ppcounter: ::core::option::Option<*mut ::core::option::Option<ID3D11Counter>>) -> ::windows::core::Result<()> { | |
2550 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateCounter)(::windows::core::Interface::as_raw(self), pcounterdesc, ::core::mem::transmute(ppcounter.unwrap_or(::std::ptr::null_mut()))).ok() | |
2551 | } | |
2552 | pub unsafe fn CreateDeferredContext(&self, contextflags: u32, ppdeferredcontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext>>) -> ::windows::core::Result<()> { | |
2553 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDeferredContext)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(ppdeferredcontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
2554 | } | |
2555 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2556 | #[cfg(feature = "Win32_Foundation")] | |
2557 | pub unsafe fn OpenSharedResource<P0, T>(&self, hresource: P0, result__: *mut ::core::option::Option<T>) -> ::windows::core::Result<()> | |
2558 | where | |
2559 | P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, | |
2560 | T: ::windows::core::ComInterface, | |
2561 | { | |
2562 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.OpenSharedResource)(::windows::core::Interface::as_raw(self), hresource.into_param().abi(), &<T as ::windows::core::ComInterface>::IID, result__ as *mut _ as *mut _).ok() | |
2563 | } | |
2564 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2565 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2566 | pub unsafe fn CheckFormatSupport(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result<u32> { | |
2567 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
2568 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CheckFormatSupport)(::windows::core::Interface::as_raw(self), format, &mut result__).from_abi(result__) | |
2569 | } | |
2570 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2571 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2572 | pub unsafe fn CheckMultisampleQualityLevels(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32) -> ::windows::core::Result<u32> { | |
2573 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
2574 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CheckMultisampleQualityLevels)(::windows::core::Interface::as_raw(self), format, samplecount, &mut result__).from_abi(result__) | |
2575 | } | |
2576 | pub unsafe fn CheckCounterInfo(&self) -> D3D11_COUNTER_INFO { | |
2577 | let mut result__ = ::windows::core::zeroed::<D3D11_COUNTER_INFO>(); | |
2578 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CheckCounterInfo)(::windows::core::Interface::as_raw(self), &mut result__); | |
2579 | ::std::mem::transmute(result__) | |
2580 | } | |
2581 | pub unsafe fn CheckCounter(&self, pdesc: *const D3D11_COUNTER_DESC, ptype: *mut D3D11_COUNTER_TYPE, pactivecounters: *mut u32, szname: ::windows::core::PSTR, pnamelength: ::core::option::Option<*mut u32>, szunits: ::windows::core::PSTR, punitslength: ::core::option::Option<*mut u32>, szdescription: ::windows::core::PSTR, pdescriptionlength: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { | |
2582 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CheckCounter)(::windows::core::Interface::as_raw(self), pdesc, ptype, pactivecounters, ::core::mem::transmute(szname), ::core::mem::transmute(pnamelength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szunits), ::core::mem::transmute(punitslength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szdescription), ::core::mem::transmute(pdescriptionlength.unwrap_or(::std::ptr::null_mut()))).ok() | |
2583 | } | |
2584 | pub unsafe fn CheckFeatureSupport(&self, feature: D3D11_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows::core::Result<()> { | |
2585 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CheckFeatureSupport)(::windows::core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() | |
2586 | } | |
2587 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
2588 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
2589 | } | |
2590 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
2591 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
2592 | } | |
2593 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
2594 | where | |
2595 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
2596 | { | |
2597 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
2598 | } | |
2599 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
2600 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
2601 | pub unsafe fn GetFeatureLevel(&self) -> super::Direct3D::D3D_FEATURE_LEVEL { | |
2602 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetFeatureLevel)(::windows::core::Interface::as_raw(self)) | |
2603 | } | |
2604 | pub unsafe fn GetCreationFlags(&self) -> u32 { | |
2605 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetCreationFlags)(::windows::core::Interface::as_raw(self)) | |
2606 | } | |
2607 | pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows::core::Result<()> { | |
2608 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetDeviceRemovedReason)(::windows::core::Interface::as_raw(self)).ok() | |
2609 | } | |
2610 | pub unsafe fn GetImmediateContext(&self) -> ::windows::core::Result<ID3D11DeviceContext> { | |
2611 | let mut result__ = ::windows::core::zeroed::<ID3D11DeviceContext>(); | |
2612 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetImmediateContext)(::windows::core::Interface::as_raw(self), &mut result__); | |
2613 | ::windows::core::from_abi(result__) | |
2614 | } | |
2615 | pub unsafe fn SetExceptionMode(&self, raiseflags: u32) -> ::windows::core::Result<()> { | |
2616 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetExceptionMode)(::windows::core::Interface::as_raw(self), raiseflags).ok() | |
2617 | } | |
2618 | pub unsafe fn GetExceptionMode(&self) -> u32 { | |
2619 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetExceptionMode)(::windows::core::Interface::as_raw(self)) | |
2620 | } | |
2621 | pub unsafe fn GetImmediateContext1(&self) -> ::windows::core::Result<ID3D11DeviceContext1> { | |
2622 | let mut result__ = ::windows::core::zeroed::<ID3D11DeviceContext1>(); | |
2623 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetImmediateContext1)(::windows::core::Interface::as_raw(self), &mut result__); | |
2624 | ::windows::core::from_abi(result__) | |
2625 | } | |
2626 | pub unsafe fn CreateDeferredContext1(&self, contextflags: u32, ppdeferredcontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext1>>) -> ::windows::core::Result<()> { | |
2627 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDeferredContext1)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(ppdeferredcontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
2628 | } | |
2629 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2630 | #[cfg(feature = "Win32_Foundation")] | |
2631 | pub unsafe fn CreateBlendState1(&self, pblendstatedesc: *const D3D11_BLEND_DESC1, ppblendstate: ::core::option::Option<*mut ::core::option::Option<ID3D11BlendState1>>) -> ::windows::core::Result<()> { | |
2632 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateBlendState1)(::windows::core::Interface::as_raw(self), pblendstatedesc, ::core::mem::transmute(ppblendstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2633 | } | |
2634 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2635 | #[cfg(feature = "Win32_Foundation")] | |
2636 | pub unsafe fn CreateRasterizerState1(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC1, pprasterizerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11RasterizerState1>>) -> ::windows::core::Result<()> { | |
2637 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateRasterizerState1)(::windows::core::Interface::as_raw(self), prasterizerdesc, ::core::mem::transmute(pprasterizerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2638 | } | |
2639 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
2640 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
2641 | pub unsafe fn CreateDeviceContextState(&self, flags: u32, pfeaturelevels: &[super::Direct3D::D3D_FEATURE_LEVEL], sdkversion: u32, emulatedinterface: *const ::windows::core::GUID, pchosenfeaturelevel: ::core::option::Option<*mut super::Direct3D::D3D_FEATURE_LEVEL>, ppcontextstate: ::core::option::Option<*mut ::core::option::Option<ID3DDeviceContextState>>) -> ::windows::core::Result<()> { | |
2642 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDeviceContextState)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(pfeaturelevels.as_ptr()), pfeaturelevels.len() as _, sdkversion, emulatedinterface, ::core::mem::transmute(pchosenfeaturelevel.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppcontextstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2643 | } | |
2644 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2645 | #[cfg(feature = "Win32_Foundation")] | |
2646 | pub unsafe fn OpenSharedResource1<P0, T>(&self, hresource: P0) -> ::windows::core::Result<T> | |
2647 | where | |
2648 | P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, | |
2649 | T: ::windows::core::ComInterface, | |
2650 | { | |
2651 | let mut result__ = ::std::ptr::null_mut(); | |
2652 | (::windows::core::Interface::vtable(self).base__.base__.base__.OpenSharedResource1)(::windows::core::Interface::as_raw(self), hresource.into_param().abi(), &<T as ::windows::core::ComInterface>::IID, &mut result__).from_abi(result__) | |
2653 | } | |
2654 | pub unsafe fn OpenSharedResourceByName<P0, T>(&self, lpname: P0, dwdesiredaccess: u32) -> ::windows::core::Result<T> | |
2655 | where | |
2656 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
2657 | T: ::windows::core::ComInterface, | |
2658 | { | |
2659 | let mut result__ = ::std::ptr::null_mut(); | |
2660 | (::windows::core::Interface::vtable(self).base__.base__.base__.OpenSharedResourceByName)(::windows::core::Interface::as_raw(self), lpname.into_param().abi(), dwdesiredaccess, &<T as ::windows::core::ComInterface>::IID, &mut result__).from_abi(result__) | |
2661 | } | |
2662 | pub unsafe fn GetImmediateContext2(&self) -> ::windows::core::Result<ID3D11DeviceContext2> { | |
2663 | let mut result__ = ::windows::core::zeroed::<ID3D11DeviceContext2>(); | |
2664 | (::windows::core::Interface::vtable(self).base__.base__.GetImmediateContext2)(::windows::core::Interface::as_raw(self), &mut result__); | |
2665 | ::windows::core::from_abi(result__) | |
2666 | } | |
2667 | pub unsafe fn CreateDeferredContext2(&self, contextflags: u32, ppdeferredcontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext2>>) -> ::windows::core::Result<()> { | |
2668 | (::windows::core::Interface::vtable(self).base__.base__.CreateDeferredContext2)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(ppdeferredcontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
2669 | } | |
2670 | pub unsafe fn GetResourceTiling<P0>(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D11_PACKED_MIP_DESC>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D11_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D11_SUBRESOURCE_TILING) | |
2671 | where | |
2672 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2673 | { | |
2674 | (::windows::core::Interface::vtable(self).base__.base__.GetResourceTiling)(::windows::core::Interface::as_raw(self), ptiledresource.into_param().abi(), ::core::mem::transmute(pnumtilesforentireresource.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppackedmipdesc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pstandardtileshapefornonpackedmips.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumsubresourcetilings.unwrap_or(::std::ptr::null_mut())), firstsubresourcetilingtoget, psubresourcetilingsfornonpackedmips) | |
2675 | } | |
2676 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2677 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2678 | pub unsafe fn CheckMultisampleQualityLevels1(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32, flags: u32) -> ::windows::core::Result<u32> { | |
2679 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
2680 | (::windows::core::Interface::vtable(self).base__.base__.CheckMultisampleQualityLevels1)(::windows::core::Interface::as_raw(self), format, samplecount, flags, &mut result__).from_abi(result__) | |
2681 | } | |
2682 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2683 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2684 | pub unsafe fn CreateTexture2D1(&self, pdesc1: *const D3D11_TEXTURE2D_DESC1, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture2d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture2D1>>) -> ::windows::core::Result<()> { | |
2685 | (::windows::core::Interface::vtable(self).base__.CreateTexture2D1)(::windows::core::Interface::as_raw(self), pdesc1, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture2d.unwrap_or(::std::ptr::null_mut()))).ok() | |
2686 | } | |
2687 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2688 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2689 | pub unsafe fn CreateTexture3D1(&self, pdesc1: *const D3D11_TEXTURE3D_DESC1, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture3d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture3D1>>) -> ::windows::core::Result<()> { | |
2690 | (::windows::core::Interface::vtable(self).base__.CreateTexture3D1)(::windows::core::Interface::as_raw(self), pdesc1, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture3d.unwrap_or(::std::ptr::null_mut()))).ok() | |
2691 | } | |
2692 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2693 | #[cfg(feature = "Win32_Foundation")] | |
2694 | pub unsafe fn CreateRasterizerState2(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC2, pprasterizerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11RasterizerState2>>) -> ::windows::core::Result<()> { | |
2695 | (::windows::core::Interface::vtable(self).base__.CreateRasterizerState2)(::windows::core::Interface::as_raw(self), prasterizerdesc, ::core::mem::transmute(pprasterizerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2696 | } | |
2697 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2698 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
2699 | pub unsafe fn CreateShaderResourceView1<P0>(&self, presource: P0, pdesc1: ::core::option::Option<*const D3D11_SHADER_RESOURCE_VIEW_DESC1>, ppsrview1: ::core::option::Option<*mut ::core::option::Option<ID3D11ShaderResourceView1>>) -> ::windows::core::Result<()> | |
2700 | where | |
2701 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2702 | { | |
2703 | (::windows::core::Interface::vtable(self).base__.CreateShaderResourceView1)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppsrview1.unwrap_or(::std::ptr::null_mut()))).ok() | |
2704 | } | |
2705 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2706 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2707 | pub unsafe fn CreateUnorderedAccessView1<P0>(&self, presource: P0, pdesc1: ::core::option::Option<*const D3D11_UNORDERED_ACCESS_VIEW_DESC1>, ppuaview1: ::core::option::Option<*mut ::core::option::Option<ID3D11UnorderedAccessView1>>) -> ::windows::core::Result<()> | |
2708 | where | |
2709 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2710 | { | |
2711 | (::windows::core::Interface::vtable(self).base__.CreateUnorderedAccessView1)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppuaview1.unwrap_or(::std::ptr::null_mut()))).ok() | |
2712 | } | |
2713 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2714 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2715 | pub unsafe fn CreateRenderTargetView1<P0>(&self, presource: P0, pdesc1: ::core::option::Option<*const D3D11_RENDER_TARGET_VIEW_DESC1>, pprtview1: ::core::option::Option<*mut ::core::option::Option<ID3D11RenderTargetView1>>) -> ::windows::core::Result<()> | |
2716 | where | |
2717 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2718 | { | |
2719 | (::windows::core::Interface::vtable(self).base__.CreateRenderTargetView1)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pprtview1.unwrap_or(::std::ptr::null_mut()))).ok() | |
2720 | } | |
2721 | pub unsafe fn CreateQuery1(&self, pquerydesc1: *const D3D11_QUERY_DESC1, ppquery1: ::core::option::Option<*mut ::core::option::Option<ID3D11Query1>>) -> ::windows::core::Result<()> { | |
2722 | (::windows::core::Interface::vtable(self).base__.CreateQuery1)(::windows::core::Interface::as_raw(self), pquerydesc1, ::core::mem::transmute(ppquery1.unwrap_or(::std::ptr::null_mut()))).ok() | |
2723 | } | |
2724 | pub unsafe fn GetImmediateContext3(&self) -> ::windows::core::Result<ID3D11DeviceContext3> { | |
2725 | let mut result__ = ::windows::core::zeroed::<ID3D11DeviceContext3>(); | |
2726 | (::windows::core::Interface::vtable(self).base__.GetImmediateContext3)(::windows::core::Interface::as_raw(self), &mut result__); | |
2727 | ::windows::core::from_abi(result__) | |
2728 | } | |
2729 | pub unsafe fn CreateDeferredContext3(&self, contextflags: u32, ppdeferredcontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext3>>) -> ::windows::core::Result<()> { | |
2730 | (::windows::core::Interface::vtable(self).base__.CreateDeferredContext3)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(ppdeferredcontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
2731 | } | |
2732 | pub unsafe fn WriteToSubresource<P0>(&self, pdstresource: P0, dstsubresource: u32, pdstbox: ::core::option::Option<*const D3D11_BOX>, psrcdata: *const ::core::ffi::c_void, srcrowpitch: u32, srcdepthpitch: u32) | |
2733 | where | |
2734 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2735 | { | |
2736 | (::windows::core::Interface::vtable(self).base__.WriteToSubresource)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, ::core::mem::transmute(pdstbox.unwrap_or(::std::ptr::null())), psrcdata, srcrowpitch, srcdepthpitch) | |
2737 | } | |
2738 | pub unsafe fn ReadFromSubresource<P0>(&self, pdstdata: *mut ::core::ffi::c_void, dstrowpitch: u32, dstdepthpitch: u32, psrcresource: P0, srcsubresource: u32, psrcbox: ::core::option::Option<*const D3D11_BOX>) | |
2739 | where | |
2740 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2741 | { | |
2742 | (::windows::core::Interface::vtable(self).base__.ReadFromSubresource)(::windows::core::Interface::as_raw(self), pdstdata, dstrowpitch, dstdepthpitch, psrcresource.into_param().abi(), srcsubresource, ::core::mem::transmute(psrcbox.unwrap_or(::std::ptr::null()))) | |
2743 | } | |
2744 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2745 | #[cfg(feature = "Win32_Foundation")] | |
2746 | pub unsafe fn RegisterDeviceRemovedEvent<P0>(&self, hevent: P0) -> ::windows::core::Result<u32> | |
2747 | where | |
2748 | P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, | |
2749 | { | |
2750 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
2751 | (::windows::core::Interface::vtable(self).RegisterDeviceRemovedEvent)(::windows::core::Interface::as_raw(self), hevent.into_param().abi(), &mut result__).from_abi(result__) | |
2752 | } | |
2753 | pub unsafe fn UnregisterDeviceRemoved(&self, dwcookie: u32) { | |
2754 | (::windows::core::Interface::vtable(self).UnregisterDeviceRemoved)(::windows::core::Interface::as_raw(self), dwcookie) | |
2755 | } | |
2756 | } | |
2757 | ::windows::imp::interface_hierarchy!(ID3D11Device4, ::windows::core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2, ID3D11Device3); | |
2758 | impl ::core::cmp::PartialEq for ID3D11Device4 { | |
2759 | fn eq(&self, other: &Self) -> bool { | |
2760 | self.0 == other.0 | |
2761 | } | |
2762 | } | |
2763 | impl ::core::cmp::Eq for ID3D11Device4 {} | |
2764 | impl ::core::fmt::Debug for ID3D11Device4 { | |
2765 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
2766 | f.debug_tuple("ID3D11Device4").field(&self.0).finish() | |
2767 | } | |
2768 | } | |
2769 | unsafe impl ::core::marker::Send for ID3D11Device4 {} | |
2770 | unsafe impl ::core::marker::Sync for ID3D11Device4 {} | |
2771 | unsafe impl ::windows::core::Interface for ID3D11Device4 { | |
2772 | type Vtable = ID3D11Device4_Vtbl; | |
2773 | } | |
2774 | impl ::core::clone::Clone for ID3D11Device4 { | |
2775 | fn clone(&self) -> Self { | |
2776 | Self(self.0.clone()) | |
2777 | } | |
2778 | } | |
2779 | unsafe impl ::windows::core::ComInterface for ID3D11Device4 { | |
2780 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x8992ab71_02e6_4b8d_ba48_b056dcda42c4); | |
2781 | } | |
2782 | #[repr(C)] | |
2783 | #[doc(hidden)] | |
2784 | pub struct ID3D11Device4_Vtbl { | |
2785 | pub base__: ID3D11Device3_Vtbl, | |
2786 | #[cfg(feature = "Win32_Foundation")] | |
2787 | pub RegisterDeviceRemovedEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hevent: super::super::Foundation::HANDLE, pdwcookie: *mut u32) -> ::windows::core::HRESULT, | |
2788 | #[cfg(not(feature = "Win32_Foundation"))] | |
2789 | RegisterDeviceRemovedEvent: usize, | |
2790 | pub UnregisterDeviceRemoved: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, dwcookie: u32), | |
2791 | } | |
2792 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
2793 | #[repr(transparent)] | |
2794 | pub struct ID3D11Device5(::windows::core::IUnknown); | |
2795 | impl ID3D11Device5 { | |
2796 | pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, ppbuffer: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>) -> ::windows::core::Result<()> { | |
2797 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateBuffer)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppbuffer.unwrap_or(::std::ptr::null_mut()))).ok() | |
2798 | } | |
2799 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2800 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2801 | pub unsafe fn CreateTexture1D(&self, pdesc: *const D3D11_TEXTURE1D_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture1d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture1D>>) -> ::windows::core::Result<()> { | |
2802 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateTexture1D)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture1d.unwrap_or(::std::ptr::null_mut()))).ok() | |
2803 | } | |
2804 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2805 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2806 | pub unsafe fn CreateTexture2D(&self, pdesc: *const D3D11_TEXTURE2D_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture2d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture2D>>) -> ::windows::core::Result<()> { | |
2807 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateTexture2D)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture2d.unwrap_or(::std::ptr::null_mut()))).ok() | |
2808 | } | |
2809 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2810 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2811 | pub unsafe fn CreateTexture3D(&self, pdesc: *const D3D11_TEXTURE3D_DESC, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture3d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture3D>>) -> ::windows::core::Result<()> { | |
2812 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateTexture3D)(::windows::core::Interface::as_raw(self), pdesc, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture3d.unwrap_or(::std::ptr::null_mut()))).ok() | |
2813 | } | |
2814 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2815 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
2816 | pub unsafe fn CreateShaderResourceView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_SHADER_RESOURCE_VIEW_DESC>, ppsrview: ::core::option::Option<*mut ::core::option::Option<ID3D11ShaderResourceView>>) -> ::windows::core::Result<()> | |
2817 | where | |
2818 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2819 | { | |
2820 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateShaderResourceView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppsrview.unwrap_or(::std::ptr::null_mut()))).ok() | |
2821 | } | |
2822 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2823 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2824 | pub unsafe fn CreateUnorderedAccessView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_UNORDERED_ACCESS_VIEW_DESC>, ppuaview: ::core::option::Option<*mut ::core::option::Option<ID3D11UnorderedAccessView>>) -> ::windows::core::Result<()> | |
2825 | where | |
2826 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2827 | { | |
2828 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateUnorderedAccessView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppuaview.unwrap_or(::std::ptr::null_mut()))).ok() | |
2829 | } | |
2830 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2831 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2832 | pub unsafe fn CreateRenderTargetView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_RENDER_TARGET_VIEW_DESC>, pprtview: ::core::option::Option<*mut ::core::option::Option<ID3D11RenderTargetView>>) -> ::windows::core::Result<()> | |
2833 | where | |
2834 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2835 | { | |
2836 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateRenderTargetView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pprtview.unwrap_or(::std::ptr::null_mut()))).ok() | |
2837 | } | |
2838 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2839 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2840 | pub unsafe fn CreateDepthStencilView<P0>(&self, presource: P0, pdesc: ::core::option::Option<*const D3D11_DEPTH_STENCIL_VIEW_DESC>, ppdepthstencilview: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilView>>) -> ::windows::core::Result<()> | |
2841 | where | |
2842 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
2843 | { | |
2844 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateDepthStencilView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppdepthstencilview.unwrap_or(::std::ptr::null_mut()))).ok() | |
2845 | } | |
2846 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2847 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2848 | pub unsafe fn CreateInputLayout(&self, pinputelementdescs: &[D3D11_INPUT_ELEMENT_DESC], pshaderbytecodewithinputsignature: &[u8], ppinputlayout: ::core::option::Option<*mut ::core::option::Option<ID3D11InputLayout>>) -> ::windows::core::Result<()> { | |
2849 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateInputLayout)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pinputelementdescs.as_ptr()), pinputelementdescs.len() as _, ::core::mem::transmute(pshaderbytecodewithinputsignature.as_ptr()), pshaderbytecodewithinputsignature.len() as _, ::core::mem::transmute(ppinputlayout.unwrap_or(::std::ptr::null_mut()))).ok() | |
2850 | } | |
2851 | pub unsafe fn CreateVertexShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppvertexshader: ::core::option::Option<*mut ::core::option::Option<ID3D11VertexShader>>) -> ::windows::core::Result<()> | |
2852 | where | |
2853 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2854 | { | |
2855 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateVertexShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppvertexshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
2856 | } | |
2857 | pub unsafe fn CreateGeometryShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppgeometryshader: ::core::option::Option<*mut ::core::option::Option<ID3D11GeometryShader>>) -> ::windows::core::Result<()> | |
2858 | where | |
2859 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2860 | { | |
2861 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateGeometryShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppgeometryshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
2862 | } | |
2863 | pub unsafe fn CreateGeometryShaderWithStreamOutput<P0>(&self, pshaderbytecode: &[u8], psodeclaration: ::core::option::Option<&[D3D11_SO_DECLARATION_ENTRY]>, pbufferstrides: ::core::option::Option<&[u32]>, rasterizedstream: u32, pclasslinkage: P0, ppgeometryshader: ::core::option::Option<*mut ::core::option::Option<ID3D11GeometryShader>>) -> ::windows::core::Result<()> | |
2864 | where | |
2865 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2866 | { | |
2867 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateGeometryShaderWithStreamOutput)( | |
2868 | ::windows::core::Interface::as_raw(self), | |
2869 | ::core::mem::transmute(pshaderbytecode.as_ptr()), | |
2870 | pshaderbytecode.len() as _, | |
2871 | ::core::mem::transmute(psodeclaration.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
2872 | psodeclaration.as_deref().map_or(0, |slice| slice.len() as _), | |
2873 | ::core::mem::transmute(pbufferstrides.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
2874 | pbufferstrides.as_deref().map_or(0, |slice| slice.len() as _), | |
2875 | rasterizedstream, | |
2876 | pclasslinkage.into_param().abi(), | |
2877 | ::core::mem::transmute(ppgeometryshader.unwrap_or(::std::ptr::null_mut())), | |
2878 | ) | |
2879 | .ok() | |
2880 | } | |
2881 | pub unsafe fn CreatePixelShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, pppixelshader: ::core::option::Option<*mut ::core::option::Option<ID3D11PixelShader>>) -> ::windows::core::Result<()> | |
2882 | where | |
2883 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2884 | { | |
2885 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreatePixelShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(pppixelshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
2886 | } | |
2887 | pub unsafe fn CreateHullShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, pphullshader: ::core::option::Option<*mut ::core::option::Option<ID3D11HullShader>>) -> ::windows::core::Result<()> | |
2888 | where | |
2889 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2890 | { | |
2891 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateHullShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(pphullshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
2892 | } | |
2893 | pub unsafe fn CreateDomainShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppdomainshader: ::core::option::Option<*mut ::core::option::Option<ID3D11DomainShader>>) -> ::windows::core::Result<()> | |
2894 | where | |
2895 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2896 | { | |
2897 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateDomainShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppdomainshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
2898 | } | |
2899 | pub unsafe fn CreateComputeShader<P0>(&self, pshaderbytecode: &[u8], pclasslinkage: P0, ppcomputeshader: ::core::option::Option<*mut ::core::option::Option<ID3D11ComputeShader>>) -> ::windows::core::Result<()> | |
2900 | where | |
2901 | P0: ::windows::core::IntoParam<ID3D11ClassLinkage>, | |
2902 | { | |
2903 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateComputeShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pshaderbytecode.as_ptr()), pshaderbytecode.len() as _, pclasslinkage.into_param().abi(), ::core::mem::transmute(ppcomputeshader.unwrap_or(::std::ptr::null_mut()))).ok() | |
2904 | } | |
2905 | pub unsafe fn CreateClassLinkage(&self) -> ::windows::core::Result<ID3D11ClassLinkage> { | |
2906 | let mut result__ = ::windows::core::zeroed::<ID3D11ClassLinkage>(); | |
2907 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateClassLinkage)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
2908 | } | |
2909 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2910 | #[cfg(feature = "Win32_Foundation")] | |
2911 | pub unsafe fn CreateBlendState(&self, pblendstatedesc: *const D3D11_BLEND_DESC, ppblendstate: ::core::option::Option<*mut ::core::option::Option<ID3D11BlendState>>) -> ::windows::core::Result<()> { | |
2912 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateBlendState)(::windows::core::Interface::as_raw(self), pblendstatedesc, ::core::mem::transmute(ppblendstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2913 | } | |
2914 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2915 | #[cfg(feature = "Win32_Foundation")] | |
2916 | pub unsafe fn CreateDepthStencilState(&self, pdepthstencildesc: *const D3D11_DEPTH_STENCIL_DESC, ppdepthstencilstate: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilState>>) -> ::windows::core::Result<()> { | |
2917 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateDepthStencilState)(::windows::core::Interface::as_raw(self), pdepthstencildesc, ::core::mem::transmute(ppdepthstencilstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2918 | } | |
2919 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2920 | #[cfg(feature = "Win32_Foundation")] | |
2921 | pub unsafe fn CreateRasterizerState(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC, pprasterizerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11RasterizerState>>) -> ::windows::core::Result<()> { | |
2922 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateRasterizerState)(::windows::core::Interface::as_raw(self), prasterizerdesc, ::core::mem::transmute(pprasterizerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2923 | } | |
2924 | pub unsafe fn CreateSamplerState(&self, psamplerdesc: *const D3D11_SAMPLER_DESC, ppsamplerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11SamplerState>>) -> ::windows::core::Result<()> { | |
2925 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateSamplerState)(::windows::core::Interface::as_raw(self), psamplerdesc, ::core::mem::transmute(ppsamplerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2926 | } | |
2927 | pub unsafe fn CreateQuery(&self, pquerydesc: *const D3D11_QUERY_DESC, ppquery: ::core::option::Option<*mut ::core::option::Option<ID3D11Query>>) -> ::windows::core::Result<()> { | |
2928 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateQuery)(::windows::core::Interface::as_raw(self), pquerydesc, ::core::mem::transmute(ppquery.unwrap_or(::std::ptr::null_mut()))).ok() | |
2929 | } | |
2930 | pub unsafe fn CreatePredicate(&self, ppredicatedesc: *const D3D11_QUERY_DESC, pppredicate: ::core::option::Option<*mut ::core::option::Option<ID3D11Predicate>>) -> ::windows::core::Result<()> { | |
2931 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreatePredicate)(::windows::core::Interface::as_raw(self), ppredicatedesc, ::core::mem::transmute(pppredicate.unwrap_or(::std::ptr::null_mut()))).ok() | |
2932 | } | |
2933 | pub unsafe fn CreateCounter(&self, pcounterdesc: *const D3D11_COUNTER_DESC, ppcounter: ::core::option::Option<*mut ::core::option::Option<ID3D11Counter>>) -> ::windows::core::Result<()> { | |
2934 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateCounter)(::windows::core::Interface::as_raw(self), pcounterdesc, ::core::mem::transmute(ppcounter.unwrap_or(::std::ptr::null_mut()))).ok() | |
2935 | } | |
2936 | pub unsafe fn CreateDeferredContext(&self, contextflags: u32, ppdeferredcontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext>>) -> ::windows::core::Result<()> { | |
2937 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CreateDeferredContext)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(ppdeferredcontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
2938 | } | |
2939 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
2940 | #[cfg(feature = "Win32_Foundation")] | |
2941 | pub unsafe fn OpenSharedResource<P0, T>(&self, hresource: P0, result__: *mut ::core::option::Option<T>) -> ::windows::core::Result<()> | |
2942 | where | |
2943 | P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, | |
2944 | T: ::windows::core::ComInterface, | |
2945 | { | |
2946 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.OpenSharedResource)(::windows::core::Interface::as_raw(self), hresource.into_param().abi(), &<T as ::windows::core::ComInterface>::IID, result__ as *mut _ as *mut _).ok() | |
2947 | } | |
2948 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2949 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2950 | pub unsafe fn CheckFormatSupport(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result<u32> { | |
2951 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
2952 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CheckFormatSupport)(::windows::core::Interface::as_raw(self), format, &mut result__).from_abi(result__) | |
2953 | } | |
2954 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
2955 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
2956 | pub unsafe fn CheckMultisampleQualityLevels(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32) -> ::windows::core::Result<u32> { | |
2957 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
2958 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CheckMultisampleQualityLevels)(::windows::core::Interface::as_raw(self), format, samplecount, &mut result__).from_abi(result__) | |
2959 | } | |
2960 | pub unsafe fn CheckCounterInfo(&self) -> D3D11_COUNTER_INFO { | |
2961 | let mut result__ = ::windows::core::zeroed::<D3D11_COUNTER_INFO>(); | |
2962 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CheckCounterInfo)(::windows::core::Interface::as_raw(self), &mut result__); | |
2963 | ::std::mem::transmute(result__) | |
2964 | } | |
2965 | pub unsafe fn CheckCounter(&self, pdesc: *const D3D11_COUNTER_DESC, ptype: *mut D3D11_COUNTER_TYPE, pactivecounters: *mut u32, szname: ::windows::core::PSTR, pnamelength: ::core::option::Option<*mut u32>, szunits: ::windows::core::PSTR, punitslength: ::core::option::Option<*mut u32>, szdescription: ::windows::core::PSTR, pdescriptionlength: ::core::option::Option<*mut u32>) -> ::windows::core::Result<()> { | |
2966 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CheckCounter)(::windows::core::Interface::as_raw(self), pdesc, ptype, pactivecounters, ::core::mem::transmute(szname), ::core::mem::transmute(pnamelength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szunits), ::core::mem::transmute(punitslength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(szdescription), ::core::mem::transmute(pdescriptionlength.unwrap_or(::std::ptr::null_mut()))).ok() | |
2967 | } | |
2968 | pub unsafe fn CheckFeatureSupport(&self, feature: D3D11_FEATURE, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows::core::Result<()> { | |
2969 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.CheckFeatureSupport)(::windows::core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() | |
2970 | } | |
2971 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
2972 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
2973 | } | |
2974 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
2975 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
2976 | } | |
2977 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
2978 | where | |
2979 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
2980 | { | |
2981 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
2982 | } | |
2983 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
2984 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
2985 | pub unsafe fn GetFeatureLevel(&self) -> super::Direct3D::D3D_FEATURE_LEVEL { | |
2986 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetFeatureLevel)(::windows::core::Interface::as_raw(self)) | |
2987 | } | |
2988 | pub unsafe fn GetCreationFlags(&self) -> u32 { | |
2989 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetCreationFlags)(::windows::core::Interface::as_raw(self)) | |
2990 | } | |
2991 | pub unsafe fn GetDeviceRemovedReason(&self) -> ::windows::core::Result<()> { | |
2992 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetDeviceRemovedReason)(::windows::core::Interface::as_raw(self)).ok() | |
2993 | } | |
2994 | pub unsafe fn GetImmediateContext(&self) -> ::windows::core::Result<ID3D11DeviceContext> { | |
2995 | let mut result__ = ::windows::core::zeroed::<ID3D11DeviceContext>(); | |
2996 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetImmediateContext)(::windows::core::Interface::as_raw(self), &mut result__); | |
2997 | ::windows::core::from_abi(result__) | |
2998 | } | |
2999 | pub unsafe fn SetExceptionMode(&self, raiseflags: u32) -> ::windows::core::Result<()> { | |
3000 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.SetExceptionMode)(::windows::core::Interface::as_raw(self), raiseflags).ok() | |
3001 | } | |
3002 | pub unsafe fn GetExceptionMode(&self) -> u32 { | |
3003 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetExceptionMode)(::windows::core::Interface::as_raw(self)) | |
3004 | } | |
3005 | pub unsafe fn GetImmediateContext1(&self) -> ::windows::core::Result<ID3D11DeviceContext1> { | |
3006 | let mut result__ = ::windows::core::zeroed::<ID3D11DeviceContext1>(); | |
3007 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetImmediateContext1)(::windows::core::Interface::as_raw(self), &mut result__); | |
3008 | ::windows::core::from_abi(result__) | |
3009 | } | |
3010 | pub unsafe fn CreateDeferredContext1(&self, contextflags: u32, ppdeferredcontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext1>>) -> ::windows::core::Result<()> { | |
3011 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDeferredContext1)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(ppdeferredcontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
3012 | } | |
3013 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
3014 | #[cfg(feature = "Win32_Foundation")] | |
3015 | pub unsafe fn CreateBlendState1(&self, pblendstatedesc: *const D3D11_BLEND_DESC1, ppblendstate: ::core::option::Option<*mut ::core::option::Option<ID3D11BlendState1>>) -> ::windows::core::Result<()> { | |
3016 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateBlendState1)(::windows::core::Interface::as_raw(self), pblendstatedesc, ::core::mem::transmute(ppblendstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
3017 | } | |
3018 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
3019 | #[cfg(feature = "Win32_Foundation")] | |
3020 | pub unsafe fn CreateRasterizerState1(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC1, pprasterizerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11RasterizerState1>>) -> ::windows::core::Result<()> { | |
3021 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateRasterizerState1)(::windows::core::Interface::as_raw(self), prasterizerdesc, ::core::mem::transmute(pprasterizerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
3022 | } | |
3023 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
3024 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
3025 | pub unsafe fn CreateDeviceContextState(&self, flags: u32, pfeaturelevels: &[super::Direct3D::D3D_FEATURE_LEVEL], sdkversion: u32, emulatedinterface: *const ::windows::core::GUID, pchosenfeaturelevel: ::core::option::Option<*mut super::Direct3D::D3D_FEATURE_LEVEL>, ppcontextstate: ::core::option::Option<*mut ::core::option::Option<ID3DDeviceContextState>>) -> ::windows::core::Result<()> { | |
3026 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CreateDeviceContextState)(::windows::core::Interface::as_raw(self), flags, ::core::mem::transmute(pfeaturelevels.as_ptr()), pfeaturelevels.len() as _, sdkversion, emulatedinterface, ::core::mem::transmute(pchosenfeaturelevel.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppcontextstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
3027 | } | |
3028 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
3029 | #[cfg(feature = "Win32_Foundation")] | |
3030 | pub unsafe fn OpenSharedResource1<P0, T>(&self, hresource: P0) -> ::windows::core::Result<T> | |
3031 | where | |
3032 | P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, | |
3033 | T: ::windows::core::ComInterface, | |
3034 | { | |
3035 | let mut result__ = ::std::ptr::null_mut(); | |
3036 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.OpenSharedResource1)(::windows::core::Interface::as_raw(self), hresource.into_param().abi(), &<T as ::windows::core::ComInterface>::IID, &mut result__).from_abi(result__) | |
3037 | } | |
3038 | pub unsafe fn OpenSharedResourceByName<P0, T>(&self, lpname: P0, dwdesiredaccess: u32) -> ::windows::core::Result<T> | |
3039 | where | |
3040 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
3041 | T: ::windows::core::ComInterface, | |
3042 | { | |
3043 | let mut result__ = ::std::ptr::null_mut(); | |
3044 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.OpenSharedResourceByName)(::windows::core::Interface::as_raw(self), lpname.into_param().abi(), dwdesiredaccess, &<T as ::windows::core::ComInterface>::IID, &mut result__).from_abi(result__) | |
3045 | } | |
3046 | pub unsafe fn GetImmediateContext2(&self) -> ::windows::core::Result<ID3D11DeviceContext2> { | |
3047 | let mut result__ = ::windows::core::zeroed::<ID3D11DeviceContext2>(); | |
3048 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetImmediateContext2)(::windows::core::Interface::as_raw(self), &mut result__); | |
3049 | ::windows::core::from_abi(result__) | |
3050 | } | |
3051 | pub unsafe fn CreateDeferredContext2(&self, contextflags: u32, ppdeferredcontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext2>>) -> ::windows::core::Result<()> { | |
3052 | (::windows::core::Interface::vtable(self).base__.base__.base__.CreateDeferredContext2)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(ppdeferredcontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
3053 | } | |
3054 | pub unsafe fn GetResourceTiling<P0>(&self, ptiledresource: P0, pnumtilesforentireresource: ::core::option::Option<*mut u32>, ppackedmipdesc: ::core::option::Option<*mut D3D11_PACKED_MIP_DESC>, pstandardtileshapefornonpackedmips: ::core::option::Option<*mut D3D11_TILE_SHAPE>, pnumsubresourcetilings: ::core::option::Option<*mut u32>, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D11_SUBRESOURCE_TILING) | |
3055 | where | |
3056 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
3057 | { | |
3058 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetResourceTiling)(::windows::core::Interface::as_raw(self), ptiledresource.into_param().abi(), ::core::mem::transmute(pnumtilesforentireresource.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppackedmipdesc.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pstandardtileshapefornonpackedmips.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumsubresourcetilings.unwrap_or(::std::ptr::null_mut())), firstsubresourcetilingtoget, psubresourcetilingsfornonpackedmips) | |
3059 | } | |
3060 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
3061 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
3062 | pub unsafe fn CheckMultisampleQualityLevels1(&self, format: super::Dxgi::Common::DXGI_FORMAT, samplecount: u32, flags: u32) -> ::windows::core::Result<u32> { | |
3063 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
3064 | (::windows::core::Interface::vtable(self).base__.base__.base__.CheckMultisampleQualityLevels1)(::windows::core::Interface::as_raw(self), format, samplecount, flags, &mut result__).from_abi(result__) | |
3065 | } | |
3066 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
3067 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
3068 | pub unsafe fn CreateTexture2D1(&self, pdesc1: *const D3D11_TEXTURE2D_DESC1, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture2d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture2D1>>) -> ::windows::core::Result<()> { | |
3069 | (::windows::core::Interface::vtable(self).base__.base__.CreateTexture2D1)(::windows::core::Interface::as_raw(self), pdesc1, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture2d.unwrap_or(::std::ptr::null_mut()))).ok() | |
3070 | } | |
3071 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
3072 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
3073 | pub unsafe fn CreateTexture3D1(&self, pdesc1: *const D3D11_TEXTURE3D_DESC1, pinitialdata: ::core::option::Option<*const D3D11_SUBRESOURCE_DATA>, pptexture3d: ::core::option::Option<*mut ::core::option::Option<ID3D11Texture3D1>>) -> ::windows::core::Result<()> { | |
3074 | (::windows::core::Interface::vtable(self).base__.base__.CreateTexture3D1)(::windows::core::Interface::as_raw(self), pdesc1, ::core::mem::transmute(pinitialdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pptexture3d.unwrap_or(::std::ptr::null_mut()))).ok() | |
3075 | } | |
3076 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
3077 | #[cfg(feature = "Win32_Foundation")] | |
3078 | pub unsafe fn CreateRasterizerState2(&self, prasterizerdesc: *const D3D11_RASTERIZER_DESC2, pprasterizerstate: ::core::option::Option<*mut ::core::option::Option<ID3D11RasterizerState2>>) -> ::windows::core::Result<()> { | |
3079 | (::windows::core::Interface::vtable(self).base__.base__.CreateRasterizerState2)(::windows::core::Interface::as_raw(self), prasterizerdesc, ::core::mem::transmute(pprasterizerstate.unwrap_or(::std::ptr::null_mut()))).ok() | |
3080 | } | |
3081 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
3082 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
3083 | pub unsafe fn CreateShaderResourceView1<P0>(&self, presource: P0, pdesc1: ::core::option::Option<*const D3D11_SHADER_RESOURCE_VIEW_DESC1>, ppsrview1: ::core::option::Option<*mut ::core::option::Option<ID3D11ShaderResourceView1>>) -> ::windows::core::Result<()> | |
3084 | where | |
3085 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
3086 | { | |
3087 | (::windows::core::Interface::vtable(self).base__.base__.CreateShaderResourceView1)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppsrview1.unwrap_or(::std::ptr::null_mut()))).ok() | |
3088 | } | |
3089 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
3090 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
3091 | pub unsafe fn CreateUnorderedAccessView1<P0>(&self, presource: P0, pdesc1: ::core::option::Option<*const D3D11_UNORDERED_ACCESS_VIEW_DESC1>, ppuaview1: ::core::option::Option<*mut ::core::option::Option<ID3D11UnorderedAccessView1>>) -> ::windows::core::Result<()> | |
3092 | where | |
3093 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
3094 | { | |
3095 | (::windows::core::Interface::vtable(self).base__.base__.CreateUnorderedAccessView1)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(ppuaview1.unwrap_or(::std::ptr::null_mut()))).ok() | |
3096 | } | |
3097 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
3098 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
3099 | pub unsafe fn CreateRenderTargetView1<P0>(&self, presource: P0, pdesc1: ::core::option::Option<*const D3D11_RENDER_TARGET_VIEW_DESC1>, pprtview1: ::core::option::Option<*mut ::core::option::Option<ID3D11RenderTargetView1>>) -> ::windows::core::Result<()> | |
3100 | where | |
3101 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
3102 | { | |
3103 | (::windows::core::Interface::vtable(self).base__.base__.CreateRenderTargetView1)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), ::core::mem::transmute(pdesc1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pprtview1.unwrap_or(::std::ptr::null_mut()))).ok() | |
3104 | } | |
3105 | pub unsafe fn CreateQuery1(&self, pquerydesc1: *const D3D11_QUERY_DESC1, ppquery1: ::core::option::Option<*mut ::core::option::Option<ID3D11Query1>>) -> ::windows::core::Result<()> { | |
3106 | (::windows::core::Interface::vtable(self).base__.base__.CreateQuery1)(::windows::core::Interface::as_raw(self), pquerydesc1, ::core::mem::transmute(ppquery1.unwrap_or(::std::ptr::null_mut()))).ok() | |
3107 | } | |
3108 | pub unsafe fn GetImmediateContext3(&self) -> ::windows::core::Result<ID3D11DeviceContext3> { | |
3109 | let mut result__ = ::windows::core::zeroed::<ID3D11DeviceContext3>(); | |
3110 | (::windows::core::Interface::vtable(self).base__.base__.GetImmediateContext3)(::windows::core::Interface::as_raw(self), &mut result__); | |
3111 | ::windows::core::from_abi(result__) | |
3112 | } | |
3113 | pub unsafe fn CreateDeferredContext3(&self, contextflags: u32, ppdeferredcontext: ::core::option::Option<*mut ::core::option::Option<ID3D11DeviceContext3>>) -> ::windows::core::Result<()> { | |
3114 | (::windows::core::Interface::vtable(self).base__.base__.CreateDeferredContext3)(::windows::core::Interface::as_raw(self), contextflags, ::core::mem::transmute(ppdeferredcontext.unwrap_or(::std::ptr::null_mut()))).ok() | |
3115 | } | |
3116 | pub unsafe fn WriteToSubresource<P0>(&self, pdstresource: P0, dstsubresource: u32, pdstbox: ::core::option::Option<*const D3D11_BOX>, psrcdata: *const ::core::ffi::c_void, srcrowpitch: u32, srcdepthpitch: u32) | |
3117 | where | |
3118 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
3119 | { | |
3120 | (::windows::core::Interface::vtable(self).base__.base__.WriteToSubresource)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, ::core::mem::transmute(pdstbox.unwrap_or(::std::ptr::null())), psrcdata, srcrowpitch, srcdepthpitch) | |
3121 | } | |
3122 | pub unsafe fn ReadFromSubresource<P0>(&self, pdstdata: *mut ::core::ffi::c_void, dstrowpitch: u32, dstdepthpitch: u32, psrcresource: P0, srcsubresource: u32, psrcbox: ::core::option::Option<*const D3D11_BOX>) | |
3123 | where | |
3124 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
3125 | { | |
3126 | (::windows::core::Interface::vtable(self).base__.base__.ReadFromSubresource)(::windows::core::Interface::as_raw(self), pdstdata, dstrowpitch, dstdepthpitch, psrcresource.into_param().abi(), srcsubresource, ::core::mem::transmute(psrcbox.unwrap_or(::std::ptr::null()))) | |
3127 | } | |
3128 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
3129 | #[cfg(feature = "Win32_Foundation")] | |
3130 | pub unsafe fn RegisterDeviceRemovedEvent<P0>(&self, hevent: P0) -> ::windows::core::Result<u32> | |
3131 | where | |
3132 | P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, | |
3133 | { | |
3134 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
3135 | (::windows::core::Interface::vtable(self).base__.RegisterDeviceRemovedEvent)(::windows::core::Interface::as_raw(self), hevent.into_param().abi(), &mut result__).from_abi(result__) | |
3136 | } | |
3137 | pub unsafe fn UnregisterDeviceRemoved(&self, dwcookie: u32) { | |
3138 | (::windows::core::Interface::vtable(self).base__.UnregisterDeviceRemoved)(::windows::core::Interface::as_raw(self), dwcookie) | |
3139 | } | |
3140 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
3141 | #[cfg(feature = "Win32_Foundation")] | |
3142 | pub unsafe fn OpenSharedFence<P0, T>(&self, hfence: P0, result__: *mut ::core::option::Option<T>) -> ::windows::core::Result<()> | |
3143 | where | |
3144 | P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, | |
3145 | T: ::windows::core::ComInterface, | |
3146 | { | |
3147 | (::windows::core::Interface::vtable(self).OpenSharedFence)(::windows::core::Interface::as_raw(self), hfence.into_param().abi(), &<T as ::windows::core::ComInterface>::IID, result__ as *mut _ as *mut _).ok() | |
3148 | } | |
3149 | pub unsafe fn CreateFence<T>(&self, initialvalue: u64, flags: D3D11_FENCE_FLAG, result__: *mut ::core::option::Option<T>) -> ::windows::core::Result<()> | |
3150 | where | |
3151 | T: ::windows::core::ComInterface, | |
3152 | { | |
3153 | (::windows::core::Interface::vtable(self).CreateFence)(::windows::core::Interface::as_raw(self), initialvalue, flags, &<T as ::windows::core::ComInterface>::IID, result__ as *mut _ as *mut _).ok() | |
3154 | } | |
3155 | } | |
3156 | ::windows::imp::interface_hierarchy!(ID3D11Device5, ::windows::core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2, ID3D11Device3, ID3D11Device4); | |
3157 | impl ::core::cmp::PartialEq for ID3D11Device5 { | |
3158 | fn eq(&self, other: &Self) -> bool { | |
3159 | self.0 == other.0 | |
3160 | } | |
3161 | } | |
3162 | impl ::core::cmp::Eq for ID3D11Device5 {} | |
3163 | impl ::core::fmt::Debug for ID3D11Device5 { | |
3164 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3165 | f.debug_tuple("ID3D11Device5").field(&self.0).finish() | |
3166 | } | |
3167 | } | |
3168 | unsafe impl ::core::marker::Send for ID3D11Device5 {} | |
3169 | unsafe impl ::core::marker::Sync for ID3D11Device5 {} | |
3170 | unsafe impl ::windows::core::Interface for ID3D11Device5 { | |
3171 | type Vtable = ID3D11Device5_Vtbl; | |
3172 | } | |
3173 | impl ::core::clone::Clone for ID3D11Device5 { | |
3174 | fn clone(&self) -> Self { | |
3175 | Self(self.0.clone()) | |
3176 | } | |
3177 | } | |
3178 | unsafe impl ::windows::core::ComInterface for ID3D11Device5 { | |
3179 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x8ffde202_a0e7_45df_9e01_e837801b5ea0); | |
3180 | } | |
3181 | #[repr(C)] | |
3182 | #[doc(hidden)] | |
3183 | pub struct ID3D11Device5_Vtbl { | |
3184 | pub base__: ID3D11Device4_Vtbl, | |
3185 | #[cfg(feature = "Win32_Foundation")] | |
3186 | pub OpenSharedFence: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hfence: super::super::Foundation::HANDLE, returnedinterface: *const ::windows::core::GUID, ppfence: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
3187 | #[cfg(not(feature = "Win32_Foundation"))] | |
3188 | OpenSharedFence: usize, | |
3189 | pub CreateFence: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, initialvalue: u64, flags: D3D11_FENCE_FLAG, returnedinterface: *const ::windows::core::GUID, ppfence: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
3190 | } | |
3191 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
3192 | #[repr(transparent)] | |
3193 | pub struct ID3D11DeviceChild(::windows::core::IUnknown); | |
3194 | impl ID3D11DeviceChild { | |
3195 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
3196 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
3197 | (::windows::core::Interface::vtable(self).GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
3198 | ::windows::core::from_abi(result__) | |
3199 | } | |
3200 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
3201 | (::windows::core::Interface::vtable(self).GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
3202 | } | |
3203 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
3204 | (::windows::core::Interface::vtable(self).SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
3205 | } | |
3206 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
3207 | where | |
3208 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
3209 | { | |
3210 | (::windows::core::Interface::vtable(self).SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
3211 | } | |
3212 | } | |
3213 | ::windows::imp::interface_hierarchy!(ID3D11DeviceChild, ::windows::core::IUnknown); | |
3214 | impl ::core::cmp::PartialEq for ID3D11DeviceChild { | |
3215 | fn eq(&self, other: &Self) -> bool { | |
3216 | self.0 == other.0 | |
3217 | } | |
3218 | } | |
3219 | impl ::core::cmp::Eq for ID3D11DeviceChild {} | |
3220 | impl ::core::fmt::Debug for ID3D11DeviceChild { | |
3221 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3222 | f.debug_tuple("ID3D11DeviceChild").field(&self.0).finish() | |
3223 | } | |
3224 | } | |
3225 | unsafe impl ::core::marker::Send for ID3D11DeviceChild {} | |
3226 | unsafe impl ::core::marker::Sync for ID3D11DeviceChild {} | |
3227 | unsafe impl ::windows::core::Interface for ID3D11DeviceChild { | |
3228 | type Vtable = ID3D11DeviceChild_Vtbl; | |
3229 | } | |
3230 | impl ::core::clone::Clone for ID3D11DeviceChild { | |
3231 | fn clone(&self) -> Self { | |
3232 | Self(self.0.clone()) | |
3233 | } | |
3234 | } | |
3235 | unsafe impl ::windows::core::ComInterface for ID3D11DeviceChild { | |
3236 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1841e5c8_16b0_489b_bcc8_44cfb0d5deae); | |
3237 | } | |
3238 | #[repr(C)] | |
3239 | #[doc(hidden)] | |
3240 | pub struct ID3D11DeviceChild_Vtbl { | |
3241 | pub base__: ::windows::core::IUnknown_Vtbl, | |
3242 | pub GetDevice: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppdevice: *mut *mut ::core::ffi::c_void), | |
3243 | pub GetPrivateData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
3244 | pub SetPrivateData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guid: *const ::windows::core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
3245 | pub SetPrivateDataInterface: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guid: *const ::windows::core::GUID, pdata: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
3246 | } | |
3247 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
3248 | #[repr(transparent)] | |
3249 | pub struct ID3D11DeviceContext(::windows::core::IUnknown); | |
3250 | impl ID3D11DeviceContext { | |
3251 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
3252 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
3253 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
3254 | ::windows::core::from_abi(result__) | |
3255 | } | |
3256 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
3257 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
3258 | } | |
3259 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
3260 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
3261 | } | |
3262 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
3263 | where | |
3264 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
3265 | { | |
3266 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
3267 | } | |
3268 | pub unsafe fn VSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
3269 | (::windows::core::Interface::vtable(self).VSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3270 | } | |
3271 | pub unsafe fn PSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
3272 | (::windows::core::Interface::vtable(self).PSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3273 | } | |
3274 | pub unsafe fn PSSetShader<P0>(&self, ppixelshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
3275 | where | |
3276 | P0: ::windows::core::IntoParam<ID3D11PixelShader>, | |
3277 | { | |
3278 | (::windows::core::Interface::vtable(self).PSSetShader)(::windows::core::Interface::as_raw(self), ppixelshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
3279 | } | |
3280 | pub unsafe fn PSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
3281 | (::windows::core::Interface::vtable(self).PSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3282 | } | |
3283 | pub unsafe fn VSSetShader<P0>(&self, pvertexshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
3284 | where | |
3285 | P0: ::windows::core::IntoParam<ID3D11VertexShader>, | |
3286 | { | |
3287 | (::windows::core::Interface::vtable(self).VSSetShader)(::windows::core::Interface::as_raw(self), pvertexshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
3288 | } | |
3289 | pub unsafe fn DrawIndexed(&self, indexcount: u32, startindexlocation: u32, basevertexlocation: i32) { | |
3290 | (::windows::core::Interface::vtable(self).DrawIndexed)(::windows::core::Interface::as_raw(self), indexcount, startindexlocation, basevertexlocation) | |
3291 | } | |
3292 | pub unsafe fn Draw(&self, vertexcount: u32, startvertexlocation: u32) { | |
3293 | (::windows::core::Interface::vtable(self).Draw)(::windows::core::Interface::as_raw(self), vertexcount, startvertexlocation) | |
3294 | } | |
3295 | pub unsafe fn Map<P0>(&self, presource: P0, subresource: u32, maptype: D3D11_MAP, mapflags: u32, pmappedresource: ::core::option::Option<*mut D3D11_MAPPED_SUBRESOURCE>) -> ::windows::core::Result<()> | |
3296 | where | |
3297 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
3298 | { | |
3299 | (::windows::core::Interface::vtable(self).Map)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), subresource, maptype, mapflags, ::core::mem::transmute(pmappedresource.unwrap_or(::std::ptr::null_mut()))).ok() | |
3300 | } | |
3301 | pub unsafe fn Unmap<P0>(&self, presource: P0, subresource: u32) | |
3302 | where | |
3303 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
3304 | { | |
3305 | (::windows::core::Interface::vtable(self).Unmap)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), subresource) | |
3306 | } | |
3307 | pub unsafe fn PSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
3308 | (::windows::core::Interface::vtable(self).PSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3309 | } | |
3310 | pub unsafe fn IASetInputLayout<P0>(&self, pinputlayout: P0) | |
3311 | where | |
3312 | P0: ::windows::core::IntoParam<ID3D11InputLayout>, | |
3313 | { | |
3314 | (::windows::core::Interface::vtable(self).IASetInputLayout)(::windows::core::Interface::as_raw(self), pinputlayout.into_param().abi()) | |
3315 | } | |
3316 | pub unsafe fn IASetVertexBuffers(&self, startslot: u32, numbuffers: u32, ppvertexbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pstrides: ::core::option::Option<*const u32>, poffsets: ::core::option::Option<*const u32>) { | |
3317 | (::windows::core::Interface::vtable(self).IASetVertexBuffers)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppvertexbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pstrides.unwrap_or(::std::ptr::null())), ::core::mem::transmute(poffsets.unwrap_or(::std::ptr::null()))) | |
3318 | } | |
3319 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
3320 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
3321 | pub unsafe fn IASetIndexBuffer<P0>(&self, pindexbuffer: P0, format: super::Dxgi::Common::DXGI_FORMAT, offset: u32) | |
3322 | where | |
3323 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
3324 | { | |
3325 | (::windows::core::Interface::vtable(self).IASetIndexBuffer)(::windows::core::Interface::as_raw(self), pindexbuffer.into_param().abi(), format, offset) | |
3326 | } | |
3327 | pub unsafe fn DrawIndexedInstanced(&self, indexcountperinstance: u32, instancecount: u32, startindexlocation: u32, basevertexlocation: i32, startinstancelocation: u32) { | |
3328 | (::windows::core::Interface::vtable(self).DrawIndexedInstanced)(::windows::core::Interface::as_raw(self), indexcountperinstance, instancecount, startindexlocation, basevertexlocation, startinstancelocation) | |
3329 | } | |
3330 | pub unsafe fn DrawInstanced(&self, vertexcountperinstance: u32, instancecount: u32, startvertexlocation: u32, startinstancelocation: u32) { | |
3331 | (::windows::core::Interface::vtable(self).DrawInstanced)(::windows::core::Interface::as_raw(self), vertexcountperinstance, instancecount, startvertexlocation, startinstancelocation) | |
3332 | } | |
3333 | pub unsafe fn GSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
3334 | (::windows::core::Interface::vtable(self).GSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3335 | } | |
3336 | pub unsafe fn GSSetShader<P0>(&self, pshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
3337 | where | |
3338 | P0: ::windows::core::IntoParam<ID3D11GeometryShader>, | |
3339 | { | |
3340 | (::windows::core::Interface::vtable(self).GSSetShader)(::windows::core::Interface::as_raw(self), pshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
3341 | } | |
3342 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
3343 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
3344 | pub unsafe fn IASetPrimitiveTopology(&self, topology: super::Direct3D::D3D_PRIMITIVE_TOPOLOGY) { | |
3345 | (::windows::core::Interface::vtable(self).IASetPrimitiveTopology)(::windows::core::Interface::as_raw(self), topology) | |
3346 | } | |
3347 | pub unsafe fn VSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
3348 | (::windows::core::Interface::vtable(self).VSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3349 | } | |
3350 | pub unsafe fn VSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
3351 | (::windows::core::Interface::vtable(self).VSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3352 | } | |
3353 | pub unsafe fn Begin<P0>(&self, pasync: P0) | |
3354 | where | |
3355 | P0: ::windows::core::IntoParam<ID3D11Asynchronous>, | |
3356 | { | |
3357 | (::windows::core::Interface::vtable(self).Begin)(::windows::core::Interface::as_raw(self), pasync.into_param().abi()) | |
3358 | } | |
3359 | pub unsafe fn End<P0>(&self, pasync: P0) | |
3360 | where | |
3361 | P0: ::windows::core::IntoParam<ID3D11Asynchronous>, | |
3362 | { | |
3363 | (::windows::core::Interface::vtable(self).End)(::windows::core::Interface::as_raw(self), pasync.into_param().abi()) | |
3364 | } | |
3365 | pub unsafe fn GetData<P0>(&self, pasync: P0, pdata: ::core::option::Option<*mut ::core::ffi::c_void>, datasize: u32, getdataflags: u32) -> ::windows::core::Result<()> | |
3366 | where | |
3367 | P0: ::windows::core::IntoParam<ID3D11Asynchronous>, | |
3368 | { | |
3369 | (::windows::core::Interface::vtable(self).GetData)(::windows::core::Interface::as_raw(self), pasync.into_param().abi(), ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut())), datasize, getdataflags).ok() | |
3370 | } | |
3371 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
3372 | #[cfg(feature = "Win32_Foundation")] | |
3373 | pub unsafe fn SetPredication<P0, P1>(&self, ppredicate: P0, predicatevalue: P1) | |
3374 | where | |
3375 | P0: ::windows::core::IntoParam<ID3D11Predicate>, | |
3376 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
3377 | { | |
3378 | (::windows::core::Interface::vtable(self).SetPredication)(::windows::core::Interface::as_raw(self), ppredicate.into_param().abi(), predicatevalue.into_param().abi()) | |
3379 | } | |
3380 | pub unsafe fn GSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
3381 | (::windows::core::Interface::vtable(self).GSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3382 | } | |
3383 | pub unsafe fn GSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
3384 | (::windows::core::Interface::vtable(self).GSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3385 | } | |
3386 | pub unsafe fn OMSetRenderTargets<P0>(&self, pprendertargetviews: ::core::option::Option<&[::core::option::Option<ID3D11RenderTargetView>]>, pdepthstencilview: P0) | |
3387 | where | |
3388 | P0: ::windows::core::IntoParam<ID3D11DepthStencilView>, | |
3389 | { | |
3390 | (::windows::core::Interface::vtable(self).OMSetRenderTargets)(::windows::core::Interface::as_raw(self), pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdepthstencilview.into_param().abi()) | |
3391 | } | |
3392 | pub unsafe fn OMSetRenderTargetsAndUnorderedAccessViews<P0>(&self, pprendertargetviews: ::core::option::Option<&[::core::option::Option<ID3D11RenderTargetView>]>, pdepthstencilview: P0, uavstartslot: u32, numuavs: u32, ppunorderedaccessviews: ::core::option::Option<*const ::core::option::Option<ID3D11UnorderedAccessView>>, puavinitialcounts: ::core::option::Option<*const u32>) | |
3393 | where | |
3394 | P0: ::windows::core::IntoParam<ID3D11DepthStencilView>, | |
3395 | { | |
3396 | (::windows::core::Interface::vtable(self).OMSetRenderTargetsAndUnorderedAccessViews)(::windows::core::Interface::as_raw(self), pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdepthstencilview.into_param().abi(), uavstartslot, numuavs, ::core::mem::transmute(ppunorderedaccessviews.unwrap_or(::std::ptr::null())), ::core::mem::transmute(puavinitialcounts.unwrap_or(::std::ptr::null()))) | |
3397 | } | |
3398 | pub unsafe fn OMSetBlendState<P0>(&self, pblendstate: P0, blendfactor: ::core::option::Option<*const f32>, samplemask: u32) | |
3399 | where | |
3400 | P0: ::windows::core::IntoParam<ID3D11BlendState>, | |
3401 | { | |
3402 | (::windows::core::Interface::vtable(self).OMSetBlendState)(::windows::core::Interface::as_raw(self), pblendstate.into_param().abi(), ::core::mem::transmute(blendfactor.unwrap_or(::std::ptr::null())), samplemask) | |
3403 | } | |
3404 | pub unsafe fn OMSetDepthStencilState<P0>(&self, pdepthstencilstate: P0, stencilref: u32) | |
3405 | where | |
3406 | P0: ::windows::core::IntoParam<ID3D11DepthStencilState>, | |
3407 | { | |
3408 | (::windows::core::Interface::vtable(self).OMSetDepthStencilState)(::windows::core::Interface::as_raw(self), pdepthstencilstate.into_param().abi(), stencilref) | |
3409 | } | |
3410 | pub unsafe fn SOSetTargets(&self, numbuffers: u32, ppsotargets: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, poffsets: ::core::option::Option<*const u32>) { | |
3411 | (::windows::core::Interface::vtable(self).SOSetTargets)(::windows::core::Interface::as_raw(self), numbuffers, ::core::mem::transmute(ppsotargets.unwrap_or(::std::ptr::null())), ::core::mem::transmute(poffsets.unwrap_or(::std::ptr::null()))) | |
3412 | } | |
3413 | pub unsafe fn DrawAuto(&self) { | |
3414 | (::windows::core::Interface::vtable(self).DrawAuto)(::windows::core::Interface::as_raw(self)) | |
3415 | } | |
3416 | pub unsafe fn DrawIndexedInstancedIndirect<P0>(&self, pbufferforargs: P0, alignedbyteoffsetforargs: u32) | |
3417 | where | |
3418 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
3419 | { | |
3420 | (::windows::core::Interface::vtable(self).DrawIndexedInstancedIndirect)(::windows::core::Interface::as_raw(self), pbufferforargs.into_param().abi(), alignedbyteoffsetforargs) | |
3421 | } | |
3422 | pub unsafe fn DrawInstancedIndirect<P0>(&self, pbufferforargs: P0, alignedbyteoffsetforargs: u32) | |
3423 | where | |
3424 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
3425 | { | |
3426 | (::windows::core::Interface::vtable(self).DrawInstancedIndirect)(::windows::core::Interface::as_raw(self), pbufferforargs.into_param().abi(), alignedbyteoffsetforargs) | |
3427 | } | |
3428 | pub unsafe fn Dispatch(&self, threadgroupcountx: u32, threadgroupcounty: u32, threadgroupcountz: u32) { | |
3429 | (::windows::core::Interface::vtable(self).Dispatch)(::windows::core::Interface::as_raw(self), threadgroupcountx, threadgroupcounty, threadgroupcountz) | |
3430 | } | |
3431 | pub unsafe fn DispatchIndirect<P0>(&self, pbufferforargs: P0, alignedbyteoffsetforargs: u32) | |
3432 | where | |
3433 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
3434 | { | |
3435 | (::windows::core::Interface::vtable(self).DispatchIndirect)(::windows::core::Interface::as_raw(self), pbufferforargs.into_param().abi(), alignedbyteoffsetforargs) | |
3436 | } | |
3437 | pub unsafe fn RSSetState<P0>(&self, prasterizerstate: P0) | |
3438 | where | |
3439 | P0: ::windows::core::IntoParam<ID3D11RasterizerState>, | |
3440 | { | |
3441 | (::windows::core::Interface::vtable(self).RSSetState)(::windows::core::Interface::as_raw(self), prasterizerstate.into_param().abi()) | |
3442 | } | |
3443 | pub unsafe fn RSSetViewports(&self, pviewports: ::core::option::Option<&[D3D11_VIEWPORT]>) { | |
3444 | (::windows::core::Interface::vtable(self).RSSetViewports)(::windows::core::Interface::as_raw(self), pviewports.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pviewports.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3445 | } | |
3446 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
3447 | #[cfg(feature = "Win32_Foundation")] | |
3448 | pub unsafe fn RSSetScissorRects(&self, prects: ::core::option::Option<&[super::super::Foundation::RECT]>) { | |
3449 | (::windows::core::Interface::vtable(self).RSSetScissorRects)(::windows::core::Interface::as_raw(self), prects.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(prects.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3450 | } | |
3451 | pub unsafe fn CopySubresourceRegion<P0, P1>(&self, pdstresource: P0, dstsubresource: u32, dstx: u32, dsty: u32, dstz: u32, psrcresource: P1, srcsubresource: u32, psrcbox: ::core::option::Option<*const D3D11_BOX>) | |
3452 | where | |
3453 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
3454 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
3455 | { | |
3456 | (::windows::core::Interface::vtable(self).CopySubresourceRegion)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, dstx, dsty, dstz, psrcresource.into_param().abi(), srcsubresource, ::core::mem::transmute(psrcbox.unwrap_or(::std::ptr::null()))) | |
3457 | } | |
3458 | pub unsafe fn CopyResource<P0, P1>(&self, pdstresource: P0, psrcresource: P1) | |
3459 | where | |
3460 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
3461 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
3462 | { | |
3463 | (::windows::core::Interface::vtable(self).CopyResource)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), psrcresource.into_param().abi()) | |
3464 | } | |
3465 | pub unsafe fn UpdateSubresource<P0>(&self, pdstresource: P0, dstsubresource: u32, pdstbox: ::core::option::Option<*const D3D11_BOX>, psrcdata: *const ::core::ffi::c_void, srcrowpitch: u32, srcdepthpitch: u32) | |
3466 | where | |
3467 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
3468 | { | |
3469 | (::windows::core::Interface::vtable(self).UpdateSubresource)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, ::core::mem::transmute(pdstbox.unwrap_or(::std::ptr::null())), psrcdata, srcrowpitch, srcdepthpitch) | |
3470 | } | |
3471 | pub unsafe fn CopyStructureCount<P0, P1>(&self, pdstbuffer: P0, dstalignedbyteoffset: u32, psrcview: P1) | |
3472 | where | |
3473 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
3474 | P1: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
3475 | { | |
3476 | (::windows::core::Interface::vtable(self).CopyStructureCount)(::windows::core::Interface::as_raw(self), pdstbuffer.into_param().abi(), dstalignedbyteoffset, psrcview.into_param().abi()) | |
3477 | } | |
3478 | pub unsafe fn ClearRenderTargetView<P0>(&self, prendertargetview: P0, colorrgba: *const f32) | |
3479 | where | |
3480 | P0: ::windows::core::IntoParam<ID3D11RenderTargetView>, | |
3481 | { | |
3482 | (::windows::core::Interface::vtable(self).ClearRenderTargetView)(::windows::core::Interface::as_raw(self), prendertargetview.into_param().abi(), colorrgba) | |
3483 | } | |
3484 | pub unsafe fn ClearUnorderedAccessViewUint<P0>(&self, punorderedaccessview: P0, values: *const u32) | |
3485 | where | |
3486 | P0: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
3487 | { | |
3488 | (::windows::core::Interface::vtable(self).ClearUnorderedAccessViewUint)(::windows::core::Interface::as_raw(self), punorderedaccessview.into_param().abi(), values) | |
3489 | } | |
3490 | pub unsafe fn ClearUnorderedAccessViewFloat<P0>(&self, punorderedaccessview: P0, values: *const f32) | |
3491 | where | |
3492 | P0: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
3493 | { | |
3494 | (::windows::core::Interface::vtable(self).ClearUnorderedAccessViewFloat)(::windows::core::Interface::as_raw(self), punorderedaccessview.into_param().abi(), values) | |
3495 | } | |
3496 | pub unsafe fn ClearDepthStencilView<P0>(&self, pdepthstencilview: P0, clearflags: u32, depth: f32, stencil: u8) | |
3497 | where | |
3498 | P0: ::windows::core::IntoParam<ID3D11DepthStencilView>, | |
3499 | { | |
3500 | (::windows::core::Interface::vtable(self).ClearDepthStencilView)(::windows::core::Interface::as_raw(self), pdepthstencilview.into_param().abi(), clearflags, depth, stencil) | |
3501 | } | |
3502 | pub unsafe fn GenerateMips<P0>(&self, pshaderresourceview: P0) | |
3503 | where | |
3504 | P0: ::windows::core::IntoParam<ID3D11ShaderResourceView>, | |
3505 | { | |
3506 | (::windows::core::Interface::vtable(self).GenerateMips)(::windows::core::Interface::as_raw(self), pshaderresourceview.into_param().abi()) | |
3507 | } | |
3508 | pub unsafe fn SetResourceMinLOD<P0>(&self, presource: P0, minlod: f32) | |
3509 | where | |
3510 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
3511 | { | |
3512 | (::windows::core::Interface::vtable(self).SetResourceMinLOD)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), minlod) | |
3513 | } | |
3514 | pub unsafe fn GetResourceMinLOD<P0>(&self, presource: P0) -> f32 | |
3515 | where | |
3516 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
3517 | { | |
3518 | (::windows::core::Interface::vtable(self).GetResourceMinLOD)(::windows::core::Interface::as_raw(self), presource.into_param().abi()) | |
3519 | } | |
3520 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
3521 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
3522 | pub unsafe fn ResolveSubresource<P0, P1>(&self, pdstresource: P0, dstsubresource: u32, psrcresource: P1, srcsubresource: u32, format: super::Dxgi::Common::DXGI_FORMAT) | |
3523 | where | |
3524 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
3525 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
3526 | { | |
3527 | (::windows::core::Interface::vtable(self).ResolveSubresource)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, psrcresource.into_param().abi(), srcsubresource, format) | |
3528 | } | |
3529 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
3530 | #[cfg(feature = "Win32_Foundation")] | |
3531 | pub unsafe fn ExecuteCommandList<P0, P1>(&self, pcommandlist: P0, restorecontextstate: P1) | |
3532 | where | |
3533 | P0: ::windows::core::IntoParam<ID3D11CommandList>, | |
3534 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
3535 | { | |
3536 | (::windows::core::Interface::vtable(self).ExecuteCommandList)(::windows::core::Interface::as_raw(self), pcommandlist.into_param().abi(), restorecontextstate.into_param().abi()) | |
3537 | } | |
3538 | pub unsafe fn HSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
3539 | (::windows::core::Interface::vtable(self).HSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3540 | } | |
3541 | pub unsafe fn HSSetShader<P0>(&self, phullshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
3542 | where | |
3543 | P0: ::windows::core::IntoParam<ID3D11HullShader>, | |
3544 | { | |
3545 | (::windows::core::Interface::vtable(self).HSSetShader)(::windows::core::Interface::as_raw(self), phullshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
3546 | } | |
3547 | pub unsafe fn HSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
3548 | (::windows::core::Interface::vtable(self).HSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3549 | } | |
3550 | pub unsafe fn HSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
3551 | (::windows::core::Interface::vtable(self).HSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3552 | } | |
3553 | pub unsafe fn DSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
3554 | (::windows::core::Interface::vtable(self).DSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3555 | } | |
3556 | pub unsafe fn DSSetShader<P0>(&self, pdomainshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
3557 | where | |
3558 | P0: ::windows::core::IntoParam<ID3D11DomainShader>, | |
3559 | { | |
3560 | (::windows::core::Interface::vtable(self).DSSetShader)(::windows::core::Interface::as_raw(self), pdomainshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
3561 | } | |
3562 | pub unsafe fn DSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
3563 | (::windows::core::Interface::vtable(self).DSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3564 | } | |
3565 | pub unsafe fn DSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
3566 | (::windows::core::Interface::vtable(self).DSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3567 | } | |
3568 | pub unsafe fn CSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
3569 | (::windows::core::Interface::vtable(self).CSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3570 | } | |
3571 | pub unsafe fn CSSetUnorderedAccessViews(&self, startslot: u32, numuavs: u32, ppunorderedaccessviews: ::core::option::Option<*const ::core::option::Option<ID3D11UnorderedAccessView>>, puavinitialcounts: ::core::option::Option<*const u32>) { | |
3572 | (::windows::core::Interface::vtable(self).CSSetUnorderedAccessViews)(::windows::core::Interface::as_raw(self), startslot, numuavs, ::core::mem::transmute(ppunorderedaccessviews.unwrap_or(::std::ptr::null())), ::core::mem::transmute(puavinitialcounts.unwrap_or(::std::ptr::null()))) | |
3573 | } | |
3574 | pub unsafe fn CSSetShader<P0>(&self, pcomputeshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
3575 | where | |
3576 | P0: ::windows::core::IntoParam<ID3D11ComputeShader>, | |
3577 | { | |
3578 | (::windows::core::Interface::vtable(self).CSSetShader)(::windows::core::Interface::as_raw(self), pcomputeshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
3579 | } | |
3580 | pub unsafe fn CSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
3581 | (::windows::core::Interface::vtable(self).CSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3582 | } | |
3583 | pub unsafe fn CSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
3584 | (::windows::core::Interface::vtable(self).CSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3585 | } | |
3586 | pub unsafe fn VSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
3587 | (::windows::core::Interface::vtable(self).VSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3588 | } | |
3589 | pub unsafe fn PSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
3590 | (::windows::core::Interface::vtable(self).PSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3591 | } | |
3592 | pub unsafe fn PSGetShader(&self, pppixelshader: *mut ::core::option::Option<ID3D11PixelShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
3593 | (::windows::core::Interface::vtable(self).PSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pppixelshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
3594 | } | |
3595 | pub unsafe fn PSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
3596 | (::windows::core::Interface::vtable(self).PSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3597 | } | |
3598 | pub unsafe fn VSGetShader(&self, ppvertexshader: *mut ::core::option::Option<ID3D11VertexShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
3599 | (::windows::core::Interface::vtable(self).VSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppvertexshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
3600 | } | |
3601 | pub unsafe fn PSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
3602 | (::windows::core::Interface::vtable(self).PSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3603 | } | |
3604 | pub unsafe fn IAGetInputLayout(&self) -> ::windows::core::Result<ID3D11InputLayout> { | |
3605 | let mut result__ = ::windows::core::zeroed::<ID3D11InputLayout>(); | |
3606 | (::windows::core::Interface::vtable(self).IAGetInputLayout)(::windows::core::Interface::as_raw(self), &mut result__); | |
3607 | ::windows::core::from_abi(result__) | |
3608 | } | |
3609 | pub unsafe fn IAGetVertexBuffers(&self, startslot: u32, numbuffers: u32, ppvertexbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pstrides: ::core::option::Option<*mut u32>, poffsets: ::core::option::Option<*mut u32>) { | |
3610 | (::windows::core::Interface::vtable(self).IAGetVertexBuffers)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppvertexbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pstrides.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(poffsets.unwrap_or(::std::ptr::null_mut()))) | |
3611 | } | |
3612 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
3613 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
3614 | pub unsafe fn IAGetIndexBuffer(&self, pindexbuffer: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, format: ::core::option::Option<*mut super::Dxgi::Common::DXGI_FORMAT>, offset: ::core::option::Option<*mut u32>) { | |
3615 | (::windows::core::Interface::vtable(self).IAGetIndexBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pindexbuffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(format.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(offset.unwrap_or(::std::ptr::null_mut()))) | |
3616 | } | |
3617 | pub unsafe fn GSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
3618 | (::windows::core::Interface::vtable(self).GSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3619 | } | |
3620 | pub unsafe fn GSGetShader(&self, ppgeometryshader: *mut ::core::option::Option<ID3D11GeometryShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
3621 | (::windows::core::Interface::vtable(self).GSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppgeometryshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
3622 | } | |
3623 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
3624 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
3625 | pub unsafe fn IAGetPrimitiveTopology(&self) -> super::Direct3D::D3D_PRIMITIVE_TOPOLOGY { | |
3626 | let mut result__ = ::windows::core::zeroed::<super::Direct3D::D3D_PRIMITIVE_TOPOLOGY>(); | |
3627 | (::windows::core::Interface::vtable(self).IAGetPrimitiveTopology)(::windows::core::Interface::as_raw(self), &mut result__); | |
3628 | ::std::mem::transmute(result__) | |
3629 | } | |
3630 | pub unsafe fn VSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
3631 | (::windows::core::Interface::vtable(self).VSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3632 | } | |
3633 | pub unsafe fn VSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
3634 | (::windows::core::Interface::vtable(self).VSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3635 | } | |
3636 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
3637 | #[cfg(feature = "Win32_Foundation")] | |
3638 | pub unsafe fn GetPredication(&self, pppredicate: ::core::option::Option<*mut ::core::option::Option<ID3D11Predicate>>, ppredicatevalue: ::core::option::Option<*mut super::super::Foundation::BOOL>) { | |
3639 | (::windows::core::Interface::vtable(self).GetPredication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pppredicate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppredicatevalue.unwrap_or(::std::ptr::null_mut()))) | |
3640 | } | |
3641 | pub unsafe fn GSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
3642 | (::windows::core::Interface::vtable(self).GSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3643 | } | |
3644 | pub unsafe fn GSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
3645 | (::windows::core::Interface::vtable(self).GSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3646 | } | |
3647 | pub unsafe fn OMGetRenderTargets(&self, pprendertargetviews: ::core::option::Option<&mut [::core::option::Option<ID3D11RenderTargetView>]>, ppdepthstencilview: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilView>>) { | |
3648 | (::windows::core::Interface::vtable(self).OMGetRenderTargets)(::windows::core::Interface::as_raw(self), pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(ppdepthstencilview.unwrap_or(::std::ptr::null_mut()))) | |
3649 | } | |
3650 | pub unsafe fn OMGetRenderTargetsAndUnorderedAccessViews(&self, pprendertargetviews: ::core::option::Option<&mut [::core::option::Option<ID3D11RenderTargetView>]>, ppdepthstencilview: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilView>>, uavstartslot: u32, ppunorderedaccessviews: ::core::option::Option<&mut [::core::option::Option<ID3D11UnorderedAccessView>]>) { | |
3651 | (::windows::core::Interface::vtable(self).OMGetRenderTargetsAndUnorderedAccessViews)( | |
3652 | ::windows::core::Interface::as_raw(self), | |
3653 | pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), | |
3654 | ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
3655 | ::core::mem::transmute(ppdepthstencilview.unwrap_or(::std::ptr::null_mut())), | |
3656 | uavstartslot, | |
3657 | ppunorderedaccessviews.as_deref().map_or(0, |slice| slice.len() as _), | |
3658 | ::core::mem::transmute(ppunorderedaccessviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
3659 | ) | |
3660 | } | |
3661 | pub unsafe fn OMGetBlendState(&self, ppblendstate: ::core::option::Option<*mut ::core::option::Option<ID3D11BlendState>>, blendfactor: ::core::option::Option<*mut f32>, psamplemask: ::core::option::Option<*mut u32>) { | |
3662 | (::windows::core::Interface::vtable(self).OMGetBlendState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppblendstate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(blendfactor.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(psamplemask.unwrap_or(::std::ptr::null_mut()))) | |
3663 | } | |
3664 | pub unsafe fn OMGetDepthStencilState(&self, ppdepthstencilstate: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilState>>, pstencilref: ::core::option::Option<*mut u32>) { | |
3665 | (::windows::core::Interface::vtable(self).OMGetDepthStencilState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppdepthstencilstate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pstencilref.unwrap_or(::std::ptr::null_mut()))) | |
3666 | } | |
3667 | pub unsafe fn SOGetTargets(&self, ppsotargets: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
3668 | (::windows::core::Interface::vtable(self).SOGetTargets)(::windows::core::Interface::as_raw(self), ppsotargets.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsotargets.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3669 | } | |
3670 | pub unsafe fn RSGetState(&self) -> ::windows::core::Result<ID3D11RasterizerState> { | |
3671 | let mut result__ = ::windows::core::zeroed::<ID3D11RasterizerState>(); | |
3672 | (::windows::core::Interface::vtable(self).RSGetState)(::windows::core::Interface::as_raw(self), &mut result__); | |
3673 | ::windows::core::from_abi(result__) | |
3674 | } | |
3675 | pub unsafe fn RSGetViewports(&self, pnumviewports: *mut u32, pviewports: ::core::option::Option<*mut D3D11_VIEWPORT>) { | |
3676 | (::windows::core::Interface::vtable(self).RSGetViewports)(::windows::core::Interface::as_raw(self), pnumviewports, ::core::mem::transmute(pviewports.unwrap_or(::std::ptr::null_mut()))) | |
3677 | } | |
3678 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
3679 | #[cfg(feature = "Win32_Foundation")] | |
3680 | pub unsafe fn RSGetScissorRects(&self, pnumrects: *mut u32, prects: ::core::option::Option<*mut super::super::Foundation::RECT>) { | |
3681 | (::windows::core::Interface::vtable(self).RSGetScissorRects)(::windows::core::Interface::as_raw(self), pnumrects, ::core::mem::transmute(prects.unwrap_or(::std::ptr::null_mut()))) | |
3682 | } | |
3683 | pub unsafe fn HSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
3684 | (::windows::core::Interface::vtable(self).HSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3685 | } | |
3686 | pub unsafe fn HSGetShader(&self, pphullshader: *mut ::core::option::Option<ID3D11HullShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
3687 | (::windows::core::Interface::vtable(self).HSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pphullshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
3688 | } | |
3689 | pub unsafe fn HSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
3690 | (::windows::core::Interface::vtable(self).HSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3691 | } | |
3692 | pub unsafe fn HSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
3693 | (::windows::core::Interface::vtable(self).HSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3694 | } | |
3695 | pub unsafe fn DSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
3696 | (::windows::core::Interface::vtable(self).DSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3697 | } | |
3698 | pub unsafe fn DSGetShader(&self, ppdomainshader: *mut ::core::option::Option<ID3D11DomainShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
3699 | (::windows::core::Interface::vtable(self).DSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppdomainshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
3700 | } | |
3701 | pub unsafe fn DSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
3702 | (::windows::core::Interface::vtable(self).DSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3703 | } | |
3704 | pub unsafe fn DSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
3705 | (::windows::core::Interface::vtable(self).DSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3706 | } | |
3707 | pub unsafe fn CSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
3708 | (::windows::core::Interface::vtable(self).CSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3709 | } | |
3710 | pub unsafe fn CSGetUnorderedAccessViews(&self, startslot: u32, ppunorderedaccessviews: ::core::option::Option<&mut [::core::option::Option<ID3D11UnorderedAccessView>]>) { | |
3711 | (::windows::core::Interface::vtable(self).CSGetUnorderedAccessViews)(::windows::core::Interface::as_raw(self), startslot, ppunorderedaccessviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppunorderedaccessviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3712 | } | |
3713 | pub unsafe fn CSGetShader(&self, ppcomputeshader: *mut ::core::option::Option<ID3D11ComputeShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
3714 | (::windows::core::Interface::vtable(self).CSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppcomputeshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
3715 | } | |
3716 | pub unsafe fn CSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
3717 | (::windows::core::Interface::vtable(self).CSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3718 | } | |
3719 | pub unsafe fn CSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
3720 | (::windows::core::Interface::vtable(self).CSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3721 | } | |
3722 | pub unsafe fn ClearState(&self) { | |
3723 | (::windows::core::Interface::vtable(self).ClearState)(::windows::core::Interface::as_raw(self)) | |
3724 | } | |
3725 | pub unsafe fn Flush(&self) { | |
3726 | (::windows::core::Interface::vtable(self).Flush)(::windows::core::Interface::as_raw(self)) | |
3727 | } | |
3728 | pub unsafe fn GetType(&self) -> D3D11_DEVICE_CONTEXT_TYPE { | |
3729 | (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self)) | |
3730 | } | |
3731 | pub unsafe fn GetContextFlags(&self) -> u32 { | |
3732 | (::windows::core::Interface::vtable(self).GetContextFlags)(::windows::core::Interface::as_raw(self)) | |
3733 | } | |
3734 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
3735 | #[cfg(feature = "Win32_Foundation")] | |
3736 | pub unsafe fn FinishCommandList<P0>(&self, restoredeferredcontextstate: P0, ppcommandlist: ::core::option::Option<*mut ::core::option::Option<ID3D11CommandList>>) -> ::windows::core::Result<()> | |
3737 | where | |
3738 | P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
3739 | { | |
3740 | (::windows::core::Interface::vtable(self).FinishCommandList)(::windows::core::Interface::as_raw(self), restoredeferredcontextstate.into_param().abi(), ::core::mem::transmute(ppcommandlist.unwrap_or(::std::ptr::null_mut()))).ok() | |
3741 | } | |
3742 | } | |
3743 | ::windows::imp::interface_hierarchy!(ID3D11DeviceContext, ::windows::core::IUnknown, ID3D11DeviceChild); | |
3744 | impl ::core::cmp::PartialEq for ID3D11DeviceContext { | |
3745 | fn eq(&self, other: &Self) -> bool { | |
3746 | self.0 == other.0 | |
3747 | } | |
3748 | } | |
3749 | impl ::core::cmp::Eq for ID3D11DeviceContext {} | |
3750 | impl ::core::fmt::Debug for ID3D11DeviceContext { | |
3751 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
3752 | f.debug_tuple("ID3D11DeviceContext").field(&self.0).finish() | |
3753 | } | |
3754 | } | |
3755 | unsafe impl ::core::marker::Send for ID3D11DeviceContext {} | |
3756 | unsafe impl ::core::marker::Sync for ID3D11DeviceContext {} | |
3757 | unsafe impl ::windows::core::Interface for ID3D11DeviceContext { | |
3758 | type Vtable = ID3D11DeviceContext_Vtbl; | |
3759 | } | |
3760 | impl ::core::clone::Clone for ID3D11DeviceContext { | |
3761 | fn clone(&self) -> Self { | |
3762 | Self(self.0.clone()) | |
3763 | } | |
3764 | } | |
3765 | unsafe impl ::windows::core::ComInterface for ID3D11DeviceContext { | |
3766 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc0bfa96c_e089_44fb_8eaf_26f8796190da); | |
3767 | } | |
3768 | #[repr(C)] | |
3769 | #[doc(hidden)] | |
3770 | pub struct ID3D11DeviceContext_Vtbl { | |
3771 | pub base__: ID3D11DeviceChild_Vtbl, | |
3772 | pub VSSetConstantBuffers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *const *mut ::core::ffi::c_void), | |
3773 | pub PSSetShaderResources: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numviews: u32, ppshaderresourceviews: *const *mut ::core::ffi::c_void), | |
3774 | pub PSSetShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppixelshader: *mut ::core::ffi::c_void, ppclassinstances: *const *mut ::core::ffi::c_void, numclassinstances: u32), | |
3775 | pub PSSetSamplers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numsamplers: u32, ppsamplers: *const *mut ::core::ffi::c_void), | |
3776 | pub VSSetShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvertexshader: *mut ::core::ffi::c_void, ppclassinstances: *const *mut ::core::ffi::c_void, numclassinstances: u32), | |
3777 | pub DrawIndexed: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, indexcount: u32, startindexlocation: u32, basevertexlocation: i32), | |
3778 | pub Draw: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, vertexcount: u32, startvertexlocation: u32), | |
3779 | pub Map: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presource: *mut ::core::ffi::c_void, subresource: u32, maptype: D3D11_MAP, mapflags: u32, pmappedresource: *mut D3D11_MAPPED_SUBRESOURCE) -> ::windows::core::HRESULT, | |
3780 | pub Unmap: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presource: *mut ::core::ffi::c_void, subresource: u32), | |
3781 | pub PSSetConstantBuffers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *const *mut ::core::ffi::c_void), | |
3782 | pub IASetInputLayout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinputlayout: *mut ::core::ffi::c_void), | |
3783 | pub IASetVertexBuffers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppvertexbuffers: *const *mut ::core::ffi::c_void, pstrides: *const u32, poffsets: *const u32), | |
3784 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
3785 | pub IASetIndexBuffer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pindexbuffer: *mut ::core::ffi::c_void, format: super::Dxgi::Common::DXGI_FORMAT, offset: u32), | |
3786 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
3787 | IASetIndexBuffer: usize, | |
3788 | pub DrawIndexedInstanced: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, indexcountperinstance: u32, instancecount: u32, startindexlocation: u32, basevertexlocation: i32, startinstancelocation: u32), | |
3789 | pub DrawInstanced: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, vertexcountperinstance: u32, instancecount: u32, startvertexlocation: u32, startinstancelocation: u32), | |
3790 | pub GSSetConstantBuffers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *const *mut ::core::ffi::c_void), | |
3791 | pub GSSetShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pshader: *mut ::core::ffi::c_void, ppclassinstances: *const *mut ::core::ffi::c_void, numclassinstances: u32), | |
3792 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
3793 | pub IASetPrimitiveTopology: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, topology: super::Direct3D::D3D_PRIMITIVE_TOPOLOGY), | |
3794 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
3795 | IASetPrimitiveTopology: usize, | |
3796 | pub VSSetShaderResources: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numviews: u32, ppshaderresourceviews: *const *mut ::core::ffi::c_void), | |
3797 | pub VSSetSamplers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numsamplers: u32, ppsamplers: *const *mut ::core::ffi::c_void), | |
3798 | pub Begin: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pasync: *mut ::core::ffi::c_void), | |
3799 | pub End: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pasync: *mut ::core::ffi::c_void), | |
3800 | pub GetData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pasync: *mut ::core::ffi::c_void, pdata: *mut ::core::ffi::c_void, datasize: u32, getdataflags: u32) -> ::windows::core::HRESULT, | |
3801 | #[cfg(feature = "Win32_Foundation")] | |
3802 | pub SetPredication: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppredicate: *mut ::core::ffi::c_void, predicatevalue: super::super::Foundation::BOOL), | |
3803 | #[cfg(not(feature = "Win32_Foundation"))] | |
3804 | SetPredication: usize, | |
3805 | pub GSSetShaderResources: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numviews: u32, ppshaderresourceviews: *const *mut ::core::ffi::c_void), | |
3806 | pub GSSetSamplers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numsamplers: u32, ppsamplers: *const *mut ::core::ffi::c_void), | |
3807 | pub OMSetRenderTargets: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, numviews: u32, pprendertargetviews: *const *mut ::core::ffi::c_void, pdepthstencilview: *mut ::core::ffi::c_void), | |
3808 | pub OMSetRenderTargetsAndUnorderedAccessViews: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, numrtvs: u32, pprendertargetviews: *const *mut ::core::ffi::c_void, pdepthstencilview: *mut ::core::ffi::c_void, uavstartslot: u32, numuavs: u32, ppunorderedaccessviews: *const *mut ::core::ffi::c_void, puavinitialcounts: *const u32), | |
3809 | pub OMSetBlendState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pblendstate: *mut ::core::ffi::c_void, blendfactor: *const f32, samplemask: u32), | |
3810 | pub OMSetDepthStencilState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdepthstencilstate: *mut ::core::ffi::c_void, stencilref: u32), | |
3811 | pub SOSetTargets: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, numbuffers: u32, ppsotargets: *const *mut ::core::ffi::c_void, poffsets: *const u32), | |
3812 | pub DrawAuto: unsafe extern "system" fn(this: *mut ::core::ffi::c_void), | |
3813 | pub DrawIndexedInstancedIndirect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbufferforargs: *mut ::core::ffi::c_void, alignedbyteoffsetforargs: u32), | |
3814 | pub DrawInstancedIndirect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbufferforargs: *mut ::core::ffi::c_void, alignedbyteoffsetforargs: u32), | |
3815 | pub Dispatch: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, threadgroupcountx: u32, threadgroupcounty: u32, threadgroupcountz: u32), | |
3816 | pub DispatchIndirect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbufferforargs: *mut ::core::ffi::c_void, alignedbyteoffsetforargs: u32), | |
3817 | pub RSSetState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prasterizerstate: *mut ::core::ffi::c_void), | |
3818 | pub RSSetViewports: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, numviewports: u32, pviewports: *const D3D11_VIEWPORT), | |
3819 | #[cfg(feature = "Win32_Foundation")] | |
3820 | pub RSSetScissorRects: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, numrects: u32, prects: *const super::super::Foundation::RECT), | |
3821 | #[cfg(not(feature = "Win32_Foundation"))] | |
3822 | RSSetScissorRects: usize, | |
3823 | pub CopySubresourceRegion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdstresource: *mut ::core::ffi::c_void, dstsubresource: u32, dstx: u32, dsty: u32, dstz: u32, psrcresource: *mut ::core::ffi::c_void, srcsubresource: u32, psrcbox: *const D3D11_BOX), | |
3824 | pub CopyResource: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdstresource: *mut ::core::ffi::c_void, psrcresource: *mut ::core::ffi::c_void), | |
3825 | pub UpdateSubresource: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdstresource: *mut ::core::ffi::c_void, dstsubresource: u32, pdstbox: *const D3D11_BOX, psrcdata: *const ::core::ffi::c_void, srcrowpitch: u32, srcdepthpitch: u32), | |
3826 | pub CopyStructureCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdstbuffer: *mut ::core::ffi::c_void, dstalignedbyteoffset: u32, psrcview: *mut ::core::ffi::c_void), | |
3827 | pub ClearRenderTargetView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, prendertargetview: *mut ::core::ffi::c_void, colorrgba: *const f32), | |
3828 | pub ClearUnorderedAccessViewUint: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, punorderedaccessview: *mut ::core::ffi::c_void, values: *const u32), | |
3829 | pub ClearUnorderedAccessViewFloat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, punorderedaccessview: *mut ::core::ffi::c_void, values: *const f32), | |
3830 | pub ClearDepthStencilView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdepthstencilview: *mut ::core::ffi::c_void, clearflags: u32, depth: f32, stencil: u8), | |
3831 | pub GenerateMips: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pshaderresourceview: *mut ::core::ffi::c_void), | |
3832 | pub SetResourceMinLOD: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presource: *mut ::core::ffi::c_void, minlod: f32), | |
3833 | pub GetResourceMinLOD: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presource: *mut ::core::ffi::c_void) -> f32, | |
3834 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
3835 | pub ResolveSubresource: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdstresource: *mut ::core::ffi::c_void, dstsubresource: u32, psrcresource: *mut ::core::ffi::c_void, srcsubresource: u32, format: super::Dxgi::Common::DXGI_FORMAT), | |
3836 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
3837 | ResolveSubresource: usize, | |
3838 | #[cfg(feature = "Win32_Foundation")] | |
3839 | pub ExecuteCommandList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcommandlist: *mut ::core::ffi::c_void, restorecontextstate: super::super::Foundation::BOOL), | |
3840 | #[cfg(not(feature = "Win32_Foundation"))] | |
3841 | ExecuteCommandList: usize, | |
3842 | pub HSSetShaderResources: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numviews: u32, ppshaderresourceviews: *const *mut ::core::ffi::c_void), | |
3843 | pub HSSetShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, phullshader: *mut ::core::ffi::c_void, ppclassinstances: *const *mut ::core::ffi::c_void, numclassinstances: u32), | |
3844 | pub HSSetSamplers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numsamplers: u32, ppsamplers: *const *mut ::core::ffi::c_void), | |
3845 | pub HSSetConstantBuffers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *const *mut ::core::ffi::c_void), | |
3846 | pub DSSetShaderResources: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numviews: u32, ppshaderresourceviews: *const *mut ::core::ffi::c_void), | |
3847 | pub DSSetShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdomainshader: *mut ::core::ffi::c_void, ppclassinstances: *const *mut ::core::ffi::c_void, numclassinstances: u32), | |
3848 | pub DSSetSamplers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numsamplers: u32, ppsamplers: *const *mut ::core::ffi::c_void), | |
3849 | pub DSSetConstantBuffers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *const *mut ::core::ffi::c_void), | |
3850 | pub CSSetShaderResources: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numviews: u32, ppshaderresourceviews: *const *mut ::core::ffi::c_void), | |
3851 | pub CSSetUnorderedAccessViews: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numuavs: u32, ppunorderedaccessviews: *const *mut ::core::ffi::c_void, puavinitialcounts: *const u32), | |
3852 | pub CSSetShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcomputeshader: *mut ::core::ffi::c_void, ppclassinstances: *const *mut ::core::ffi::c_void, numclassinstances: u32), | |
3853 | pub CSSetSamplers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numsamplers: u32, ppsamplers: *const *mut ::core::ffi::c_void), | |
3854 | pub CSSetConstantBuffers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *const *mut ::core::ffi::c_void), | |
3855 | pub VSGetConstantBuffers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *mut *mut ::core::ffi::c_void), | |
3856 | pub PSGetShaderResources: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numviews: u32, ppshaderresourceviews: *mut *mut ::core::ffi::c_void), | |
3857 | pub PSGetShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pppixelshader: *mut *mut ::core::ffi::c_void, ppclassinstances: *mut *mut ::core::ffi::c_void, pnumclassinstances: *mut u32), | |
3858 | pub PSGetSamplers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numsamplers: u32, ppsamplers: *mut *mut ::core::ffi::c_void), | |
3859 | pub VSGetShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppvertexshader: *mut *mut ::core::ffi::c_void, ppclassinstances: *mut *mut ::core::ffi::c_void, pnumclassinstances: *mut u32), | |
3860 | pub PSGetConstantBuffers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *mut *mut ::core::ffi::c_void), | |
3861 | pub IAGetInputLayout: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppinputlayout: *mut *mut ::core::ffi::c_void), | |
3862 | pub IAGetVertexBuffers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppvertexbuffers: *mut *mut ::core::ffi::c_void, pstrides: *mut u32, poffsets: *mut u32), | |
3863 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
3864 | pub IAGetIndexBuffer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pindexbuffer: *mut *mut ::core::ffi::c_void, format: *mut super::Dxgi::Common::DXGI_FORMAT, offset: *mut u32), | |
3865 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
3866 | IAGetIndexBuffer: usize, | |
3867 | pub GSGetConstantBuffers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *mut *mut ::core::ffi::c_void), | |
3868 | pub GSGetShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppgeometryshader: *mut *mut ::core::ffi::c_void, ppclassinstances: *mut *mut ::core::ffi::c_void, pnumclassinstances: *mut u32), | |
3869 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
3870 | pub IAGetPrimitiveTopology: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptopology: *mut super::Direct3D::D3D_PRIMITIVE_TOPOLOGY), | |
3871 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
3872 | IAGetPrimitiveTopology: usize, | |
3873 | pub VSGetShaderResources: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numviews: u32, ppshaderresourceviews: *mut *mut ::core::ffi::c_void), | |
3874 | pub VSGetSamplers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numsamplers: u32, ppsamplers: *mut *mut ::core::ffi::c_void), | |
3875 | #[cfg(feature = "Win32_Foundation")] | |
3876 | pub GetPredication: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pppredicate: *mut *mut ::core::ffi::c_void, ppredicatevalue: *mut super::super::Foundation::BOOL), | |
3877 | #[cfg(not(feature = "Win32_Foundation"))] | |
3878 | GetPredication: usize, | |
3879 | pub GSGetShaderResources: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numviews: u32, ppshaderresourceviews: *mut *mut ::core::ffi::c_void), | |
3880 | pub GSGetSamplers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numsamplers: u32, ppsamplers: *mut *mut ::core::ffi::c_void), | |
3881 | pub OMGetRenderTargets: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, numviews: u32, pprendertargetviews: *mut *mut ::core::ffi::c_void, ppdepthstencilview: *mut *mut ::core::ffi::c_void), | |
3882 | pub OMGetRenderTargetsAndUnorderedAccessViews: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, numrtvs: u32, pprendertargetviews: *mut *mut ::core::ffi::c_void, ppdepthstencilview: *mut *mut ::core::ffi::c_void, uavstartslot: u32, numuavs: u32, ppunorderedaccessviews: *mut *mut ::core::ffi::c_void), | |
3883 | pub OMGetBlendState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppblendstate: *mut *mut ::core::ffi::c_void, blendfactor: *mut f32, psamplemask: *mut u32), | |
3884 | pub OMGetDepthStencilState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppdepthstencilstate: *mut *mut ::core::ffi::c_void, pstencilref: *mut u32), | |
3885 | pub SOGetTargets: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, numbuffers: u32, ppsotargets: *mut *mut ::core::ffi::c_void), | |
3886 | pub RSGetState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pprasterizerstate: *mut *mut ::core::ffi::c_void), | |
3887 | pub RSGetViewports: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnumviewports: *mut u32, pviewports: *mut D3D11_VIEWPORT), | |
3888 | #[cfg(feature = "Win32_Foundation")] | |
3889 | pub RSGetScissorRects: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnumrects: *mut u32, prects: *mut super::super::Foundation::RECT), | |
3890 | #[cfg(not(feature = "Win32_Foundation"))] | |
3891 | RSGetScissorRects: usize, | |
3892 | pub HSGetShaderResources: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numviews: u32, ppshaderresourceviews: *mut *mut ::core::ffi::c_void), | |
3893 | pub HSGetShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pphullshader: *mut *mut ::core::ffi::c_void, ppclassinstances: *mut *mut ::core::ffi::c_void, pnumclassinstances: *mut u32), | |
3894 | pub HSGetSamplers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numsamplers: u32, ppsamplers: *mut *mut ::core::ffi::c_void), | |
3895 | pub HSGetConstantBuffers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *mut *mut ::core::ffi::c_void), | |
3896 | pub DSGetShaderResources: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numviews: u32, ppshaderresourceviews: *mut *mut ::core::ffi::c_void), | |
3897 | pub DSGetShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppdomainshader: *mut *mut ::core::ffi::c_void, ppclassinstances: *mut *mut ::core::ffi::c_void, pnumclassinstances: *mut u32), | |
3898 | pub DSGetSamplers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numsamplers: u32, ppsamplers: *mut *mut ::core::ffi::c_void), | |
3899 | pub DSGetConstantBuffers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *mut *mut ::core::ffi::c_void), | |
3900 | pub CSGetShaderResources: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numviews: u32, ppshaderresourceviews: *mut *mut ::core::ffi::c_void), | |
3901 | pub CSGetUnorderedAccessViews: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numuavs: u32, ppunorderedaccessviews: *mut *mut ::core::ffi::c_void), | |
3902 | pub CSGetShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppcomputeshader: *mut *mut ::core::ffi::c_void, ppclassinstances: *mut *mut ::core::ffi::c_void, pnumclassinstances: *mut u32), | |
3903 | pub CSGetSamplers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numsamplers: u32, ppsamplers: *mut *mut ::core::ffi::c_void), | |
3904 | pub CSGetConstantBuffers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *mut *mut ::core::ffi::c_void), | |
3905 | pub ClearState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void), | |
3906 | pub Flush: unsafe extern "system" fn(this: *mut ::core::ffi::c_void), | |
3907 | pub GetType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> D3D11_DEVICE_CONTEXT_TYPE, | |
3908 | pub GetContextFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, | |
3909 | #[cfg(feature = "Win32_Foundation")] | |
3910 | pub FinishCommandList: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, restoredeferredcontextstate: super::super::Foundation::BOOL, ppcommandlist: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
3911 | #[cfg(not(feature = "Win32_Foundation"))] | |
3912 | FinishCommandList: usize, | |
3913 | } | |
3914 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
3915 | #[repr(transparent)] | |
3916 | pub struct ID3D11DeviceContext1(::windows::core::IUnknown); | |
3917 | impl ID3D11DeviceContext1 { | |
3918 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
3919 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
3920 | (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
3921 | ::windows::core::from_abi(result__) | |
3922 | } | |
3923 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
3924 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
3925 | } | |
3926 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
3927 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
3928 | } | |
3929 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
3930 | where | |
3931 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
3932 | { | |
3933 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
3934 | } | |
3935 | pub unsafe fn VSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
3936 | (::windows::core::Interface::vtable(self).base__.VSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3937 | } | |
3938 | pub unsafe fn PSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
3939 | (::windows::core::Interface::vtable(self).base__.PSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3940 | } | |
3941 | pub unsafe fn PSSetShader<P0>(&self, ppixelshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
3942 | where | |
3943 | P0: ::windows::core::IntoParam<ID3D11PixelShader>, | |
3944 | { | |
3945 | (::windows::core::Interface::vtable(self).base__.PSSetShader)(::windows::core::Interface::as_raw(self), ppixelshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
3946 | } | |
3947 | pub unsafe fn PSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
3948 | (::windows::core::Interface::vtable(self).base__.PSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3949 | } | |
3950 | pub unsafe fn VSSetShader<P0>(&self, pvertexshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
3951 | where | |
3952 | P0: ::windows::core::IntoParam<ID3D11VertexShader>, | |
3953 | { | |
3954 | (::windows::core::Interface::vtable(self).base__.VSSetShader)(::windows::core::Interface::as_raw(self), pvertexshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
3955 | } | |
3956 | pub unsafe fn DrawIndexed(&self, indexcount: u32, startindexlocation: u32, basevertexlocation: i32) { | |
3957 | (::windows::core::Interface::vtable(self).base__.DrawIndexed)(::windows::core::Interface::as_raw(self), indexcount, startindexlocation, basevertexlocation) | |
3958 | } | |
3959 | pub unsafe fn Draw(&self, vertexcount: u32, startvertexlocation: u32) { | |
3960 | (::windows::core::Interface::vtable(self).base__.Draw)(::windows::core::Interface::as_raw(self), vertexcount, startvertexlocation) | |
3961 | } | |
3962 | pub unsafe fn Map<P0>(&self, presource: P0, subresource: u32, maptype: D3D11_MAP, mapflags: u32, pmappedresource: ::core::option::Option<*mut D3D11_MAPPED_SUBRESOURCE>) -> ::windows::core::Result<()> | |
3963 | where | |
3964 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
3965 | { | |
3966 | (::windows::core::Interface::vtable(self).base__.Map)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), subresource, maptype, mapflags, ::core::mem::transmute(pmappedresource.unwrap_or(::std::ptr::null_mut()))).ok() | |
3967 | } | |
3968 | pub unsafe fn Unmap<P0>(&self, presource: P0, subresource: u32) | |
3969 | where | |
3970 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
3971 | { | |
3972 | (::windows::core::Interface::vtable(self).base__.Unmap)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), subresource) | |
3973 | } | |
3974 | pub unsafe fn PSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
3975 | (::windows::core::Interface::vtable(self).base__.PSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
3976 | } | |
3977 | pub unsafe fn IASetInputLayout<P0>(&self, pinputlayout: P0) | |
3978 | where | |
3979 | P0: ::windows::core::IntoParam<ID3D11InputLayout>, | |
3980 | { | |
3981 | (::windows::core::Interface::vtable(self).base__.IASetInputLayout)(::windows::core::Interface::as_raw(self), pinputlayout.into_param().abi()) | |
3982 | } | |
3983 | pub unsafe fn IASetVertexBuffers(&self, startslot: u32, numbuffers: u32, ppvertexbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pstrides: ::core::option::Option<*const u32>, poffsets: ::core::option::Option<*const u32>) { | |
3984 | (::windows::core::Interface::vtable(self).base__.IASetVertexBuffers)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppvertexbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pstrides.unwrap_or(::std::ptr::null())), ::core::mem::transmute(poffsets.unwrap_or(::std::ptr::null()))) | |
3985 | } | |
3986 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
3987 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
3988 | pub unsafe fn IASetIndexBuffer<P0>(&self, pindexbuffer: P0, format: super::Dxgi::Common::DXGI_FORMAT, offset: u32) | |
3989 | where | |
3990 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
3991 | { | |
3992 | (::windows::core::Interface::vtable(self).base__.IASetIndexBuffer)(::windows::core::Interface::as_raw(self), pindexbuffer.into_param().abi(), format, offset) | |
3993 | } | |
3994 | pub unsafe fn DrawIndexedInstanced(&self, indexcountperinstance: u32, instancecount: u32, startindexlocation: u32, basevertexlocation: i32, startinstancelocation: u32) { | |
3995 | (::windows::core::Interface::vtable(self).base__.DrawIndexedInstanced)(::windows::core::Interface::as_raw(self), indexcountperinstance, instancecount, startindexlocation, basevertexlocation, startinstancelocation) | |
3996 | } | |
3997 | pub unsafe fn DrawInstanced(&self, vertexcountperinstance: u32, instancecount: u32, startvertexlocation: u32, startinstancelocation: u32) { | |
3998 | (::windows::core::Interface::vtable(self).base__.DrawInstanced)(::windows::core::Interface::as_raw(self), vertexcountperinstance, instancecount, startvertexlocation, startinstancelocation) | |
3999 | } | |
4000 | pub unsafe fn GSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
4001 | (::windows::core::Interface::vtable(self).base__.GSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4002 | } | |
4003 | pub unsafe fn GSSetShader<P0>(&self, pshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
4004 | where | |
4005 | P0: ::windows::core::IntoParam<ID3D11GeometryShader>, | |
4006 | { | |
4007 | (::windows::core::Interface::vtable(self).base__.GSSetShader)(::windows::core::Interface::as_raw(self), pshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
4008 | } | |
4009 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
4010 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
4011 | pub unsafe fn IASetPrimitiveTopology(&self, topology: super::Direct3D::D3D_PRIMITIVE_TOPOLOGY) { | |
4012 | (::windows::core::Interface::vtable(self).base__.IASetPrimitiveTopology)(::windows::core::Interface::as_raw(self), topology) | |
4013 | } | |
4014 | pub unsafe fn VSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4015 | (::windows::core::Interface::vtable(self).base__.VSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4016 | } | |
4017 | pub unsafe fn VSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
4018 | (::windows::core::Interface::vtable(self).base__.VSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4019 | } | |
4020 | pub unsafe fn Begin<P0>(&self, pasync: P0) | |
4021 | where | |
4022 | P0: ::windows::core::IntoParam<ID3D11Asynchronous>, | |
4023 | { | |
4024 | (::windows::core::Interface::vtable(self).base__.Begin)(::windows::core::Interface::as_raw(self), pasync.into_param().abi()) | |
4025 | } | |
4026 | pub unsafe fn End<P0>(&self, pasync: P0) | |
4027 | where | |
4028 | P0: ::windows::core::IntoParam<ID3D11Asynchronous>, | |
4029 | { | |
4030 | (::windows::core::Interface::vtable(self).base__.End)(::windows::core::Interface::as_raw(self), pasync.into_param().abi()) | |
4031 | } | |
4032 | pub unsafe fn GetData<P0>(&self, pasync: P0, pdata: ::core::option::Option<*mut ::core::ffi::c_void>, datasize: u32, getdataflags: u32) -> ::windows::core::Result<()> | |
4033 | where | |
4034 | P0: ::windows::core::IntoParam<ID3D11Asynchronous>, | |
4035 | { | |
4036 | (::windows::core::Interface::vtable(self).base__.GetData)(::windows::core::Interface::as_raw(self), pasync.into_param().abi(), ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut())), datasize, getdataflags).ok() | |
4037 | } | |
4038 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4039 | #[cfg(feature = "Win32_Foundation")] | |
4040 | pub unsafe fn SetPredication<P0, P1>(&self, ppredicate: P0, predicatevalue: P1) | |
4041 | where | |
4042 | P0: ::windows::core::IntoParam<ID3D11Predicate>, | |
4043 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
4044 | { | |
4045 | (::windows::core::Interface::vtable(self).base__.SetPredication)(::windows::core::Interface::as_raw(self), ppredicate.into_param().abi(), predicatevalue.into_param().abi()) | |
4046 | } | |
4047 | pub unsafe fn GSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4048 | (::windows::core::Interface::vtable(self).base__.GSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4049 | } | |
4050 | pub unsafe fn GSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
4051 | (::windows::core::Interface::vtable(self).base__.GSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4052 | } | |
4053 | pub unsafe fn OMSetRenderTargets<P0>(&self, pprendertargetviews: ::core::option::Option<&[::core::option::Option<ID3D11RenderTargetView>]>, pdepthstencilview: P0) | |
4054 | where | |
4055 | P0: ::windows::core::IntoParam<ID3D11DepthStencilView>, | |
4056 | { | |
4057 | (::windows::core::Interface::vtable(self).base__.OMSetRenderTargets)(::windows::core::Interface::as_raw(self), pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdepthstencilview.into_param().abi()) | |
4058 | } | |
4059 | pub unsafe fn OMSetRenderTargetsAndUnorderedAccessViews<P0>(&self, pprendertargetviews: ::core::option::Option<&[::core::option::Option<ID3D11RenderTargetView>]>, pdepthstencilview: P0, uavstartslot: u32, numuavs: u32, ppunorderedaccessviews: ::core::option::Option<*const ::core::option::Option<ID3D11UnorderedAccessView>>, puavinitialcounts: ::core::option::Option<*const u32>) | |
4060 | where | |
4061 | P0: ::windows::core::IntoParam<ID3D11DepthStencilView>, | |
4062 | { | |
4063 | (::windows::core::Interface::vtable(self).base__.OMSetRenderTargetsAndUnorderedAccessViews)(::windows::core::Interface::as_raw(self), pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdepthstencilview.into_param().abi(), uavstartslot, numuavs, ::core::mem::transmute(ppunorderedaccessviews.unwrap_or(::std::ptr::null())), ::core::mem::transmute(puavinitialcounts.unwrap_or(::std::ptr::null()))) | |
4064 | } | |
4065 | pub unsafe fn OMSetBlendState<P0>(&self, pblendstate: P0, blendfactor: ::core::option::Option<*const f32>, samplemask: u32) | |
4066 | where | |
4067 | P0: ::windows::core::IntoParam<ID3D11BlendState>, | |
4068 | { | |
4069 | (::windows::core::Interface::vtable(self).base__.OMSetBlendState)(::windows::core::Interface::as_raw(self), pblendstate.into_param().abi(), ::core::mem::transmute(blendfactor.unwrap_or(::std::ptr::null())), samplemask) | |
4070 | } | |
4071 | pub unsafe fn OMSetDepthStencilState<P0>(&self, pdepthstencilstate: P0, stencilref: u32) | |
4072 | where | |
4073 | P0: ::windows::core::IntoParam<ID3D11DepthStencilState>, | |
4074 | { | |
4075 | (::windows::core::Interface::vtable(self).base__.OMSetDepthStencilState)(::windows::core::Interface::as_raw(self), pdepthstencilstate.into_param().abi(), stencilref) | |
4076 | } | |
4077 | pub unsafe fn SOSetTargets(&self, numbuffers: u32, ppsotargets: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, poffsets: ::core::option::Option<*const u32>) { | |
4078 | (::windows::core::Interface::vtable(self).base__.SOSetTargets)(::windows::core::Interface::as_raw(self), numbuffers, ::core::mem::transmute(ppsotargets.unwrap_or(::std::ptr::null())), ::core::mem::transmute(poffsets.unwrap_or(::std::ptr::null()))) | |
4079 | } | |
4080 | pub unsafe fn DrawAuto(&self) { | |
4081 | (::windows::core::Interface::vtable(self).base__.DrawAuto)(::windows::core::Interface::as_raw(self)) | |
4082 | } | |
4083 | pub unsafe fn DrawIndexedInstancedIndirect<P0>(&self, pbufferforargs: P0, alignedbyteoffsetforargs: u32) | |
4084 | where | |
4085 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
4086 | { | |
4087 | (::windows::core::Interface::vtable(self).base__.DrawIndexedInstancedIndirect)(::windows::core::Interface::as_raw(self), pbufferforargs.into_param().abi(), alignedbyteoffsetforargs) | |
4088 | } | |
4089 | pub unsafe fn DrawInstancedIndirect<P0>(&self, pbufferforargs: P0, alignedbyteoffsetforargs: u32) | |
4090 | where | |
4091 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
4092 | { | |
4093 | (::windows::core::Interface::vtable(self).base__.DrawInstancedIndirect)(::windows::core::Interface::as_raw(self), pbufferforargs.into_param().abi(), alignedbyteoffsetforargs) | |
4094 | } | |
4095 | pub unsafe fn Dispatch(&self, threadgroupcountx: u32, threadgroupcounty: u32, threadgroupcountz: u32) { | |
4096 | (::windows::core::Interface::vtable(self).base__.Dispatch)(::windows::core::Interface::as_raw(self), threadgroupcountx, threadgroupcounty, threadgroupcountz) | |
4097 | } | |
4098 | pub unsafe fn DispatchIndirect<P0>(&self, pbufferforargs: P0, alignedbyteoffsetforargs: u32) | |
4099 | where | |
4100 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
4101 | { | |
4102 | (::windows::core::Interface::vtable(self).base__.DispatchIndirect)(::windows::core::Interface::as_raw(self), pbufferforargs.into_param().abi(), alignedbyteoffsetforargs) | |
4103 | } | |
4104 | pub unsafe fn RSSetState<P0>(&self, prasterizerstate: P0) | |
4105 | where | |
4106 | P0: ::windows::core::IntoParam<ID3D11RasterizerState>, | |
4107 | { | |
4108 | (::windows::core::Interface::vtable(self).base__.RSSetState)(::windows::core::Interface::as_raw(self), prasterizerstate.into_param().abi()) | |
4109 | } | |
4110 | pub unsafe fn RSSetViewports(&self, pviewports: ::core::option::Option<&[D3D11_VIEWPORT]>) { | |
4111 | (::windows::core::Interface::vtable(self).base__.RSSetViewports)(::windows::core::Interface::as_raw(self), pviewports.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pviewports.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4112 | } | |
4113 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4114 | #[cfg(feature = "Win32_Foundation")] | |
4115 | pub unsafe fn RSSetScissorRects(&self, prects: ::core::option::Option<&[super::super::Foundation::RECT]>) { | |
4116 | (::windows::core::Interface::vtable(self).base__.RSSetScissorRects)(::windows::core::Interface::as_raw(self), prects.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(prects.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4117 | } | |
4118 | pub unsafe fn CopySubresourceRegion<P0, P1>(&self, pdstresource: P0, dstsubresource: u32, dstx: u32, dsty: u32, dstz: u32, psrcresource: P1, srcsubresource: u32, psrcbox: ::core::option::Option<*const D3D11_BOX>) | |
4119 | where | |
4120 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
4121 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
4122 | { | |
4123 | (::windows::core::Interface::vtable(self).base__.CopySubresourceRegion)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, dstx, dsty, dstz, psrcresource.into_param().abi(), srcsubresource, ::core::mem::transmute(psrcbox.unwrap_or(::std::ptr::null()))) | |
4124 | } | |
4125 | pub unsafe fn CopyResource<P0, P1>(&self, pdstresource: P0, psrcresource: P1) | |
4126 | where | |
4127 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
4128 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
4129 | { | |
4130 | (::windows::core::Interface::vtable(self).base__.CopyResource)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), psrcresource.into_param().abi()) | |
4131 | } | |
4132 | pub unsafe fn UpdateSubresource<P0>(&self, pdstresource: P0, dstsubresource: u32, pdstbox: ::core::option::Option<*const D3D11_BOX>, psrcdata: *const ::core::ffi::c_void, srcrowpitch: u32, srcdepthpitch: u32) | |
4133 | where | |
4134 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
4135 | { | |
4136 | (::windows::core::Interface::vtable(self).base__.UpdateSubresource)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, ::core::mem::transmute(pdstbox.unwrap_or(::std::ptr::null())), psrcdata, srcrowpitch, srcdepthpitch) | |
4137 | } | |
4138 | pub unsafe fn CopyStructureCount<P0, P1>(&self, pdstbuffer: P0, dstalignedbyteoffset: u32, psrcview: P1) | |
4139 | where | |
4140 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
4141 | P1: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
4142 | { | |
4143 | (::windows::core::Interface::vtable(self).base__.CopyStructureCount)(::windows::core::Interface::as_raw(self), pdstbuffer.into_param().abi(), dstalignedbyteoffset, psrcview.into_param().abi()) | |
4144 | } | |
4145 | pub unsafe fn ClearRenderTargetView<P0>(&self, prendertargetview: P0, colorrgba: *const f32) | |
4146 | where | |
4147 | P0: ::windows::core::IntoParam<ID3D11RenderTargetView>, | |
4148 | { | |
4149 | (::windows::core::Interface::vtable(self).base__.ClearRenderTargetView)(::windows::core::Interface::as_raw(self), prendertargetview.into_param().abi(), colorrgba) | |
4150 | } | |
4151 | pub unsafe fn ClearUnorderedAccessViewUint<P0>(&self, punorderedaccessview: P0, values: *const u32) | |
4152 | where | |
4153 | P0: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
4154 | { | |
4155 | (::windows::core::Interface::vtable(self).base__.ClearUnorderedAccessViewUint)(::windows::core::Interface::as_raw(self), punorderedaccessview.into_param().abi(), values) | |
4156 | } | |
4157 | pub unsafe fn ClearUnorderedAccessViewFloat<P0>(&self, punorderedaccessview: P0, values: *const f32) | |
4158 | where | |
4159 | P0: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
4160 | { | |
4161 | (::windows::core::Interface::vtable(self).base__.ClearUnorderedAccessViewFloat)(::windows::core::Interface::as_raw(self), punorderedaccessview.into_param().abi(), values) | |
4162 | } | |
4163 | pub unsafe fn ClearDepthStencilView<P0>(&self, pdepthstencilview: P0, clearflags: u32, depth: f32, stencil: u8) | |
4164 | where | |
4165 | P0: ::windows::core::IntoParam<ID3D11DepthStencilView>, | |
4166 | { | |
4167 | (::windows::core::Interface::vtable(self).base__.ClearDepthStencilView)(::windows::core::Interface::as_raw(self), pdepthstencilview.into_param().abi(), clearflags, depth, stencil) | |
4168 | } | |
4169 | pub unsafe fn GenerateMips<P0>(&self, pshaderresourceview: P0) | |
4170 | where | |
4171 | P0: ::windows::core::IntoParam<ID3D11ShaderResourceView>, | |
4172 | { | |
4173 | (::windows::core::Interface::vtable(self).base__.GenerateMips)(::windows::core::Interface::as_raw(self), pshaderresourceview.into_param().abi()) | |
4174 | } | |
4175 | pub unsafe fn SetResourceMinLOD<P0>(&self, presource: P0, minlod: f32) | |
4176 | where | |
4177 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
4178 | { | |
4179 | (::windows::core::Interface::vtable(self).base__.SetResourceMinLOD)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), minlod) | |
4180 | } | |
4181 | pub unsafe fn GetResourceMinLOD<P0>(&self, presource: P0) -> f32 | |
4182 | where | |
4183 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
4184 | { | |
4185 | (::windows::core::Interface::vtable(self).base__.GetResourceMinLOD)(::windows::core::Interface::as_raw(self), presource.into_param().abi()) | |
4186 | } | |
4187 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
4188 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
4189 | pub unsafe fn ResolveSubresource<P0, P1>(&self, pdstresource: P0, dstsubresource: u32, psrcresource: P1, srcsubresource: u32, format: super::Dxgi::Common::DXGI_FORMAT) | |
4190 | where | |
4191 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
4192 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
4193 | { | |
4194 | (::windows::core::Interface::vtable(self).base__.ResolveSubresource)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, psrcresource.into_param().abi(), srcsubresource, format) | |
4195 | } | |
4196 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4197 | #[cfg(feature = "Win32_Foundation")] | |
4198 | pub unsafe fn ExecuteCommandList<P0, P1>(&self, pcommandlist: P0, restorecontextstate: P1) | |
4199 | where | |
4200 | P0: ::windows::core::IntoParam<ID3D11CommandList>, | |
4201 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
4202 | { | |
4203 | (::windows::core::Interface::vtable(self).base__.ExecuteCommandList)(::windows::core::Interface::as_raw(self), pcommandlist.into_param().abi(), restorecontextstate.into_param().abi()) | |
4204 | } | |
4205 | pub unsafe fn HSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4206 | (::windows::core::Interface::vtable(self).base__.HSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4207 | } | |
4208 | pub unsafe fn HSSetShader<P0>(&self, phullshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
4209 | where | |
4210 | P0: ::windows::core::IntoParam<ID3D11HullShader>, | |
4211 | { | |
4212 | (::windows::core::Interface::vtable(self).base__.HSSetShader)(::windows::core::Interface::as_raw(self), phullshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
4213 | } | |
4214 | pub unsafe fn HSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
4215 | (::windows::core::Interface::vtable(self).base__.HSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4216 | } | |
4217 | pub unsafe fn HSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
4218 | (::windows::core::Interface::vtable(self).base__.HSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4219 | } | |
4220 | pub unsafe fn DSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4221 | (::windows::core::Interface::vtable(self).base__.DSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4222 | } | |
4223 | pub unsafe fn DSSetShader<P0>(&self, pdomainshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
4224 | where | |
4225 | P0: ::windows::core::IntoParam<ID3D11DomainShader>, | |
4226 | { | |
4227 | (::windows::core::Interface::vtable(self).base__.DSSetShader)(::windows::core::Interface::as_raw(self), pdomainshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
4228 | } | |
4229 | pub unsafe fn DSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
4230 | (::windows::core::Interface::vtable(self).base__.DSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4231 | } | |
4232 | pub unsafe fn DSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
4233 | (::windows::core::Interface::vtable(self).base__.DSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4234 | } | |
4235 | pub unsafe fn CSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4236 | (::windows::core::Interface::vtable(self).base__.CSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4237 | } | |
4238 | pub unsafe fn CSSetUnorderedAccessViews(&self, startslot: u32, numuavs: u32, ppunorderedaccessviews: ::core::option::Option<*const ::core::option::Option<ID3D11UnorderedAccessView>>, puavinitialcounts: ::core::option::Option<*const u32>) { | |
4239 | (::windows::core::Interface::vtable(self).base__.CSSetUnorderedAccessViews)(::windows::core::Interface::as_raw(self), startslot, numuavs, ::core::mem::transmute(ppunorderedaccessviews.unwrap_or(::std::ptr::null())), ::core::mem::transmute(puavinitialcounts.unwrap_or(::std::ptr::null()))) | |
4240 | } | |
4241 | pub unsafe fn CSSetShader<P0>(&self, pcomputeshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
4242 | where | |
4243 | P0: ::windows::core::IntoParam<ID3D11ComputeShader>, | |
4244 | { | |
4245 | (::windows::core::Interface::vtable(self).base__.CSSetShader)(::windows::core::Interface::as_raw(self), pcomputeshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
4246 | } | |
4247 | pub unsafe fn CSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
4248 | (::windows::core::Interface::vtable(self).base__.CSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4249 | } | |
4250 | pub unsafe fn CSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
4251 | (::windows::core::Interface::vtable(self).base__.CSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4252 | } | |
4253 | pub unsafe fn VSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
4254 | (::windows::core::Interface::vtable(self).base__.VSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4255 | } | |
4256 | pub unsafe fn PSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4257 | (::windows::core::Interface::vtable(self).base__.PSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4258 | } | |
4259 | pub unsafe fn PSGetShader(&self, pppixelshader: *mut ::core::option::Option<ID3D11PixelShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
4260 | (::windows::core::Interface::vtable(self).base__.PSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pppixelshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
4261 | } | |
4262 | pub unsafe fn PSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
4263 | (::windows::core::Interface::vtable(self).base__.PSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4264 | } | |
4265 | pub unsafe fn VSGetShader(&self, ppvertexshader: *mut ::core::option::Option<ID3D11VertexShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
4266 | (::windows::core::Interface::vtable(self).base__.VSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppvertexshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
4267 | } | |
4268 | pub unsafe fn PSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
4269 | (::windows::core::Interface::vtable(self).base__.PSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4270 | } | |
4271 | pub unsafe fn IAGetInputLayout(&self) -> ::windows::core::Result<ID3D11InputLayout> { | |
4272 | let mut result__ = ::windows::core::zeroed::<ID3D11InputLayout>(); | |
4273 | (::windows::core::Interface::vtable(self).base__.IAGetInputLayout)(::windows::core::Interface::as_raw(self), &mut result__); | |
4274 | ::windows::core::from_abi(result__) | |
4275 | } | |
4276 | pub unsafe fn IAGetVertexBuffers(&self, startslot: u32, numbuffers: u32, ppvertexbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pstrides: ::core::option::Option<*mut u32>, poffsets: ::core::option::Option<*mut u32>) { | |
4277 | (::windows::core::Interface::vtable(self).base__.IAGetVertexBuffers)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppvertexbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pstrides.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(poffsets.unwrap_or(::std::ptr::null_mut()))) | |
4278 | } | |
4279 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
4280 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
4281 | pub unsafe fn IAGetIndexBuffer(&self, pindexbuffer: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, format: ::core::option::Option<*mut super::Dxgi::Common::DXGI_FORMAT>, offset: ::core::option::Option<*mut u32>) { | |
4282 | (::windows::core::Interface::vtable(self).base__.IAGetIndexBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pindexbuffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(format.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(offset.unwrap_or(::std::ptr::null_mut()))) | |
4283 | } | |
4284 | pub unsafe fn GSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
4285 | (::windows::core::Interface::vtable(self).base__.GSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4286 | } | |
4287 | pub unsafe fn GSGetShader(&self, ppgeometryshader: *mut ::core::option::Option<ID3D11GeometryShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
4288 | (::windows::core::Interface::vtable(self).base__.GSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppgeometryshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
4289 | } | |
4290 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
4291 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
4292 | pub unsafe fn IAGetPrimitiveTopology(&self) -> super::Direct3D::D3D_PRIMITIVE_TOPOLOGY { | |
4293 | let mut result__ = ::windows::core::zeroed::<super::Direct3D::D3D_PRIMITIVE_TOPOLOGY>(); | |
4294 | (::windows::core::Interface::vtable(self).base__.IAGetPrimitiveTopology)(::windows::core::Interface::as_raw(self), &mut result__); | |
4295 | ::std::mem::transmute(result__) | |
4296 | } | |
4297 | pub unsafe fn VSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4298 | (::windows::core::Interface::vtable(self).base__.VSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4299 | } | |
4300 | pub unsafe fn VSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
4301 | (::windows::core::Interface::vtable(self).base__.VSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4302 | } | |
4303 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4304 | #[cfg(feature = "Win32_Foundation")] | |
4305 | pub unsafe fn GetPredication(&self, pppredicate: ::core::option::Option<*mut ::core::option::Option<ID3D11Predicate>>, ppredicatevalue: ::core::option::Option<*mut super::super::Foundation::BOOL>) { | |
4306 | (::windows::core::Interface::vtable(self).base__.GetPredication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pppredicate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppredicatevalue.unwrap_or(::std::ptr::null_mut()))) | |
4307 | } | |
4308 | pub unsafe fn GSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4309 | (::windows::core::Interface::vtable(self).base__.GSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4310 | } | |
4311 | pub unsafe fn GSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
4312 | (::windows::core::Interface::vtable(self).base__.GSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4313 | } | |
4314 | pub unsafe fn OMGetRenderTargets(&self, pprendertargetviews: ::core::option::Option<&mut [::core::option::Option<ID3D11RenderTargetView>]>, ppdepthstencilview: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilView>>) { | |
4315 | (::windows::core::Interface::vtable(self).base__.OMGetRenderTargets)(::windows::core::Interface::as_raw(self), pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(ppdepthstencilview.unwrap_or(::std::ptr::null_mut()))) | |
4316 | } | |
4317 | pub unsafe fn OMGetRenderTargetsAndUnorderedAccessViews(&self, pprendertargetviews: ::core::option::Option<&mut [::core::option::Option<ID3D11RenderTargetView>]>, ppdepthstencilview: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilView>>, uavstartslot: u32, ppunorderedaccessviews: ::core::option::Option<&mut [::core::option::Option<ID3D11UnorderedAccessView>]>) { | |
4318 | (::windows::core::Interface::vtable(self).base__.OMGetRenderTargetsAndUnorderedAccessViews)( | |
4319 | ::windows::core::Interface::as_raw(self), | |
4320 | pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), | |
4321 | ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
4322 | ::core::mem::transmute(ppdepthstencilview.unwrap_or(::std::ptr::null_mut())), | |
4323 | uavstartslot, | |
4324 | ppunorderedaccessviews.as_deref().map_or(0, |slice| slice.len() as _), | |
4325 | ::core::mem::transmute(ppunorderedaccessviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
4326 | ) | |
4327 | } | |
4328 | pub unsafe fn OMGetBlendState(&self, ppblendstate: ::core::option::Option<*mut ::core::option::Option<ID3D11BlendState>>, blendfactor: ::core::option::Option<*mut f32>, psamplemask: ::core::option::Option<*mut u32>) { | |
4329 | (::windows::core::Interface::vtable(self).base__.OMGetBlendState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppblendstate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(blendfactor.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(psamplemask.unwrap_or(::std::ptr::null_mut()))) | |
4330 | } | |
4331 | pub unsafe fn OMGetDepthStencilState(&self, ppdepthstencilstate: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilState>>, pstencilref: ::core::option::Option<*mut u32>) { | |
4332 | (::windows::core::Interface::vtable(self).base__.OMGetDepthStencilState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppdepthstencilstate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pstencilref.unwrap_or(::std::ptr::null_mut()))) | |
4333 | } | |
4334 | pub unsafe fn SOGetTargets(&self, ppsotargets: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
4335 | (::windows::core::Interface::vtable(self).base__.SOGetTargets)(::windows::core::Interface::as_raw(self), ppsotargets.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsotargets.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4336 | } | |
4337 | pub unsafe fn RSGetState(&self) -> ::windows::core::Result<ID3D11RasterizerState> { | |
4338 | let mut result__ = ::windows::core::zeroed::<ID3D11RasterizerState>(); | |
4339 | (::windows::core::Interface::vtable(self).base__.RSGetState)(::windows::core::Interface::as_raw(self), &mut result__); | |
4340 | ::windows::core::from_abi(result__) | |
4341 | } | |
4342 | pub unsafe fn RSGetViewports(&self, pnumviewports: *mut u32, pviewports: ::core::option::Option<*mut D3D11_VIEWPORT>) { | |
4343 | (::windows::core::Interface::vtable(self).base__.RSGetViewports)(::windows::core::Interface::as_raw(self), pnumviewports, ::core::mem::transmute(pviewports.unwrap_or(::std::ptr::null_mut()))) | |
4344 | } | |
4345 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4346 | #[cfg(feature = "Win32_Foundation")] | |
4347 | pub unsafe fn RSGetScissorRects(&self, pnumrects: *mut u32, prects: ::core::option::Option<*mut super::super::Foundation::RECT>) { | |
4348 | (::windows::core::Interface::vtable(self).base__.RSGetScissorRects)(::windows::core::Interface::as_raw(self), pnumrects, ::core::mem::transmute(prects.unwrap_or(::std::ptr::null_mut()))) | |
4349 | } | |
4350 | pub unsafe fn HSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4351 | (::windows::core::Interface::vtable(self).base__.HSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4352 | } | |
4353 | pub unsafe fn HSGetShader(&self, pphullshader: *mut ::core::option::Option<ID3D11HullShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
4354 | (::windows::core::Interface::vtable(self).base__.HSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pphullshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
4355 | } | |
4356 | pub unsafe fn HSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
4357 | (::windows::core::Interface::vtable(self).base__.HSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4358 | } | |
4359 | pub unsafe fn HSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
4360 | (::windows::core::Interface::vtable(self).base__.HSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4361 | } | |
4362 | pub unsafe fn DSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4363 | (::windows::core::Interface::vtable(self).base__.DSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4364 | } | |
4365 | pub unsafe fn DSGetShader(&self, ppdomainshader: *mut ::core::option::Option<ID3D11DomainShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
4366 | (::windows::core::Interface::vtable(self).base__.DSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppdomainshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
4367 | } | |
4368 | pub unsafe fn DSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
4369 | (::windows::core::Interface::vtable(self).base__.DSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4370 | } | |
4371 | pub unsafe fn DSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
4372 | (::windows::core::Interface::vtable(self).base__.DSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4373 | } | |
4374 | pub unsafe fn CSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4375 | (::windows::core::Interface::vtable(self).base__.CSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4376 | } | |
4377 | pub unsafe fn CSGetUnorderedAccessViews(&self, startslot: u32, ppunorderedaccessviews: ::core::option::Option<&mut [::core::option::Option<ID3D11UnorderedAccessView>]>) { | |
4378 | (::windows::core::Interface::vtable(self).base__.CSGetUnorderedAccessViews)(::windows::core::Interface::as_raw(self), startslot, ppunorderedaccessviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppunorderedaccessviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4379 | } | |
4380 | pub unsafe fn CSGetShader(&self, ppcomputeshader: *mut ::core::option::Option<ID3D11ComputeShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
4381 | (::windows::core::Interface::vtable(self).base__.CSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppcomputeshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
4382 | } | |
4383 | pub unsafe fn CSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
4384 | (::windows::core::Interface::vtable(self).base__.CSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4385 | } | |
4386 | pub unsafe fn CSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
4387 | (::windows::core::Interface::vtable(self).base__.CSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4388 | } | |
4389 | pub unsafe fn ClearState(&self) { | |
4390 | (::windows::core::Interface::vtable(self).base__.ClearState)(::windows::core::Interface::as_raw(self)) | |
4391 | } | |
4392 | pub unsafe fn Flush(&self) { | |
4393 | (::windows::core::Interface::vtable(self).base__.Flush)(::windows::core::Interface::as_raw(self)) | |
4394 | } | |
4395 | pub unsafe fn GetType(&self) -> D3D11_DEVICE_CONTEXT_TYPE { | |
4396 | (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self)) | |
4397 | } | |
4398 | pub unsafe fn GetContextFlags(&self) -> u32 { | |
4399 | (::windows::core::Interface::vtable(self).base__.GetContextFlags)(::windows::core::Interface::as_raw(self)) | |
4400 | } | |
4401 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4402 | #[cfg(feature = "Win32_Foundation")] | |
4403 | pub unsafe fn FinishCommandList<P0>(&self, restoredeferredcontextstate: P0, ppcommandlist: ::core::option::Option<*mut ::core::option::Option<ID3D11CommandList>>) -> ::windows::core::Result<()> | |
4404 | where | |
4405 | P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
4406 | { | |
4407 | (::windows::core::Interface::vtable(self).base__.FinishCommandList)(::windows::core::Interface::as_raw(self), restoredeferredcontextstate.into_param().abi(), ::core::mem::transmute(ppcommandlist.unwrap_or(::std::ptr::null_mut()))).ok() | |
4408 | } | |
4409 | pub unsafe fn CopySubresourceRegion1<P0, P1>(&self, pdstresource: P0, dstsubresource: u32, dstx: u32, dsty: u32, dstz: u32, psrcresource: P1, srcsubresource: u32, psrcbox: ::core::option::Option<*const D3D11_BOX>, copyflags: u32) | |
4410 | where | |
4411 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
4412 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
4413 | { | |
4414 | (::windows::core::Interface::vtable(self).CopySubresourceRegion1)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, dstx, dsty, dstz, psrcresource.into_param().abi(), srcsubresource, ::core::mem::transmute(psrcbox.unwrap_or(::std::ptr::null())), copyflags) | |
4415 | } | |
4416 | pub unsafe fn UpdateSubresource1<P0>(&self, pdstresource: P0, dstsubresource: u32, pdstbox: ::core::option::Option<*const D3D11_BOX>, psrcdata: *const ::core::ffi::c_void, srcrowpitch: u32, srcdepthpitch: u32, copyflags: u32) | |
4417 | where | |
4418 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
4419 | { | |
4420 | (::windows::core::Interface::vtable(self).UpdateSubresource1)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, ::core::mem::transmute(pdstbox.unwrap_or(::std::ptr::null())), psrcdata, srcrowpitch, srcdepthpitch, copyflags) | |
4421 | } | |
4422 | pub unsafe fn DiscardResource<P0>(&self, presource: P0) | |
4423 | where | |
4424 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
4425 | { | |
4426 | (::windows::core::Interface::vtable(self).DiscardResource)(::windows::core::Interface::as_raw(self), presource.into_param().abi()) | |
4427 | } | |
4428 | pub unsafe fn DiscardView<P0>(&self, presourceview: P0) | |
4429 | where | |
4430 | P0: ::windows::core::IntoParam<ID3D11View>, | |
4431 | { | |
4432 | (::windows::core::Interface::vtable(self).DiscardView)(::windows::core::Interface::as_raw(self), presourceview.into_param().abi()) | |
4433 | } | |
4434 | pub unsafe fn VSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
4435 | (::windows::core::Interface::vtable(self).VSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
4436 | } | |
4437 | pub unsafe fn HSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
4438 | (::windows::core::Interface::vtable(self).HSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
4439 | } | |
4440 | pub unsafe fn DSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
4441 | (::windows::core::Interface::vtable(self).DSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
4442 | } | |
4443 | pub unsafe fn GSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
4444 | (::windows::core::Interface::vtable(self).GSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
4445 | } | |
4446 | pub unsafe fn PSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
4447 | (::windows::core::Interface::vtable(self).PSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
4448 | } | |
4449 | pub unsafe fn CSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
4450 | (::windows::core::Interface::vtable(self).CSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
4451 | } | |
4452 | pub unsafe fn VSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
4453 | (::windows::core::Interface::vtable(self).VSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
4454 | } | |
4455 | pub unsafe fn HSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
4456 | (::windows::core::Interface::vtable(self).HSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
4457 | } | |
4458 | pub unsafe fn DSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
4459 | (::windows::core::Interface::vtable(self).DSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
4460 | } | |
4461 | pub unsafe fn GSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
4462 | (::windows::core::Interface::vtable(self).GSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
4463 | } | |
4464 | pub unsafe fn PSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
4465 | (::windows::core::Interface::vtable(self).PSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
4466 | } | |
4467 | pub unsafe fn CSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
4468 | (::windows::core::Interface::vtable(self).CSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
4469 | } | |
4470 | pub unsafe fn SwapDeviceContextState<P0>(&self, pstate: P0, pppreviousstate: ::core::option::Option<*mut ::core::option::Option<ID3DDeviceContextState>>) | |
4471 | where | |
4472 | P0: ::windows::core::IntoParam<ID3DDeviceContextState>, | |
4473 | { | |
4474 | (::windows::core::Interface::vtable(self).SwapDeviceContextState)(::windows::core::Interface::as_raw(self), pstate.into_param().abi(), ::core::mem::transmute(pppreviousstate.unwrap_or(::std::ptr::null_mut()))) | |
4475 | } | |
4476 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4477 | #[cfg(feature = "Win32_Foundation")] | |
4478 | pub unsafe fn ClearView<P0>(&self, pview: P0, color: *const f32, prect: ::core::option::Option<&[super::super::Foundation::RECT]>) | |
4479 | where | |
4480 | P0: ::windows::core::IntoParam<ID3D11View>, | |
4481 | { | |
4482 | (::windows::core::Interface::vtable(self).ClearView)(::windows::core::Interface::as_raw(self), pview.into_param().abi(), color, ::core::mem::transmute(prect.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prect.as_deref().map_or(0, |slice| slice.len() as _)) | |
4483 | } | |
4484 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4485 | #[cfg(feature = "Win32_Foundation")] | |
4486 | pub unsafe fn DiscardView1<P0>(&self, presourceview: P0, prects: ::core::option::Option<&[super::super::Foundation::RECT]>) | |
4487 | where | |
4488 | P0: ::windows::core::IntoParam<ID3D11View>, | |
4489 | { | |
4490 | (::windows::core::Interface::vtable(self).DiscardView1)(::windows::core::Interface::as_raw(self), presourceview.into_param().abi(), ::core::mem::transmute(prects.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prects.as_deref().map_or(0, |slice| slice.len() as _)) | |
4491 | } | |
4492 | } | |
4493 | ::windows::imp::interface_hierarchy!(ID3D11DeviceContext1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext); | |
4494 | impl ::core::cmp::PartialEq for ID3D11DeviceContext1 { | |
4495 | fn eq(&self, other: &Self) -> bool { | |
4496 | self.0 == other.0 | |
4497 | } | |
4498 | } | |
4499 | impl ::core::cmp::Eq for ID3D11DeviceContext1 {} | |
4500 | impl ::core::fmt::Debug for ID3D11DeviceContext1 { | |
4501 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
4502 | f.debug_tuple("ID3D11DeviceContext1").field(&self.0).finish() | |
4503 | } | |
4504 | } | |
4505 | unsafe impl ::core::marker::Send for ID3D11DeviceContext1 {} | |
4506 | unsafe impl ::core::marker::Sync for ID3D11DeviceContext1 {} | |
4507 | unsafe impl ::windows::core::Interface for ID3D11DeviceContext1 { | |
4508 | type Vtable = ID3D11DeviceContext1_Vtbl; | |
4509 | } | |
4510 | impl ::core::clone::Clone for ID3D11DeviceContext1 { | |
4511 | fn clone(&self) -> Self { | |
4512 | Self(self.0.clone()) | |
4513 | } | |
4514 | } | |
4515 | unsafe impl ::windows::core::ComInterface for ID3D11DeviceContext1 { | |
4516 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xbb2c6faa_b5fb_4082_8e6b_388b8cfa90e1); | |
4517 | } | |
4518 | #[repr(C)] | |
4519 | #[doc(hidden)] | |
4520 | pub struct ID3D11DeviceContext1_Vtbl { | |
4521 | pub base__: ID3D11DeviceContext_Vtbl, | |
4522 | pub CopySubresourceRegion1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdstresource: *mut ::core::ffi::c_void, dstsubresource: u32, dstx: u32, dsty: u32, dstz: u32, psrcresource: *mut ::core::ffi::c_void, srcsubresource: u32, psrcbox: *const D3D11_BOX, copyflags: u32), | |
4523 | pub UpdateSubresource1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdstresource: *mut ::core::ffi::c_void, dstsubresource: u32, pdstbox: *const D3D11_BOX, psrcdata: *const ::core::ffi::c_void, srcrowpitch: u32, srcdepthpitch: u32, copyflags: u32), | |
4524 | pub DiscardResource: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presource: *mut ::core::ffi::c_void), | |
4525 | pub DiscardView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presourceview: *mut ::core::ffi::c_void), | |
4526 | pub VSSetConstantBuffers1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *const *mut ::core::ffi::c_void, pfirstconstant: *const u32, pnumconstants: *const u32), | |
4527 | pub HSSetConstantBuffers1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *const *mut ::core::ffi::c_void, pfirstconstant: *const u32, pnumconstants: *const u32), | |
4528 | pub DSSetConstantBuffers1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *const *mut ::core::ffi::c_void, pfirstconstant: *const u32, pnumconstants: *const u32), | |
4529 | pub GSSetConstantBuffers1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *const *mut ::core::ffi::c_void, pfirstconstant: *const u32, pnumconstants: *const u32), | |
4530 | pub PSSetConstantBuffers1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *const *mut ::core::ffi::c_void, pfirstconstant: *const u32, pnumconstants: *const u32), | |
4531 | pub CSSetConstantBuffers1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *const *mut ::core::ffi::c_void, pfirstconstant: *const u32, pnumconstants: *const u32), | |
4532 | pub VSGetConstantBuffers1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *mut *mut ::core::ffi::c_void, pfirstconstant: *mut u32, pnumconstants: *mut u32), | |
4533 | pub HSGetConstantBuffers1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *mut *mut ::core::ffi::c_void, pfirstconstant: *mut u32, pnumconstants: *mut u32), | |
4534 | pub DSGetConstantBuffers1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *mut *mut ::core::ffi::c_void, pfirstconstant: *mut u32, pnumconstants: *mut u32), | |
4535 | pub GSGetConstantBuffers1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *mut *mut ::core::ffi::c_void, pfirstconstant: *mut u32, pnumconstants: *mut u32), | |
4536 | pub PSGetConstantBuffers1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *mut *mut ::core::ffi::c_void, pfirstconstant: *mut u32, pnumconstants: *mut u32), | |
4537 | pub CSGetConstantBuffers1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, startslot: u32, numbuffers: u32, ppconstantbuffers: *mut *mut ::core::ffi::c_void, pfirstconstant: *mut u32, pnumconstants: *mut u32), | |
4538 | pub SwapDeviceContextState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pstate: *mut ::core::ffi::c_void, pppreviousstate: *mut *mut ::core::ffi::c_void), | |
4539 | #[cfg(feature = "Win32_Foundation")] | |
4540 | pub ClearView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pview: *mut ::core::ffi::c_void, color: *const f32, prect: *const super::super::Foundation::RECT, numrects: u32), | |
4541 | #[cfg(not(feature = "Win32_Foundation"))] | |
4542 | ClearView: usize, | |
4543 | #[cfg(feature = "Win32_Foundation")] | |
4544 | pub DiscardView1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presourceview: *mut ::core::ffi::c_void, prects: *const super::super::Foundation::RECT, numrects: u32), | |
4545 | #[cfg(not(feature = "Win32_Foundation"))] | |
4546 | DiscardView1: usize, | |
4547 | } | |
4548 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
4549 | #[repr(transparent)] | |
4550 | pub struct ID3D11DeviceContext2(::windows::core::IUnknown); | |
4551 | impl ID3D11DeviceContext2 { | |
4552 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
4553 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
4554 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
4555 | ::windows::core::from_abi(result__) | |
4556 | } | |
4557 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
4558 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
4559 | } | |
4560 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
4561 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
4562 | } | |
4563 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
4564 | where | |
4565 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
4566 | { | |
4567 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
4568 | } | |
4569 | pub unsafe fn VSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
4570 | (::windows::core::Interface::vtable(self).base__.base__.VSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4571 | } | |
4572 | pub unsafe fn PSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4573 | (::windows::core::Interface::vtable(self).base__.base__.PSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4574 | } | |
4575 | pub unsafe fn PSSetShader<P0>(&self, ppixelshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
4576 | where | |
4577 | P0: ::windows::core::IntoParam<ID3D11PixelShader>, | |
4578 | { | |
4579 | (::windows::core::Interface::vtable(self).base__.base__.PSSetShader)(::windows::core::Interface::as_raw(self), ppixelshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
4580 | } | |
4581 | pub unsafe fn PSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
4582 | (::windows::core::Interface::vtable(self).base__.base__.PSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4583 | } | |
4584 | pub unsafe fn VSSetShader<P0>(&self, pvertexshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
4585 | where | |
4586 | P0: ::windows::core::IntoParam<ID3D11VertexShader>, | |
4587 | { | |
4588 | (::windows::core::Interface::vtable(self).base__.base__.VSSetShader)(::windows::core::Interface::as_raw(self), pvertexshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
4589 | } | |
4590 | pub unsafe fn DrawIndexed(&self, indexcount: u32, startindexlocation: u32, basevertexlocation: i32) { | |
4591 | (::windows::core::Interface::vtable(self).base__.base__.DrawIndexed)(::windows::core::Interface::as_raw(self), indexcount, startindexlocation, basevertexlocation) | |
4592 | } | |
4593 | pub unsafe fn Draw(&self, vertexcount: u32, startvertexlocation: u32) { | |
4594 | (::windows::core::Interface::vtable(self).base__.base__.Draw)(::windows::core::Interface::as_raw(self), vertexcount, startvertexlocation) | |
4595 | } | |
4596 | pub unsafe fn Map<P0>(&self, presource: P0, subresource: u32, maptype: D3D11_MAP, mapflags: u32, pmappedresource: ::core::option::Option<*mut D3D11_MAPPED_SUBRESOURCE>) -> ::windows::core::Result<()> | |
4597 | where | |
4598 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
4599 | { | |
4600 | (::windows::core::Interface::vtable(self).base__.base__.Map)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), subresource, maptype, mapflags, ::core::mem::transmute(pmappedresource.unwrap_or(::std::ptr::null_mut()))).ok() | |
4601 | } | |
4602 | pub unsafe fn Unmap<P0>(&self, presource: P0, subresource: u32) | |
4603 | where | |
4604 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
4605 | { | |
4606 | (::windows::core::Interface::vtable(self).base__.base__.Unmap)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), subresource) | |
4607 | } | |
4608 | pub unsafe fn PSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
4609 | (::windows::core::Interface::vtable(self).base__.base__.PSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4610 | } | |
4611 | pub unsafe fn IASetInputLayout<P0>(&self, pinputlayout: P0) | |
4612 | where | |
4613 | P0: ::windows::core::IntoParam<ID3D11InputLayout>, | |
4614 | { | |
4615 | (::windows::core::Interface::vtable(self).base__.base__.IASetInputLayout)(::windows::core::Interface::as_raw(self), pinputlayout.into_param().abi()) | |
4616 | } | |
4617 | pub unsafe fn IASetVertexBuffers(&self, startslot: u32, numbuffers: u32, ppvertexbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pstrides: ::core::option::Option<*const u32>, poffsets: ::core::option::Option<*const u32>) { | |
4618 | (::windows::core::Interface::vtable(self).base__.base__.IASetVertexBuffers)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppvertexbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pstrides.unwrap_or(::std::ptr::null())), ::core::mem::transmute(poffsets.unwrap_or(::std::ptr::null()))) | |
4619 | } | |
4620 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
4621 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
4622 | pub unsafe fn IASetIndexBuffer<P0>(&self, pindexbuffer: P0, format: super::Dxgi::Common::DXGI_FORMAT, offset: u32) | |
4623 | where | |
4624 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
4625 | { | |
4626 | (::windows::core::Interface::vtable(self).base__.base__.IASetIndexBuffer)(::windows::core::Interface::as_raw(self), pindexbuffer.into_param().abi(), format, offset) | |
4627 | } | |
4628 | pub unsafe fn DrawIndexedInstanced(&self, indexcountperinstance: u32, instancecount: u32, startindexlocation: u32, basevertexlocation: i32, startinstancelocation: u32) { | |
4629 | (::windows::core::Interface::vtable(self).base__.base__.DrawIndexedInstanced)(::windows::core::Interface::as_raw(self), indexcountperinstance, instancecount, startindexlocation, basevertexlocation, startinstancelocation) | |
4630 | } | |
4631 | pub unsafe fn DrawInstanced(&self, vertexcountperinstance: u32, instancecount: u32, startvertexlocation: u32, startinstancelocation: u32) { | |
4632 | (::windows::core::Interface::vtable(self).base__.base__.DrawInstanced)(::windows::core::Interface::as_raw(self), vertexcountperinstance, instancecount, startvertexlocation, startinstancelocation) | |
4633 | } | |
4634 | pub unsafe fn GSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
4635 | (::windows::core::Interface::vtable(self).base__.base__.GSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4636 | } | |
4637 | pub unsafe fn GSSetShader<P0>(&self, pshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
4638 | where | |
4639 | P0: ::windows::core::IntoParam<ID3D11GeometryShader>, | |
4640 | { | |
4641 | (::windows::core::Interface::vtable(self).base__.base__.GSSetShader)(::windows::core::Interface::as_raw(self), pshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
4642 | } | |
4643 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
4644 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
4645 | pub unsafe fn IASetPrimitiveTopology(&self, topology: super::Direct3D::D3D_PRIMITIVE_TOPOLOGY) { | |
4646 | (::windows::core::Interface::vtable(self).base__.base__.IASetPrimitiveTopology)(::windows::core::Interface::as_raw(self), topology) | |
4647 | } | |
4648 | pub unsafe fn VSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4649 | (::windows::core::Interface::vtable(self).base__.base__.VSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4650 | } | |
4651 | pub unsafe fn VSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
4652 | (::windows::core::Interface::vtable(self).base__.base__.VSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4653 | } | |
4654 | pub unsafe fn Begin<P0>(&self, pasync: P0) | |
4655 | where | |
4656 | P0: ::windows::core::IntoParam<ID3D11Asynchronous>, | |
4657 | { | |
4658 | (::windows::core::Interface::vtable(self).base__.base__.Begin)(::windows::core::Interface::as_raw(self), pasync.into_param().abi()) | |
4659 | } | |
4660 | pub unsafe fn End<P0>(&self, pasync: P0) | |
4661 | where | |
4662 | P0: ::windows::core::IntoParam<ID3D11Asynchronous>, | |
4663 | { | |
4664 | (::windows::core::Interface::vtable(self).base__.base__.End)(::windows::core::Interface::as_raw(self), pasync.into_param().abi()) | |
4665 | } | |
4666 | pub unsafe fn GetData<P0>(&self, pasync: P0, pdata: ::core::option::Option<*mut ::core::ffi::c_void>, datasize: u32, getdataflags: u32) -> ::windows::core::Result<()> | |
4667 | where | |
4668 | P0: ::windows::core::IntoParam<ID3D11Asynchronous>, | |
4669 | { | |
4670 | (::windows::core::Interface::vtable(self).base__.base__.GetData)(::windows::core::Interface::as_raw(self), pasync.into_param().abi(), ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut())), datasize, getdataflags).ok() | |
4671 | } | |
4672 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4673 | #[cfg(feature = "Win32_Foundation")] | |
4674 | pub unsafe fn SetPredication<P0, P1>(&self, ppredicate: P0, predicatevalue: P1) | |
4675 | where | |
4676 | P0: ::windows::core::IntoParam<ID3D11Predicate>, | |
4677 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
4678 | { | |
4679 | (::windows::core::Interface::vtable(self).base__.base__.SetPredication)(::windows::core::Interface::as_raw(self), ppredicate.into_param().abi(), predicatevalue.into_param().abi()) | |
4680 | } | |
4681 | pub unsafe fn GSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4682 | (::windows::core::Interface::vtable(self).base__.base__.GSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4683 | } | |
4684 | pub unsafe fn GSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
4685 | (::windows::core::Interface::vtable(self).base__.base__.GSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4686 | } | |
4687 | pub unsafe fn OMSetRenderTargets<P0>(&self, pprendertargetviews: ::core::option::Option<&[::core::option::Option<ID3D11RenderTargetView>]>, pdepthstencilview: P0) | |
4688 | where | |
4689 | P0: ::windows::core::IntoParam<ID3D11DepthStencilView>, | |
4690 | { | |
4691 | (::windows::core::Interface::vtable(self).base__.base__.OMSetRenderTargets)(::windows::core::Interface::as_raw(self), pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdepthstencilview.into_param().abi()) | |
4692 | } | |
4693 | pub unsafe fn OMSetRenderTargetsAndUnorderedAccessViews<P0>(&self, pprendertargetviews: ::core::option::Option<&[::core::option::Option<ID3D11RenderTargetView>]>, pdepthstencilview: P0, uavstartslot: u32, numuavs: u32, ppunorderedaccessviews: ::core::option::Option<*const ::core::option::Option<ID3D11UnorderedAccessView>>, puavinitialcounts: ::core::option::Option<*const u32>) | |
4694 | where | |
4695 | P0: ::windows::core::IntoParam<ID3D11DepthStencilView>, | |
4696 | { | |
4697 | (::windows::core::Interface::vtable(self).base__.base__.OMSetRenderTargetsAndUnorderedAccessViews)(::windows::core::Interface::as_raw(self), pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdepthstencilview.into_param().abi(), uavstartslot, numuavs, ::core::mem::transmute(ppunorderedaccessviews.unwrap_or(::std::ptr::null())), ::core::mem::transmute(puavinitialcounts.unwrap_or(::std::ptr::null()))) | |
4698 | } | |
4699 | pub unsafe fn OMSetBlendState<P0>(&self, pblendstate: P0, blendfactor: ::core::option::Option<*const f32>, samplemask: u32) | |
4700 | where | |
4701 | P0: ::windows::core::IntoParam<ID3D11BlendState>, | |
4702 | { | |
4703 | (::windows::core::Interface::vtable(self).base__.base__.OMSetBlendState)(::windows::core::Interface::as_raw(self), pblendstate.into_param().abi(), ::core::mem::transmute(blendfactor.unwrap_or(::std::ptr::null())), samplemask) | |
4704 | } | |
4705 | pub unsafe fn OMSetDepthStencilState<P0>(&self, pdepthstencilstate: P0, stencilref: u32) | |
4706 | where | |
4707 | P0: ::windows::core::IntoParam<ID3D11DepthStencilState>, | |
4708 | { | |
4709 | (::windows::core::Interface::vtable(self).base__.base__.OMSetDepthStencilState)(::windows::core::Interface::as_raw(self), pdepthstencilstate.into_param().abi(), stencilref) | |
4710 | } | |
4711 | pub unsafe fn SOSetTargets(&self, numbuffers: u32, ppsotargets: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, poffsets: ::core::option::Option<*const u32>) { | |
4712 | (::windows::core::Interface::vtable(self).base__.base__.SOSetTargets)(::windows::core::Interface::as_raw(self), numbuffers, ::core::mem::transmute(ppsotargets.unwrap_or(::std::ptr::null())), ::core::mem::transmute(poffsets.unwrap_or(::std::ptr::null()))) | |
4713 | } | |
4714 | pub unsafe fn DrawAuto(&self) { | |
4715 | (::windows::core::Interface::vtable(self).base__.base__.DrawAuto)(::windows::core::Interface::as_raw(self)) | |
4716 | } | |
4717 | pub unsafe fn DrawIndexedInstancedIndirect<P0>(&self, pbufferforargs: P0, alignedbyteoffsetforargs: u32) | |
4718 | where | |
4719 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
4720 | { | |
4721 | (::windows::core::Interface::vtable(self).base__.base__.DrawIndexedInstancedIndirect)(::windows::core::Interface::as_raw(self), pbufferforargs.into_param().abi(), alignedbyteoffsetforargs) | |
4722 | } | |
4723 | pub unsafe fn DrawInstancedIndirect<P0>(&self, pbufferforargs: P0, alignedbyteoffsetforargs: u32) | |
4724 | where | |
4725 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
4726 | { | |
4727 | (::windows::core::Interface::vtable(self).base__.base__.DrawInstancedIndirect)(::windows::core::Interface::as_raw(self), pbufferforargs.into_param().abi(), alignedbyteoffsetforargs) | |
4728 | } | |
4729 | pub unsafe fn Dispatch(&self, threadgroupcountx: u32, threadgroupcounty: u32, threadgroupcountz: u32) { | |
4730 | (::windows::core::Interface::vtable(self).base__.base__.Dispatch)(::windows::core::Interface::as_raw(self), threadgroupcountx, threadgroupcounty, threadgroupcountz) | |
4731 | } | |
4732 | pub unsafe fn DispatchIndirect<P0>(&self, pbufferforargs: P0, alignedbyteoffsetforargs: u32) | |
4733 | where | |
4734 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
4735 | { | |
4736 | (::windows::core::Interface::vtable(self).base__.base__.DispatchIndirect)(::windows::core::Interface::as_raw(self), pbufferforargs.into_param().abi(), alignedbyteoffsetforargs) | |
4737 | } | |
4738 | pub unsafe fn RSSetState<P0>(&self, prasterizerstate: P0) | |
4739 | where | |
4740 | P0: ::windows::core::IntoParam<ID3D11RasterizerState>, | |
4741 | { | |
4742 | (::windows::core::Interface::vtable(self).base__.base__.RSSetState)(::windows::core::Interface::as_raw(self), prasterizerstate.into_param().abi()) | |
4743 | } | |
4744 | pub unsafe fn RSSetViewports(&self, pviewports: ::core::option::Option<&[D3D11_VIEWPORT]>) { | |
4745 | (::windows::core::Interface::vtable(self).base__.base__.RSSetViewports)(::windows::core::Interface::as_raw(self), pviewports.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pviewports.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4746 | } | |
4747 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4748 | #[cfg(feature = "Win32_Foundation")] | |
4749 | pub unsafe fn RSSetScissorRects(&self, prects: ::core::option::Option<&[super::super::Foundation::RECT]>) { | |
4750 | (::windows::core::Interface::vtable(self).base__.base__.RSSetScissorRects)(::windows::core::Interface::as_raw(self), prects.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(prects.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4751 | } | |
4752 | pub unsafe fn CopySubresourceRegion<P0, P1>(&self, pdstresource: P0, dstsubresource: u32, dstx: u32, dsty: u32, dstz: u32, psrcresource: P1, srcsubresource: u32, psrcbox: ::core::option::Option<*const D3D11_BOX>) | |
4753 | where | |
4754 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
4755 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
4756 | { | |
4757 | (::windows::core::Interface::vtable(self).base__.base__.CopySubresourceRegion)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, dstx, dsty, dstz, psrcresource.into_param().abi(), srcsubresource, ::core::mem::transmute(psrcbox.unwrap_or(::std::ptr::null()))) | |
4758 | } | |
4759 | pub unsafe fn CopyResource<P0, P1>(&self, pdstresource: P0, psrcresource: P1) | |
4760 | where | |
4761 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
4762 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
4763 | { | |
4764 | (::windows::core::Interface::vtable(self).base__.base__.CopyResource)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), psrcresource.into_param().abi()) | |
4765 | } | |
4766 | pub unsafe fn UpdateSubresource<P0>(&self, pdstresource: P0, dstsubresource: u32, pdstbox: ::core::option::Option<*const D3D11_BOX>, psrcdata: *const ::core::ffi::c_void, srcrowpitch: u32, srcdepthpitch: u32) | |
4767 | where | |
4768 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
4769 | { | |
4770 | (::windows::core::Interface::vtable(self).base__.base__.UpdateSubresource)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, ::core::mem::transmute(pdstbox.unwrap_or(::std::ptr::null())), psrcdata, srcrowpitch, srcdepthpitch) | |
4771 | } | |
4772 | pub unsafe fn CopyStructureCount<P0, P1>(&self, pdstbuffer: P0, dstalignedbyteoffset: u32, psrcview: P1) | |
4773 | where | |
4774 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
4775 | P1: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
4776 | { | |
4777 | (::windows::core::Interface::vtable(self).base__.base__.CopyStructureCount)(::windows::core::Interface::as_raw(self), pdstbuffer.into_param().abi(), dstalignedbyteoffset, psrcview.into_param().abi()) | |
4778 | } | |
4779 | pub unsafe fn ClearRenderTargetView<P0>(&self, prendertargetview: P0, colorrgba: *const f32) | |
4780 | where | |
4781 | P0: ::windows::core::IntoParam<ID3D11RenderTargetView>, | |
4782 | { | |
4783 | (::windows::core::Interface::vtable(self).base__.base__.ClearRenderTargetView)(::windows::core::Interface::as_raw(self), prendertargetview.into_param().abi(), colorrgba) | |
4784 | } | |
4785 | pub unsafe fn ClearUnorderedAccessViewUint<P0>(&self, punorderedaccessview: P0, values: *const u32) | |
4786 | where | |
4787 | P0: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
4788 | { | |
4789 | (::windows::core::Interface::vtable(self).base__.base__.ClearUnorderedAccessViewUint)(::windows::core::Interface::as_raw(self), punorderedaccessview.into_param().abi(), values) | |
4790 | } | |
4791 | pub unsafe fn ClearUnorderedAccessViewFloat<P0>(&self, punorderedaccessview: P0, values: *const f32) | |
4792 | where | |
4793 | P0: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
4794 | { | |
4795 | (::windows::core::Interface::vtable(self).base__.base__.ClearUnorderedAccessViewFloat)(::windows::core::Interface::as_raw(self), punorderedaccessview.into_param().abi(), values) | |
4796 | } | |
4797 | pub unsafe fn ClearDepthStencilView<P0>(&self, pdepthstencilview: P0, clearflags: u32, depth: f32, stencil: u8) | |
4798 | where | |
4799 | P0: ::windows::core::IntoParam<ID3D11DepthStencilView>, | |
4800 | { | |
4801 | (::windows::core::Interface::vtable(self).base__.base__.ClearDepthStencilView)(::windows::core::Interface::as_raw(self), pdepthstencilview.into_param().abi(), clearflags, depth, stencil) | |
4802 | } | |
4803 | pub unsafe fn GenerateMips<P0>(&self, pshaderresourceview: P0) | |
4804 | where | |
4805 | P0: ::windows::core::IntoParam<ID3D11ShaderResourceView>, | |
4806 | { | |
4807 | (::windows::core::Interface::vtable(self).base__.base__.GenerateMips)(::windows::core::Interface::as_raw(self), pshaderresourceview.into_param().abi()) | |
4808 | } | |
4809 | pub unsafe fn SetResourceMinLOD<P0>(&self, presource: P0, minlod: f32) | |
4810 | where | |
4811 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
4812 | { | |
4813 | (::windows::core::Interface::vtable(self).base__.base__.SetResourceMinLOD)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), minlod) | |
4814 | } | |
4815 | pub unsafe fn GetResourceMinLOD<P0>(&self, presource: P0) -> f32 | |
4816 | where | |
4817 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
4818 | { | |
4819 | (::windows::core::Interface::vtable(self).base__.base__.GetResourceMinLOD)(::windows::core::Interface::as_raw(self), presource.into_param().abi()) | |
4820 | } | |
4821 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
4822 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
4823 | pub unsafe fn ResolveSubresource<P0, P1>(&self, pdstresource: P0, dstsubresource: u32, psrcresource: P1, srcsubresource: u32, format: super::Dxgi::Common::DXGI_FORMAT) | |
4824 | where | |
4825 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
4826 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
4827 | { | |
4828 | (::windows::core::Interface::vtable(self).base__.base__.ResolveSubresource)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, psrcresource.into_param().abi(), srcsubresource, format) | |
4829 | } | |
4830 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4831 | #[cfg(feature = "Win32_Foundation")] | |
4832 | pub unsafe fn ExecuteCommandList<P0, P1>(&self, pcommandlist: P0, restorecontextstate: P1) | |
4833 | where | |
4834 | P0: ::windows::core::IntoParam<ID3D11CommandList>, | |
4835 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
4836 | { | |
4837 | (::windows::core::Interface::vtable(self).base__.base__.ExecuteCommandList)(::windows::core::Interface::as_raw(self), pcommandlist.into_param().abi(), restorecontextstate.into_param().abi()) | |
4838 | } | |
4839 | pub unsafe fn HSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4840 | (::windows::core::Interface::vtable(self).base__.base__.HSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4841 | } | |
4842 | pub unsafe fn HSSetShader<P0>(&self, phullshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
4843 | where | |
4844 | P0: ::windows::core::IntoParam<ID3D11HullShader>, | |
4845 | { | |
4846 | (::windows::core::Interface::vtable(self).base__.base__.HSSetShader)(::windows::core::Interface::as_raw(self), phullshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
4847 | } | |
4848 | pub unsafe fn HSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
4849 | (::windows::core::Interface::vtable(self).base__.base__.HSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4850 | } | |
4851 | pub unsafe fn HSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
4852 | (::windows::core::Interface::vtable(self).base__.base__.HSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4853 | } | |
4854 | pub unsafe fn DSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4855 | (::windows::core::Interface::vtable(self).base__.base__.DSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4856 | } | |
4857 | pub unsafe fn DSSetShader<P0>(&self, pdomainshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
4858 | where | |
4859 | P0: ::windows::core::IntoParam<ID3D11DomainShader>, | |
4860 | { | |
4861 | (::windows::core::Interface::vtable(self).base__.base__.DSSetShader)(::windows::core::Interface::as_raw(self), pdomainshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
4862 | } | |
4863 | pub unsafe fn DSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
4864 | (::windows::core::Interface::vtable(self).base__.base__.DSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4865 | } | |
4866 | pub unsafe fn DSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
4867 | (::windows::core::Interface::vtable(self).base__.base__.DSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4868 | } | |
4869 | pub unsafe fn CSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4870 | (::windows::core::Interface::vtable(self).base__.base__.CSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4871 | } | |
4872 | pub unsafe fn CSSetUnorderedAccessViews(&self, startslot: u32, numuavs: u32, ppunorderedaccessviews: ::core::option::Option<*const ::core::option::Option<ID3D11UnorderedAccessView>>, puavinitialcounts: ::core::option::Option<*const u32>) { | |
4873 | (::windows::core::Interface::vtable(self).base__.base__.CSSetUnorderedAccessViews)(::windows::core::Interface::as_raw(self), startslot, numuavs, ::core::mem::transmute(ppunorderedaccessviews.unwrap_or(::std::ptr::null())), ::core::mem::transmute(puavinitialcounts.unwrap_or(::std::ptr::null()))) | |
4874 | } | |
4875 | pub unsafe fn CSSetShader<P0>(&self, pcomputeshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
4876 | where | |
4877 | P0: ::windows::core::IntoParam<ID3D11ComputeShader>, | |
4878 | { | |
4879 | (::windows::core::Interface::vtable(self).base__.base__.CSSetShader)(::windows::core::Interface::as_raw(self), pcomputeshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
4880 | } | |
4881 | pub unsafe fn CSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
4882 | (::windows::core::Interface::vtable(self).base__.base__.CSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4883 | } | |
4884 | pub unsafe fn CSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
4885 | (::windows::core::Interface::vtable(self).base__.base__.CSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4886 | } | |
4887 | pub unsafe fn VSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
4888 | (::windows::core::Interface::vtable(self).base__.base__.VSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4889 | } | |
4890 | pub unsafe fn PSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4891 | (::windows::core::Interface::vtable(self).base__.base__.PSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4892 | } | |
4893 | pub unsafe fn PSGetShader(&self, pppixelshader: *mut ::core::option::Option<ID3D11PixelShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
4894 | (::windows::core::Interface::vtable(self).base__.base__.PSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pppixelshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
4895 | } | |
4896 | pub unsafe fn PSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
4897 | (::windows::core::Interface::vtable(self).base__.base__.PSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4898 | } | |
4899 | pub unsafe fn VSGetShader(&self, ppvertexshader: *mut ::core::option::Option<ID3D11VertexShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
4900 | (::windows::core::Interface::vtable(self).base__.base__.VSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppvertexshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
4901 | } | |
4902 | pub unsafe fn PSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
4903 | (::windows::core::Interface::vtable(self).base__.base__.PSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4904 | } | |
4905 | pub unsafe fn IAGetInputLayout(&self) -> ::windows::core::Result<ID3D11InputLayout> { | |
4906 | let mut result__ = ::windows::core::zeroed::<ID3D11InputLayout>(); | |
4907 | (::windows::core::Interface::vtable(self).base__.base__.IAGetInputLayout)(::windows::core::Interface::as_raw(self), &mut result__); | |
4908 | ::windows::core::from_abi(result__) | |
4909 | } | |
4910 | pub unsafe fn IAGetVertexBuffers(&self, startslot: u32, numbuffers: u32, ppvertexbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pstrides: ::core::option::Option<*mut u32>, poffsets: ::core::option::Option<*mut u32>) { | |
4911 | (::windows::core::Interface::vtable(self).base__.base__.IAGetVertexBuffers)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppvertexbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pstrides.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(poffsets.unwrap_or(::std::ptr::null_mut()))) | |
4912 | } | |
4913 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
4914 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
4915 | pub unsafe fn IAGetIndexBuffer(&self, pindexbuffer: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, format: ::core::option::Option<*mut super::Dxgi::Common::DXGI_FORMAT>, offset: ::core::option::Option<*mut u32>) { | |
4916 | (::windows::core::Interface::vtable(self).base__.base__.IAGetIndexBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pindexbuffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(format.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(offset.unwrap_or(::std::ptr::null_mut()))) | |
4917 | } | |
4918 | pub unsafe fn GSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
4919 | (::windows::core::Interface::vtable(self).base__.base__.GSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4920 | } | |
4921 | pub unsafe fn GSGetShader(&self, ppgeometryshader: *mut ::core::option::Option<ID3D11GeometryShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
4922 | (::windows::core::Interface::vtable(self).base__.base__.GSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppgeometryshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
4923 | } | |
4924 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
4925 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
4926 | pub unsafe fn IAGetPrimitiveTopology(&self) -> super::Direct3D::D3D_PRIMITIVE_TOPOLOGY { | |
4927 | let mut result__ = ::windows::core::zeroed::<super::Direct3D::D3D_PRIMITIVE_TOPOLOGY>(); | |
4928 | (::windows::core::Interface::vtable(self).base__.base__.IAGetPrimitiveTopology)(::windows::core::Interface::as_raw(self), &mut result__); | |
4929 | ::std::mem::transmute(result__) | |
4930 | } | |
4931 | pub unsafe fn VSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4932 | (::windows::core::Interface::vtable(self).base__.base__.VSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4933 | } | |
4934 | pub unsafe fn VSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
4935 | (::windows::core::Interface::vtable(self).base__.base__.VSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4936 | } | |
4937 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4938 | #[cfg(feature = "Win32_Foundation")] | |
4939 | pub unsafe fn GetPredication(&self, pppredicate: ::core::option::Option<*mut ::core::option::Option<ID3D11Predicate>>, ppredicatevalue: ::core::option::Option<*mut super::super::Foundation::BOOL>) { | |
4940 | (::windows::core::Interface::vtable(self).base__.base__.GetPredication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pppredicate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppredicatevalue.unwrap_or(::std::ptr::null_mut()))) | |
4941 | } | |
4942 | pub unsafe fn GSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4943 | (::windows::core::Interface::vtable(self).base__.base__.GSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4944 | } | |
4945 | pub unsafe fn GSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
4946 | (::windows::core::Interface::vtable(self).base__.base__.GSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4947 | } | |
4948 | pub unsafe fn OMGetRenderTargets(&self, pprendertargetviews: ::core::option::Option<&mut [::core::option::Option<ID3D11RenderTargetView>]>, ppdepthstencilview: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilView>>) { | |
4949 | (::windows::core::Interface::vtable(self).base__.base__.OMGetRenderTargets)(::windows::core::Interface::as_raw(self), pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(ppdepthstencilview.unwrap_or(::std::ptr::null_mut()))) | |
4950 | } | |
4951 | pub unsafe fn OMGetRenderTargetsAndUnorderedAccessViews(&self, pprendertargetviews: ::core::option::Option<&mut [::core::option::Option<ID3D11RenderTargetView>]>, ppdepthstencilview: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilView>>, uavstartslot: u32, ppunorderedaccessviews: ::core::option::Option<&mut [::core::option::Option<ID3D11UnorderedAccessView>]>) { | |
4952 | (::windows::core::Interface::vtable(self).base__.base__.OMGetRenderTargetsAndUnorderedAccessViews)( | |
4953 | ::windows::core::Interface::as_raw(self), | |
4954 | pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), | |
4955 | ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
4956 | ::core::mem::transmute(ppdepthstencilview.unwrap_or(::std::ptr::null_mut())), | |
4957 | uavstartslot, | |
4958 | ppunorderedaccessviews.as_deref().map_or(0, |slice| slice.len() as _), | |
4959 | ::core::mem::transmute(ppunorderedaccessviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
4960 | ) | |
4961 | } | |
4962 | pub unsafe fn OMGetBlendState(&self, ppblendstate: ::core::option::Option<*mut ::core::option::Option<ID3D11BlendState>>, blendfactor: ::core::option::Option<*mut f32>, psamplemask: ::core::option::Option<*mut u32>) { | |
4963 | (::windows::core::Interface::vtable(self).base__.base__.OMGetBlendState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppblendstate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(blendfactor.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(psamplemask.unwrap_or(::std::ptr::null_mut()))) | |
4964 | } | |
4965 | pub unsafe fn OMGetDepthStencilState(&self, ppdepthstencilstate: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilState>>, pstencilref: ::core::option::Option<*mut u32>) { | |
4966 | (::windows::core::Interface::vtable(self).base__.base__.OMGetDepthStencilState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppdepthstencilstate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pstencilref.unwrap_or(::std::ptr::null_mut()))) | |
4967 | } | |
4968 | pub unsafe fn SOGetTargets(&self, ppsotargets: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
4969 | (::windows::core::Interface::vtable(self).base__.base__.SOGetTargets)(::windows::core::Interface::as_raw(self), ppsotargets.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsotargets.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4970 | } | |
4971 | pub unsafe fn RSGetState(&self) -> ::windows::core::Result<ID3D11RasterizerState> { | |
4972 | let mut result__ = ::windows::core::zeroed::<ID3D11RasterizerState>(); | |
4973 | (::windows::core::Interface::vtable(self).base__.base__.RSGetState)(::windows::core::Interface::as_raw(self), &mut result__); | |
4974 | ::windows::core::from_abi(result__) | |
4975 | } | |
4976 | pub unsafe fn RSGetViewports(&self, pnumviewports: *mut u32, pviewports: ::core::option::Option<*mut D3D11_VIEWPORT>) { | |
4977 | (::windows::core::Interface::vtable(self).base__.base__.RSGetViewports)(::windows::core::Interface::as_raw(self), pnumviewports, ::core::mem::transmute(pviewports.unwrap_or(::std::ptr::null_mut()))) | |
4978 | } | |
4979 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
4980 | #[cfg(feature = "Win32_Foundation")] | |
4981 | pub unsafe fn RSGetScissorRects(&self, pnumrects: *mut u32, prects: ::core::option::Option<*mut super::super::Foundation::RECT>) { | |
4982 | (::windows::core::Interface::vtable(self).base__.base__.RSGetScissorRects)(::windows::core::Interface::as_raw(self), pnumrects, ::core::mem::transmute(prects.unwrap_or(::std::ptr::null_mut()))) | |
4983 | } | |
4984 | pub unsafe fn HSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4985 | (::windows::core::Interface::vtable(self).base__.base__.HSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4986 | } | |
4987 | pub unsafe fn HSGetShader(&self, pphullshader: *mut ::core::option::Option<ID3D11HullShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
4988 | (::windows::core::Interface::vtable(self).base__.base__.HSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pphullshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
4989 | } | |
4990 | pub unsafe fn HSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
4991 | (::windows::core::Interface::vtable(self).base__.base__.HSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4992 | } | |
4993 | pub unsafe fn HSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
4994 | (::windows::core::Interface::vtable(self).base__.base__.HSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4995 | } | |
4996 | pub unsafe fn DSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
4997 | (::windows::core::Interface::vtable(self).base__.base__.DSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
4998 | } | |
4999 | pub unsafe fn DSGetShader(&self, ppdomainshader: *mut ::core::option::Option<ID3D11DomainShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
5000 | (::windows::core::Interface::vtable(self).base__.base__.DSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppdomainshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
5001 | } | |
5002 | pub unsafe fn DSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
5003 | (::windows::core::Interface::vtable(self).base__.base__.DSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5004 | } | |
5005 | pub unsafe fn DSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
5006 | (::windows::core::Interface::vtable(self).base__.base__.DSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5007 | } | |
5008 | pub unsafe fn CSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
5009 | (::windows::core::Interface::vtable(self).base__.base__.CSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5010 | } | |
5011 | pub unsafe fn CSGetUnorderedAccessViews(&self, startslot: u32, ppunorderedaccessviews: ::core::option::Option<&mut [::core::option::Option<ID3D11UnorderedAccessView>]>) { | |
5012 | (::windows::core::Interface::vtable(self).base__.base__.CSGetUnorderedAccessViews)(::windows::core::Interface::as_raw(self), startslot, ppunorderedaccessviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppunorderedaccessviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5013 | } | |
5014 | pub unsafe fn CSGetShader(&self, ppcomputeshader: *mut ::core::option::Option<ID3D11ComputeShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
5015 | (::windows::core::Interface::vtable(self).base__.base__.CSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppcomputeshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
5016 | } | |
5017 | pub unsafe fn CSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
5018 | (::windows::core::Interface::vtable(self).base__.base__.CSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5019 | } | |
5020 | pub unsafe fn CSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
5021 | (::windows::core::Interface::vtable(self).base__.base__.CSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5022 | } | |
5023 | pub unsafe fn ClearState(&self) { | |
5024 | (::windows::core::Interface::vtable(self).base__.base__.ClearState)(::windows::core::Interface::as_raw(self)) | |
5025 | } | |
5026 | pub unsafe fn Flush(&self) { | |
5027 | (::windows::core::Interface::vtable(self).base__.base__.Flush)(::windows::core::Interface::as_raw(self)) | |
5028 | } | |
5029 | pub unsafe fn GetType(&self) -> D3D11_DEVICE_CONTEXT_TYPE { | |
5030 | (::windows::core::Interface::vtable(self).base__.base__.GetType)(::windows::core::Interface::as_raw(self)) | |
5031 | } | |
5032 | pub unsafe fn GetContextFlags(&self) -> u32 { | |
5033 | (::windows::core::Interface::vtable(self).base__.base__.GetContextFlags)(::windows::core::Interface::as_raw(self)) | |
5034 | } | |
5035 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5036 | #[cfg(feature = "Win32_Foundation")] | |
5037 | pub unsafe fn FinishCommandList<P0>(&self, restoredeferredcontextstate: P0, ppcommandlist: ::core::option::Option<*mut ::core::option::Option<ID3D11CommandList>>) -> ::windows::core::Result<()> | |
5038 | where | |
5039 | P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
5040 | { | |
5041 | (::windows::core::Interface::vtable(self).base__.base__.FinishCommandList)(::windows::core::Interface::as_raw(self), restoredeferredcontextstate.into_param().abi(), ::core::mem::transmute(ppcommandlist.unwrap_or(::std::ptr::null_mut()))).ok() | |
5042 | } | |
5043 | pub unsafe fn CopySubresourceRegion1<P0, P1>(&self, pdstresource: P0, dstsubresource: u32, dstx: u32, dsty: u32, dstz: u32, psrcresource: P1, srcsubresource: u32, psrcbox: ::core::option::Option<*const D3D11_BOX>, copyflags: u32) | |
5044 | where | |
5045 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5046 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
5047 | { | |
5048 | (::windows::core::Interface::vtable(self).base__.CopySubresourceRegion1)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, dstx, dsty, dstz, psrcresource.into_param().abi(), srcsubresource, ::core::mem::transmute(psrcbox.unwrap_or(::std::ptr::null())), copyflags) | |
5049 | } | |
5050 | pub unsafe fn UpdateSubresource1<P0>(&self, pdstresource: P0, dstsubresource: u32, pdstbox: ::core::option::Option<*const D3D11_BOX>, psrcdata: *const ::core::ffi::c_void, srcrowpitch: u32, srcdepthpitch: u32, copyflags: u32) | |
5051 | where | |
5052 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5053 | { | |
5054 | (::windows::core::Interface::vtable(self).base__.UpdateSubresource1)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, ::core::mem::transmute(pdstbox.unwrap_or(::std::ptr::null())), psrcdata, srcrowpitch, srcdepthpitch, copyflags) | |
5055 | } | |
5056 | pub unsafe fn DiscardResource<P0>(&self, presource: P0) | |
5057 | where | |
5058 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5059 | { | |
5060 | (::windows::core::Interface::vtable(self).base__.DiscardResource)(::windows::core::Interface::as_raw(self), presource.into_param().abi()) | |
5061 | } | |
5062 | pub unsafe fn DiscardView<P0>(&self, presourceview: P0) | |
5063 | where | |
5064 | P0: ::windows::core::IntoParam<ID3D11View>, | |
5065 | { | |
5066 | (::windows::core::Interface::vtable(self).base__.DiscardView)(::windows::core::Interface::as_raw(self), presourceview.into_param().abi()) | |
5067 | } | |
5068 | pub unsafe fn VSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
5069 | (::windows::core::Interface::vtable(self).base__.VSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
5070 | } | |
5071 | pub unsafe fn HSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
5072 | (::windows::core::Interface::vtable(self).base__.HSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
5073 | } | |
5074 | pub unsafe fn DSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
5075 | (::windows::core::Interface::vtable(self).base__.DSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
5076 | } | |
5077 | pub unsafe fn GSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
5078 | (::windows::core::Interface::vtable(self).base__.GSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
5079 | } | |
5080 | pub unsafe fn PSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
5081 | (::windows::core::Interface::vtable(self).base__.PSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
5082 | } | |
5083 | pub unsafe fn CSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
5084 | (::windows::core::Interface::vtable(self).base__.CSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
5085 | } | |
5086 | pub unsafe fn VSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
5087 | (::windows::core::Interface::vtable(self).base__.VSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
5088 | } | |
5089 | pub unsafe fn HSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
5090 | (::windows::core::Interface::vtable(self).base__.HSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
5091 | } | |
5092 | pub unsafe fn DSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
5093 | (::windows::core::Interface::vtable(self).base__.DSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
5094 | } | |
5095 | pub unsafe fn GSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
5096 | (::windows::core::Interface::vtable(self).base__.GSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
5097 | } | |
5098 | pub unsafe fn PSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
5099 | (::windows::core::Interface::vtable(self).base__.PSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
5100 | } | |
5101 | pub unsafe fn CSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
5102 | (::windows::core::Interface::vtable(self).base__.CSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
5103 | } | |
5104 | pub unsafe fn SwapDeviceContextState<P0>(&self, pstate: P0, pppreviousstate: ::core::option::Option<*mut ::core::option::Option<ID3DDeviceContextState>>) | |
5105 | where | |
5106 | P0: ::windows::core::IntoParam<ID3DDeviceContextState>, | |
5107 | { | |
5108 | (::windows::core::Interface::vtable(self).base__.SwapDeviceContextState)(::windows::core::Interface::as_raw(self), pstate.into_param().abi(), ::core::mem::transmute(pppreviousstate.unwrap_or(::std::ptr::null_mut()))) | |
5109 | } | |
5110 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5111 | #[cfg(feature = "Win32_Foundation")] | |
5112 | pub unsafe fn ClearView<P0>(&self, pview: P0, color: *const f32, prect: ::core::option::Option<&[super::super::Foundation::RECT]>) | |
5113 | where | |
5114 | P0: ::windows::core::IntoParam<ID3D11View>, | |
5115 | { | |
5116 | (::windows::core::Interface::vtable(self).base__.ClearView)(::windows::core::Interface::as_raw(self), pview.into_param().abi(), color, ::core::mem::transmute(prect.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prect.as_deref().map_or(0, |slice| slice.len() as _)) | |
5117 | } | |
5118 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5119 | #[cfg(feature = "Win32_Foundation")] | |
5120 | pub unsafe fn DiscardView1<P0>(&self, presourceview: P0, prects: ::core::option::Option<&[super::super::Foundation::RECT]>) | |
5121 | where | |
5122 | P0: ::windows::core::IntoParam<ID3D11View>, | |
5123 | { | |
5124 | (::windows::core::Interface::vtable(self).base__.DiscardView1)(::windows::core::Interface::as_raw(self), presourceview.into_param().abi(), ::core::mem::transmute(prects.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prects.as_deref().map_or(0, |slice| slice.len() as _)) | |
5125 | } | |
5126 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5127 | #[cfg(feature = "Win32_Foundation")] | |
5128 | pub unsafe fn UpdateTileMappings<P0, P1>(&self, ptiledresource: P0, numtiledresourceregions: u32, ptiledresourceregionstartcoordinates: ::core::option::Option<*const D3D11_TILED_RESOURCE_COORDINATE>, ptiledresourceregionsizes: ::core::option::Option<*const D3D11_TILE_REGION_SIZE>, ptilepool: P1, numranges: u32, prangeflags: ::core::option::Option<*const u32>, ptilepoolstartoffsets: ::core::option::Option<*const u32>, prangetilecounts: ::core::option::Option<*const u32>, flags: u32) -> ::windows::core::Result<()> | |
5129 | where | |
5130 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5131 | P1: ::windows::core::IntoParam<ID3D11Buffer>, | |
5132 | { | |
5133 | (::windows::core::Interface::vtable(self).UpdateTileMappings)( | |
5134 | ::windows::core::Interface::as_raw(self), | |
5135 | ptiledresource.into_param().abi(), | |
5136 | numtiledresourceregions, | |
5137 | ::core::mem::transmute(ptiledresourceregionstartcoordinates.unwrap_or(::std::ptr::null())), | |
5138 | ::core::mem::transmute(ptiledresourceregionsizes.unwrap_or(::std::ptr::null())), | |
5139 | ptilepool.into_param().abi(), | |
5140 | numranges, | |
5141 | ::core::mem::transmute(prangeflags.unwrap_or(::std::ptr::null())), | |
5142 | ::core::mem::transmute(ptilepoolstartoffsets.unwrap_or(::std::ptr::null())), | |
5143 | ::core::mem::transmute(prangetilecounts.unwrap_or(::std::ptr::null())), | |
5144 | flags, | |
5145 | ) | |
5146 | .ok() | |
5147 | } | |
5148 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5149 | #[cfg(feature = "Win32_Foundation")] | |
5150 | pub unsafe fn CopyTileMappings<P0, P1>(&self, pdesttiledresource: P0, pdestregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, psourcetiledresource: P1, psourceregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, ptileregionsize: *const D3D11_TILE_REGION_SIZE, flags: u32) -> ::windows::core::Result<()> | |
5151 | where | |
5152 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5153 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
5154 | { | |
5155 | (::windows::core::Interface::vtable(self).CopyTileMappings)(::windows::core::Interface::as_raw(self), pdesttiledresource.into_param().abi(), pdestregionstartcoordinate, psourcetiledresource.into_param().abi(), psourceregionstartcoordinate, ptileregionsize, flags).ok() | |
5156 | } | |
5157 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5158 | #[cfg(feature = "Win32_Foundation")] | |
5159 | pub unsafe fn CopyTiles<P0, P1>(&self, ptiledresource: P0, ptileregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, ptileregionsize: *const D3D11_TILE_REGION_SIZE, pbuffer: P1, bufferstartoffsetinbytes: u64, flags: u32) | |
5160 | where | |
5161 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5162 | P1: ::windows::core::IntoParam<ID3D11Buffer>, | |
5163 | { | |
5164 | (::windows::core::Interface::vtable(self).CopyTiles)(::windows::core::Interface::as_raw(self), ptiledresource.into_param().abi(), ptileregionstartcoordinate, ptileregionsize, pbuffer.into_param().abi(), bufferstartoffsetinbytes, flags) | |
5165 | } | |
5166 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5167 | #[cfg(feature = "Win32_Foundation")] | |
5168 | pub unsafe fn UpdateTiles<P0>(&self, pdesttiledresource: P0, pdesttileregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, pdesttileregionsize: *const D3D11_TILE_REGION_SIZE, psourcetiledata: *const ::core::ffi::c_void, flags: u32) | |
5169 | where | |
5170 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5171 | { | |
5172 | (::windows::core::Interface::vtable(self).UpdateTiles)(::windows::core::Interface::as_raw(self), pdesttiledresource.into_param().abi(), pdesttileregionstartcoordinate, pdesttileregionsize, psourcetiledata, flags) | |
5173 | } | |
5174 | pub unsafe fn ResizeTilePool<P0>(&self, ptilepool: P0, newsizeinbytes: u64) -> ::windows::core::Result<()> | |
5175 | where | |
5176 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
5177 | { | |
5178 | (::windows::core::Interface::vtable(self).ResizeTilePool)(::windows::core::Interface::as_raw(self), ptilepool.into_param().abi(), newsizeinbytes).ok() | |
5179 | } | |
5180 | pub unsafe fn TiledResourceBarrier<P0, P1>(&self, ptiledresourceorviewaccessbeforebarrier: P0, ptiledresourceorviewaccessafterbarrier: P1) | |
5181 | where | |
5182 | P0: ::windows::core::IntoParam<ID3D11DeviceChild>, | |
5183 | P1: ::windows::core::IntoParam<ID3D11DeviceChild>, | |
5184 | { | |
5185 | (::windows::core::Interface::vtable(self).TiledResourceBarrier)(::windows::core::Interface::as_raw(self), ptiledresourceorviewaccessbeforebarrier.into_param().abi(), ptiledresourceorviewaccessafterbarrier.into_param().abi()) | |
5186 | } | |
5187 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5188 | #[cfg(feature = "Win32_Foundation")] | |
5189 | pub unsafe fn IsAnnotationEnabled(&self) -> super::super::Foundation::BOOL { | |
5190 | (::windows::core::Interface::vtable(self).IsAnnotationEnabled)(::windows::core::Interface::as_raw(self)) | |
5191 | } | |
5192 | pub unsafe fn SetMarkerInt<P0>(&self, plabel: P0, data: i32) | |
5193 | where | |
5194 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
5195 | { | |
5196 | (::windows::core::Interface::vtable(self).SetMarkerInt)(::windows::core::Interface::as_raw(self), plabel.into_param().abi(), data) | |
5197 | } | |
5198 | pub unsafe fn BeginEventInt<P0>(&self, plabel: P0, data: i32) | |
5199 | where | |
5200 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
5201 | { | |
5202 | (::windows::core::Interface::vtable(self).BeginEventInt)(::windows::core::Interface::as_raw(self), plabel.into_param().abi(), data) | |
5203 | } | |
5204 | pub unsafe fn EndEvent(&self) { | |
5205 | (::windows::core::Interface::vtable(self).EndEvent)(::windows::core::Interface::as_raw(self)) | |
5206 | } | |
5207 | } | |
5208 | ::windows::imp::interface_hierarchy!(ID3D11DeviceContext2, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext, ID3D11DeviceContext1); | |
5209 | impl ::core::cmp::PartialEq for ID3D11DeviceContext2 { | |
5210 | fn eq(&self, other: &Self) -> bool { | |
5211 | self.0 == other.0 | |
5212 | } | |
5213 | } | |
5214 | impl ::core::cmp::Eq for ID3D11DeviceContext2 {} | |
5215 | impl ::core::fmt::Debug for ID3D11DeviceContext2 { | |
5216 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5217 | f.debug_tuple("ID3D11DeviceContext2").field(&self.0).finish() | |
5218 | } | |
5219 | } | |
5220 | unsafe impl ::core::marker::Send for ID3D11DeviceContext2 {} | |
5221 | unsafe impl ::core::marker::Sync for ID3D11DeviceContext2 {} | |
5222 | unsafe impl ::windows::core::Interface for ID3D11DeviceContext2 { | |
5223 | type Vtable = ID3D11DeviceContext2_Vtbl; | |
5224 | } | |
5225 | impl ::core::clone::Clone for ID3D11DeviceContext2 { | |
5226 | fn clone(&self) -> Self { | |
5227 | Self(self.0.clone()) | |
5228 | } | |
5229 | } | |
5230 | unsafe impl ::windows::core::ComInterface for ID3D11DeviceContext2 { | |
5231 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x420d5b32_b90c_4da4_bef0_359f6a24a83a); | |
5232 | } | |
5233 | #[repr(C)] | |
5234 | #[doc(hidden)] | |
5235 | pub struct ID3D11DeviceContext2_Vtbl { | |
5236 | pub base__: ID3D11DeviceContext1_Vtbl, | |
5237 | #[cfg(feature = "Win32_Foundation")] | |
5238 | pub UpdateTileMappings: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptiledresource: *mut ::core::ffi::c_void, numtiledresourceregions: u32, ptiledresourceregionstartcoordinates: *const D3D11_TILED_RESOURCE_COORDINATE, ptiledresourceregionsizes: *const D3D11_TILE_REGION_SIZE, ptilepool: *mut ::core::ffi::c_void, numranges: u32, prangeflags: *const u32, ptilepoolstartoffsets: *const u32, prangetilecounts: *const u32, flags: u32) -> ::windows::core::HRESULT, | |
5239 | #[cfg(not(feature = "Win32_Foundation"))] | |
5240 | UpdateTileMappings: usize, | |
5241 | #[cfg(feature = "Win32_Foundation")] | |
5242 | pub CopyTileMappings: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesttiledresource: *mut ::core::ffi::c_void, pdestregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, psourcetiledresource: *mut ::core::ffi::c_void, psourceregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, ptileregionsize: *const D3D11_TILE_REGION_SIZE, flags: u32) -> ::windows::core::HRESULT, | |
5243 | #[cfg(not(feature = "Win32_Foundation"))] | |
5244 | CopyTileMappings: usize, | |
5245 | #[cfg(feature = "Win32_Foundation")] | |
5246 | pub CopyTiles: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptiledresource: *mut ::core::ffi::c_void, ptileregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, ptileregionsize: *const D3D11_TILE_REGION_SIZE, pbuffer: *mut ::core::ffi::c_void, bufferstartoffsetinbytes: u64, flags: u32), | |
5247 | #[cfg(not(feature = "Win32_Foundation"))] | |
5248 | CopyTiles: usize, | |
5249 | #[cfg(feature = "Win32_Foundation")] | |
5250 | pub UpdateTiles: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesttiledresource: *mut ::core::ffi::c_void, pdesttileregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, pdesttileregionsize: *const D3D11_TILE_REGION_SIZE, psourcetiledata: *const ::core::ffi::c_void, flags: u32), | |
5251 | #[cfg(not(feature = "Win32_Foundation"))] | |
5252 | UpdateTiles: usize, | |
5253 | pub ResizeTilePool: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptilepool: *mut ::core::ffi::c_void, newsizeinbytes: u64) -> ::windows::core::HRESULT, | |
5254 | pub TiledResourceBarrier: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptiledresourceorviewaccessbeforebarrier: *mut ::core::ffi::c_void, ptiledresourceorviewaccessafterbarrier: *mut ::core::ffi::c_void), | |
5255 | #[cfg(feature = "Win32_Foundation")] | |
5256 | pub IsAnnotationEnabled: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL, | |
5257 | #[cfg(not(feature = "Win32_Foundation"))] | |
5258 | IsAnnotationEnabled: usize, | |
5259 | pub SetMarkerInt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, plabel: ::windows::core::PCWSTR, data: i32), | |
5260 | pub BeginEventInt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, plabel: ::windows::core::PCWSTR, data: i32), | |
5261 | pub EndEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void), | |
5262 | } | |
5263 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
5264 | #[repr(transparent)] | |
5265 | pub struct ID3D11DeviceContext3(::windows::core::IUnknown); | |
5266 | impl ID3D11DeviceContext3 { | |
5267 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
5268 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
5269 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
5270 | ::windows::core::from_abi(result__) | |
5271 | } | |
5272 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
5273 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
5274 | } | |
5275 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
5276 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
5277 | } | |
5278 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
5279 | where | |
5280 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
5281 | { | |
5282 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
5283 | } | |
5284 | pub unsafe fn VSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
5285 | (::windows::core::Interface::vtable(self).base__.base__.base__.VSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5286 | } | |
5287 | pub unsafe fn PSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
5288 | (::windows::core::Interface::vtable(self).base__.base__.base__.PSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5289 | } | |
5290 | pub unsafe fn PSSetShader<P0>(&self, ppixelshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
5291 | where | |
5292 | P0: ::windows::core::IntoParam<ID3D11PixelShader>, | |
5293 | { | |
5294 | (::windows::core::Interface::vtable(self).base__.base__.base__.PSSetShader)(::windows::core::Interface::as_raw(self), ppixelshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
5295 | } | |
5296 | pub unsafe fn PSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
5297 | (::windows::core::Interface::vtable(self).base__.base__.base__.PSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5298 | } | |
5299 | pub unsafe fn VSSetShader<P0>(&self, pvertexshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
5300 | where | |
5301 | P0: ::windows::core::IntoParam<ID3D11VertexShader>, | |
5302 | { | |
5303 | (::windows::core::Interface::vtable(self).base__.base__.base__.VSSetShader)(::windows::core::Interface::as_raw(self), pvertexshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
5304 | } | |
5305 | pub unsafe fn DrawIndexed(&self, indexcount: u32, startindexlocation: u32, basevertexlocation: i32) { | |
5306 | (::windows::core::Interface::vtable(self).base__.base__.base__.DrawIndexed)(::windows::core::Interface::as_raw(self), indexcount, startindexlocation, basevertexlocation) | |
5307 | } | |
5308 | pub unsafe fn Draw(&self, vertexcount: u32, startvertexlocation: u32) { | |
5309 | (::windows::core::Interface::vtable(self).base__.base__.base__.Draw)(::windows::core::Interface::as_raw(self), vertexcount, startvertexlocation) | |
5310 | } | |
5311 | pub unsafe fn Map<P0>(&self, presource: P0, subresource: u32, maptype: D3D11_MAP, mapflags: u32, pmappedresource: ::core::option::Option<*mut D3D11_MAPPED_SUBRESOURCE>) -> ::windows::core::Result<()> | |
5312 | where | |
5313 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5314 | { | |
5315 | (::windows::core::Interface::vtable(self).base__.base__.base__.Map)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), subresource, maptype, mapflags, ::core::mem::transmute(pmappedresource.unwrap_or(::std::ptr::null_mut()))).ok() | |
5316 | } | |
5317 | pub unsafe fn Unmap<P0>(&self, presource: P0, subresource: u32) | |
5318 | where | |
5319 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5320 | { | |
5321 | (::windows::core::Interface::vtable(self).base__.base__.base__.Unmap)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), subresource) | |
5322 | } | |
5323 | pub unsafe fn PSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
5324 | (::windows::core::Interface::vtable(self).base__.base__.base__.PSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5325 | } | |
5326 | pub unsafe fn IASetInputLayout<P0>(&self, pinputlayout: P0) | |
5327 | where | |
5328 | P0: ::windows::core::IntoParam<ID3D11InputLayout>, | |
5329 | { | |
5330 | (::windows::core::Interface::vtable(self).base__.base__.base__.IASetInputLayout)(::windows::core::Interface::as_raw(self), pinputlayout.into_param().abi()) | |
5331 | } | |
5332 | pub unsafe fn IASetVertexBuffers(&self, startslot: u32, numbuffers: u32, ppvertexbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pstrides: ::core::option::Option<*const u32>, poffsets: ::core::option::Option<*const u32>) { | |
5333 | (::windows::core::Interface::vtable(self).base__.base__.base__.IASetVertexBuffers)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppvertexbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pstrides.unwrap_or(::std::ptr::null())), ::core::mem::transmute(poffsets.unwrap_or(::std::ptr::null()))) | |
5334 | } | |
5335 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
5336 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
5337 | pub unsafe fn IASetIndexBuffer<P0>(&self, pindexbuffer: P0, format: super::Dxgi::Common::DXGI_FORMAT, offset: u32) | |
5338 | where | |
5339 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
5340 | { | |
5341 | (::windows::core::Interface::vtable(self).base__.base__.base__.IASetIndexBuffer)(::windows::core::Interface::as_raw(self), pindexbuffer.into_param().abi(), format, offset) | |
5342 | } | |
5343 | pub unsafe fn DrawIndexedInstanced(&self, indexcountperinstance: u32, instancecount: u32, startindexlocation: u32, basevertexlocation: i32, startinstancelocation: u32) { | |
5344 | (::windows::core::Interface::vtable(self).base__.base__.base__.DrawIndexedInstanced)(::windows::core::Interface::as_raw(self), indexcountperinstance, instancecount, startindexlocation, basevertexlocation, startinstancelocation) | |
5345 | } | |
5346 | pub unsafe fn DrawInstanced(&self, vertexcountperinstance: u32, instancecount: u32, startvertexlocation: u32, startinstancelocation: u32) { | |
5347 | (::windows::core::Interface::vtable(self).base__.base__.base__.DrawInstanced)(::windows::core::Interface::as_raw(self), vertexcountperinstance, instancecount, startvertexlocation, startinstancelocation) | |
5348 | } | |
5349 | pub unsafe fn GSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
5350 | (::windows::core::Interface::vtable(self).base__.base__.base__.GSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5351 | } | |
5352 | pub unsafe fn GSSetShader<P0>(&self, pshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
5353 | where | |
5354 | P0: ::windows::core::IntoParam<ID3D11GeometryShader>, | |
5355 | { | |
5356 | (::windows::core::Interface::vtable(self).base__.base__.base__.GSSetShader)(::windows::core::Interface::as_raw(self), pshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
5357 | } | |
5358 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
5359 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
5360 | pub unsafe fn IASetPrimitiveTopology(&self, topology: super::Direct3D::D3D_PRIMITIVE_TOPOLOGY) { | |
5361 | (::windows::core::Interface::vtable(self).base__.base__.base__.IASetPrimitiveTopology)(::windows::core::Interface::as_raw(self), topology) | |
5362 | } | |
5363 | pub unsafe fn VSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
5364 | (::windows::core::Interface::vtable(self).base__.base__.base__.VSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5365 | } | |
5366 | pub unsafe fn VSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
5367 | (::windows::core::Interface::vtable(self).base__.base__.base__.VSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5368 | } | |
5369 | pub unsafe fn Begin<P0>(&self, pasync: P0) | |
5370 | where | |
5371 | P0: ::windows::core::IntoParam<ID3D11Asynchronous>, | |
5372 | { | |
5373 | (::windows::core::Interface::vtable(self).base__.base__.base__.Begin)(::windows::core::Interface::as_raw(self), pasync.into_param().abi()) | |
5374 | } | |
5375 | pub unsafe fn End<P0>(&self, pasync: P0) | |
5376 | where | |
5377 | P0: ::windows::core::IntoParam<ID3D11Asynchronous>, | |
5378 | { | |
5379 | (::windows::core::Interface::vtable(self).base__.base__.base__.End)(::windows::core::Interface::as_raw(self), pasync.into_param().abi()) | |
5380 | } | |
5381 | pub unsafe fn GetData<P0>(&self, pasync: P0, pdata: ::core::option::Option<*mut ::core::ffi::c_void>, datasize: u32, getdataflags: u32) -> ::windows::core::Result<()> | |
5382 | where | |
5383 | P0: ::windows::core::IntoParam<ID3D11Asynchronous>, | |
5384 | { | |
5385 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetData)(::windows::core::Interface::as_raw(self), pasync.into_param().abi(), ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut())), datasize, getdataflags).ok() | |
5386 | } | |
5387 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5388 | #[cfg(feature = "Win32_Foundation")] | |
5389 | pub unsafe fn SetPredication<P0, P1>(&self, ppredicate: P0, predicatevalue: P1) | |
5390 | where | |
5391 | P0: ::windows::core::IntoParam<ID3D11Predicate>, | |
5392 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
5393 | { | |
5394 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPredication)(::windows::core::Interface::as_raw(self), ppredicate.into_param().abi(), predicatevalue.into_param().abi()) | |
5395 | } | |
5396 | pub unsafe fn GSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
5397 | (::windows::core::Interface::vtable(self).base__.base__.base__.GSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5398 | } | |
5399 | pub unsafe fn GSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
5400 | (::windows::core::Interface::vtable(self).base__.base__.base__.GSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5401 | } | |
5402 | pub unsafe fn OMSetRenderTargets<P0>(&self, pprendertargetviews: ::core::option::Option<&[::core::option::Option<ID3D11RenderTargetView>]>, pdepthstencilview: P0) | |
5403 | where | |
5404 | P0: ::windows::core::IntoParam<ID3D11DepthStencilView>, | |
5405 | { | |
5406 | (::windows::core::Interface::vtable(self).base__.base__.base__.OMSetRenderTargets)(::windows::core::Interface::as_raw(self), pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdepthstencilview.into_param().abi()) | |
5407 | } | |
5408 | pub unsafe fn OMSetRenderTargetsAndUnorderedAccessViews<P0>(&self, pprendertargetviews: ::core::option::Option<&[::core::option::Option<ID3D11RenderTargetView>]>, pdepthstencilview: P0, uavstartslot: u32, numuavs: u32, ppunorderedaccessviews: ::core::option::Option<*const ::core::option::Option<ID3D11UnorderedAccessView>>, puavinitialcounts: ::core::option::Option<*const u32>) | |
5409 | where | |
5410 | P0: ::windows::core::IntoParam<ID3D11DepthStencilView>, | |
5411 | { | |
5412 | (::windows::core::Interface::vtable(self).base__.base__.base__.OMSetRenderTargetsAndUnorderedAccessViews)(::windows::core::Interface::as_raw(self), pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdepthstencilview.into_param().abi(), uavstartslot, numuavs, ::core::mem::transmute(ppunorderedaccessviews.unwrap_or(::std::ptr::null())), ::core::mem::transmute(puavinitialcounts.unwrap_or(::std::ptr::null()))) | |
5413 | } | |
5414 | pub unsafe fn OMSetBlendState<P0>(&self, pblendstate: P0, blendfactor: ::core::option::Option<*const f32>, samplemask: u32) | |
5415 | where | |
5416 | P0: ::windows::core::IntoParam<ID3D11BlendState>, | |
5417 | { | |
5418 | (::windows::core::Interface::vtable(self).base__.base__.base__.OMSetBlendState)(::windows::core::Interface::as_raw(self), pblendstate.into_param().abi(), ::core::mem::transmute(blendfactor.unwrap_or(::std::ptr::null())), samplemask) | |
5419 | } | |
5420 | pub unsafe fn OMSetDepthStencilState<P0>(&self, pdepthstencilstate: P0, stencilref: u32) | |
5421 | where | |
5422 | P0: ::windows::core::IntoParam<ID3D11DepthStencilState>, | |
5423 | { | |
5424 | (::windows::core::Interface::vtable(self).base__.base__.base__.OMSetDepthStencilState)(::windows::core::Interface::as_raw(self), pdepthstencilstate.into_param().abi(), stencilref) | |
5425 | } | |
5426 | pub unsafe fn SOSetTargets(&self, numbuffers: u32, ppsotargets: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, poffsets: ::core::option::Option<*const u32>) { | |
5427 | (::windows::core::Interface::vtable(self).base__.base__.base__.SOSetTargets)(::windows::core::Interface::as_raw(self), numbuffers, ::core::mem::transmute(ppsotargets.unwrap_or(::std::ptr::null())), ::core::mem::transmute(poffsets.unwrap_or(::std::ptr::null()))) | |
5428 | } | |
5429 | pub unsafe fn DrawAuto(&self) { | |
5430 | (::windows::core::Interface::vtable(self).base__.base__.base__.DrawAuto)(::windows::core::Interface::as_raw(self)) | |
5431 | } | |
5432 | pub unsafe fn DrawIndexedInstancedIndirect<P0>(&self, pbufferforargs: P0, alignedbyteoffsetforargs: u32) | |
5433 | where | |
5434 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
5435 | { | |
5436 | (::windows::core::Interface::vtable(self).base__.base__.base__.DrawIndexedInstancedIndirect)(::windows::core::Interface::as_raw(self), pbufferforargs.into_param().abi(), alignedbyteoffsetforargs) | |
5437 | } | |
5438 | pub unsafe fn DrawInstancedIndirect<P0>(&self, pbufferforargs: P0, alignedbyteoffsetforargs: u32) | |
5439 | where | |
5440 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
5441 | { | |
5442 | (::windows::core::Interface::vtable(self).base__.base__.base__.DrawInstancedIndirect)(::windows::core::Interface::as_raw(self), pbufferforargs.into_param().abi(), alignedbyteoffsetforargs) | |
5443 | } | |
5444 | pub unsafe fn Dispatch(&self, threadgroupcountx: u32, threadgroupcounty: u32, threadgroupcountz: u32) { | |
5445 | (::windows::core::Interface::vtable(self).base__.base__.base__.Dispatch)(::windows::core::Interface::as_raw(self), threadgroupcountx, threadgroupcounty, threadgroupcountz) | |
5446 | } | |
5447 | pub unsafe fn DispatchIndirect<P0>(&self, pbufferforargs: P0, alignedbyteoffsetforargs: u32) | |
5448 | where | |
5449 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
5450 | { | |
5451 | (::windows::core::Interface::vtable(self).base__.base__.base__.DispatchIndirect)(::windows::core::Interface::as_raw(self), pbufferforargs.into_param().abi(), alignedbyteoffsetforargs) | |
5452 | } | |
5453 | pub unsafe fn RSSetState<P0>(&self, prasterizerstate: P0) | |
5454 | where | |
5455 | P0: ::windows::core::IntoParam<ID3D11RasterizerState>, | |
5456 | { | |
5457 | (::windows::core::Interface::vtable(self).base__.base__.base__.RSSetState)(::windows::core::Interface::as_raw(self), prasterizerstate.into_param().abi()) | |
5458 | } | |
5459 | pub unsafe fn RSSetViewports(&self, pviewports: ::core::option::Option<&[D3D11_VIEWPORT]>) { | |
5460 | (::windows::core::Interface::vtable(self).base__.base__.base__.RSSetViewports)(::windows::core::Interface::as_raw(self), pviewports.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pviewports.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5461 | } | |
5462 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5463 | #[cfg(feature = "Win32_Foundation")] | |
5464 | pub unsafe fn RSSetScissorRects(&self, prects: ::core::option::Option<&[super::super::Foundation::RECT]>) { | |
5465 | (::windows::core::Interface::vtable(self).base__.base__.base__.RSSetScissorRects)(::windows::core::Interface::as_raw(self), prects.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(prects.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5466 | } | |
5467 | pub unsafe fn CopySubresourceRegion<P0, P1>(&self, pdstresource: P0, dstsubresource: u32, dstx: u32, dsty: u32, dstz: u32, psrcresource: P1, srcsubresource: u32, psrcbox: ::core::option::Option<*const D3D11_BOX>) | |
5468 | where | |
5469 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5470 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
5471 | { | |
5472 | (::windows::core::Interface::vtable(self).base__.base__.base__.CopySubresourceRegion)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, dstx, dsty, dstz, psrcresource.into_param().abi(), srcsubresource, ::core::mem::transmute(psrcbox.unwrap_or(::std::ptr::null()))) | |
5473 | } | |
5474 | pub unsafe fn CopyResource<P0, P1>(&self, pdstresource: P0, psrcresource: P1) | |
5475 | where | |
5476 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5477 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
5478 | { | |
5479 | (::windows::core::Interface::vtable(self).base__.base__.base__.CopyResource)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), psrcresource.into_param().abi()) | |
5480 | } | |
5481 | pub unsafe fn UpdateSubresource<P0>(&self, pdstresource: P0, dstsubresource: u32, pdstbox: ::core::option::Option<*const D3D11_BOX>, psrcdata: *const ::core::ffi::c_void, srcrowpitch: u32, srcdepthpitch: u32) | |
5482 | where | |
5483 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5484 | { | |
5485 | (::windows::core::Interface::vtable(self).base__.base__.base__.UpdateSubresource)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, ::core::mem::transmute(pdstbox.unwrap_or(::std::ptr::null())), psrcdata, srcrowpitch, srcdepthpitch) | |
5486 | } | |
5487 | pub unsafe fn CopyStructureCount<P0, P1>(&self, pdstbuffer: P0, dstalignedbyteoffset: u32, psrcview: P1) | |
5488 | where | |
5489 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
5490 | P1: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
5491 | { | |
5492 | (::windows::core::Interface::vtable(self).base__.base__.base__.CopyStructureCount)(::windows::core::Interface::as_raw(self), pdstbuffer.into_param().abi(), dstalignedbyteoffset, psrcview.into_param().abi()) | |
5493 | } | |
5494 | pub unsafe fn ClearRenderTargetView<P0>(&self, prendertargetview: P0, colorrgba: *const f32) | |
5495 | where | |
5496 | P0: ::windows::core::IntoParam<ID3D11RenderTargetView>, | |
5497 | { | |
5498 | (::windows::core::Interface::vtable(self).base__.base__.base__.ClearRenderTargetView)(::windows::core::Interface::as_raw(self), prendertargetview.into_param().abi(), colorrgba) | |
5499 | } | |
5500 | pub unsafe fn ClearUnorderedAccessViewUint<P0>(&self, punorderedaccessview: P0, values: *const u32) | |
5501 | where | |
5502 | P0: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
5503 | { | |
5504 | (::windows::core::Interface::vtable(self).base__.base__.base__.ClearUnorderedAccessViewUint)(::windows::core::Interface::as_raw(self), punorderedaccessview.into_param().abi(), values) | |
5505 | } | |
5506 | pub unsafe fn ClearUnorderedAccessViewFloat<P0>(&self, punorderedaccessview: P0, values: *const f32) | |
5507 | where | |
5508 | P0: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
5509 | { | |
5510 | (::windows::core::Interface::vtable(self).base__.base__.base__.ClearUnorderedAccessViewFloat)(::windows::core::Interface::as_raw(self), punorderedaccessview.into_param().abi(), values) | |
5511 | } | |
5512 | pub unsafe fn ClearDepthStencilView<P0>(&self, pdepthstencilview: P0, clearflags: u32, depth: f32, stencil: u8) | |
5513 | where | |
5514 | P0: ::windows::core::IntoParam<ID3D11DepthStencilView>, | |
5515 | { | |
5516 | (::windows::core::Interface::vtable(self).base__.base__.base__.ClearDepthStencilView)(::windows::core::Interface::as_raw(self), pdepthstencilview.into_param().abi(), clearflags, depth, stencil) | |
5517 | } | |
5518 | pub unsafe fn GenerateMips<P0>(&self, pshaderresourceview: P0) | |
5519 | where | |
5520 | P0: ::windows::core::IntoParam<ID3D11ShaderResourceView>, | |
5521 | { | |
5522 | (::windows::core::Interface::vtable(self).base__.base__.base__.GenerateMips)(::windows::core::Interface::as_raw(self), pshaderresourceview.into_param().abi()) | |
5523 | } | |
5524 | pub unsafe fn SetResourceMinLOD<P0>(&self, presource: P0, minlod: f32) | |
5525 | where | |
5526 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5527 | { | |
5528 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetResourceMinLOD)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), minlod) | |
5529 | } | |
5530 | pub unsafe fn GetResourceMinLOD<P0>(&self, presource: P0) -> f32 | |
5531 | where | |
5532 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5533 | { | |
5534 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetResourceMinLOD)(::windows::core::Interface::as_raw(self), presource.into_param().abi()) | |
5535 | } | |
5536 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
5537 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
5538 | pub unsafe fn ResolveSubresource<P0, P1>(&self, pdstresource: P0, dstsubresource: u32, psrcresource: P1, srcsubresource: u32, format: super::Dxgi::Common::DXGI_FORMAT) | |
5539 | where | |
5540 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5541 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
5542 | { | |
5543 | (::windows::core::Interface::vtable(self).base__.base__.base__.ResolveSubresource)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, psrcresource.into_param().abi(), srcsubresource, format) | |
5544 | } | |
5545 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5546 | #[cfg(feature = "Win32_Foundation")] | |
5547 | pub unsafe fn ExecuteCommandList<P0, P1>(&self, pcommandlist: P0, restorecontextstate: P1) | |
5548 | where | |
5549 | P0: ::windows::core::IntoParam<ID3D11CommandList>, | |
5550 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
5551 | { | |
5552 | (::windows::core::Interface::vtable(self).base__.base__.base__.ExecuteCommandList)(::windows::core::Interface::as_raw(self), pcommandlist.into_param().abi(), restorecontextstate.into_param().abi()) | |
5553 | } | |
5554 | pub unsafe fn HSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
5555 | (::windows::core::Interface::vtable(self).base__.base__.base__.HSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5556 | } | |
5557 | pub unsafe fn HSSetShader<P0>(&self, phullshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
5558 | where | |
5559 | P0: ::windows::core::IntoParam<ID3D11HullShader>, | |
5560 | { | |
5561 | (::windows::core::Interface::vtable(self).base__.base__.base__.HSSetShader)(::windows::core::Interface::as_raw(self), phullshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
5562 | } | |
5563 | pub unsafe fn HSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
5564 | (::windows::core::Interface::vtable(self).base__.base__.base__.HSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5565 | } | |
5566 | pub unsafe fn HSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
5567 | (::windows::core::Interface::vtable(self).base__.base__.base__.HSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5568 | } | |
5569 | pub unsafe fn DSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
5570 | (::windows::core::Interface::vtable(self).base__.base__.base__.DSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5571 | } | |
5572 | pub unsafe fn DSSetShader<P0>(&self, pdomainshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
5573 | where | |
5574 | P0: ::windows::core::IntoParam<ID3D11DomainShader>, | |
5575 | { | |
5576 | (::windows::core::Interface::vtable(self).base__.base__.base__.DSSetShader)(::windows::core::Interface::as_raw(self), pdomainshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
5577 | } | |
5578 | pub unsafe fn DSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
5579 | (::windows::core::Interface::vtable(self).base__.base__.base__.DSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5580 | } | |
5581 | pub unsafe fn DSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
5582 | (::windows::core::Interface::vtable(self).base__.base__.base__.DSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5583 | } | |
5584 | pub unsafe fn CSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
5585 | (::windows::core::Interface::vtable(self).base__.base__.base__.CSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5586 | } | |
5587 | pub unsafe fn CSSetUnorderedAccessViews(&self, startslot: u32, numuavs: u32, ppunorderedaccessviews: ::core::option::Option<*const ::core::option::Option<ID3D11UnorderedAccessView>>, puavinitialcounts: ::core::option::Option<*const u32>) { | |
5588 | (::windows::core::Interface::vtable(self).base__.base__.base__.CSSetUnorderedAccessViews)(::windows::core::Interface::as_raw(self), startslot, numuavs, ::core::mem::transmute(ppunorderedaccessviews.unwrap_or(::std::ptr::null())), ::core::mem::transmute(puavinitialcounts.unwrap_or(::std::ptr::null()))) | |
5589 | } | |
5590 | pub unsafe fn CSSetShader<P0>(&self, pcomputeshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
5591 | where | |
5592 | P0: ::windows::core::IntoParam<ID3D11ComputeShader>, | |
5593 | { | |
5594 | (::windows::core::Interface::vtable(self).base__.base__.base__.CSSetShader)(::windows::core::Interface::as_raw(self), pcomputeshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
5595 | } | |
5596 | pub unsafe fn CSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
5597 | (::windows::core::Interface::vtable(self).base__.base__.base__.CSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5598 | } | |
5599 | pub unsafe fn CSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
5600 | (::windows::core::Interface::vtable(self).base__.base__.base__.CSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5601 | } | |
5602 | pub unsafe fn VSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
5603 | (::windows::core::Interface::vtable(self).base__.base__.base__.VSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5604 | } | |
5605 | pub unsafe fn PSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
5606 | (::windows::core::Interface::vtable(self).base__.base__.base__.PSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5607 | } | |
5608 | pub unsafe fn PSGetShader(&self, pppixelshader: *mut ::core::option::Option<ID3D11PixelShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
5609 | (::windows::core::Interface::vtable(self).base__.base__.base__.PSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pppixelshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
5610 | } | |
5611 | pub unsafe fn PSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
5612 | (::windows::core::Interface::vtable(self).base__.base__.base__.PSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5613 | } | |
5614 | pub unsafe fn VSGetShader(&self, ppvertexshader: *mut ::core::option::Option<ID3D11VertexShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
5615 | (::windows::core::Interface::vtable(self).base__.base__.base__.VSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppvertexshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
5616 | } | |
5617 | pub unsafe fn PSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
5618 | (::windows::core::Interface::vtable(self).base__.base__.base__.PSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5619 | } | |
5620 | pub unsafe fn IAGetInputLayout(&self) -> ::windows::core::Result<ID3D11InputLayout> { | |
5621 | let mut result__ = ::windows::core::zeroed::<ID3D11InputLayout>(); | |
5622 | (::windows::core::Interface::vtable(self).base__.base__.base__.IAGetInputLayout)(::windows::core::Interface::as_raw(self), &mut result__); | |
5623 | ::windows::core::from_abi(result__) | |
5624 | } | |
5625 | pub unsafe fn IAGetVertexBuffers(&self, startslot: u32, numbuffers: u32, ppvertexbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pstrides: ::core::option::Option<*mut u32>, poffsets: ::core::option::Option<*mut u32>) { | |
5626 | (::windows::core::Interface::vtable(self).base__.base__.base__.IAGetVertexBuffers)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppvertexbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pstrides.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(poffsets.unwrap_or(::std::ptr::null_mut()))) | |
5627 | } | |
5628 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
5629 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
5630 | pub unsafe fn IAGetIndexBuffer(&self, pindexbuffer: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, format: ::core::option::Option<*mut super::Dxgi::Common::DXGI_FORMAT>, offset: ::core::option::Option<*mut u32>) { | |
5631 | (::windows::core::Interface::vtable(self).base__.base__.base__.IAGetIndexBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pindexbuffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(format.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(offset.unwrap_or(::std::ptr::null_mut()))) | |
5632 | } | |
5633 | pub unsafe fn GSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
5634 | (::windows::core::Interface::vtable(self).base__.base__.base__.GSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5635 | } | |
5636 | pub unsafe fn GSGetShader(&self, ppgeometryshader: *mut ::core::option::Option<ID3D11GeometryShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
5637 | (::windows::core::Interface::vtable(self).base__.base__.base__.GSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppgeometryshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
5638 | } | |
5639 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
5640 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
5641 | pub unsafe fn IAGetPrimitiveTopology(&self) -> super::Direct3D::D3D_PRIMITIVE_TOPOLOGY { | |
5642 | let mut result__ = ::windows::core::zeroed::<super::Direct3D::D3D_PRIMITIVE_TOPOLOGY>(); | |
5643 | (::windows::core::Interface::vtable(self).base__.base__.base__.IAGetPrimitiveTopology)(::windows::core::Interface::as_raw(self), &mut result__); | |
5644 | ::std::mem::transmute(result__) | |
5645 | } | |
5646 | pub unsafe fn VSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
5647 | (::windows::core::Interface::vtable(self).base__.base__.base__.VSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5648 | } | |
5649 | pub unsafe fn VSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
5650 | (::windows::core::Interface::vtable(self).base__.base__.base__.VSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5651 | } | |
5652 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5653 | #[cfg(feature = "Win32_Foundation")] | |
5654 | pub unsafe fn GetPredication(&self, pppredicate: ::core::option::Option<*mut ::core::option::Option<ID3D11Predicate>>, ppredicatevalue: ::core::option::Option<*mut super::super::Foundation::BOOL>) { | |
5655 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetPredication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pppredicate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppredicatevalue.unwrap_or(::std::ptr::null_mut()))) | |
5656 | } | |
5657 | pub unsafe fn GSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
5658 | (::windows::core::Interface::vtable(self).base__.base__.base__.GSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5659 | } | |
5660 | pub unsafe fn GSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
5661 | (::windows::core::Interface::vtable(self).base__.base__.base__.GSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5662 | } | |
5663 | pub unsafe fn OMGetRenderTargets(&self, pprendertargetviews: ::core::option::Option<&mut [::core::option::Option<ID3D11RenderTargetView>]>, ppdepthstencilview: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilView>>) { | |
5664 | (::windows::core::Interface::vtable(self).base__.base__.base__.OMGetRenderTargets)(::windows::core::Interface::as_raw(self), pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(ppdepthstencilview.unwrap_or(::std::ptr::null_mut()))) | |
5665 | } | |
5666 | pub unsafe fn OMGetRenderTargetsAndUnorderedAccessViews(&self, pprendertargetviews: ::core::option::Option<&mut [::core::option::Option<ID3D11RenderTargetView>]>, ppdepthstencilview: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilView>>, uavstartslot: u32, ppunorderedaccessviews: ::core::option::Option<&mut [::core::option::Option<ID3D11UnorderedAccessView>]>) { | |
5667 | (::windows::core::Interface::vtable(self).base__.base__.base__.OMGetRenderTargetsAndUnorderedAccessViews)( | |
5668 | ::windows::core::Interface::as_raw(self), | |
5669 | pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), | |
5670 | ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
5671 | ::core::mem::transmute(ppdepthstencilview.unwrap_or(::std::ptr::null_mut())), | |
5672 | uavstartslot, | |
5673 | ppunorderedaccessviews.as_deref().map_or(0, |slice| slice.len() as _), | |
5674 | ::core::mem::transmute(ppunorderedaccessviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
5675 | ) | |
5676 | } | |
5677 | pub unsafe fn OMGetBlendState(&self, ppblendstate: ::core::option::Option<*mut ::core::option::Option<ID3D11BlendState>>, blendfactor: ::core::option::Option<*mut f32>, psamplemask: ::core::option::Option<*mut u32>) { | |
5678 | (::windows::core::Interface::vtable(self).base__.base__.base__.OMGetBlendState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppblendstate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(blendfactor.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(psamplemask.unwrap_or(::std::ptr::null_mut()))) | |
5679 | } | |
5680 | pub unsafe fn OMGetDepthStencilState(&self, ppdepthstencilstate: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilState>>, pstencilref: ::core::option::Option<*mut u32>) { | |
5681 | (::windows::core::Interface::vtable(self).base__.base__.base__.OMGetDepthStencilState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppdepthstencilstate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pstencilref.unwrap_or(::std::ptr::null_mut()))) | |
5682 | } | |
5683 | pub unsafe fn SOGetTargets(&self, ppsotargets: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
5684 | (::windows::core::Interface::vtable(self).base__.base__.base__.SOGetTargets)(::windows::core::Interface::as_raw(self), ppsotargets.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsotargets.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5685 | } | |
5686 | pub unsafe fn RSGetState(&self) -> ::windows::core::Result<ID3D11RasterizerState> { | |
5687 | let mut result__ = ::windows::core::zeroed::<ID3D11RasterizerState>(); | |
5688 | (::windows::core::Interface::vtable(self).base__.base__.base__.RSGetState)(::windows::core::Interface::as_raw(self), &mut result__); | |
5689 | ::windows::core::from_abi(result__) | |
5690 | } | |
5691 | pub unsafe fn RSGetViewports(&self, pnumviewports: *mut u32, pviewports: ::core::option::Option<*mut D3D11_VIEWPORT>) { | |
5692 | (::windows::core::Interface::vtable(self).base__.base__.base__.RSGetViewports)(::windows::core::Interface::as_raw(self), pnumviewports, ::core::mem::transmute(pviewports.unwrap_or(::std::ptr::null_mut()))) | |
5693 | } | |
5694 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5695 | #[cfg(feature = "Win32_Foundation")] | |
5696 | pub unsafe fn RSGetScissorRects(&self, pnumrects: *mut u32, prects: ::core::option::Option<*mut super::super::Foundation::RECT>) { | |
5697 | (::windows::core::Interface::vtable(self).base__.base__.base__.RSGetScissorRects)(::windows::core::Interface::as_raw(self), pnumrects, ::core::mem::transmute(prects.unwrap_or(::std::ptr::null_mut()))) | |
5698 | } | |
5699 | pub unsafe fn HSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
5700 | (::windows::core::Interface::vtable(self).base__.base__.base__.HSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5701 | } | |
5702 | pub unsafe fn HSGetShader(&self, pphullshader: *mut ::core::option::Option<ID3D11HullShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
5703 | (::windows::core::Interface::vtable(self).base__.base__.base__.HSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pphullshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
5704 | } | |
5705 | pub unsafe fn HSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
5706 | (::windows::core::Interface::vtable(self).base__.base__.base__.HSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5707 | } | |
5708 | pub unsafe fn HSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
5709 | (::windows::core::Interface::vtable(self).base__.base__.base__.HSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5710 | } | |
5711 | pub unsafe fn DSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
5712 | (::windows::core::Interface::vtable(self).base__.base__.base__.DSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5713 | } | |
5714 | pub unsafe fn DSGetShader(&self, ppdomainshader: *mut ::core::option::Option<ID3D11DomainShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
5715 | (::windows::core::Interface::vtable(self).base__.base__.base__.DSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppdomainshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
5716 | } | |
5717 | pub unsafe fn DSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
5718 | (::windows::core::Interface::vtable(self).base__.base__.base__.DSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5719 | } | |
5720 | pub unsafe fn DSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
5721 | (::windows::core::Interface::vtable(self).base__.base__.base__.DSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5722 | } | |
5723 | pub unsafe fn CSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
5724 | (::windows::core::Interface::vtable(self).base__.base__.base__.CSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5725 | } | |
5726 | pub unsafe fn CSGetUnorderedAccessViews(&self, startslot: u32, ppunorderedaccessviews: ::core::option::Option<&mut [::core::option::Option<ID3D11UnorderedAccessView>]>) { | |
5727 | (::windows::core::Interface::vtable(self).base__.base__.base__.CSGetUnorderedAccessViews)(::windows::core::Interface::as_raw(self), startslot, ppunorderedaccessviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppunorderedaccessviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5728 | } | |
5729 | pub unsafe fn CSGetShader(&self, ppcomputeshader: *mut ::core::option::Option<ID3D11ComputeShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
5730 | (::windows::core::Interface::vtable(self).base__.base__.base__.CSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppcomputeshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
5731 | } | |
5732 | pub unsafe fn CSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
5733 | (::windows::core::Interface::vtable(self).base__.base__.base__.CSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5734 | } | |
5735 | pub unsafe fn CSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
5736 | (::windows::core::Interface::vtable(self).base__.base__.base__.CSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
5737 | } | |
5738 | pub unsafe fn ClearState(&self) { | |
5739 | (::windows::core::Interface::vtable(self).base__.base__.base__.ClearState)(::windows::core::Interface::as_raw(self)) | |
5740 | } | |
5741 | pub unsafe fn Flush(&self) { | |
5742 | (::windows::core::Interface::vtable(self).base__.base__.base__.Flush)(::windows::core::Interface::as_raw(self)) | |
5743 | } | |
5744 | pub unsafe fn GetType(&self) -> D3D11_DEVICE_CONTEXT_TYPE { | |
5745 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetType)(::windows::core::Interface::as_raw(self)) | |
5746 | } | |
5747 | pub unsafe fn GetContextFlags(&self) -> u32 { | |
5748 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetContextFlags)(::windows::core::Interface::as_raw(self)) | |
5749 | } | |
5750 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5751 | #[cfg(feature = "Win32_Foundation")] | |
5752 | pub unsafe fn FinishCommandList<P0>(&self, restoredeferredcontextstate: P0, ppcommandlist: ::core::option::Option<*mut ::core::option::Option<ID3D11CommandList>>) -> ::windows::core::Result<()> | |
5753 | where | |
5754 | P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
5755 | { | |
5756 | (::windows::core::Interface::vtable(self).base__.base__.base__.FinishCommandList)(::windows::core::Interface::as_raw(self), restoredeferredcontextstate.into_param().abi(), ::core::mem::transmute(ppcommandlist.unwrap_or(::std::ptr::null_mut()))).ok() | |
5757 | } | |
5758 | pub unsafe fn CopySubresourceRegion1<P0, P1>(&self, pdstresource: P0, dstsubresource: u32, dstx: u32, dsty: u32, dstz: u32, psrcresource: P1, srcsubresource: u32, psrcbox: ::core::option::Option<*const D3D11_BOX>, copyflags: u32) | |
5759 | where | |
5760 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5761 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
5762 | { | |
5763 | (::windows::core::Interface::vtable(self).base__.base__.CopySubresourceRegion1)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, dstx, dsty, dstz, psrcresource.into_param().abi(), srcsubresource, ::core::mem::transmute(psrcbox.unwrap_or(::std::ptr::null())), copyflags) | |
5764 | } | |
5765 | pub unsafe fn UpdateSubresource1<P0>(&self, pdstresource: P0, dstsubresource: u32, pdstbox: ::core::option::Option<*const D3D11_BOX>, psrcdata: *const ::core::ffi::c_void, srcrowpitch: u32, srcdepthpitch: u32, copyflags: u32) | |
5766 | where | |
5767 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5768 | { | |
5769 | (::windows::core::Interface::vtable(self).base__.base__.UpdateSubresource1)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, ::core::mem::transmute(pdstbox.unwrap_or(::std::ptr::null())), psrcdata, srcrowpitch, srcdepthpitch, copyflags) | |
5770 | } | |
5771 | pub unsafe fn DiscardResource<P0>(&self, presource: P0) | |
5772 | where | |
5773 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5774 | { | |
5775 | (::windows::core::Interface::vtable(self).base__.base__.DiscardResource)(::windows::core::Interface::as_raw(self), presource.into_param().abi()) | |
5776 | } | |
5777 | pub unsafe fn DiscardView<P0>(&self, presourceview: P0) | |
5778 | where | |
5779 | P0: ::windows::core::IntoParam<ID3D11View>, | |
5780 | { | |
5781 | (::windows::core::Interface::vtable(self).base__.base__.DiscardView)(::windows::core::Interface::as_raw(self), presourceview.into_param().abi()) | |
5782 | } | |
5783 | pub unsafe fn VSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
5784 | (::windows::core::Interface::vtable(self).base__.base__.VSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
5785 | } | |
5786 | pub unsafe fn HSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
5787 | (::windows::core::Interface::vtable(self).base__.base__.HSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
5788 | } | |
5789 | pub unsafe fn DSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
5790 | (::windows::core::Interface::vtable(self).base__.base__.DSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
5791 | } | |
5792 | pub unsafe fn GSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
5793 | (::windows::core::Interface::vtable(self).base__.base__.GSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
5794 | } | |
5795 | pub unsafe fn PSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
5796 | (::windows::core::Interface::vtable(self).base__.base__.PSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
5797 | } | |
5798 | pub unsafe fn CSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
5799 | (::windows::core::Interface::vtable(self).base__.base__.CSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
5800 | } | |
5801 | pub unsafe fn VSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
5802 | (::windows::core::Interface::vtable(self).base__.base__.VSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
5803 | } | |
5804 | pub unsafe fn HSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
5805 | (::windows::core::Interface::vtable(self).base__.base__.HSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
5806 | } | |
5807 | pub unsafe fn DSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
5808 | (::windows::core::Interface::vtable(self).base__.base__.DSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
5809 | } | |
5810 | pub unsafe fn GSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
5811 | (::windows::core::Interface::vtable(self).base__.base__.GSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
5812 | } | |
5813 | pub unsafe fn PSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
5814 | (::windows::core::Interface::vtable(self).base__.base__.PSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
5815 | } | |
5816 | pub unsafe fn CSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
5817 | (::windows::core::Interface::vtable(self).base__.base__.CSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
5818 | } | |
5819 | pub unsafe fn SwapDeviceContextState<P0>(&self, pstate: P0, pppreviousstate: ::core::option::Option<*mut ::core::option::Option<ID3DDeviceContextState>>) | |
5820 | where | |
5821 | P0: ::windows::core::IntoParam<ID3DDeviceContextState>, | |
5822 | { | |
5823 | (::windows::core::Interface::vtable(self).base__.base__.SwapDeviceContextState)(::windows::core::Interface::as_raw(self), pstate.into_param().abi(), ::core::mem::transmute(pppreviousstate.unwrap_or(::std::ptr::null_mut()))) | |
5824 | } | |
5825 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5826 | #[cfg(feature = "Win32_Foundation")] | |
5827 | pub unsafe fn ClearView<P0>(&self, pview: P0, color: *const f32, prect: ::core::option::Option<&[super::super::Foundation::RECT]>) | |
5828 | where | |
5829 | P0: ::windows::core::IntoParam<ID3D11View>, | |
5830 | { | |
5831 | (::windows::core::Interface::vtable(self).base__.base__.ClearView)(::windows::core::Interface::as_raw(self), pview.into_param().abi(), color, ::core::mem::transmute(prect.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prect.as_deref().map_or(0, |slice| slice.len() as _)) | |
5832 | } | |
5833 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5834 | #[cfg(feature = "Win32_Foundation")] | |
5835 | pub unsafe fn DiscardView1<P0>(&self, presourceview: P0, prects: ::core::option::Option<&[super::super::Foundation::RECT]>) | |
5836 | where | |
5837 | P0: ::windows::core::IntoParam<ID3D11View>, | |
5838 | { | |
5839 | (::windows::core::Interface::vtable(self).base__.base__.DiscardView1)(::windows::core::Interface::as_raw(self), presourceview.into_param().abi(), ::core::mem::transmute(prects.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prects.as_deref().map_or(0, |slice| slice.len() as _)) | |
5840 | } | |
5841 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5842 | #[cfg(feature = "Win32_Foundation")] | |
5843 | pub unsafe fn UpdateTileMappings<P0, P1>(&self, ptiledresource: P0, numtiledresourceregions: u32, ptiledresourceregionstartcoordinates: ::core::option::Option<*const D3D11_TILED_RESOURCE_COORDINATE>, ptiledresourceregionsizes: ::core::option::Option<*const D3D11_TILE_REGION_SIZE>, ptilepool: P1, numranges: u32, prangeflags: ::core::option::Option<*const u32>, ptilepoolstartoffsets: ::core::option::Option<*const u32>, prangetilecounts: ::core::option::Option<*const u32>, flags: u32) -> ::windows::core::Result<()> | |
5844 | where | |
5845 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5846 | P1: ::windows::core::IntoParam<ID3D11Buffer>, | |
5847 | { | |
5848 | (::windows::core::Interface::vtable(self).base__.UpdateTileMappings)( | |
5849 | ::windows::core::Interface::as_raw(self), | |
5850 | ptiledresource.into_param().abi(), | |
5851 | numtiledresourceregions, | |
5852 | ::core::mem::transmute(ptiledresourceregionstartcoordinates.unwrap_or(::std::ptr::null())), | |
5853 | ::core::mem::transmute(ptiledresourceregionsizes.unwrap_or(::std::ptr::null())), | |
5854 | ptilepool.into_param().abi(), | |
5855 | numranges, | |
5856 | ::core::mem::transmute(prangeflags.unwrap_or(::std::ptr::null())), | |
5857 | ::core::mem::transmute(ptilepoolstartoffsets.unwrap_or(::std::ptr::null())), | |
5858 | ::core::mem::transmute(prangetilecounts.unwrap_or(::std::ptr::null())), | |
5859 | flags, | |
5860 | ) | |
5861 | .ok() | |
5862 | } | |
5863 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5864 | #[cfg(feature = "Win32_Foundation")] | |
5865 | pub unsafe fn CopyTileMappings<P0, P1>(&self, pdesttiledresource: P0, pdestregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, psourcetiledresource: P1, psourceregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, ptileregionsize: *const D3D11_TILE_REGION_SIZE, flags: u32) -> ::windows::core::Result<()> | |
5866 | where | |
5867 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5868 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
5869 | { | |
5870 | (::windows::core::Interface::vtable(self).base__.CopyTileMappings)(::windows::core::Interface::as_raw(self), pdesttiledresource.into_param().abi(), pdestregionstartcoordinate, psourcetiledresource.into_param().abi(), psourceregionstartcoordinate, ptileregionsize, flags).ok() | |
5871 | } | |
5872 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5873 | #[cfg(feature = "Win32_Foundation")] | |
5874 | pub unsafe fn CopyTiles<P0, P1>(&self, ptiledresource: P0, ptileregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, ptileregionsize: *const D3D11_TILE_REGION_SIZE, pbuffer: P1, bufferstartoffsetinbytes: u64, flags: u32) | |
5875 | where | |
5876 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5877 | P1: ::windows::core::IntoParam<ID3D11Buffer>, | |
5878 | { | |
5879 | (::windows::core::Interface::vtable(self).base__.CopyTiles)(::windows::core::Interface::as_raw(self), ptiledresource.into_param().abi(), ptileregionstartcoordinate, ptileregionsize, pbuffer.into_param().abi(), bufferstartoffsetinbytes, flags) | |
5880 | } | |
5881 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5882 | #[cfg(feature = "Win32_Foundation")] | |
5883 | pub unsafe fn UpdateTiles<P0>(&self, pdesttiledresource: P0, pdesttileregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, pdesttileregionsize: *const D3D11_TILE_REGION_SIZE, psourcetiledata: *const ::core::ffi::c_void, flags: u32) | |
5884 | where | |
5885 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
5886 | { | |
5887 | (::windows::core::Interface::vtable(self).base__.UpdateTiles)(::windows::core::Interface::as_raw(self), pdesttiledresource.into_param().abi(), pdesttileregionstartcoordinate, pdesttileregionsize, psourcetiledata, flags) | |
5888 | } | |
5889 | pub unsafe fn ResizeTilePool<P0>(&self, ptilepool: P0, newsizeinbytes: u64) -> ::windows::core::Result<()> | |
5890 | where | |
5891 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
5892 | { | |
5893 | (::windows::core::Interface::vtable(self).base__.ResizeTilePool)(::windows::core::Interface::as_raw(self), ptilepool.into_param().abi(), newsizeinbytes).ok() | |
5894 | } | |
5895 | pub unsafe fn TiledResourceBarrier<P0, P1>(&self, ptiledresourceorviewaccessbeforebarrier: P0, ptiledresourceorviewaccessafterbarrier: P1) | |
5896 | where | |
5897 | P0: ::windows::core::IntoParam<ID3D11DeviceChild>, | |
5898 | P1: ::windows::core::IntoParam<ID3D11DeviceChild>, | |
5899 | { | |
5900 | (::windows::core::Interface::vtable(self).base__.TiledResourceBarrier)(::windows::core::Interface::as_raw(self), ptiledresourceorviewaccessbeforebarrier.into_param().abi(), ptiledresourceorviewaccessafterbarrier.into_param().abi()) | |
5901 | } | |
5902 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5903 | #[cfg(feature = "Win32_Foundation")] | |
5904 | pub unsafe fn IsAnnotationEnabled(&self) -> super::super::Foundation::BOOL { | |
5905 | (::windows::core::Interface::vtable(self).base__.IsAnnotationEnabled)(::windows::core::Interface::as_raw(self)) | |
5906 | } | |
5907 | pub unsafe fn SetMarkerInt<P0>(&self, plabel: P0, data: i32) | |
5908 | where | |
5909 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
5910 | { | |
5911 | (::windows::core::Interface::vtable(self).base__.SetMarkerInt)(::windows::core::Interface::as_raw(self), plabel.into_param().abi(), data) | |
5912 | } | |
5913 | pub unsafe fn BeginEventInt<P0>(&self, plabel: P0, data: i32) | |
5914 | where | |
5915 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
5916 | { | |
5917 | (::windows::core::Interface::vtable(self).base__.BeginEventInt)(::windows::core::Interface::as_raw(self), plabel.into_param().abi(), data) | |
5918 | } | |
5919 | pub unsafe fn EndEvent(&self) { | |
5920 | (::windows::core::Interface::vtable(self).base__.EndEvent)(::windows::core::Interface::as_raw(self)) | |
5921 | } | |
5922 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5923 | #[cfg(feature = "Win32_Foundation")] | |
5924 | pub unsafe fn Flush1<P0>(&self, contexttype: D3D11_CONTEXT_TYPE, hevent: P0) | |
5925 | where | |
5926 | P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, | |
5927 | { | |
5928 | (::windows::core::Interface::vtable(self).Flush1)(::windows::core::Interface::as_raw(self), contexttype, hevent.into_param().abi()) | |
5929 | } | |
5930 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5931 | #[cfg(feature = "Win32_Foundation")] | |
5932 | pub unsafe fn SetHardwareProtectionState<P0>(&self, hwprotectionenable: P0) | |
5933 | where | |
5934 | P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
5935 | { | |
5936 | (::windows::core::Interface::vtable(self).SetHardwareProtectionState)(::windows::core::Interface::as_raw(self), hwprotectionenable.into_param().abi()) | |
5937 | } | |
5938 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
5939 | #[cfg(feature = "Win32_Foundation")] | |
5940 | pub unsafe fn GetHardwareProtectionState(&self) -> super::super::Foundation::BOOL { | |
5941 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>(); | |
5942 | (::windows::core::Interface::vtable(self).GetHardwareProtectionState)(::windows::core::Interface::as_raw(self), &mut result__); | |
5943 | ::std::mem::transmute(result__) | |
5944 | } | |
5945 | } | |
5946 | ::windows::imp::interface_hierarchy!(ID3D11DeviceContext3, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext, ID3D11DeviceContext1, ID3D11DeviceContext2); | |
5947 | impl ::core::cmp::PartialEq for ID3D11DeviceContext3 { | |
5948 | fn eq(&self, other: &Self) -> bool { | |
5949 | self.0 == other.0 | |
5950 | } | |
5951 | } | |
5952 | impl ::core::cmp::Eq for ID3D11DeviceContext3 {} | |
5953 | impl ::core::fmt::Debug for ID3D11DeviceContext3 { | |
5954 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
5955 | f.debug_tuple("ID3D11DeviceContext3").field(&self.0).finish() | |
5956 | } | |
5957 | } | |
5958 | unsafe impl ::core::marker::Send for ID3D11DeviceContext3 {} | |
5959 | unsafe impl ::core::marker::Sync for ID3D11DeviceContext3 {} | |
5960 | unsafe impl ::windows::core::Interface for ID3D11DeviceContext3 { | |
5961 | type Vtable = ID3D11DeviceContext3_Vtbl; | |
5962 | } | |
5963 | impl ::core::clone::Clone for ID3D11DeviceContext3 { | |
5964 | fn clone(&self) -> Self { | |
5965 | Self(self.0.clone()) | |
5966 | } | |
5967 | } | |
5968 | unsafe impl ::windows::core::ComInterface for ID3D11DeviceContext3 { | |
5969 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb4e3c01d_e79e_4637_91b2_510e9f4c9b8f); | |
5970 | } | |
5971 | #[repr(C)] | |
5972 | #[doc(hidden)] | |
5973 | pub struct ID3D11DeviceContext3_Vtbl { | |
5974 | pub base__: ID3D11DeviceContext2_Vtbl, | |
5975 | #[cfg(feature = "Win32_Foundation")] | |
5976 | pub Flush1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, contexttype: D3D11_CONTEXT_TYPE, hevent: super::super::Foundation::HANDLE), | |
5977 | #[cfg(not(feature = "Win32_Foundation"))] | |
5978 | Flush1: usize, | |
5979 | #[cfg(feature = "Win32_Foundation")] | |
5980 | pub SetHardwareProtectionState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, hwprotectionenable: super::super::Foundation::BOOL), | |
5981 | #[cfg(not(feature = "Win32_Foundation"))] | |
5982 | SetHardwareProtectionState: usize, | |
5983 | #[cfg(feature = "Win32_Foundation")] | |
5984 | pub GetHardwareProtectionState: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, phwprotectionenable: *mut super::super::Foundation::BOOL), | |
5985 | #[cfg(not(feature = "Win32_Foundation"))] | |
5986 | GetHardwareProtectionState: usize, | |
5987 | } | |
5988 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
5989 | #[repr(transparent)] | |
5990 | pub struct ID3D11DeviceContext4(::windows::core::IUnknown); | |
5991 | impl ID3D11DeviceContext4 { | |
5992 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
5993 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
5994 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
5995 | ::windows::core::from_abi(result__) | |
5996 | } | |
5997 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
5998 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
5999 | } | |
6000 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
6001 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
6002 | } | |
6003 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
6004 | where | |
6005 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
6006 | { | |
6007 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
6008 | } | |
6009 | pub unsafe fn VSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
6010 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.VSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6011 | } | |
6012 | pub unsafe fn PSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
6013 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.PSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6014 | } | |
6015 | pub unsafe fn PSSetShader<P0>(&self, ppixelshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
6016 | where | |
6017 | P0: ::windows::core::IntoParam<ID3D11PixelShader>, | |
6018 | { | |
6019 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.PSSetShader)(::windows::core::Interface::as_raw(self), ppixelshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
6020 | } | |
6021 | pub unsafe fn PSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
6022 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.PSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6023 | } | |
6024 | pub unsafe fn VSSetShader<P0>(&self, pvertexshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
6025 | where | |
6026 | P0: ::windows::core::IntoParam<ID3D11VertexShader>, | |
6027 | { | |
6028 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.VSSetShader)(::windows::core::Interface::as_raw(self), pvertexshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
6029 | } | |
6030 | pub unsafe fn DrawIndexed(&self, indexcount: u32, startindexlocation: u32, basevertexlocation: i32) { | |
6031 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DrawIndexed)(::windows::core::Interface::as_raw(self), indexcount, startindexlocation, basevertexlocation) | |
6032 | } | |
6033 | pub unsafe fn Draw(&self, vertexcount: u32, startvertexlocation: u32) { | |
6034 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Draw)(::windows::core::Interface::as_raw(self), vertexcount, startvertexlocation) | |
6035 | } | |
6036 | pub unsafe fn Map<P0>(&self, presource: P0, subresource: u32, maptype: D3D11_MAP, mapflags: u32, pmappedresource: ::core::option::Option<*mut D3D11_MAPPED_SUBRESOURCE>) -> ::windows::core::Result<()> | |
6037 | where | |
6038 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
6039 | { | |
6040 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Map)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), subresource, maptype, mapflags, ::core::mem::transmute(pmappedresource.unwrap_or(::std::ptr::null_mut()))).ok() | |
6041 | } | |
6042 | pub unsafe fn Unmap<P0>(&self, presource: P0, subresource: u32) | |
6043 | where | |
6044 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
6045 | { | |
6046 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Unmap)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), subresource) | |
6047 | } | |
6048 | pub unsafe fn PSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
6049 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.PSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6050 | } | |
6051 | pub unsafe fn IASetInputLayout<P0>(&self, pinputlayout: P0) | |
6052 | where | |
6053 | P0: ::windows::core::IntoParam<ID3D11InputLayout>, | |
6054 | { | |
6055 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IASetInputLayout)(::windows::core::Interface::as_raw(self), pinputlayout.into_param().abi()) | |
6056 | } | |
6057 | pub unsafe fn IASetVertexBuffers(&self, startslot: u32, numbuffers: u32, ppvertexbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pstrides: ::core::option::Option<*const u32>, poffsets: ::core::option::Option<*const u32>) { | |
6058 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IASetVertexBuffers)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppvertexbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pstrides.unwrap_or(::std::ptr::null())), ::core::mem::transmute(poffsets.unwrap_or(::std::ptr::null()))) | |
6059 | } | |
6060 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
6061 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
6062 | pub unsafe fn IASetIndexBuffer<P0>(&self, pindexbuffer: P0, format: super::Dxgi::Common::DXGI_FORMAT, offset: u32) | |
6063 | where | |
6064 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
6065 | { | |
6066 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IASetIndexBuffer)(::windows::core::Interface::as_raw(self), pindexbuffer.into_param().abi(), format, offset) | |
6067 | } | |
6068 | pub unsafe fn DrawIndexedInstanced(&self, indexcountperinstance: u32, instancecount: u32, startindexlocation: u32, basevertexlocation: i32, startinstancelocation: u32) { | |
6069 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DrawIndexedInstanced)(::windows::core::Interface::as_raw(self), indexcountperinstance, instancecount, startindexlocation, basevertexlocation, startinstancelocation) | |
6070 | } | |
6071 | pub unsafe fn DrawInstanced(&self, vertexcountperinstance: u32, instancecount: u32, startvertexlocation: u32, startinstancelocation: u32) { | |
6072 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DrawInstanced)(::windows::core::Interface::as_raw(self), vertexcountperinstance, instancecount, startvertexlocation, startinstancelocation) | |
6073 | } | |
6074 | pub unsafe fn GSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
6075 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6076 | } | |
6077 | pub unsafe fn GSSetShader<P0>(&self, pshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
6078 | where | |
6079 | P0: ::windows::core::IntoParam<ID3D11GeometryShader>, | |
6080 | { | |
6081 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GSSetShader)(::windows::core::Interface::as_raw(self), pshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
6082 | } | |
6083 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
6084 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
6085 | pub unsafe fn IASetPrimitiveTopology(&self, topology: super::Direct3D::D3D_PRIMITIVE_TOPOLOGY) { | |
6086 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IASetPrimitiveTopology)(::windows::core::Interface::as_raw(self), topology) | |
6087 | } | |
6088 | pub unsafe fn VSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
6089 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.VSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6090 | } | |
6091 | pub unsafe fn VSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
6092 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.VSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6093 | } | |
6094 | pub unsafe fn Begin<P0>(&self, pasync: P0) | |
6095 | where | |
6096 | P0: ::windows::core::IntoParam<ID3D11Asynchronous>, | |
6097 | { | |
6098 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Begin)(::windows::core::Interface::as_raw(self), pasync.into_param().abi()) | |
6099 | } | |
6100 | pub unsafe fn End<P0>(&self, pasync: P0) | |
6101 | where | |
6102 | P0: ::windows::core::IntoParam<ID3D11Asynchronous>, | |
6103 | { | |
6104 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.End)(::windows::core::Interface::as_raw(self), pasync.into_param().abi()) | |
6105 | } | |
6106 | pub unsafe fn GetData<P0>(&self, pasync: P0, pdata: ::core::option::Option<*mut ::core::ffi::c_void>, datasize: u32, getdataflags: u32) -> ::windows::core::Result<()> | |
6107 | where | |
6108 | P0: ::windows::core::IntoParam<ID3D11Asynchronous>, | |
6109 | { | |
6110 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetData)(::windows::core::Interface::as_raw(self), pasync.into_param().abi(), ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut())), datasize, getdataflags).ok() | |
6111 | } | |
6112 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
6113 | #[cfg(feature = "Win32_Foundation")] | |
6114 | pub unsafe fn SetPredication<P0, P1>(&self, ppredicate: P0, predicatevalue: P1) | |
6115 | where | |
6116 | P0: ::windows::core::IntoParam<ID3D11Predicate>, | |
6117 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
6118 | { | |
6119 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetPredication)(::windows::core::Interface::as_raw(self), ppredicate.into_param().abi(), predicatevalue.into_param().abi()) | |
6120 | } | |
6121 | pub unsafe fn GSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
6122 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6123 | } | |
6124 | pub unsafe fn GSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
6125 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6126 | } | |
6127 | pub unsafe fn OMSetRenderTargets<P0>(&self, pprendertargetviews: ::core::option::Option<&[::core::option::Option<ID3D11RenderTargetView>]>, pdepthstencilview: P0) | |
6128 | where | |
6129 | P0: ::windows::core::IntoParam<ID3D11DepthStencilView>, | |
6130 | { | |
6131 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.OMSetRenderTargets)(::windows::core::Interface::as_raw(self), pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdepthstencilview.into_param().abi()) | |
6132 | } | |
6133 | pub unsafe fn OMSetRenderTargetsAndUnorderedAccessViews<P0>(&self, pprendertargetviews: ::core::option::Option<&[::core::option::Option<ID3D11RenderTargetView>]>, pdepthstencilview: P0, uavstartslot: u32, numuavs: u32, ppunorderedaccessviews: ::core::option::Option<*const ::core::option::Option<ID3D11UnorderedAccessView>>, puavinitialcounts: ::core::option::Option<*const u32>) | |
6134 | where | |
6135 | P0: ::windows::core::IntoParam<ID3D11DepthStencilView>, | |
6136 | { | |
6137 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.OMSetRenderTargetsAndUnorderedAccessViews)(::windows::core::Interface::as_raw(self), pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pdepthstencilview.into_param().abi(), uavstartslot, numuavs, ::core::mem::transmute(ppunorderedaccessviews.unwrap_or(::std::ptr::null())), ::core::mem::transmute(puavinitialcounts.unwrap_or(::std::ptr::null()))) | |
6138 | } | |
6139 | pub unsafe fn OMSetBlendState<P0>(&self, pblendstate: P0, blendfactor: ::core::option::Option<*const f32>, samplemask: u32) | |
6140 | where | |
6141 | P0: ::windows::core::IntoParam<ID3D11BlendState>, | |
6142 | { | |
6143 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.OMSetBlendState)(::windows::core::Interface::as_raw(self), pblendstate.into_param().abi(), ::core::mem::transmute(blendfactor.unwrap_or(::std::ptr::null())), samplemask) | |
6144 | } | |
6145 | pub unsafe fn OMSetDepthStencilState<P0>(&self, pdepthstencilstate: P0, stencilref: u32) | |
6146 | where | |
6147 | P0: ::windows::core::IntoParam<ID3D11DepthStencilState>, | |
6148 | { | |
6149 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.OMSetDepthStencilState)(::windows::core::Interface::as_raw(self), pdepthstencilstate.into_param().abi(), stencilref) | |
6150 | } | |
6151 | pub unsafe fn SOSetTargets(&self, numbuffers: u32, ppsotargets: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, poffsets: ::core::option::Option<*const u32>) { | |
6152 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SOSetTargets)(::windows::core::Interface::as_raw(self), numbuffers, ::core::mem::transmute(ppsotargets.unwrap_or(::std::ptr::null())), ::core::mem::transmute(poffsets.unwrap_or(::std::ptr::null()))) | |
6153 | } | |
6154 | pub unsafe fn DrawAuto(&self) { | |
6155 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DrawAuto)(::windows::core::Interface::as_raw(self)) | |
6156 | } | |
6157 | pub unsafe fn DrawIndexedInstancedIndirect<P0>(&self, pbufferforargs: P0, alignedbyteoffsetforargs: u32) | |
6158 | where | |
6159 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
6160 | { | |
6161 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DrawIndexedInstancedIndirect)(::windows::core::Interface::as_raw(self), pbufferforargs.into_param().abi(), alignedbyteoffsetforargs) | |
6162 | } | |
6163 | pub unsafe fn DrawInstancedIndirect<P0>(&self, pbufferforargs: P0, alignedbyteoffsetforargs: u32) | |
6164 | where | |
6165 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
6166 | { | |
6167 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DrawInstancedIndirect)(::windows::core::Interface::as_raw(self), pbufferforargs.into_param().abi(), alignedbyteoffsetforargs) | |
6168 | } | |
6169 | pub unsafe fn Dispatch(&self, threadgroupcountx: u32, threadgroupcounty: u32, threadgroupcountz: u32) { | |
6170 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Dispatch)(::windows::core::Interface::as_raw(self), threadgroupcountx, threadgroupcounty, threadgroupcountz) | |
6171 | } | |
6172 | pub unsafe fn DispatchIndirect<P0>(&self, pbufferforargs: P0, alignedbyteoffsetforargs: u32) | |
6173 | where | |
6174 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
6175 | { | |
6176 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DispatchIndirect)(::windows::core::Interface::as_raw(self), pbufferforargs.into_param().abi(), alignedbyteoffsetforargs) | |
6177 | } | |
6178 | pub unsafe fn RSSetState<P0>(&self, prasterizerstate: P0) | |
6179 | where | |
6180 | P0: ::windows::core::IntoParam<ID3D11RasterizerState>, | |
6181 | { | |
6182 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RSSetState)(::windows::core::Interface::as_raw(self), prasterizerstate.into_param().abi()) | |
6183 | } | |
6184 | pub unsafe fn RSSetViewports(&self, pviewports: ::core::option::Option<&[D3D11_VIEWPORT]>) { | |
6185 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RSSetViewports)(::windows::core::Interface::as_raw(self), pviewports.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pviewports.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6186 | } | |
6187 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
6188 | #[cfg(feature = "Win32_Foundation")] | |
6189 | pub unsafe fn RSSetScissorRects(&self, prects: ::core::option::Option<&[super::super::Foundation::RECT]>) { | |
6190 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RSSetScissorRects)(::windows::core::Interface::as_raw(self), prects.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(prects.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6191 | } | |
6192 | pub unsafe fn CopySubresourceRegion<P0, P1>(&self, pdstresource: P0, dstsubresource: u32, dstx: u32, dsty: u32, dstz: u32, psrcresource: P1, srcsubresource: u32, psrcbox: ::core::option::Option<*const D3D11_BOX>) | |
6193 | where | |
6194 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
6195 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
6196 | { | |
6197 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CopySubresourceRegion)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, dstx, dsty, dstz, psrcresource.into_param().abi(), srcsubresource, ::core::mem::transmute(psrcbox.unwrap_or(::std::ptr::null()))) | |
6198 | } | |
6199 | pub unsafe fn CopyResource<P0, P1>(&self, pdstresource: P0, psrcresource: P1) | |
6200 | where | |
6201 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
6202 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
6203 | { | |
6204 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CopyResource)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), psrcresource.into_param().abi()) | |
6205 | } | |
6206 | pub unsafe fn UpdateSubresource<P0>(&self, pdstresource: P0, dstsubresource: u32, pdstbox: ::core::option::Option<*const D3D11_BOX>, psrcdata: *const ::core::ffi::c_void, srcrowpitch: u32, srcdepthpitch: u32) | |
6207 | where | |
6208 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
6209 | { | |
6210 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.UpdateSubresource)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, ::core::mem::transmute(pdstbox.unwrap_or(::std::ptr::null())), psrcdata, srcrowpitch, srcdepthpitch) | |
6211 | } | |
6212 | pub unsafe fn CopyStructureCount<P0, P1>(&self, pdstbuffer: P0, dstalignedbyteoffset: u32, psrcview: P1) | |
6213 | where | |
6214 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
6215 | P1: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
6216 | { | |
6217 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CopyStructureCount)(::windows::core::Interface::as_raw(self), pdstbuffer.into_param().abi(), dstalignedbyteoffset, psrcview.into_param().abi()) | |
6218 | } | |
6219 | pub unsafe fn ClearRenderTargetView<P0>(&self, prendertargetview: P0, colorrgba: *const f32) | |
6220 | where | |
6221 | P0: ::windows::core::IntoParam<ID3D11RenderTargetView>, | |
6222 | { | |
6223 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ClearRenderTargetView)(::windows::core::Interface::as_raw(self), prendertargetview.into_param().abi(), colorrgba) | |
6224 | } | |
6225 | pub unsafe fn ClearUnorderedAccessViewUint<P0>(&self, punorderedaccessview: P0, values: *const u32) | |
6226 | where | |
6227 | P0: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
6228 | { | |
6229 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ClearUnorderedAccessViewUint)(::windows::core::Interface::as_raw(self), punorderedaccessview.into_param().abi(), values) | |
6230 | } | |
6231 | pub unsafe fn ClearUnorderedAccessViewFloat<P0>(&self, punorderedaccessview: P0, values: *const f32) | |
6232 | where | |
6233 | P0: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
6234 | { | |
6235 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ClearUnorderedAccessViewFloat)(::windows::core::Interface::as_raw(self), punorderedaccessview.into_param().abi(), values) | |
6236 | } | |
6237 | pub unsafe fn ClearDepthStencilView<P0>(&self, pdepthstencilview: P0, clearflags: u32, depth: f32, stencil: u8) | |
6238 | where | |
6239 | P0: ::windows::core::IntoParam<ID3D11DepthStencilView>, | |
6240 | { | |
6241 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ClearDepthStencilView)(::windows::core::Interface::as_raw(self), pdepthstencilview.into_param().abi(), clearflags, depth, stencil) | |
6242 | } | |
6243 | pub unsafe fn GenerateMips<P0>(&self, pshaderresourceview: P0) | |
6244 | where | |
6245 | P0: ::windows::core::IntoParam<ID3D11ShaderResourceView>, | |
6246 | { | |
6247 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GenerateMips)(::windows::core::Interface::as_raw(self), pshaderresourceview.into_param().abi()) | |
6248 | } | |
6249 | pub unsafe fn SetResourceMinLOD<P0>(&self, presource: P0, minlod: f32) | |
6250 | where | |
6251 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
6252 | { | |
6253 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetResourceMinLOD)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), minlod) | |
6254 | } | |
6255 | pub unsafe fn GetResourceMinLOD<P0>(&self, presource: P0) -> f32 | |
6256 | where | |
6257 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
6258 | { | |
6259 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetResourceMinLOD)(::windows::core::Interface::as_raw(self), presource.into_param().abi()) | |
6260 | } | |
6261 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
6262 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
6263 | pub unsafe fn ResolveSubresource<P0, P1>(&self, pdstresource: P0, dstsubresource: u32, psrcresource: P1, srcsubresource: u32, format: super::Dxgi::Common::DXGI_FORMAT) | |
6264 | where | |
6265 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
6266 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
6267 | { | |
6268 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ResolveSubresource)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, psrcresource.into_param().abi(), srcsubresource, format) | |
6269 | } | |
6270 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
6271 | #[cfg(feature = "Win32_Foundation")] | |
6272 | pub unsafe fn ExecuteCommandList<P0, P1>(&self, pcommandlist: P0, restorecontextstate: P1) | |
6273 | where | |
6274 | P0: ::windows::core::IntoParam<ID3D11CommandList>, | |
6275 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
6276 | { | |
6277 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ExecuteCommandList)(::windows::core::Interface::as_raw(self), pcommandlist.into_param().abi(), restorecontextstate.into_param().abi()) | |
6278 | } | |
6279 | pub unsafe fn HSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
6280 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.HSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6281 | } | |
6282 | pub unsafe fn HSSetShader<P0>(&self, phullshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
6283 | where | |
6284 | P0: ::windows::core::IntoParam<ID3D11HullShader>, | |
6285 | { | |
6286 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.HSSetShader)(::windows::core::Interface::as_raw(self), phullshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
6287 | } | |
6288 | pub unsafe fn HSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
6289 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.HSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6290 | } | |
6291 | pub unsafe fn HSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
6292 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.HSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6293 | } | |
6294 | pub unsafe fn DSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
6295 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6296 | } | |
6297 | pub unsafe fn DSSetShader<P0>(&self, pdomainshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
6298 | where | |
6299 | P0: ::windows::core::IntoParam<ID3D11DomainShader>, | |
6300 | { | |
6301 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DSSetShader)(::windows::core::Interface::as_raw(self), pdomainshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
6302 | } | |
6303 | pub unsafe fn DSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
6304 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6305 | } | |
6306 | pub unsafe fn DSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
6307 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6308 | } | |
6309 | pub unsafe fn CSSetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&[::core::option::Option<ID3D11ShaderResourceView>]>) { | |
6310 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CSSetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6311 | } | |
6312 | pub unsafe fn CSSetUnorderedAccessViews(&self, startslot: u32, numuavs: u32, ppunorderedaccessviews: ::core::option::Option<*const ::core::option::Option<ID3D11UnorderedAccessView>>, puavinitialcounts: ::core::option::Option<*const u32>) { | |
6313 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CSSetUnorderedAccessViews)(::windows::core::Interface::as_raw(self), startslot, numuavs, ::core::mem::transmute(ppunorderedaccessviews.unwrap_or(::std::ptr::null())), ::core::mem::transmute(puavinitialcounts.unwrap_or(::std::ptr::null()))) | |
6314 | } | |
6315 | pub unsafe fn CSSetShader<P0>(&self, pcomputeshader: P0, ppclassinstances: ::core::option::Option<&[::core::option::Option<ID3D11ClassInstance>]>) | |
6316 | where | |
6317 | P0: ::windows::core::IntoParam<ID3D11ComputeShader>, | |
6318 | { | |
6319 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CSSetShader)(::windows::core::Interface::as_raw(self), pcomputeshader.into_param().abi(), ::core::mem::transmute(ppclassinstances.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ppclassinstances.as_deref().map_or(0, |slice| slice.len() as _)) | |
6320 | } | |
6321 | pub unsafe fn CSSetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&[::core::option::Option<ID3D11SamplerState>]>) { | |
6322 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CSSetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6323 | } | |
6324 | pub unsafe fn CSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&[::core::option::Option<ID3D11Buffer>]>) { | |
6325 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CSSetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6326 | } | |
6327 | pub unsafe fn VSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
6328 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.VSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6329 | } | |
6330 | pub unsafe fn PSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
6331 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.PSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6332 | } | |
6333 | pub unsafe fn PSGetShader(&self, pppixelshader: *mut ::core::option::Option<ID3D11PixelShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
6334 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.PSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pppixelshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
6335 | } | |
6336 | pub unsafe fn PSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
6337 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.PSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6338 | } | |
6339 | pub unsafe fn VSGetShader(&self, ppvertexshader: *mut ::core::option::Option<ID3D11VertexShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
6340 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.VSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppvertexshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
6341 | } | |
6342 | pub unsafe fn PSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
6343 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.PSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6344 | } | |
6345 | pub unsafe fn IAGetInputLayout(&self) -> ::windows::core::Result<ID3D11InputLayout> { | |
6346 | let mut result__ = ::windows::core::zeroed::<ID3D11InputLayout>(); | |
6347 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IAGetInputLayout)(::windows::core::Interface::as_raw(self), &mut result__); | |
6348 | ::windows::core::from_abi(result__) | |
6349 | } | |
6350 | pub unsafe fn IAGetVertexBuffers(&self, startslot: u32, numbuffers: u32, ppvertexbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pstrides: ::core::option::Option<*mut u32>, poffsets: ::core::option::Option<*mut u32>) { | |
6351 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IAGetVertexBuffers)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppvertexbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pstrides.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(poffsets.unwrap_or(::std::ptr::null_mut()))) | |
6352 | } | |
6353 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
6354 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
6355 | pub unsafe fn IAGetIndexBuffer(&self, pindexbuffer: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, format: ::core::option::Option<*mut super::Dxgi::Common::DXGI_FORMAT>, offset: ::core::option::Option<*mut u32>) { | |
6356 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IAGetIndexBuffer)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pindexbuffer.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(format.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(offset.unwrap_or(::std::ptr::null_mut()))) | |
6357 | } | |
6358 | pub unsafe fn GSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
6359 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6360 | } | |
6361 | pub unsafe fn GSGetShader(&self, ppgeometryshader: *mut ::core::option::Option<ID3D11GeometryShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
6362 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppgeometryshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
6363 | } | |
6364 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
6365 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
6366 | pub unsafe fn IAGetPrimitiveTopology(&self) -> super::Direct3D::D3D_PRIMITIVE_TOPOLOGY { | |
6367 | let mut result__ = ::windows::core::zeroed::<super::Direct3D::D3D_PRIMITIVE_TOPOLOGY>(); | |
6368 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.IAGetPrimitiveTopology)(::windows::core::Interface::as_raw(self), &mut result__); | |
6369 | ::std::mem::transmute(result__) | |
6370 | } | |
6371 | pub unsafe fn VSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
6372 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.VSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6373 | } | |
6374 | pub unsafe fn VSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
6375 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.VSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6376 | } | |
6377 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
6378 | #[cfg(feature = "Win32_Foundation")] | |
6379 | pub unsafe fn GetPredication(&self, pppredicate: ::core::option::Option<*mut ::core::option::Option<ID3D11Predicate>>, ppredicatevalue: ::core::option::Option<*mut super::super::Foundation::BOOL>) { | |
6380 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetPredication)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pppredicate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(ppredicatevalue.unwrap_or(::std::ptr::null_mut()))) | |
6381 | } | |
6382 | pub unsafe fn GSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
6383 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6384 | } | |
6385 | pub unsafe fn GSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
6386 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6387 | } | |
6388 | pub unsafe fn OMGetRenderTargets(&self, pprendertargetviews: ::core::option::Option<&mut [::core::option::Option<ID3D11RenderTargetView>]>, ppdepthstencilview: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilView>>) { | |
6389 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.OMGetRenderTargets)(::windows::core::Interface::as_raw(self), pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(ppdepthstencilview.unwrap_or(::std::ptr::null_mut()))) | |
6390 | } | |
6391 | pub unsafe fn OMGetRenderTargetsAndUnorderedAccessViews(&self, pprendertargetviews: ::core::option::Option<&mut [::core::option::Option<ID3D11RenderTargetView>]>, ppdepthstencilview: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilView>>, uavstartslot: u32, ppunorderedaccessviews: ::core::option::Option<&mut [::core::option::Option<ID3D11UnorderedAccessView>]>) { | |
6392 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.OMGetRenderTargetsAndUnorderedAccessViews)( | |
6393 | ::windows::core::Interface::as_raw(self), | |
6394 | pprendertargetviews.as_deref().map_or(0, |slice| slice.len() as _), | |
6395 | ::core::mem::transmute(pprendertargetviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
6396 | ::core::mem::transmute(ppdepthstencilview.unwrap_or(::std::ptr::null_mut())), | |
6397 | uavstartslot, | |
6398 | ppunorderedaccessviews.as_deref().map_or(0, |slice| slice.len() as _), | |
6399 | ::core::mem::transmute(ppunorderedaccessviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), | |
6400 | ) | |
6401 | } | |
6402 | pub unsafe fn OMGetBlendState(&self, ppblendstate: ::core::option::Option<*mut ::core::option::Option<ID3D11BlendState>>, blendfactor: ::core::option::Option<*mut f32>, psamplemask: ::core::option::Option<*mut u32>) { | |
6403 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.OMGetBlendState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppblendstate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(blendfactor.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(psamplemask.unwrap_or(::std::ptr::null_mut()))) | |
6404 | } | |
6405 | pub unsafe fn OMGetDepthStencilState(&self, ppdepthstencilstate: ::core::option::Option<*mut ::core::option::Option<ID3D11DepthStencilState>>, pstencilref: ::core::option::Option<*mut u32>) { | |
6406 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.OMGetDepthStencilState)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppdepthstencilstate.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pstencilref.unwrap_or(::std::ptr::null_mut()))) | |
6407 | } | |
6408 | pub unsafe fn SOGetTargets(&self, ppsotargets: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
6409 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SOGetTargets)(::windows::core::Interface::as_raw(self), ppsotargets.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsotargets.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6410 | } | |
6411 | pub unsafe fn RSGetState(&self) -> ::windows::core::Result<ID3D11RasterizerState> { | |
6412 | let mut result__ = ::windows::core::zeroed::<ID3D11RasterizerState>(); | |
6413 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RSGetState)(::windows::core::Interface::as_raw(self), &mut result__); | |
6414 | ::windows::core::from_abi(result__) | |
6415 | } | |
6416 | pub unsafe fn RSGetViewports(&self, pnumviewports: *mut u32, pviewports: ::core::option::Option<*mut D3D11_VIEWPORT>) { | |
6417 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RSGetViewports)(::windows::core::Interface::as_raw(self), pnumviewports, ::core::mem::transmute(pviewports.unwrap_or(::std::ptr::null_mut()))) | |
6418 | } | |
6419 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
6420 | #[cfg(feature = "Win32_Foundation")] | |
6421 | pub unsafe fn RSGetScissorRects(&self, pnumrects: *mut u32, prects: ::core::option::Option<*mut super::super::Foundation::RECT>) { | |
6422 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.RSGetScissorRects)(::windows::core::Interface::as_raw(self), pnumrects, ::core::mem::transmute(prects.unwrap_or(::std::ptr::null_mut()))) | |
6423 | } | |
6424 | pub unsafe fn HSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
6425 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.HSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6426 | } | |
6427 | pub unsafe fn HSGetShader(&self, pphullshader: *mut ::core::option::Option<ID3D11HullShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
6428 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.HSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pphullshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
6429 | } | |
6430 | pub unsafe fn HSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
6431 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.HSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6432 | } | |
6433 | pub unsafe fn HSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
6434 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.HSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6435 | } | |
6436 | pub unsafe fn DSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
6437 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6438 | } | |
6439 | pub unsafe fn DSGetShader(&self, ppdomainshader: *mut ::core::option::Option<ID3D11DomainShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
6440 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppdomainshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
6441 | } | |
6442 | pub unsafe fn DSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
6443 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6444 | } | |
6445 | pub unsafe fn DSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
6446 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.DSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6447 | } | |
6448 | pub unsafe fn CSGetShaderResources(&self, startslot: u32, ppshaderresourceviews: ::core::option::Option<&mut [::core::option::Option<ID3D11ShaderResourceView>]>) { | |
6449 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CSGetShaderResources)(::windows::core::Interface::as_raw(self), startslot, ppshaderresourceviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppshaderresourceviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6450 | } | |
6451 | pub unsafe fn CSGetUnorderedAccessViews(&self, startslot: u32, ppunorderedaccessviews: ::core::option::Option<&mut [::core::option::Option<ID3D11UnorderedAccessView>]>) { | |
6452 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CSGetUnorderedAccessViews)(::windows::core::Interface::as_raw(self), startslot, ppunorderedaccessviews.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppunorderedaccessviews.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6453 | } | |
6454 | pub unsafe fn CSGetShader(&self, ppcomputeshader: *mut ::core::option::Option<ID3D11ComputeShader>, ppclassinstances: ::core::option::Option<*mut ::core::option::Option<ID3D11ClassInstance>>, pnumclassinstances: ::core::option::Option<*mut u32>) { | |
6455 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CSGetShader)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppcomputeshader), ::core::mem::transmute(ppclassinstances.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumclassinstances.unwrap_or(::std::ptr::null_mut()))) | |
6456 | } | |
6457 | pub unsafe fn CSGetSamplers(&self, startslot: u32, ppsamplers: ::core::option::Option<&mut [::core::option::Option<ID3D11SamplerState>]>) { | |
6458 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CSGetSamplers)(::windows::core::Interface::as_raw(self), startslot, ppsamplers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppsamplers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6459 | } | |
6460 | pub unsafe fn CSGetConstantBuffers(&self, startslot: u32, ppconstantbuffers: ::core::option::Option<&mut [::core::option::Option<ID3D11Buffer>]>) { | |
6461 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.CSGetConstantBuffers)(::windows::core::Interface::as_raw(self), startslot, ppconstantbuffers.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ppconstantbuffers.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
6462 | } | |
6463 | pub unsafe fn ClearState(&self) { | |
6464 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.ClearState)(::windows::core::Interface::as_raw(self)) | |
6465 | } | |
6466 | pub unsafe fn Flush(&self) { | |
6467 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.Flush)(::windows::core::Interface::as_raw(self)) | |
6468 | } | |
6469 | pub unsafe fn GetType(&self) -> D3D11_DEVICE_CONTEXT_TYPE { | |
6470 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetType)(::windows::core::Interface::as_raw(self)) | |
6471 | } | |
6472 | pub unsafe fn GetContextFlags(&self) -> u32 { | |
6473 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetContextFlags)(::windows::core::Interface::as_raw(self)) | |
6474 | } | |
6475 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
6476 | #[cfg(feature = "Win32_Foundation")] | |
6477 | pub unsafe fn FinishCommandList<P0>(&self, restoredeferredcontextstate: P0, ppcommandlist: ::core::option::Option<*mut ::core::option::Option<ID3D11CommandList>>) -> ::windows::core::Result<()> | |
6478 | where | |
6479 | P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
6480 | { | |
6481 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.FinishCommandList)(::windows::core::Interface::as_raw(self), restoredeferredcontextstate.into_param().abi(), ::core::mem::transmute(ppcommandlist.unwrap_or(::std::ptr::null_mut()))).ok() | |
6482 | } | |
6483 | pub unsafe fn CopySubresourceRegion1<P0, P1>(&self, pdstresource: P0, dstsubresource: u32, dstx: u32, dsty: u32, dstz: u32, psrcresource: P1, srcsubresource: u32, psrcbox: ::core::option::Option<*const D3D11_BOX>, copyflags: u32) | |
6484 | where | |
6485 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
6486 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
6487 | { | |
6488 | (::windows::core::Interface::vtable(self).base__.base__.base__.CopySubresourceRegion1)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, dstx, dsty, dstz, psrcresource.into_param().abi(), srcsubresource, ::core::mem::transmute(psrcbox.unwrap_or(::std::ptr::null())), copyflags) | |
6489 | } | |
6490 | pub unsafe fn UpdateSubresource1<P0>(&self, pdstresource: P0, dstsubresource: u32, pdstbox: ::core::option::Option<*const D3D11_BOX>, psrcdata: *const ::core::ffi::c_void, srcrowpitch: u32, srcdepthpitch: u32, copyflags: u32) | |
6491 | where | |
6492 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
6493 | { | |
6494 | (::windows::core::Interface::vtable(self).base__.base__.base__.UpdateSubresource1)(::windows::core::Interface::as_raw(self), pdstresource.into_param().abi(), dstsubresource, ::core::mem::transmute(pdstbox.unwrap_or(::std::ptr::null())), psrcdata, srcrowpitch, srcdepthpitch, copyflags) | |
6495 | } | |
6496 | pub unsafe fn DiscardResource<P0>(&self, presource: P0) | |
6497 | where | |
6498 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
6499 | { | |
6500 | (::windows::core::Interface::vtable(self).base__.base__.base__.DiscardResource)(::windows::core::Interface::as_raw(self), presource.into_param().abi()) | |
6501 | } | |
6502 | pub unsafe fn DiscardView<P0>(&self, presourceview: P0) | |
6503 | where | |
6504 | P0: ::windows::core::IntoParam<ID3D11View>, | |
6505 | { | |
6506 | (::windows::core::Interface::vtable(self).base__.base__.base__.DiscardView)(::windows::core::Interface::as_raw(self), presourceview.into_param().abi()) | |
6507 | } | |
6508 | pub unsafe fn VSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
6509 | (::windows::core::Interface::vtable(self).base__.base__.base__.VSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
6510 | } | |
6511 | pub unsafe fn HSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
6512 | (::windows::core::Interface::vtable(self).base__.base__.base__.HSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
6513 | } | |
6514 | pub unsafe fn DSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
6515 | (::windows::core::Interface::vtable(self).base__.base__.base__.DSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
6516 | } | |
6517 | pub unsafe fn GSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
6518 | (::windows::core::Interface::vtable(self).base__.base__.base__.GSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
6519 | } | |
6520 | pub unsafe fn PSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
6521 | (::windows::core::Interface::vtable(self).base__.base__.base__.PSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
6522 | } | |
6523 | pub unsafe fn CSSetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*const u32>, pnumconstants: ::core::option::Option<*const u32>) { | |
6524 | (::windows::core::Interface::vtable(self).base__.base__.base__.CSSetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null()))) | |
6525 | } | |
6526 | pub unsafe fn VSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
6527 | (::windows::core::Interface::vtable(self).base__.base__.base__.VSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
6528 | } | |
6529 | pub unsafe fn HSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
6530 | (::windows::core::Interface::vtable(self).base__.base__.base__.HSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
6531 | } | |
6532 | pub unsafe fn DSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
6533 | (::windows::core::Interface::vtable(self).base__.base__.base__.DSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
6534 | } | |
6535 | pub unsafe fn GSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
6536 | (::windows::core::Interface::vtable(self).base__.base__.base__.GSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
6537 | } | |
6538 | pub unsafe fn PSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
6539 | (::windows::core::Interface::vtable(self).base__.base__.base__.PSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
6540 | } | |
6541 | pub unsafe fn CSGetConstantBuffers1(&self, startslot: u32, numbuffers: u32, ppconstantbuffers: ::core::option::Option<*mut ::core::option::Option<ID3D11Buffer>>, pfirstconstant: ::core::option::Option<*mut u32>, pnumconstants: ::core::option::Option<*mut u32>) { | |
6542 | (::windows::core::Interface::vtable(self).base__.base__.base__.CSGetConstantBuffers1)(::windows::core::Interface::as_raw(self), startslot, numbuffers, ::core::mem::transmute(ppconstantbuffers.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pfirstconstant.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(pnumconstants.unwrap_or(::std::ptr::null_mut()))) | |
6543 | } | |
6544 | pub unsafe fn SwapDeviceContextState<P0>(&self, pstate: P0, pppreviousstate: ::core::option::Option<*mut ::core::option::Option<ID3DDeviceContextState>>) | |
6545 | where | |
6546 | P0: ::windows::core::IntoParam<ID3DDeviceContextState>, | |
6547 | { | |
6548 | (::windows::core::Interface::vtable(self).base__.base__.base__.SwapDeviceContextState)(::windows::core::Interface::as_raw(self), pstate.into_param().abi(), ::core::mem::transmute(pppreviousstate.unwrap_or(::std::ptr::null_mut()))) | |
6549 | } | |
6550 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
6551 | #[cfg(feature = "Win32_Foundation")] | |
6552 | pub unsafe fn ClearView<P0>(&self, pview: P0, color: *const f32, prect: ::core::option::Option<&[super::super::Foundation::RECT]>) | |
6553 | where | |
6554 | P0: ::windows::core::IntoParam<ID3D11View>, | |
6555 | { | |
6556 | (::windows::core::Interface::vtable(self).base__.base__.base__.ClearView)(::windows::core::Interface::as_raw(self), pview.into_param().abi(), color, ::core::mem::transmute(prect.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prect.as_deref().map_or(0, |slice| slice.len() as _)) | |
6557 | } | |
6558 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
6559 | #[cfg(feature = "Win32_Foundation")] | |
6560 | pub unsafe fn DiscardView1<P0>(&self, presourceview: P0, prects: ::core::option::Option<&[super::super::Foundation::RECT]>) | |
6561 | where | |
6562 | P0: ::windows::core::IntoParam<ID3D11View>, | |
6563 | { | |
6564 | (::windows::core::Interface::vtable(self).base__.base__.base__.DiscardView1)(::windows::core::Interface::as_raw(self), presourceview.into_param().abi(), ::core::mem::transmute(prects.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), prects.as_deref().map_or(0, |slice| slice.len() as _)) | |
6565 | } | |
6566 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
6567 | #[cfg(feature = "Win32_Foundation")] | |
6568 | pub unsafe fn UpdateTileMappings<P0, P1>(&self, ptiledresource: P0, numtiledresourceregions: u32, ptiledresourceregionstartcoordinates: ::core::option::Option<*const D3D11_TILED_RESOURCE_COORDINATE>, ptiledresourceregionsizes: ::core::option::Option<*const D3D11_TILE_REGION_SIZE>, ptilepool: P1, numranges: u32, prangeflags: ::core::option::Option<*const u32>, ptilepoolstartoffsets: ::core::option::Option<*const u32>, prangetilecounts: ::core::option::Option<*const u32>, flags: u32) -> ::windows::core::Result<()> | |
6569 | where | |
6570 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
6571 | P1: ::windows::core::IntoParam<ID3D11Buffer>, | |
6572 | { | |
6573 | (::windows::core::Interface::vtable(self).base__.base__.UpdateTileMappings)( | |
6574 | ::windows::core::Interface::as_raw(self), | |
6575 | ptiledresource.into_param().abi(), | |
6576 | numtiledresourceregions, | |
6577 | ::core::mem::transmute(ptiledresourceregionstartcoordinates.unwrap_or(::std::ptr::null())), | |
6578 | ::core::mem::transmute(ptiledresourceregionsizes.unwrap_or(::std::ptr::null())), | |
6579 | ptilepool.into_param().abi(), | |
6580 | numranges, | |
6581 | ::core::mem::transmute(prangeflags.unwrap_or(::std::ptr::null())), | |
6582 | ::core::mem::transmute(ptilepoolstartoffsets.unwrap_or(::std::ptr::null())), | |
6583 | ::core::mem::transmute(prangetilecounts.unwrap_or(::std::ptr::null())), | |
6584 | flags, | |
6585 | ) | |
6586 | .ok() | |
6587 | } | |
6588 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
6589 | #[cfg(feature = "Win32_Foundation")] | |
6590 | pub unsafe fn CopyTileMappings<P0, P1>(&self, pdesttiledresource: P0, pdestregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, psourcetiledresource: P1, psourceregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, ptileregionsize: *const D3D11_TILE_REGION_SIZE, flags: u32) -> ::windows::core::Result<()> | |
6591 | where | |
6592 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
6593 | P1: ::windows::core::IntoParam<ID3D11Resource>, | |
6594 | { | |
6595 | (::windows::core::Interface::vtable(self).base__.base__.CopyTileMappings)(::windows::core::Interface::as_raw(self), pdesttiledresource.into_param().abi(), pdestregionstartcoordinate, psourcetiledresource.into_param().abi(), psourceregionstartcoordinate, ptileregionsize, flags).ok() | |
6596 | } | |
6597 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
6598 | #[cfg(feature = "Win32_Foundation")] | |
6599 | pub unsafe fn CopyTiles<P0, P1>(&self, ptiledresource: P0, ptileregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, ptileregionsize: *const D3D11_TILE_REGION_SIZE, pbuffer: P1, bufferstartoffsetinbytes: u64, flags: u32) | |
6600 | where | |
6601 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
6602 | P1: ::windows::core::IntoParam<ID3D11Buffer>, | |
6603 | { | |
6604 | (::windows::core::Interface::vtable(self).base__.base__.CopyTiles)(::windows::core::Interface::as_raw(self), ptiledresource.into_param().abi(), ptileregionstartcoordinate, ptileregionsize, pbuffer.into_param().abi(), bufferstartoffsetinbytes, flags) | |
6605 | } | |
6606 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
6607 | #[cfg(feature = "Win32_Foundation")] | |
6608 | pub unsafe fn UpdateTiles<P0>(&self, pdesttiledresource: P0, pdesttileregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, pdesttileregionsize: *const D3D11_TILE_REGION_SIZE, psourcetiledata: *const ::core::ffi::c_void, flags: u32) | |
6609 | where | |
6610 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
6611 | { | |
6612 | (::windows::core::Interface::vtable(self).base__.base__.UpdateTiles)(::windows::core::Interface::as_raw(self), pdesttiledresource.into_param().abi(), pdesttileregionstartcoordinate, pdesttileregionsize, psourcetiledata, flags) | |
6613 | } | |
6614 | pub unsafe fn ResizeTilePool<P0>(&self, ptilepool: P0, newsizeinbytes: u64) -> ::windows::core::Result<()> | |
6615 | where | |
6616 | P0: ::windows::core::IntoParam<ID3D11Buffer>, | |
6617 | { | |
6618 | (::windows::core::Interface::vtable(self).base__.base__.ResizeTilePool)(::windows::core::Interface::as_raw(self), ptilepool.into_param().abi(), newsizeinbytes).ok() | |
6619 | } | |
6620 | pub unsafe fn TiledResourceBarrier<P0, P1>(&self, ptiledresourceorviewaccessbeforebarrier: P0, ptiledresourceorviewaccessafterbarrier: P1) | |
6621 | where | |
6622 | P0: ::windows::core::IntoParam<ID3D11DeviceChild>, | |
6623 | P1: ::windows::core::IntoParam<ID3D11DeviceChild>, | |
6624 | { | |
6625 | (::windows::core::Interface::vtable(self).base__.base__.TiledResourceBarrier)(::windows::core::Interface::as_raw(self), ptiledresourceorviewaccessbeforebarrier.into_param().abi(), ptiledresourceorviewaccessafterbarrier.into_param().abi()) | |
6626 | } | |
6627 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
6628 | #[cfg(feature = "Win32_Foundation")] | |
6629 | pub unsafe fn IsAnnotationEnabled(&self) -> super::super::Foundation::BOOL { | |
6630 | (::windows::core::Interface::vtable(self).base__.base__.IsAnnotationEnabled)(::windows::core::Interface::as_raw(self)) | |
6631 | } | |
6632 | pub unsafe fn SetMarkerInt<P0>(&self, plabel: P0, data: i32) | |
6633 | where | |
6634 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
6635 | { | |
6636 | (::windows::core::Interface::vtable(self).base__.base__.SetMarkerInt)(::windows::core::Interface::as_raw(self), plabel.into_param().abi(), data) | |
6637 | } | |
6638 | pub unsafe fn BeginEventInt<P0>(&self, plabel: P0, data: i32) | |
6639 | where | |
6640 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
6641 | { | |
6642 | (::windows::core::Interface::vtable(self).base__.base__.BeginEventInt)(::windows::core::Interface::as_raw(self), plabel.into_param().abi(), data) | |
6643 | } | |
6644 | pub unsafe fn EndEvent(&self) { | |
6645 | (::windows::core::Interface::vtable(self).base__.base__.EndEvent)(::windows::core::Interface::as_raw(self)) | |
6646 | } | |
6647 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
6648 | #[cfg(feature = "Win32_Foundation")] | |
6649 | pub unsafe fn Flush1<P0>(&self, contexttype: D3D11_CONTEXT_TYPE, hevent: P0) | |
6650 | where | |
6651 | P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, | |
6652 | { | |
6653 | (::windows::core::Interface::vtable(self).base__.Flush1)(::windows::core::Interface::as_raw(self), contexttype, hevent.into_param().abi()) | |
6654 | } | |
6655 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
6656 | #[cfg(feature = "Win32_Foundation")] | |
6657 | pub unsafe fn SetHardwareProtectionState<P0>(&self, hwprotectionenable: P0) | |
6658 | where | |
6659 | P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
6660 | { | |
6661 | (::windows::core::Interface::vtable(self).base__.SetHardwareProtectionState)(::windows::core::Interface::as_raw(self), hwprotectionenable.into_param().abi()) | |
6662 | } | |
6663 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
6664 | #[cfg(feature = "Win32_Foundation")] | |
6665 | pub unsafe fn GetHardwareProtectionState(&self) -> super::super::Foundation::BOOL { | |
6666 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>(); | |
6667 | (::windows::core::Interface::vtable(self).base__.GetHardwareProtectionState)(::windows::core::Interface::as_raw(self), &mut result__); | |
6668 | ::std::mem::transmute(result__) | |
6669 | } | |
6670 | pub unsafe fn Signal<P0>(&self, pfence: P0, value: u64) -> ::windows::core::Result<()> | |
6671 | where | |
6672 | P0: ::windows::core::IntoParam<ID3D11Fence>, | |
6673 | { | |
6674 | (::windows::core::Interface::vtable(self).Signal)(::windows::core::Interface::as_raw(self), pfence.into_param().abi(), value).ok() | |
6675 | } | |
6676 | pub unsafe fn Wait<P0>(&self, pfence: P0, value: u64) -> ::windows::core::Result<()> | |
6677 | where | |
6678 | P0: ::windows::core::IntoParam<ID3D11Fence>, | |
6679 | { | |
6680 | (::windows::core::Interface::vtable(self).Wait)(::windows::core::Interface::as_raw(self), pfence.into_param().abi(), value).ok() | |
6681 | } | |
6682 | } | |
6683 | ::windows::imp::interface_hierarchy!(ID3D11DeviceContext4, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext, ID3D11DeviceContext1, ID3D11DeviceContext2, ID3D11DeviceContext3); | |
6684 | impl ::core::cmp::PartialEq for ID3D11DeviceContext4 { | |
6685 | fn eq(&self, other: &Self) -> bool { | |
6686 | self.0 == other.0 | |
6687 | } | |
6688 | } | |
6689 | impl ::core::cmp::Eq for ID3D11DeviceContext4 {} | |
6690 | impl ::core::fmt::Debug for ID3D11DeviceContext4 { | |
6691 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6692 | f.debug_tuple("ID3D11DeviceContext4").field(&self.0).finish() | |
6693 | } | |
6694 | } | |
6695 | unsafe impl ::core::marker::Send for ID3D11DeviceContext4 {} | |
6696 | unsafe impl ::core::marker::Sync for ID3D11DeviceContext4 {} | |
6697 | unsafe impl ::windows::core::Interface for ID3D11DeviceContext4 { | |
6698 | type Vtable = ID3D11DeviceContext4_Vtbl; | |
6699 | } | |
6700 | impl ::core::clone::Clone for ID3D11DeviceContext4 { | |
6701 | fn clone(&self) -> Self { | |
6702 | Self(self.0.clone()) | |
6703 | } | |
6704 | } | |
6705 | unsafe impl ::windows::core::ComInterface for ID3D11DeviceContext4 { | |
6706 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x917600da_f58c_4c33_98d8_3e15b390fa24); | |
6707 | } | |
6708 | #[repr(C)] | |
6709 | #[doc(hidden)] | |
6710 | pub struct ID3D11DeviceContext4_Vtbl { | |
6711 | pub base__: ID3D11DeviceContext3_Vtbl, | |
6712 | pub Signal: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfence: *mut ::core::ffi::c_void, value: u64) -> ::windows::core::HRESULT, | |
6713 | pub Wait: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfence: *mut ::core::ffi::c_void, value: u64) -> ::windows::core::HRESULT, | |
6714 | } | |
6715 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
6716 | #[repr(transparent)] | |
6717 | pub struct ID3D11DomainShader(::windows::core::IUnknown); | |
6718 | impl ID3D11DomainShader { | |
6719 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
6720 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
6721 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
6722 | ::windows::core::from_abi(result__) | |
6723 | } | |
6724 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
6725 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
6726 | } | |
6727 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
6728 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
6729 | } | |
6730 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
6731 | where | |
6732 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
6733 | { | |
6734 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
6735 | } | |
6736 | } | |
6737 | ::windows::imp::interface_hierarchy!(ID3D11DomainShader, ::windows::core::IUnknown, ID3D11DeviceChild); | |
6738 | impl ::core::cmp::PartialEq for ID3D11DomainShader { | |
6739 | fn eq(&self, other: &Self) -> bool { | |
6740 | self.0 == other.0 | |
6741 | } | |
6742 | } | |
6743 | impl ::core::cmp::Eq for ID3D11DomainShader {} | |
6744 | impl ::core::fmt::Debug for ID3D11DomainShader { | |
6745 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6746 | f.debug_tuple("ID3D11DomainShader").field(&self.0).finish() | |
6747 | } | |
6748 | } | |
6749 | unsafe impl ::core::marker::Send for ID3D11DomainShader {} | |
6750 | unsafe impl ::core::marker::Sync for ID3D11DomainShader {} | |
6751 | unsafe impl ::windows::core::Interface for ID3D11DomainShader { | |
6752 | type Vtable = ID3D11DomainShader_Vtbl; | |
6753 | } | |
6754 | impl ::core::clone::Clone for ID3D11DomainShader { | |
6755 | fn clone(&self) -> Self { | |
6756 | Self(self.0.clone()) | |
6757 | } | |
6758 | } | |
6759 | unsafe impl ::windows::core::ComInterface for ID3D11DomainShader { | |
6760 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xf582c508_0f36_490c_9977_31eece268cfa); | |
6761 | } | |
6762 | #[repr(C)] | |
6763 | #[doc(hidden)] | |
6764 | pub struct ID3D11DomainShader_Vtbl { | |
6765 | pub base__: ID3D11DeviceChild_Vtbl, | |
6766 | } | |
6767 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
6768 | #[repr(transparent)] | |
6769 | pub struct ID3D11Fence(::windows::core::IUnknown); | |
6770 | impl ID3D11Fence { | |
6771 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
6772 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
6773 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
6774 | ::windows::core::from_abi(result__) | |
6775 | } | |
6776 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
6777 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
6778 | } | |
6779 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
6780 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
6781 | } | |
6782 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
6783 | where | |
6784 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
6785 | { | |
6786 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
6787 | } | |
6788 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`*"] | |
6789 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] | |
6790 | pub unsafe fn CreateSharedHandle<P0>(&self, pattributes: ::core::option::Option<*const super::super::Security::SECURITY_ATTRIBUTES>, dwaccess: u32, lpname: P0) -> ::windows::core::Result<super::super::Foundation::HANDLE> | |
6791 | where | |
6792 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
6793 | { | |
6794 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::HANDLE>(); | |
6795 | (::windows::core::Interface::vtable(self).CreateSharedHandle)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pattributes.unwrap_or(::std::ptr::null())), dwaccess, lpname.into_param().abi(), &mut result__).from_abi(result__) | |
6796 | } | |
6797 | pub unsafe fn GetCompletedValue(&self) -> u64 { | |
6798 | (::windows::core::Interface::vtable(self).GetCompletedValue)(::windows::core::Interface::as_raw(self)) | |
6799 | } | |
6800 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
6801 | #[cfg(feature = "Win32_Foundation")] | |
6802 | pub unsafe fn SetEventOnCompletion<P0>(&self, value: u64, hevent: P0) -> ::windows::core::Result<()> | |
6803 | where | |
6804 | P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, | |
6805 | { | |
6806 | (::windows::core::Interface::vtable(self).SetEventOnCompletion)(::windows::core::Interface::as_raw(self), value, hevent.into_param().abi()).ok() | |
6807 | } | |
6808 | } | |
6809 | ::windows::imp::interface_hierarchy!(ID3D11Fence, ::windows::core::IUnknown, ID3D11DeviceChild); | |
6810 | impl ::core::cmp::PartialEq for ID3D11Fence { | |
6811 | fn eq(&self, other: &Self) -> bool { | |
6812 | self.0 == other.0 | |
6813 | } | |
6814 | } | |
6815 | impl ::core::cmp::Eq for ID3D11Fence {} | |
6816 | impl ::core::fmt::Debug for ID3D11Fence { | |
6817 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6818 | f.debug_tuple("ID3D11Fence").field(&self.0).finish() | |
6819 | } | |
6820 | } | |
6821 | unsafe impl ::core::marker::Send for ID3D11Fence {} | |
6822 | unsafe impl ::core::marker::Sync for ID3D11Fence {} | |
6823 | unsafe impl ::windows::core::Interface for ID3D11Fence { | |
6824 | type Vtable = ID3D11Fence_Vtbl; | |
6825 | } | |
6826 | impl ::core::clone::Clone for ID3D11Fence { | |
6827 | fn clone(&self) -> Self { | |
6828 | Self(self.0.clone()) | |
6829 | } | |
6830 | } | |
6831 | unsafe impl ::windows::core::ComInterface for ID3D11Fence { | |
6832 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xaffde9d1_1df7_4bb7_8a34_0f46251dab80); | |
6833 | } | |
6834 | #[repr(C)] | |
6835 | #[doc(hidden)] | |
6836 | pub struct ID3D11Fence_Vtbl { | |
6837 | pub base__: ID3D11DeviceChild_Vtbl, | |
6838 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] | |
6839 | pub CreateSharedHandle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pattributes: *const super::super::Security::SECURITY_ATTRIBUTES, dwaccess: u32, lpname: ::windows::core::PCWSTR, phandle: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT, | |
6840 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Security")))] | |
6841 | CreateSharedHandle: usize, | |
6842 | pub GetCompletedValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u64, | |
6843 | #[cfg(feature = "Win32_Foundation")] | |
6844 | pub SetEventOnCompletion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, value: u64, hevent: super::super::Foundation::HANDLE) -> ::windows::core::HRESULT, | |
6845 | #[cfg(not(feature = "Win32_Foundation"))] | |
6846 | SetEventOnCompletion: usize, | |
6847 | } | |
6848 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
6849 | #[repr(transparent)] | |
6850 | pub struct ID3D11FunctionLinkingGraph(::windows::core::IUnknown); | |
6851 | impl ID3D11FunctionLinkingGraph { | |
6852 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
6853 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
6854 | pub unsafe fn CreateModuleInstance(&self, ppmoduleinstance: *mut ::core::option::Option<ID3D11ModuleInstance>, pperrorbuffer: ::core::option::Option<*mut ::core::option::Option<super::Direct3D::ID3DBlob>>) -> ::windows::core::Result<()> { | |
6855 | (::windows::core::Interface::vtable(self).CreateModuleInstance)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ppmoduleinstance), ::core::mem::transmute(pperrorbuffer.unwrap_or(::std::ptr::null_mut()))).ok() | |
6856 | } | |
6857 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
6858 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
6859 | pub unsafe fn SetInputSignature(&self, pinputparameters: &[D3D11_PARAMETER_DESC]) -> ::windows::core::Result<ID3D11LinkingNode> { | |
6860 | let mut result__ = ::windows::core::zeroed::<ID3D11LinkingNode>(); | |
6861 | (::windows::core::Interface::vtable(self).SetInputSignature)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pinputparameters.as_ptr()), pinputparameters.len() as _, &mut result__).from_abi(result__) | |
6862 | } | |
6863 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
6864 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
6865 | pub unsafe fn SetOutputSignature(&self, poutputparameters: &[D3D11_PARAMETER_DESC]) -> ::windows::core::Result<ID3D11LinkingNode> { | |
6866 | let mut result__ = ::windows::core::zeroed::<ID3D11LinkingNode>(); | |
6867 | (::windows::core::Interface::vtable(self).SetOutputSignature)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(poutputparameters.as_ptr()), poutputparameters.len() as _, &mut result__).from_abi(result__) | |
6868 | } | |
6869 | pub unsafe fn CallFunction<P0, P1, P2>(&self, pmoduleinstancenamespace: P0, pmodulewithfunctionprototype: P1, pfunctionname: P2) -> ::windows::core::Result<ID3D11LinkingNode> | |
6870 | where | |
6871 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
6872 | P1: ::windows::core::IntoParam<ID3D11Module>, | |
6873 | P2: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
6874 | { | |
6875 | let mut result__ = ::windows::core::zeroed::<ID3D11LinkingNode>(); | |
6876 | (::windows::core::Interface::vtable(self).CallFunction)(::windows::core::Interface::as_raw(self), pmoduleinstancenamespace.into_param().abi(), pmodulewithfunctionprototype.into_param().abi(), pfunctionname.into_param().abi(), &mut result__).from_abi(result__) | |
6877 | } | |
6878 | pub unsafe fn PassValue<P0, P1>(&self, psrcnode: P0, srcparameterindex: i32, pdstnode: P1, dstparameterindex: i32) -> ::windows::core::Result<()> | |
6879 | where | |
6880 | P0: ::windows::core::IntoParam<ID3D11LinkingNode>, | |
6881 | P1: ::windows::core::IntoParam<ID3D11LinkingNode>, | |
6882 | { | |
6883 | (::windows::core::Interface::vtable(self).PassValue)(::windows::core::Interface::as_raw(self), psrcnode.into_param().abi(), srcparameterindex, pdstnode.into_param().abi(), dstparameterindex).ok() | |
6884 | } | |
6885 | pub unsafe fn PassValueWithSwizzle<P0, P1, P2, P3>(&self, psrcnode: P0, srcparameterindex: i32, psrcswizzle: P1, pdstnode: P2, dstparameterindex: i32, pdstswizzle: P3) -> ::windows::core::Result<()> | |
6886 | where | |
6887 | P0: ::windows::core::IntoParam<ID3D11LinkingNode>, | |
6888 | P1: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
6889 | P2: ::windows::core::IntoParam<ID3D11LinkingNode>, | |
6890 | P3: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
6891 | { | |
6892 | (::windows::core::Interface::vtable(self).PassValueWithSwizzle)(::windows::core::Interface::as_raw(self), psrcnode.into_param().abi(), srcparameterindex, psrcswizzle.into_param().abi(), pdstnode.into_param().abi(), dstparameterindex, pdstswizzle.into_param().abi()).ok() | |
6893 | } | |
6894 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
6895 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
6896 | pub unsafe fn GetLastError(&self, pperrorbuffer: ::core::option::Option<*mut ::core::option::Option<super::Direct3D::ID3DBlob>>) -> ::windows::core::Result<()> { | |
6897 | (::windows::core::Interface::vtable(self).GetLastError)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pperrorbuffer.unwrap_or(::std::ptr::null_mut()))).ok() | |
6898 | } | |
6899 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
6900 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
6901 | pub unsafe fn GenerateHlsl(&self, uflags: u32) -> ::windows::core::Result<super::Direct3D::ID3DBlob> { | |
6902 | let mut result__ = ::windows::core::zeroed::<super::Direct3D::ID3DBlob>(); | |
6903 | (::windows::core::Interface::vtable(self).GenerateHlsl)(::windows::core::Interface::as_raw(self), uflags, &mut result__).from_abi(result__) | |
6904 | } | |
6905 | } | |
6906 | ::windows::imp::interface_hierarchy!(ID3D11FunctionLinkingGraph, ::windows::core::IUnknown); | |
6907 | impl ::core::cmp::PartialEq for ID3D11FunctionLinkingGraph { | |
6908 | fn eq(&self, other: &Self) -> bool { | |
6909 | self.0 == other.0 | |
6910 | } | |
6911 | } | |
6912 | impl ::core::cmp::Eq for ID3D11FunctionLinkingGraph {} | |
6913 | impl ::core::fmt::Debug for ID3D11FunctionLinkingGraph { | |
6914 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6915 | f.debug_tuple("ID3D11FunctionLinkingGraph").field(&self.0).finish() | |
6916 | } | |
6917 | } | |
6918 | unsafe impl ::core::marker::Send for ID3D11FunctionLinkingGraph {} | |
6919 | unsafe impl ::core::marker::Sync for ID3D11FunctionLinkingGraph {} | |
6920 | unsafe impl ::windows::core::Interface for ID3D11FunctionLinkingGraph { | |
6921 | type Vtable = ID3D11FunctionLinkingGraph_Vtbl; | |
6922 | } | |
6923 | impl ::core::clone::Clone for ID3D11FunctionLinkingGraph { | |
6924 | fn clone(&self) -> Self { | |
6925 | Self(self.0.clone()) | |
6926 | } | |
6927 | } | |
6928 | unsafe impl ::windows::core::ComInterface for ID3D11FunctionLinkingGraph { | |
6929 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x54133220_1ce8_43d3_8236_9855c5ceecff); | |
6930 | } | |
6931 | #[repr(C)] | |
6932 | #[doc(hidden)] | |
6933 | pub struct ID3D11FunctionLinkingGraph_Vtbl { | |
6934 | pub base__: ::windows::core::IUnknown_Vtbl, | |
6935 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
6936 | pub CreateModuleInstance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppmoduleinstance: *mut *mut ::core::ffi::c_void, pperrorbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
6937 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
6938 | CreateModuleInstance: usize, | |
6939 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
6940 | pub SetInputSignature: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinputparameters: *const D3D11_PARAMETER_DESC, cinputparameters: u32, ppinputnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
6941 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
6942 | SetInputSignature: usize, | |
6943 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
6944 | pub SetOutputSignature: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, poutputparameters: *const D3D11_PARAMETER_DESC, coutputparameters: u32, ppoutputnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
6945 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
6946 | SetOutputSignature: usize, | |
6947 | pub CallFunction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pmoduleinstancenamespace: ::windows::core::PCSTR, pmodulewithfunctionprototype: *mut ::core::ffi::c_void, pfunctionname: ::windows::core::PCSTR, ppcallnode: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
6948 | pub PassValue: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psrcnode: *mut ::core::ffi::c_void, srcparameterindex: i32, pdstnode: *mut ::core::ffi::c_void, dstparameterindex: i32) -> ::windows::core::HRESULT, | |
6949 | pub PassValueWithSwizzle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psrcnode: *mut ::core::ffi::c_void, srcparameterindex: i32, psrcswizzle: ::windows::core::PCSTR, pdstnode: *mut ::core::ffi::c_void, dstparameterindex: i32, pdstswizzle: ::windows::core::PCSTR) -> ::windows::core::HRESULT, | |
6950 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
6951 | pub GetLastError: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pperrorbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
6952 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
6953 | GetLastError: usize, | |
6954 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
6955 | pub GenerateHlsl: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uflags: u32, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
6956 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
6957 | GenerateHlsl: usize, | |
6958 | } | |
6959 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
6960 | #[repr(transparent)] | |
6961 | pub struct ID3D11FunctionParameterReflection(::std::ptr::NonNull<::std::ffi::c_void>); | |
6962 | impl ID3D11FunctionParameterReflection { | |
6963 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
6964 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
6965 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_PARAMETER_DESC) -> ::windows::core::Result<()> { | |
6966 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc).ok() | |
6967 | } | |
6968 | } | |
6969 | impl ::core::cmp::PartialEq for ID3D11FunctionParameterReflection { | |
6970 | fn eq(&self, other: &Self) -> bool { | |
6971 | self.0 == other.0 | |
6972 | } | |
6973 | } | |
6974 | impl ::core::cmp::Eq for ID3D11FunctionParameterReflection {} | |
6975 | impl ::core::fmt::Debug for ID3D11FunctionParameterReflection { | |
6976 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
6977 | f.debug_tuple("ID3D11FunctionParameterReflection").field(&self.0).finish() | |
6978 | } | |
6979 | } | |
6980 | unsafe impl ::core::marker::Send for ID3D11FunctionParameterReflection {} | |
6981 | unsafe impl ::core::marker::Sync for ID3D11FunctionParameterReflection {} | |
6982 | unsafe impl ::windows::core::Interface for ID3D11FunctionParameterReflection { | |
6983 | type Vtable = ID3D11FunctionParameterReflection_Vtbl; | |
6984 | } | |
6985 | impl ::core::clone::Clone for ID3D11FunctionParameterReflection { | |
6986 | fn clone(&self) -> Self { | |
6987 | Self(self.0.clone()) | |
6988 | } | |
6989 | } | |
6990 | #[repr(C)] | |
6991 | #[doc(hidden)] | |
6992 | pub struct ID3D11FunctionParameterReflection_Vtbl { | |
6993 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
6994 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_PARAMETER_DESC) -> ::windows::core::HRESULT, | |
6995 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
6996 | GetDesc: usize, | |
6997 | } | |
6998 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
6999 | #[repr(transparent)] | |
7000 | pub struct ID3D11FunctionReflection(::std::ptr::NonNull<::std::ffi::c_void>); | |
7001 | impl ID3D11FunctionReflection { | |
7002 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`*"] | |
7003 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D"))] | |
7004 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_FUNCTION_DESC) -> ::windows::core::Result<()> { | |
7005 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc).ok() | |
7006 | } | |
7007 | pub unsafe fn GetConstantBufferByIndex(&self, bufferindex: u32) -> ::core::option::Option<ID3D11ShaderReflectionConstantBuffer> { | |
7008 | (::windows::core::Interface::vtable(self).GetConstantBufferByIndex)(::windows::core::Interface::as_raw(self), bufferindex) | |
7009 | } | |
7010 | pub unsafe fn GetConstantBufferByName<P0>(&self, name: P0) -> ::core::option::Option<ID3D11ShaderReflectionConstantBuffer> | |
7011 | where | |
7012 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
7013 | { | |
7014 | (::windows::core::Interface::vtable(self).GetConstantBufferByName)(::windows::core::Interface::as_raw(self), name.into_param().abi()) | |
7015 | } | |
7016 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
7017 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
7018 | pub unsafe fn GetResourceBindingDesc(&self, resourceindex: u32, pdesc: *mut D3D11_SHADER_INPUT_BIND_DESC) -> ::windows::core::Result<()> { | |
7019 | (::windows::core::Interface::vtable(self).GetResourceBindingDesc)(::windows::core::Interface::as_raw(self), resourceindex, pdesc).ok() | |
7020 | } | |
7021 | pub unsafe fn GetVariableByName<P0>(&self, name: P0) -> ::core::option::Option<ID3D11ShaderReflectionVariable> | |
7022 | where | |
7023 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
7024 | { | |
7025 | (::windows::core::Interface::vtable(self).GetVariableByName)(::windows::core::Interface::as_raw(self), name.into_param().abi()) | |
7026 | } | |
7027 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
7028 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
7029 | pub unsafe fn GetResourceBindingDescByName<P0>(&self, name: P0, pdesc: *mut D3D11_SHADER_INPUT_BIND_DESC) -> ::windows::core::Result<()> | |
7030 | where | |
7031 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
7032 | { | |
7033 | (::windows::core::Interface::vtable(self).GetResourceBindingDescByName)(::windows::core::Interface::as_raw(self), name.into_param().abi(), pdesc).ok() | |
7034 | } | |
7035 | pub unsafe fn GetFunctionParameter(&self, parameterindex: i32) -> ::core::option::Option<ID3D11FunctionParameterReflection> { | |
7036 | (::windows::core::Interface::vtable(self).GetFunctionParameter)(::windows::core::Interface::as_raw(self), parameterindex) | |
7037 | } | |
7038 | } | |
7039 | impl ::core::cmp::PartialEq for ID3D11FunctionReflection { | |
7040 | fn eq(&self, other: &Self) -> bool { | |
7041 | self.0 == other.0 | |
7042 | } | |
7043 | } | |
7044 | impl ::core::cmp::Eq for ID3D11FunctionReflection {} | |
7045 | impl ::core::fmt::Debug for ID3D11FunctionReflection { | |
7046 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7047 | f.debug_tuple("ID3D11FunctionReflection").field(&self.0).finish() | |
7048 | } | |
7049 | } | |
7050 | unsafe impl ::core::marker::Send for ID3D11FunctionReflection {} | |
7051 | unsafe impl ::core::marker::Sync for ID3D11FunctionReflection {} | |
7052 | unsafe impl ::windows::core::Interface for ID3D11FunctionReflection { | |
7053 | type Vtable = ID3D11FunctionReflection_Vtbl; | |
7054 | } | |
7055 | impl ::core::clone::Clone for ID3D11FunctionReflection { | |
7056 | fn clone(&self) -> Self { | |
7057 | Self(self.0.clone()) | |
7058 | } | |
7059 | } | |
7060 | #[repr(C)] | |
7061 | #[doc(hidden)] | |
7062 | pub struct ID3D11FunctionReflection_Vtbl { | |
7063 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D"))] | |
7064 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_FUNCTION_DESC) -> ::windows::core::HRESULT, | |
7065 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D")))] | |
7066 | GetDesc: usize, | |
7067 | pub GetConstantBufferByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bufferindex: u32) -> ::core::option::Option<ID3D11ShaderReflectionConstantBuffer>, | |
7068 | pub GetConstantBufferByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::windows::core::PCSTR) -> ::core::option::Option<ID3D11ShaderReflectionConstantBuffer>, | |
7069 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
7070 | pub GetResourceBindingDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, resourceindex: u32, pdesc: *mut D3D11_SHADER_INPUT_BIND_DESC) -> ::windows::core::HRESULT, | |
7071 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
7072 | GetResourceBindingDesc: usize, | |
7073 | pub GetVariableByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::windows::core::PCSTR) -> ::core::option::Option<ID3D11ShaderReflectionVariable>, | |
7074 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
7075 | pub GetResourceBindingDescByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::windows::core::PCSTR, pdesc: *mut D3D11_SHADER_INPUT_BIND_DESC) -> ::windows::core::HRESULT, | |
7076 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
7077 | GetResourceBindingDescByName: usize, | |
7078 | pub GetFunctionParameter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, parameterindex: i32) -> ::core::option::Option<ID3D11FunctionParameterReflection>, | |
7079 | } | |
7080 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
7081 | #[repr(transparent)] | |
7082 | pub struct ID3D11GeometryShader(::windows::core::IUnknown); | |
7083 | impl ID3D11GeometryShader { | |
7084 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
7085 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
7086 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
7087 | ::windows::core::from_abi(result__) | |
7088 | } | |
7089 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
7090 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
7091 | } | |
7092 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
7093 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
7094 | } | |
7095 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
7096 | where | |
7097 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
7098 | { | |
7099 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
7100 | } | |
7101 | } | |
7102 | ::windows::imp::interface_hierarchy!(ID3D11GeometryShader, ::windows::core::IUnknown, ID3D11DeviceChild); | |
7103 | impl ::core::cmp::PartialEq for ID3D11GeometryShader { | |
7104 | fn eq(&self, other: &Self) -> bool { | |
7105 | self.0 == other.0 | |
7106 | } | |
7107 | } | |
7108 | impl ::core::cmp::Eq for ID3D11GeometryShader {} | |
7109 | impl ::core::fmt::Debug for ID3D11GeometryShader { | |
7110 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7111 | f.debug_tuple("ID3D11GeometryShader").field(&self.0).finish() | |
7112 | } | |
7113 | } | |
7114 | unsafe impl ::core::marker::Send for ID3D11GeometryShader {} | |
7115 | unsafe impl ::core::marker::Sync for ID3D11GeometryShader {} | |
7116 | unsafe impl ::windows::core::Interface for ID3D11GeometryShader { | |
7117 | type Vtable = ID3D11GeometryShader_Vtbl; | |
7118 | } | |
7119 | impl ::core::clone::Clone for ID3D11GeometryShader { | |
7120 | fn clone(&self) -> Self { | |
7121 | Self(self.0.clone()) | |
7122 | } | |
7123 | } | |
7124 | unsafe impl ::windows::core::ComInterface for ID3D11GeometryShader { | |
7125 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x38325b96_effb_4022_ba02_2e795b70275c); | |
7126 | } | |
7127 | #[repr(C)] | |
7128 | #[doc(hidden)] | |
7129 | pub struct ID3D11GeometryShader_Vtbl { | |
7130 | pub base__: ID3D11DeviceChild_Vtbl, | |
7131 | } | |
7132 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
7133 | #[repr(transparent)] | |
7134 | pub struct ID3D11HullShader(::windows::core::IUnknown); | |
7135 | impl ID3D11HullShader { | |
7136 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
7137 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
7138 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
7139 | ::windows::core::from_abi(result__) | |
7140 | } | |
7141 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
7142 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
7143 | } | |
7144 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
7145 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
7146 | } | |
7147 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
7148 | where | |
7149 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
7150 | { | |
7151 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
7152 | } | |
7153 | } | |
7154 | ::windows::imp::interface_hierarchy!(ID3D11HullShader, ::windows::core::IUnknown, ID3D11DeviceChild); | |
7155 | impl ::core::cmp::PartialEq for ID3D11HullShader { | |
7156 | fn eq(&self, other: &Self) -> bool { | |
7157 | self.0 == other.0 | |
7158 | } | |
7159 | } | |
7160 | impl ::core::cmp::Eq for ID3D11HullShader {} | |
7161 | impl ::core::fmt::Debug for ID3D11HullShader { | |
7162 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7163 | f.debug_tuple("ID3D11HullShader").field(&self.0).finish() | |
7164 | } | |
7165 | } | |
7166 | unsafe impl ::core::marker::Send for ID3D11HullShader {} | |
7167 | unsafe impl ::core::marker::Sync for ID3D11HullShader {} | |
7168 | unsafe impl ::windows::core::Interface for ID3D11HullShader { | |
7169 | type Vtable = ID3D11HullShader_Vtbl; | |
7170 | } | |
7171 | impl ::core::clone::Clone for ID3D11HullShader { | |
7172 | fn clone(&self) -> Self { | |
7173 | Self(self.0.clone()) | |
7174 | } | |
7175 | } | |
7176 | unsafe impl ::windows::core::ComInterface for ID3D11HullShader { | |
7177 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x8e5c6061_628a_4c8e_8264_bbe45cb3d5dd); | |
7178 | } | |
7179 | #[repr(C)] | |
7180 | #[doc(hidden)] | |
7181 | pub struct ID3D11HullShader_Vtbl { | |
7182 | pub base__: ID3D11DeviceChild_Vtbl, | |
7183 | } | |
7184 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
7185 | #[repr(transparent)] | |
7186 | pub struct ID3D11InfoQueue(::windows::core::IUnknown); | |
7187 | impl ID3D11InfoQueue { | |
7188 | pub unsafe fn SetMessageCountLimit(&self, messagecountlimit: u64) -> ::windows::core::Result<()> { | |
7189 | (::windows::core::Interface::vtable(self).SetMessageCountLimit)(::windows::core::Interface::as_raw(self), messagecountlimit).ok() | |
7190 | } | |
7191 | pub unsafe fn ClearStoredMessages(&self) { | |
7192 | (::windows::core::Interface::vtable(self).ClearStoredMessages)(::windows::core::Interface::as_raw(self)) | |
7193 | } | |
7194 | pub unsafe fn GetMessage(&self, messageindex: u64, pmessage: ::core::option::Option<*mut D3D11_MESSAGE>, pmessagebytelength: *mut usize) -> ::windows::core::Result<()> { | |
7195 | (::windows::core::Interface::vtable(self).GetMessage)(::windows::core::Interface::as_raw(self), messageindex, ::core::mem::transmute(pmessage.unwrap_or(::std::ptr::null_mut())), pmessagebytelength).ok() | |
7196 | } | |
7197 | pub unsafe fn GetNumMessagesAllowedByStorageFilter(&self) -> u64 { | |
7198 | (::windows::core::Interface::vtable(self).GetNumMessagesAllowedByStorageFilter)(::windows::core::Interface::as_raw(self)) | |
7199 | } | |
7200 | pub unsafe fn GetNumMessagesDeniedByStorageFilter(&self) -> u64 { | |
7201 | (::windows::core::Interface::vtable(self).GetNumMessagesDeniedByStorageFilter)(::windows::core::Interface::as_raw(self)) | |
7202 | } | |
7203 | pub unsafe fn GetNumStoredMessages(&self) -> u64 { | |
7204 | (::windows::core::Interface::vtable(self).GetNumStoredMessages)(::windows::core::Interface::as_raw(self)) | |
7205 | } | |
7206 | pub unsafe fn GetNumStoredMessagesAllowedByRetrievalFilter(&self) -> u64 { | |
7207 | (::windows::core::Interface::vtable(self).GetNumStoredMessagesAllowedByRetrievalFilter)(::windows::core::Interface::as_raw(self)) | |
7208 | } | |
7209 | pub unsafe fn GetNumMessagesDiscardedByMessageCountLimit(&self) -> u64 { | |
7210 | (::windows::core::Interface::vtable(self).GetNumMessagesDiscardedByMessageCountLimit)(::windows::core::Interface::as_raw(self)) | |
7211 | } | |
7212 | pub unsafe fn GetMessageCountLimit(&self) -> u64 { | |
7213 | (::windows::core::Interface::vtable(self).GetMessageCountLimit)(::windows::core::Interface::as_raw(self)) | |
7214 | } | |
7215 | pub unsafe fn AddStorageFilterEntries(&self, pfilter: *const D3D11_INFO_QUEUE_FILTER) -> ::windows::core::Result<()> { | |
7216 | (::windows::core::Interface::vtable(self).AddStorageFilterEntries)(::windows::core::Interface::as_raw(self), pfilter).ok() | |
7217 | } | |
7218 | pub unsafe fn GetStorageFilter(&self, pfilter: ::core::option::Option<*mut D3D11_INFO_QUEUE_FILTER>, pfilterbytelength: *mut usize) -> ::windows::core::Result<()> { | |
7219 | (::windows::core::Interface::vtable(self).GetStorageFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pfilter.unwrap_or(::std::ptr::null_mut())), pfilterbytelength).ok() | |
7220 | } | |
7221 | pub unsafe fn ClearStorageFilter(&self) { | |
7222 | (::windows::core::Interface::vtable(self).ClearStorageFilter)(::windows::core::Interface::as_raw(self)) | |
7223 | } | |
7224 | pub unsafe fn PushEmptyStorageFilter(&self) -> ::windows::core::Result<()> { | |
7225 | (::windows::core::Interface::vtable(self).PushEmptyStorageFilter)(::windows::core::Interface::as_raw(self)).ok() | |
7226 | } | |
7227 | pub unsafe fn PushCopyOfStorageFilter(&self) -> ::windows::core::Result<()> { | |
7228 | (::windows::core::Interface::vtable(self).PushCopyOfStorageFilter)(::windows::core::Interface::as_raw(self)).ok() | |
7229 | } | |
7230 | pub unsafe fn PushStorageFilter(&self, pfilter: *const D3D11_INFO_QUEUE_FILTER) -> ::windows::core::Result<()> { | |
7231 | (::windows::core::Interface::vtable(self).PushStorageFilter)(::windows::core::Interface::as_raw(self), pfilter).ok() | |
7232 | } | |
7233 | pub unsafe fn PopStorageFilter(&self) { | |
7234 | (::windows::core::Interface::vtable(self).PopStorageFilter)(::windows::core::Interface::as_raw(self)) | |
7235 | } | |
7236 | pub unsafe fn GetStorageFilterStackSize(&self) -> u32 { | |
7237 | (::windows::core::Interface::vtable(self).GetStorageFilterStackSize)(::windows::core::Interface::as_raw(self)) | |
7238 | } | |
7239 | pub unsafe fn AddRetrievalFilterEntries(&self, pfilter: *const D3D11_INFO_QUEUE_FILTER) -> ::windows::core::Result<()> { | |
7240 | (::windows::core::Interface::vtable(self).AddRetrievalFilterEntries)(::windows::core::Interface::as_raw(self), pfilter).ok() | |
7241 | } | |
7242 | pub unsafe fn GetRetrievalFilter(&self, pfilter: ::core::option::Option<*mut D3D11_INFO_QUEUE_FILTER>, pfilterbytelength: *mut usize) -> ::windows::core::Result<()> { | |
7243 | (::windows::core::Interface::vtable(self).GetRetrievalFilter)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pfilter.unwrap_or(::std::ptr::null_mut())), pfilterbytelength).ok() | |
7244 | } | |
7245 | pub unsafe fn ClearRetrievalFilter(&self) { | |
7246 | (::windows::core::Interface::vtable(self).ClearRetrievalFilter)(::windows::core::Interface::as_raw(self)) | |
7247 | } | |
7248 | pub unsafe fn PushEmptyRetrievalFilter(&self) -> ::windows::core::Result<()> { | |
7249 | (::windows::core::Interface::vtable(self).PushEmptyRetrievalFilter)(::windows::core::Interface::as_raw(self)).ok() | |
7250 | } | |
7251 | pub unsafe fn PushCopyOfRetrievalFilter(&self) -> ::windows::core::Result<()> { | |
7252 | (::windows::core::Interface::vtable(self).PushCopyOfRetrievalFilter)(::windows::core::Interface::as_raw(self)).ok() | |
7253 | } | |
7254 | pub unsafe fn PushRetrievalFilter(&self, pfilter: *const D3D11_INFO_QUEUE_FILTER) -> ::windows::core::Result<()> { | |
7255 | (::windows::core::Interface::vtable(self).PushRetrievalFilter)(::windows::core::Interface::as_raw(self), pfilter).ok() | |
7256 | } | |
7257 | pub unsafe fn PopRetrievalFilter(&self) { | |
7258 | (::windows::core::Interface::vtable(self).PopRetrievalFilter)(::windows::core::Interface::as_raw(self)) | |
7259 | } | |
7260 | pub unsafe fn GetRetrievalFilterStackSize(&self) -> u32 { | |
7261 | (::windows::core::Interface::vtable(self).GetRetrievalFilterStackSize)(::windows::core::Interface::as_raw(self)) | |
7262 | } | |
7263 | pub unsafe fn AddMessage<P0>(&self, category: D3D11_MESSAGE_CATEGORY, severity: D3D11_MESSAGE_SEVERITY, id: D3D11_MESSAGE_ID, pdescription: P0) -> ::windows::core::Result<()> | |
7264 | where | |
7265 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
7266 | { | |
7267 | (::windows::core::Interface::vtable(self).AddMessage)(::windows::core::Interface::as_raw(self), category, severity, id, pdescription.into_param().abi()).ok() | |
7268 | } | |
7269 | pub unsafe fn AddApplicationMessage<P0>(&self, severity: D3D11_MESSAGE_SEVERITY, pdescription: P0) -> ::windows::core::Result<()> | |
7270 | where | |
7271 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
7272 | { | |
7273 | (::windows::core::Interface::vtable(self).AddApplicationMessage)(::windows::core::Interface::as_raw(self), severity, pdescription.into_param().abi()).ok() | |
7274 | } | |
7275 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7276 | #[cfg(feature = "Win32_Foundation")] | |
7277 | pub unsafe fn SetBreakOnCategory<P0>(&self, category: D3D11_MESSAGE_CATEGORY, benable: P0) -> ::windows::core::Result<()> | |
7278 | where | |
7279 | P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
7280 | { | |
7281 | (::windows::core::Interface::vtable(self).SetBreakOnCategory)(::windows::core::Interface::as_raw(self), category, benable.into_param().abi()).ok() | |
7282 | } | |
7283 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7284 | #[cfg(feature = "Win32_Foundation")] | |
7285 | pub unsafe fn SetBreakOnSeverity<P0>(&self, severity: D3D11_MESSAGE_SEVERITY, benable: P0) -> ::windows::core::Result<()> | |
7286 | where | |
7287 | P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
7288 | { | |
7289 | (::windows::core::Interface::vtable(self).SetBreakOnSeverity)(::windows::core::Interface::as_raw(self), severity, benable.into_param().abi()).ok() | |
7290 | } | |
7291 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7292 | #[cfg(feature = "Win32_Foundation")] | |
7293 | pub unsafe fn SetBreakOnID<P0>(&self, id: D3D11_MESSAGE_ID, benable: P0) -> ::windows::core::Result<()> | |
7294 | where | |
7295 | P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
7296 | { | |
7297 | (::windows::core::Interface::vtable(self).SetBreakOnID)(::windows::core::Interface::as_raw(self), id, benable.into_param().abi()).ok() | |
7298 | } | |
7299 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7300 | #[cfg(feature = "Win32_Foundation")] | |
7301 | pub unsafe fn GetBreakOnCategory(&self, category: D3D11_MESSAGE_CATEGORY) -> super::super::Foundation::BOOL { | |
7302 | (::windows::core::Interface::vtable(self).GetBreakOnCategory)(::windows::core::Interface::as_raw(self), category) | |
7303 | } | |
7304 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7305 | #[cfg(feature = "Win32_Foundation")] | |
7306 | pub unsafe fn GetBreakOnSeverity(&self, severity: D3D11_MESSAGE_SEVERITY) -> super::super::Foundation::BOOL { | |
7307 | (::windows::core::Interface::vtable(self).GetBreakOnSeverity)(::windows::core::Interface::as_raw(self), severity) | |
7308 | } | |
7309 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7310 | #[cfg(feature = "Win32_Foundation")] | |
7311 | pub unsafe fn GetBreakOnID(&self, id: D3D11_MESSAGE_ID) -> super::super::Foundation::BOOL { | |
7312 | (::windows::core::Interface::vtable(self).GetBreakOnID)(::windows::core::Interface::as_raw(self), id) | |
7313 | } | |
7314 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7315 | #[cfg(feature = "Win32_Foundation")] | |
7316 | pub unsafe fn SetMuteDebugOutput<P0>(&self, bmute: P0) | |
7317 | where | |
7318 | P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
7319 | { | |
7320 | (::windows::core::Interface::vtable(self).SetMuteDebugOutput)(::windows::core::Interface::as_raw(self), bmute.into_param().abi()) | |
7321 | } | |
7322 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7323 | #[cfg(feature = "Win32_Foundation")] | |
7324 | pub unsafe fn GetMuteDebugOutput(&self) -> super::super::Foundation::BOOL { | |
7325 | (::windows::core::Interface::vtable(self).GetMuteDebugOutput)(::windows::core::Interface::as_raw(self)) | |
7326 | } | |
7327 | } | |
7328 | ::windows::imp::interface_hierarchy!(ID3D11InfoQueue, ::windows::core::IUnknown); | |
7329 | impl ::core::cmp::PartialEq for ID3D11InfoQueue { | |
7330 | fn eq(&self, other: &Self) -> bool { | |
7331 | self.0 == other.0 | |
7332 | } | |
7333 | } | |
7334 | impl ::core::cmp::Eq for ID3D11InfoQueue {} | |
7335 | impl ::core::fmt::Debug for ID3D11InfoQueue { | |
7336 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7337 | f.debug_tuple("ID3D11InfoQueue").field(&self.0).finish() | |
7338 | } | |
7339 | } | |
7340 | unsafe impl ::core::marker::Send for ID3D11InfoQueue {} | |
7341 | unsafe impl ::core::marker::Sync for ID3D11InfoQueue {} | |
7342 | unsafe impl ::windows::core::Interface for ID3D11InfoQueue { | |
7343 | type Vtable = ID3D11InfoQueue_Vtbl; | |
7344 | } | |
7345 | impl ::core::clone::Clone for ID3D11InfoQueue { | |
7346 | fn clone(&self) -> Self { | |
7347 | Self(self.0.clone()) | |
7348 | } | |
7349 | } | |
7350 | unsafe impl ::windows::core::ComInterface for ID3D11InfoQueue { | |
7351 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6543dbb6_1b48_42f5_ab82_e97ec74326f6); | |
7352 | } | |
7353 | #[repr(C)] | |
7354 | #[doc(hidden)] | |
7355 | pub struct ID3D11InfoQueue_Vtbl { | |
7356 | pub base__: ::windows::core::IUnknown_Vtbl, | |
7357 | pub SetMessageCountLimit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, messagecountlimit: u64) -> ::windows::core::HRESULT, | |
7358 | pub ClearStoredMessages: unsafe extern "system" fn(this: *mut ::core::ffi::c_void), | |
7359 | pub GetMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, messageindex: u64, pmessage: *mut D3D11_MESSAGE, pmessagebytelength: *mut usize) -> ::windows::core::HRESULT, | |
7360 | pub GetNumMessagesAllowedByStorageFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u64, | |
7361 | pub GetNumMessagesDeniedByStorageFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u64, | |
7362 | pub GetNumStoredMessages: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u64, | |
7363 | pub GetNumStoredMessagesAllowedByRetrievalFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u64, | |
7364 | pub GetNumMessagesDiscardedByMessageCountLimit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u64, | |
7365 | pub GetMessageCountLimit: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u64, | |
7366 | pub AddStorageFilterEntries: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfilter: *const D3D11_INFO_QUEUE_FILTER) -> ::windows::core::HRESULT, | |
7367 | pub GetStorageFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfilter: *mut D3D11_INFO_QUEUE_FILTER, pfilterbytelength: *mut usize) -> ::windows::core::HRESULT, | |
7368 | pub ClearStorageFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void), | |
7369 | pub PushEmptyStorageFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7370 | pub PushCopyOfStorageFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7371 | pub PushStorageFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfilter: *const D3D11_INFO_QUEUE_FILTER) -> ::windows::core::HRESULT, | |
7372 | pub PopStorageFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void), | |
7373 | pub GetStorageFilterStackSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, | |
7374 | pub AddRetrievalFilterEntries: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfilter: *const D3D11_INFO_QUEUE_FILTER) -> ::windows::core::HRESULT, | |
7375 | pub GetRetrievalFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfilter: *mut D3D11_INFO_QUEUE_FILTER, pfilterbytelength: *mut usize) -> ::windows::core::HRESULT, | |
7376 | pub ClearRetrievalFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void), | |
7377 | pub PushEmptyRetrievalFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7378 | pub PushCopyOfRetrievalFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7379 | pub PushRetrievalFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pfilter: *const D3D11_INFO_QUEUE_FILTER) -> ::windows::core::HRESULT, | |
7380 | pub PopRetrievalFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void), | |
7381 | pub GetRetrievalFilterStackSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, | |
7382 | pub AddMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, category: D3D11_MESSAGE_CATEGORY, severity: D3D11_MESSAGE_SEVERITY, id: D3D11_MESSAGE_ID, pdescription: ::windows::core::PCSTR) -> ::windows::core::HRESULT, | |
7383 | pub AddApplicationMessage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, severity: D3D11_MESSAGE_SEVERITY, pdescription: ::windows::core::PCSTR) -> ::windows::core::HRESULT, | |
7384 | #[cfg(feature = "Win32_Foundation")] | |
7385 | pub SetBreakOnCategory: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, category: D3D11_MESSAGE_CATEGORY, benable: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
7386 | #[cfg(not(feature = "Win32_Foundation"))] | |
7387 | SetBreakOnCategory: usize, | |
7388 | #[cfg(feature = "Win32_Foundation")] | |
7389 | pub SetBreakOnSeverity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, severity: D3D11_MESSAGE_SEVERITY, benable: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
7390 | #[cfg(not(feature = "Win32_Foundation"))] | |
7391 | SetBreakOnSeverity: usize, | |
7392 | #[cfg(feature = "Win32_Foundation")] | |
7393 | pub SetBreakOnID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, id: D3D11_MESSAGE_ID, benable: super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
7394 | #[cfg(not(feature = "Win32_Foundation"))] | |
7395 | SetBreakOnID: usize, | |
7396 | #[cfg(feature = "Win32_Foundation")] | |
7397 | pub GetBreakOnCategory: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, category: D3D11_MESSAGE_CATEGORY) -> super::super::Foundation::BOOL, | |
7398 | #[cfg(not(feature = "Win32_Foundation"))] | |
7399 | GetBreakOnCategory: usize, | |
7400 | #[cfg(feature = "Win32_Foundation")] | |
7401 | pub GetBreakOnSeverity: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, severity: D3D11_MESSAGE_SEVERITY) -> super::super::Foundation::BOOL, | |
7402 | #[cfg(not(feature = "Win32_Foundation"))] | |
7403 | GetBreakOnSeverity: usize, | |
7404 | #[cfg(feature = "Win32_Foundation")] | |
7405 | pub GetBreakOnID: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, id: D3D11_MESSAGE_ID) -> super::super::Foundation::BOOL, | |
7406 | #[cfg(not(feature = "Win32_Foundation"))] | |
7407 | GetBreakOnID: usize, | |
7408 | #[cfg(feature = "Win32_Foundation")] | |
7409 | pub SetMuteDebugOutput: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bmute: super::super::Foundation::BOOL), | |
7410 | #[cfg(not(feature = "Win32_Foundation"))] | |
7411 | SetMuteDebugOutput: usize, | |
7412 | #[cfg(feature = "Win32_Foundation")] | |
7413 | pub GetMuteDebugOutput: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL, | |
7414 | #[cfg(not(feature = "Win32_Foundation"))] | |
7415 | GetMuteDebugOutput: usize, | |
7416 | } | |
7417 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
7418 | #[repr(transparent)] | |
7419 | pub struct ID3D11InputLayout(::windows::core::IUnknown); | |
7420 | impl ID3D11InputLayout { | |
7421 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
7422 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
7423 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
7424 | ::windows::core::from_abi(result__) | |
7425 | } | |
7426 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
7427 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
7428 | } | |
7429 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
7430 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
7431 | } | |
7432 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
7433 | where | |
7434 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
7435 | { | |
7436 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
7437 | } | |
7438 | } | |
7439 | ::windows::imp::interface_hierarchy!(ID3D11InputLayout, ::windows::core::IUnknown, ID3D11DeviceChild); | |
7440 | impl ::core::cmp::PartialEq for ID3D11InputLayout { | |
7441 | fn eq(&self, other: &Self) -> bool { | |
7442 | self.0 == other.0 | |
7443 | } | |
7444 | } | |
7445 | impl ::core::cmp::Eq for ID3D11InputLayout {} | |
7446 | impl ::core::fmt::Debug for ID3D11InputLayout { | |
7447 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7448 | f.debug_tuple("ID3D11InputLayout").field(&self.0).finish() | |
7449 | } | |
7450 | } | |
7451 | unsafe impl ::core::marker::Send for ID3D11InputLayout {} | |
7452 | unsafe impl ::core::marker::Sync for ID3D11InputLayout {} | |
7453 | unsafe impl ::windows::core::Interface for ID3D11InputLayout { | |
7454 | type Vtable = ID3D11InputLayout_Vtbl; | |
7455 | } | |
7456 | impl ::core::clone::Clone for ID3D11InputLayout { | |
7457 | fn clone(&self) -> Self { | |
7458 | Self(self.0.clone()) | |
7459 | } | |
7460 | } | |
7461 | unsafe impl ::windows::core::ComInterface for ID3D11InputLayout { | |
7462 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe4819ddc_4cf0_4025_bd26_5de82a3e07b7); | |
7463 | } | |
7464 | #[repr(C)] | |
7465 | #[doc(hidden)] | |
7466 | pub struct ID3D11InputLayout_Vtbl { | |
7467 | pub base__: ID3D11DeviceChild_Vtbl, | |
7468 | } | |
7469 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
7470 | #[repr(transparent)] | |
7471 | pub struct ID3D11LibraryReflection(::windows::core::IUnknown); | |
7472 | impl ID3D11LibraryReflection { | |
7473 | pub unsafe fn GetDesc(&self) -> ::windows::core::Result<D3D11_LIBRARY_DESC> { | |
7474 | let mut result__ = ::windows::core::zeroed::<D3D11_LIBRARY_DESC>(); | |
7475 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
7476 | } | |
7477 | pub unsafe fn GetFunctionByIndex(&self, functionindex: i32) -> ::core::option::Option<ID3D11FunctionReflection> { | |
7478 | (::windows::core::Interface::vtable(self).GetFunctionByIndex)(::windows::core::Interface::as_raw(self), functionindex) | |
7479 | } | |
7480 | } | |
7481 | ::windows::imp::interface_hierarchy!(ID3D11LibraryReflection, ::windows::core::IUnknown); | |
7482 | impl ::core::cmp::PartialEq for ID3D11LibraryReflection { | |
7483 | fn eq(&self, other: &Self) -> bool { | |
7484 | self.0 == other.0 | |
7485 | } | |
7486 | } | |
7487 | impl ::core::cmp::Eq for ID3D11LibraryReflection {} | |
7488 | impl ::core::fmt::Debug for ID3D11LibraryReflection { | |
7489 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7490 | f.debug_tuple("ID3D11LibraryReflection").field(&self.0).finish() | |
7491 | } | |
7492 | } | |
7493 | unsafe impl ::core::marker::Send for ID3D11LibraryReflection {} | |
7494 | unsafe impl ::core::marker::Sync for ID3D11LibraryReflection {} | |
7495 | unsafe impl ::windows::core::Interface for ID3D11LibraryReflection { | |
7496 | type Vtable = ID3D11LibraryReflection_Vtbl; | |
7497 | } | |
7498 | impl ::core::clone::Clone for ID3D11LibraryReflection { | |
7499 | fn clone(&self) -> Self { | |
7500 | Self(self.0.clone()) | |
7501 | } | |
7502 | } | |
7503 | unsafe impl ::windows::core::ComInterface for ID3D11LibraryReflection { | |
7504 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x54384f1b_5b3e_4bb7_ae01_60ba3097cbb6); | |
7505 | } | |
7506 | #[repr(C)] | |
7507 | #[doc(hidden)] | |
7508 | pub struct ID3D11LibraryReflection_Vtbl { | |
7509 | pub base__: ::windows::core::IUnknown_Vtbl, | |
7510 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_LIBRARY_DESC) -> ::windows::core::HRESULT, | |
7511 | pub GetFunctionByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, functionindex: i32) -> ::core::option::Option<ID3D11FunctionReflection>, | |
7512 | } | |
7513 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
7514 | #[repr(transparent)] | |
7515 | pub struct ID3D11Linker(::windows::core::IUnknown); | |
7516 | impl ID3D11Linker { | |
7517 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
7518 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
7519 | pub unsafe fn Link<P0, P1, P2>(&self, pentry: P0, pentryname: P1, ptargetname: P2, uflags: u32, ppshaderblob: *mut ::core::option::Option<super::Direct3D::ID3DBlob>, pperrorbuffer: ::core::option::Option<*mut ::core::option::Option<super::Direct3D::ID3DBlob>>) -> ::windows::core::Result<()> | |
7520 | where | |
7521 | P0: ::windows::core::IntoParam<ID3D11ModuleInstance>, | |
7522 | P1: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
7523 | P2: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
7524 | { | |
7525 | (::windows::core::Interface::vtable(self).Link)(::windows::core::Interface::as_raw(self), pentry.into_param().abi(), pentryname.into_param().abi(), ptargetname.into_param().abi(), uflags, ::core::mem::transmute(ppshaderblob), ::core::mem::transmute(pperrorbuffer.unwrap_or(::std::ptr::null_mut()))).ok() | |
7526 | } | |
7527 | pub unsafe fn UseLibrary<P0>(&self, plibrarymi: P0) -> ::windows::core::Result<()> | |
7528 | where | |
7529 | P0: ::windows::core::IntoParam<ID3D11ModuleInstance>, | |
7530 | { | |
7531 | (::windows::core::Interface::vtable(self).UseLibrary)(::windows::core::Interface::as_raw(self), plibrarymi.into_param().abi()).ok() | |
7532 | } | |
7533 | pub unsafe fn AddClipPlaneFromCBuffer(&self, ucbufferslot: u32, ucbufferentry: u32) -> ::windows::core::Result<()> { | |
7534 | (::windows::core::Interface::vtable(self).AddClipPlaneFromCBuffer)(::windows::core::Interface::as_raw(self), ucbufferslot, ucbufferentry).ok() | |
7535 | } | |
7536 | } | |
7537 | ::windows::imp::interface_hierarchy!(ID3D11Linker, ::windows::core::IUnknown); | |
7538 | impl ::core::cmp::PartialEq for ID3D11Linker { | |
7539 | fn eq(&self, other: &Self) -> bool { | |
7540 | self.0 == other.0 | |
7541 | } | |
7542 | } | |
7543 | impl ::core::cmp::Eq for ID3D11Linker {} | |
7544 | impl ::core::fmt::Debug for ID3D11Linker { | |
7545 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7546 | f.debug_tuple("ID3D11Linker").field(&self.0).finish() | |
7547 | } | |
7548 | } | |
7549 | unsafe impl ::core::marker::Send for ID3D11Linker {} | |
7550 | unsafe impl ::core::marker::Sync for ID3D11Linker {} | |
7551 | unsafe impl ::windows::core::Interface for ID3D11Linker { | |
7552 | type Vtable = ID3D11Linker_Vtbl; | |
7553 | } | |
7554 | impl ::core::clone::Clone for ID3D11Linker { | |
7555 | fn clone(&self) -> Self { | |
7556 | Self(self.0.clone()) | |
7557 | } | |
7558 | } | |
7559 | unsafe impl ::windows::core::ComInterface for ID3D11Linker { | |
7560 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x59a6cd0e_e10d_4c1f_88c0_63aba1daf30e); | |
7561 | } | |
7562 | #[repr(C)] | |
7563 | #[doc(hidden)] | |
7564 | pub struct ID3D11Linker_Vtbl { | |
7565 | pub base__: ::windows::core::IUnknown_Vtbl, | |
7566 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
7567 | pub Link: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pentry: *mut ::core::ffi::c_void, pentryname: ::windows::core::PCSTR, ptargetname: ::windows::core::PCSTR, uflags: u32, ppshaderblob: *mut *mut ::core::ffi::c_void, pperrorbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7568 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
7569 | Link: usize, | |
7570 | pub UseLibrary: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, plibrarymi: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7571 | pub AddClipPlaneFromCBuffer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ucbufferslot: u32, ucbufferentry: u32) -> ::windows::core::HRESULT, | |
7572 | } | |
7573 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
7574 | #[repr(transparent)] | |
7575 | pub struct ID3D11LinkingNode(::windows::core::IUnknown); | |
7576 | impl ID3D11LinkingNode {} | |
7577 | ::windows::imp::interface_hierarchy!(ID3D11LinkingNode, ::windows::core::IUnknown); | |
7578 | impl ::core::cmp::PartialEq for ID3D11LinkingNode { | |
7579 | fn eq(&self, other: &Self) -> bool { | |
7580 | self.0 == other.0 | |
7581 | } | |
7582 | } | |
7583 | impl ::core::cmp::Eq for ID3D11LinkingNode {} | |
7584 | impl ::core::fmt::Debug for ID3D11LinkingNode { | |
7585 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7586 | f.debug_tuple("ID3D11LinkingNode").field(&self.0).finish() | |
7587 | } | |
7588 | } | |
7589 | unsafe impl ::core::marker::Send for ID3D11LinkingNode {} | |
7590 | unsafe impl ::core::marker::Sync for ID3D11LinkingNode {} | |
7591 | unsafe impl ::windows::core::Interface for ID3D11LinkingNode { | |
7592 | type Vtable = ID3D11LinkingNode_Vtbl; | |
7593 | } | |
7594 | impl ::core::clone::Clone for ID3D11LinkingNode { | |
7595 | fn clone(&self) -> Self { | |
7596 | Self(self.0.clone()) | |
7597 | } | |
7598 | } | |
7599 | unsafe impl ::windows::core::ComInterface for ID3D11LinkingNode { | |
7600 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd80dd70c_8d2f_4751_94a1_03c79b3556db); | |
7601 | } | |
7602 | #[repr(C)] | |
7603 | #[doc(hidden)] | |
7604 | pub struct ID3D11LinkingNode_Vtbl { | |
7605 | pub base__: ::windows::core::IUnknown_Vtbl, | |
7606 | } | |
7607 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
7608 | #[repr(transparent)] | |
7609 | pub struct ID3D11Module(::windows::core::IUnknown); | |
7610 | impl ID3D11Module { | |
7611 | pub unsafe fn CreateInstance<P0>(&self, pnamespace: P0) -> ::windows::core::Result<ID3D11ModuleInstance> | |
7612 | where | |
7613 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
7614 | { | |
7615 | let mut result__ = ::windows::core::zeroed::<ID3D11ModuleInstance>(); | |
7616 | (::windows::core::Interface::vtable(self).CreateInstance)(::windows::core::Interface::as_raw(self), pnamespace.into_param().abi(), &mut result__).from_abi(result__) | |
7617 | } | |
7618 | } | |
7619 | ::windows::imp::interface_hierarchy!(ID3D11Module, ::windows::core::IUnknown); | |
7620 | impl ::core::cmp::PartialEq for ID3D11Module { | |
7621 | fn eq(&self, other: &Self) -> bool { | |
7622 | self.0 == other.0 | |
7623 | } | |
7624 | } | |
7625 | impl ::core::cmp::Eq for ID3D11Module {} | |
7626 | impl ::core::fmt::Debug for ID3D11Module { | |
7627 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7628 | f.debug_tuple("ID3D11Module").field(&self.0).finish() | |
7629 | } | |
7630 | } | |
7631 | unsafe impl ::core::marker::Send for ID3D11Module {} | |
7632 | unsafe impl ::core::marker::Sync for ID3D11Module {} | |
7633 | unsafe impl ::windows::core::Interface for ID3D11Module { | |
7634 | type Vtable = ID3D11Module_Vtbl; | |
7635 | } | |
7636 | impl ::core::clone::Clone for ID3D11Module { | |
7637 | fn clone(&self) -> Self { | |
7638 | Self(self.0.clone()) | |
7639 | } | |
7640 | } | |
7641 | unsafe impl ::windows::core::ComInterface for ID3D11Module { | |
7642 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xcac701ee_80fc_4122_8242_10b39c8cec34); | |
7643 | } | |
7644 | #[repr(C)] | |
7645 | #[doc(hidden)] | |
7646 | pub struct ID3D11Module_Vtbl { | |
7647 | pub base__: ::windows::core::IUnknown_Vtbl, | |
7648 | pub CreateInstance: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pnamespace: ::windows::core::PCSTR, ppmoduleinstance: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
7649 | } | |
7650 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
7651 | #[repr(transparent)] | |
7652 | pub struct ID3D11ModuleInstance(::windows::core::IUnknown); | |
7653 | impl ID3D11ModuleInstance { | |
7654 | pub unsafe fn BindConstantBuffer(&self, usrcslot: u32, udstslot: u32, cbdstoffset: u32) -> ::windows::core::Result<()> { | |
7655 | (::windows::core::Interface::vtable(self).BindConstantBuffer)(::windows::core::Interface::as_raw(self), usrcslot, udstslot, cbdstoffset).ok() | |
7656 | } | |
7657 | pub unsafe fn BindConstantBufferByName<P0>(&self, pname: P0, udstslot: u32, cbdstoffset: u32) -> ::windows::core::Result<()> | |
7658 | where | |
7659 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
7660 | { | |
7661 | (::windows::core::Interface::vtable(self).BindConstantBufferByName)(::windows::core::Interface::as_raw(self), pname.into_param().abi(), udstslot, cbdstoffset).ok() | |
7662 | } | |
7663 | pub unsafe fn BindResource(&self, usrcslot: u32, udstslot: u32, ucount: u32) -> ::windows::core::Result<()> { | |
7664 | (::windows::core::Interface::vtable(self).BindResource)(::windows::core::Interface::as_raw(self), usrcslot, udstslot, ucount).ok() | |
7665 | } | |
7666 | pub unsafe fn BindResourceByName<P0>(&self, pname: P0, udstslot: u32, ucount: u32) -> ::windows::core::Result<()> | |
7667 | where | |
7668 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
7669 | { | |
7670 | (::windows::core::Interface::vtable(self).BindResourceByName)(::windows::core::Interface::as_raw(self), pname.into_param().abi(), udstslot, ucount).ok() | |
7671 | } | |
7672 | pub unsafe fn BindSampler(&self, usrcslot: u32, udstslot: u32, ucount: u32) -> ::windows::core::Result<()> { | |
7673 | (::windows::core::Interface::vtable(self).BindSampler)(::windows::core::Interface::as_raw(self), usrcslot, udstslot, ucount).ok() | |
7674 | } | |
7675 | pub unsafe fn BindSamplerByName<P0>(&self, pname: P0, udstslot: u32, ucount: u32) -> ::windows::core::Result<()> | |
7676 | where | |
7677 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
7678 | { | |
7679 | (::windows::core::Interface::vtable(self).BindSamplerByName)(::windows::core::Interface::as_raw(self), pname.into_param().abi(), udstslot, ucount).ok() | |
7680 | } | |
7681 | pub unsafe fn BindUnorderedAccessView(&self, usrcslot: u32, udstslot: u32, ucount: u32) -> ::windows::core::Result<()> { | |
7682 | (::windows::core::Interface::vtable(self).BindUnorderedAccessView)(::windows::core::Interface::as_raw(self), usrcslot, udstslot, ucount).ok() | |
7683 | } | |
7684 | pub unsafe fn BindUnorderedAccessViewByName<P0>(&self, pname: P0, udstslot: u32, ucount: u32) -> ::windows::core::Result<()> | |
7685 | where | |
7686 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
7687 | { | |
7688 | (::windows::core::Interface::vtable(self).BindUnorderedAccessViewByName)(::windows::core::Interface::as_raw(self), pname.into_param().abi(), udstslot, ucount).ok() | |
7689 | } | |
7690 | pub unsafe fn BindResourceAsUnorderedAccessView(&self, usrcsrvslot: u32, udstuavslot: u32, ucount: u32) -> ::windows::core::Result<()> { | |
7691 | (::windows::core::Interface::vtable(self).BindResourceAsUnorderedAccessView)(::windows::core::Interface::as_raw(self), usrcsrvslot, udstuavslot, ucount).ok() | |
7692 | } | |
7693 | pub unsafe fn BindResourceAsUnorderedAccessViewByName<P0>(&self, psrvname: P0, udstuavslot: u32, ucount: u32) -> ::windows::core::Result<()> | |
7694 | where | |
7695 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
7696 | { | |
7697 | (::windows::core::Interface::vtable(self).BindResourceAsUnorderedAccessViewByName)(::windows::core::Interface::as_raw(self), psrvname.into_param().abi(), udstuavslot, ucount).ok() | |
7698 | } | |
7699 | } | |
7700 | ::windows::imp::interface_hierarchy!(ID3D11ModuleInstance, ::windows::core::IUnknown); | |
7701 | impl ::core::cmp::PartialEq for ID3D11ModuleInstance { | |
7702 | fn eq(&self, other: &Self) -> bool { | |
7703 | self.0 == other.0 | |
7704 | } | |
7705 | } | |
7706 | impl ::core::cmp::Eq for ID3D11ModuleInstance {} | |
7707 | impl ::core::fmt::Debug for ID3D11ModuleInstance { | |
7708 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7709 | f.debug_tuple("ID3D11ModuleInstance").field(&self.0).finish() | |
7710 | } | |
7711 | } | |
7712 | unsafe impl ::core::marker::Send for ID3D11ModuleInstance {} | |
7713 | unsafe impl ::core::marker::Sync for ID3D11ModuleInstance {} | |
7714 | unsafe impl ::windows::core::Interface for ID3D11ModuleInstance { | |
7715 | type Vtable = ID3D11ModuleInstance_Vtbl; | |
7716 | } | |
7717 | impl ::core::clone::Clone for ID3D11ModuleInstance { | |
7718 | fn clone(&self) -> Self { | |
7719 | Self(self.0.clone()) | |
7720 | } | |
7721 | } | |
7722 | unsafe impl ::windows::core::ComInterface for ID3D11ModuleInstance { | |
7723 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x469e07f7_045a_48d5_aa12_68a478cdf75d); | |
7724 | } | |
7725 | #[repr(C)] | |
7726 | #[doc(hidden)] | |
7727 | pub struct ID3D11ModuleInstance_Vtbl { | |
7728 | pub base__: ::windows::core::IUnknown_Vtbl, | |
7729 | pub BindConstantBuffer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, usrcslot: u32, udstslot: u32, cbdstoffset: u32) -> ::windows::core::HRESULT, | |
7730 | pub BindConstantBufferByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pname: ::windows::core::PCSTR, udstslot: u32, cbdstoffset: u32) -> ::windows::core::HRESULT, | |
7731 | pub BindResource: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, usrcslot: u32, udstslot: u32, ucount: u32) -> ::windows::core::HRESULT, | |
7732 | pub BindResourceByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pname: ::windows::core::PCSTR, udstslot: u32, ucount: u32) -> ::windows::core::HRESULT, | |
7733 | pub BindSampler: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, usrcslot: u32, udstslot: u32, ucount: u32) -> ::windows::core::HRESULT, | |
7734 | pub BindSamplerByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pname: ::windows::core::PCSTR, udstslot: u32, ucount: u32) -> ::windows::core::HRESULT, | |
7735 | pub BindUnorderedAccessView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, usrcslot: u32, udstslot: u32, ucount: u32) -> ::windows::core::HRESULT, | |
7736 | pub BindUnorderedAccessViewByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pname: ::windows::core::PCSTR, udstslot: u32, ucount: u32) -> ::windows::core::HRESULT, | |
7737 | pub BindResourceAsUnorderedAccessView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, usrcsrvslot: u32, udstuavslot: u32, ucount: u32) -> ::windows::core::HRESULT, | |
7738 | pub BindResourceAsUnorderedAccessViewByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psrvname: ::windows::core::PCSTR, udstuavslot: u32, ucount: u32) -> ::windows::core::HRESULT, | |
7739 | } | |
7740 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
7741 | #[repr(transparent)] | |
7742 | pub struct ID3D11Multithread(::windows::core::IUnknown); | |
7743 | impl ID3D11Multithread { | |
7744 | pub unsafe fn Enter(&self) { | |
7745 | (::windows::core::Interface::vtable(self).Enter)(::windows::core::Interface::as_raw(self)) | |
7746 | } | |
7747 | pub unsafe fn Leave(&self) { | |
7748 | (::windows::core::Interface::vtable(self).Leave)(::windows::core::Interface::as_raw(self)) | |
7749 | } | |
7750 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7751 | #[cfg(feature = "Win32_Foundation")] | |
7752 | pub unsafe fn SetMultithreadProtected<P0>(&self, bmtprotect: P0) -> super::super::Foundation::BOOL | |
7753 | where | |
7754 | P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
7755 | { | |
7756 | (::windows::core::Interface::vtable(self).SetMultithreadProtected)(::windows::core::Interface::as_raw(self), bmtprotect.into_param().abi()) | |
7757 | } | |
7758 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
7759 | #[cfg(feature = "Win32_Foundation")] | |
7760 | pub unsafe fn GetMultithreadProtected(&self) -> super::super::Foundation::BOOL { | |
7761 | (::windows::core::Interface::vtable(self).GetMultithreadProtected)(::windows::core::Interface::as_raw(self)) | |
7762 | } | |
7763 | } | |
7764 | ::windows::imp::interface_hierarchy!(ID3D11Multithread, ::windows::core::IUnknown); | |
7765 | impl ::core::cmp::PartialEq for ID3D11Multithread { | |
7766 | fn eq(&self, other: &Self) -> bool { | |
7767 | self.0 == other.0 | |
7768 | } | |
7769 | } | |
7770 | impl ::core::cmp::Eq for ID3D11Multithread {} | |
7771 | impl ::core::fmt::Debug for ID3D11Multithread { | |
7772 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7773 | f.debug_tuple("ID3D11Multithread").field(&self.0).finish() | |
7774 | } | |
7775 | } | |
7776 | unsafe impl ::core::marker::Send for ID3D11Multithread {} | |
7777 | unsafe impl ::core::marker::Sync for ID3D11Multithread {} | |
7778 | unsafe impl ::windows::core::Interface for ID3D11Multithread { | |
7779 | type Vtable = ID3D11Multithread_Vtbl; | |
7780 | } | |
7781 | impl ::core::clone::Clone for ID3D11Multithread { | |
7782 | fn clone(&self) -> Self { | |
7783 | Self(self.0.clone()) | |
7784 | } | |
7785 | } | |
7786 | unsafe impl ::windows::core::ComInterface for ID3D11Multithread { | |
7787 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x9b7e4e00_342c_4106_a19f_4f2704f689f0); | |
7788 | } | |
7789 | #[repr(C)] | |
7790 | #[doc(hidden)] | |
7791 | pub struct ID3D11Multithread_Vtbl { | |
7792 | pub base__: ::windows::core::IUnknown_Vtbl, | |
7793 | pub Enter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void), | |
7794 | pub Leave: unsafe extern "system" fn(this: *mut ::core::ffi::c_void), | |
7795 | #[cfg(feature = "Win32_Foundation")] | |
7796 | pub SetMultithreadProtected: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, bmtprotect: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL, | |
7797 | #[cfg(not(feature = "Win32_Foundation"))] | |
7798 | SetMultithreadProtected: usize, | |
7799 | #[cfg(feature = "Win32_Foundation")] | |
7800 | pub GetMultithreadProtected: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL, | |
7801 | #[cfg(not(feature = "Win32_Foundation"))] | |
7802 | GetMultithreadProtected: usize, | |
7803 | } | |
7804 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
7805 | #[repr(transparent)] | |
7806 | pub struct ID3D11PixelShader(::windows::core::IUnknown); | |
7807 | impl ID3D11PixelShader { | |
7808 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
7809 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
7810 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
7811 | ::windows::core::from_abi(result__) | |
7812 | } | |
7813 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
7814 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
7815 | } | |
7816 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
7817 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
7818 | } | |
7819 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
7820 | where | |
7821 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
7822 | { | |
7823 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
7824 | } | |
7825 | } | |
7826 | ::windows::imp::interface_hierarchy!(ID3D11PixelShader, ::windows::core::IUnknown, ID3D11DeviceChild); | |
7827 | impl ::core::cmp::PartialEq for ID3D11PixelShader { | |
7828 | fn eq(&self, other: &Self) -> bool { | |
7829 | self.0 == other.0 | |
7830 | } | |
7831 | } | |
7832 | impl ::core::cmp::Eq for ID3D11PixelShader {} | |
7833 | impl ::core::fmt::Debug for ID3D11PixelShader { | |
7834 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7835 | f.debug_tuple("ID3D11PixelShader").field(&self.0).finish() | |
7836 | } | |
7837 | } | |
7838 | unsafe impl ::core::marker::Send for ID3D11PixelShader {} | |
7839 | unsafe impl ::core::marker::Sync for ID3D11PixelShader {} | |
7840 | unsafe impl ::windows::core::Interface for ID3D11PixelShader { | |
7841 | type Vtable = ID3D11PixelShader_Vtbl; | |
7842 | } | |
7843 | impl ::core::clone::Clone for ID3D11PixelShader { | |
7844 | fn clone(&self) -> Self { | |
7845 | Self(self.0.clone()) | |
7846 | } | |
7847 | } | |
7848 | unsafe impl ::windows::core::ComInterface for ID3D11PixelShader { | |
7849 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xea82e40d_51dc_4f33_93d4_db7c9125ae8c); | |
7850 | } | |
7851 | #[repr(C)] | |
7852 | #[doc(hidden)] | |
7853 | pub struct ID3D11PixelShader_Vtbl { | |
7854 | pub base__: ID3D11DeviceChild_Vtbl, | |
7855 | } | |
7856 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
7857 | #[repr(transparent)] | |
7858 | pub struct ID3D11Predicate(::windows::core::IUnknown); | |
7859 | impl ID3D11Predicate { | |
7860 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
7861 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
7862 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
7863 | ::windows::core::from_abi(result__) | |
7864 | } | |
7865 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
7866 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
7867 | } | |
7868 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
7869 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
7870 | } | |
7871 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
7872 | where | |
7873 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
7874 | { | |
7875 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
7876 | } | |
7877 | pub unsafe fn GetDataSize(&self) -> u32 { | |
7878 | (::windows::core::Interface::vtable(self).base__.base__.GetDataSize)(::windows::core::Interface::as_raw(self)) | |
7879 | } | |
7880 | pub unsafe fn GetDesc(&self) -> D3D11_QUERY_DESC { | |
7881 | let mut result__ = ::windows::core::zeroed::<D3D11_QUERY_DESC>(); | |
7882 | (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), &mut result__); | |
7883 | ::std::mem::transmute(result__) | |
7884 | } | |
7885 | } | |
7886 | ::windows::imp::interface_hierarchy!(ID3D11Predicate, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous, ID3D11Query); | |
7887 | impl ::core::cmp::PartialEq for ID3D11Predicate { | |
7888 | fn eq(&self, other: &Self) -> bool { | |
7889 | self.0 == other.0 | |
7890 | } | |
7891 | } | |
7892 | impl ::core::cmp::Eq for ID3D11Predicate {} | |
7893 | impl ::core::fmt::Debug for ID3D11Predicate { | |
7894 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7895 | f.debug_tuple("ID3D11Predicate").field(&self.0).finish() | |
7896 | } | |
7897 | } | |
7898 | unsafe impl ::core::marker::Send for ID3D11Predicate {} | |
7899 | unsafe impl ::core::marker::Sync for ID3D11Predicate {} | |
7900 | unsafe impl ::windows::core::Interface for ID3D11Predicate { | |
7901 | type Vtable = ID3D11Predicate_Vtbl; | |
7902 | } | |
7903 | impl ::core::clone::Clone for ID3D11Predicate { | |
7904 | fn clone(&self) -> Self { | |
7905 | Self(self.0.clone()) | |
7906 | } | |
7907 | } | |
7908 | unsafe impl ::windows::core::ComInterface for ID3D11Predicate { | |
7909 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x9eb576dd_9f77_4d86_81aa_8bab5fe490e2); | |
7910 | } | |
7911 | #[repr(C)] | |
7912 | #[doc(hidden)] | |
7913 | pub struct ID3D11Predicate_Vtbl { | |
7914 | pub base__: ID3D11Query_Vtbl, | |
7915 | } | |
7916 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
7917 | #[repr(transparent)] | |
7918 | pub struct ID3D11Query(::windows::core::IUnknown); | |
7919 | impl ID3D11Query { | |
7920 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
7921 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
7922 | (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
7923 | ::windows::core::from_abi(result__) | |
7924 | } | |
7925 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
7926 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
7927 | } | |
7928 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
7929 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
7930 | } | |
7931 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
7932 | where | |
7933 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
7934 | { | |
7935 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
7936 | } | |
7937 | pub unsafe fn GetDataSize(&self) -> u32 { | |
7938 | (::windows::core::Interface::vtable(self).base__.GetDataSize)(::windows::core::Interface::as_raw(self)) | |
7939 | } | |
7940 | pub unsafe fn GetDesc(&self) -> D3D11_QUERY_DESC { | |
7941 | let mut result__ = ::windows::core::zeroed::<D3D11_QUERY_DESC>(); | |
7942 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), &mut result__); | |
7943 | ::std::mem::transmute(result__) | |
7944 | } | |
7945 | } | |
7946 | ::windows::imp::interface_hierarchy!(ID3D11Query, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous); | |
7947 | impl ::core::cmp::PartialEq for ID3D11Query { | |
7948 | fn eq(&self, other: &Self) -> bool { | |
7949 | self.0 == other.0 | |
7950 | } | |
7951 | } | |
7952 | impl ::core::cmp::Eq for ID3D11Query {} | |
7953 | impl ::core::fmt::Debug for ID3D11Query { | |
7954 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
7955 | f.debug_tuple("ID3D11Query").field(&self.0).finish() | |
7956 | } | |
7957 | } | |
7958 | unsafe impl ::core::marker::Send for ID3D11Query {} | |
7959 | unsafe impl ::core::marker::Sync for ID3D11Query {} | |
7960 | unsafe impl ::windows::core::Interface for ID3D11Query { | |
7961 | type Vtable = ID3D11Query_Vtbl; | |
7962 | } | |
7963 | impl ::core::clone::Clone for ID3D11Query { | |
7964 | fn clone(&self) -> Self { | |
7965 | Self(self.0.clone()) | |
7966 | } | |
7967 | } | |
7968 | unsafe impl ::windows::core::ComInterface for ID3D11Query { | |
7969 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd6c00747_87b7_425e_b84d_44d108560afd); | |
7970 | } | |
7971 | #[repr(C)] | |
7972 | #[doc(hidden)] | |
7973 | pub struct ID3D11Query_Vtbl { | |
7974 | pub base__: ID3D11Asynchronous_Vtbl, | |
7975 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_QUERY_DESC), | |
7976 | } | |
7977 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
7978 | #[repr(transparent)] | |
7979 | pub struct ID3D11Query1(::windows::core::IUnknown); | |
7980 | impl ID3D11Query1 { | |
7981 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
7982 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
7983 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
7984 | ::windows::core::from_abi(result__) | |
7985 | } | |
7986 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
7987 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
7988 | } | |
7989 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
7990 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
7991 | } | |
7992 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
7993 | where | |
7994 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
7995 | { | |
7996 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
7997 | } | |
7998 | pub unsafe fn GetDataSize(&self) -> u32 { | |
7999 | (::windows::core::Interface::vtable(self).base__.base__.GetDataSize)(::windows::core::Interface::as_raw(self)) | |
8000 | } | |
8001 | pub unsafe fn GetDesc(&self) -> D3D11_QUERY_DESC { | |
8002 | let mut result__ = ::windows::core::zeroed::<D3D11_QUERY_DESC>(); | |
8003 | (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), &mut result__); | |
8004 | ::std::mem::transmute(result__) | |
8005 | } | |
8006 | pub unsafe fn GetDesc1(&self) -> D3D11_QUERY_DESC1 { | |
8007 | let mut result__ = ::windows::core::zeroed::<D3D11_QUERY_DESC1>(); | |
8008 | (::windows::core::Interface::vtable(self).GetDesc1)(::windows::core::Interface::as_raw(self), &mut result__); | |
8009 | ::std::mem::transmute(result__) | |
8010 | } | |
8011 | } | |
8012 | ::windows::imp::interface_hierarchy!(ID3D11Query1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous, ID3D11Query); | |
8013 | impl ::core::cmp::PartialEq for ID3D11Query1 { | |
8014 | fn eq(&self, other: &Self) -> bool { | |
8015 | self.0 == other.0 | |
8016 | } | |
8017 | } | |
8018 | impl ::core::cmp::Eq for ID3D11Query1 {} | |
8019 | impl ::core::fmt::Debug for ID3D11Query1 { | |
8020 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
8021 | f.debug_tuple("ID3D11Query1").field(&self.0).finish() | |
8022 | } | |
8023 | } | |
8024 | unsafe impl ::core::marker::Send for ID3D11Query1 {} | |
8025 | unsafe impl ::core::marker::Sync for ID3D11Query1 {} | |
8026 | unsafe impl ::windows::core::Interface for ID3D11Query1 { | |
8027 | type Vtable = ID3D11Query1_Vtbl; | |
8028 | } | |
8029 | impl ::core::clone::Clone for ID3D11Query1 { | |
8030 | fn clone(&self) -> Self { | |
8031 | Self(self.0.clone()) | |
8032 | } | |
8033 | } | |
8034 | unsafe impl ::windows::core::ComInterface for ID3D11Query1 { | |
8035 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x631b4766_36dc_461d_8db6_c47e13e60916); | |
8036 | } | |
8037 | #[repr(C)] | |
8038 | #[doc(hidden)] | |
8039 | pub struct ID3D11Query1_Vtbl { | |
8040 | pub base__: ID3D11Query_Vtbl, | |
8041 | pub GetDesc1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc1: *mut D3D11_QUERY_DESC1), | |
8042 | } | |
8043 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
8044 | #[repr(transparent)] | |
8045 | pub struct ID3D11RasterizerState(::windows::core::IUnknown); | |
8046 | impl ID3D11RasterizerState { | |
8047 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
8048 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
8049 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
8050 | ::windows::core::from_abi(result__) | |
8051 | } | |
8052 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
8053 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
8054 | } | |
8055 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
8056 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
8057 | } | |
8058 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
8059 | where | |
8060 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
8061 | { | |
8062 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
8063 | } | |
8064 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8065 | #[cfg(feature = "Win32_Foundation")] | |
8066 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_RASTERIZER_DESC) { | |
8067 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
8068 | } | |
8069 | } | |
8070 | ::windows::imp::interface_hierarchy!(ID3D11RasterizerState, ::windows::core::IUnknown, ID3D11DeviceChild); | |
8071 | impl ::core::cmp::PartialEq for ID3D11RasterizerState { | |
8072 | fn eq(&self, other: &Self) -> bool { | |
8073 | self.0 == other.0 | |
8074 | } | |
8075 | } | |
8076 | impl ::core::cmp::Eq for ID3D11RasterizerState {} | |
8077 | impl ::core::fmt::Debug for ID3D11RasterizerState { | |
8078 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
8079 | f.debug_tuple("ID3D11RasterizerState").field(&self.0).finish() | |
8080 | } | |
8081 | } | |
8082 | unsafe impl ::core::marker::Send for ID3D11RasterizerState {} | |
8083 | unsafe impl ::core::marker::Sync for ID3D11RasterizerState {} | |
8084 | unsafe impl ::windows::core::Interface for ID3D11RasterizerState { | |
8085 | type Vtable = ID3D11RasterizerState_Vtbl; | |
8086 | } | |
8087 | impl ::core::clone::Clone for ID3D11RasterizerState { | |
8088 | fn clone(&self) -> Self { | |
8089 | Self(self.0.clone()) | |
8090 | } | |
8091 | } | |
8092 | unsafe impl ::windows::core::ComInterface for ID3D11RasterizerState { | |
8093 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x9bb4ab81_ab1a_4d8f_b506_fc04200b6ee7); | |
8094 | } | |
8095 | #[repr(C)] | |
8096 | #[doc(hidden)] | |
8097 | pub struct ID3D11RasterizerState_Vtbl { | |
8098 | pub base__: ID3D11DeviceChild_Vtbl, | |
8099 | #[cfg(feature = "Win32_Foundation")] | |
8100 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_RASTERIZER_DESC), | |
8101 | #[cfg(not(feature = "Win32_Foundation"))] | |
8102 | GetDesc: usize, | |
8103 | } | |
8104 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
8105 | #[repr(transparent)] | |
8106 | pub struct ID3D11RasterizerState1(::windows::core::IUnknown); | |
8107 | impl ID3D11RasterizerState1 { | |
8108 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
8109 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
8110 | (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
8111 | ::windows::core::from_abi(result__) | |
8112 | } | |
8113 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
8114 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
8115 | } | |
8116 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
8117 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
8118 | } | |
8119 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
8120 | where | |
8121 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
8122 | { | |
8123 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
8124 | } | |
8125 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8126 | #[cfg(feature = "Win32_Foundation")] | |
8127 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_RASTERIZER_DESC) { | |
8128 | (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
8129 | } | |
8130 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8131 | #[cfg(feature = "Win32_Foundation")] | |
8132 | pub unsafe fn GetDesc1(&self, pdesc: *mut D3D11_RASTERIZER_DESC1) { | |
8133 | (::windows::core::Interface::vtable(self).GetDesc1)(::windows::core::Interface::as_raw(self), pdesc) | |
8134 | } | |
8135 | } | |
8136 | ::windows::imp::interface_hierarchy!(ID3D11RasterizerState1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11RasterizerState); | |
8137 | impl ::core::cmp::PartialEq for ID3D11RasterizerState1 { | |
8138 | fn eq(&self, other: &Self) -> bool { | |
8139 | self.0 == other.0 | |
8140 | } | |
8141 | } | |
8142 | impl ::core::cmp::Eq for ID3D11RasterizerState1 {} | |
8143 | impl ::core::fmt::Debug for ID3D11RasterizerState1 { | |
8144 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
8145 | f.debug_tuple("ID3D11RasterizerState1").field(&self.0).finish() | |
8146 | } | |
8147 | } | |
8148 | unsafe impl ::core::marker::Send for ID3D11RasterizerState1 {} | |
8149 | unsafe impl ::core::marker::Sync for ID3D11RasterizerState1 {} | |
8150 | unsafe impl ::windows::core::Interface for ID3D11RasterizerState1 { | |
8151 | type Vtable = ID3D11RasterizerState1_Vtbl; | |
8152 | } | |
8153 | impl ::core::clone::Clone for ID3D11RasterizerState1 { | |
8154 | fn clone(&self) -> Self { | |
8155 | Self(self.0.clone()) | |
8156 | } | |
8157 | } | |
8158 | unsafe impl ::windows::core::ComInterface for ID3D11RasterizerState1 { | |
8159 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1217d7a6_5039_418c_b042_9cbe256afd6e); | |
8160 | } | |
8161 | #[repr(C)] | |
8162 | #[doc(hidden)] | |
8163 | pub struct ID3D11RasterizerState1_Vtbl { | |
8164 | pub base__: ID3D11RasterizerState_Vtbl, | |
8165 | #[cfg(feature = "Win32_Foundation")] | |
8166 | pub GetDesc1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_RASTERIZER_DESC1), | |
8167 | #[cfg(not(feature = "Win32_Foundation"))] | |
8168 | GetDesc1: usize, | |
8169 | } | |
8170 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
8171 | #[repr(transparent)] | |
8172 | pub struct ID3D11RasterizerState2(::windows::core::IUnknown); | |
8173 | impl ID3D11RasterizerState2 { | |
8174 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
8175 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
8176 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
8177 | ::windows::core::from_abi(result__) | |
8178 | } | |
8179 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
8180 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
8181 | } | |
8182 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
8183 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
8184 | } | |
8185 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
8186 | where | |
8187 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
8188 | { | |
8189 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
8190 | } | |
8191 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8192 | #[cfg(feature = "Win32_Foundation")] | |
8193 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_RASTERIZER_DESC) { | |
8194 | (::windows::core::Interface::vtable(self).base__.base__.GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
8195 | } | |
8196 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8197 | #[cfg(feature = "Win32_Foundation")] | |
8198 | pub unsafe fn GetDesc1(&self, pdesc: *mut D3D11_RASTERIZER_DESC1) { | |
8199 | (::windows::core::Interface::vtable(self).base__.GetDesc1)(::windows::core::Interface::as_raw(self), pdesc) | |
8200 | } | |
8201 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8202 | #[cfg(feature = "Win32_Foundation")] | |
8203 | pub unsafe fn GetDesc2(&self, pdesc: *mut D3D11_RASTERIZER_DESC2) { | |
8204 | (::windows::core::Interface::vtable(self).GetDesc2)(::windows::core::Interface::as_raw(self), pdesc) | |
8205 | } | |
8206 | } | |
8207 | ::windows::imp::interface_hierarchy!(ID3D11RasterizerState2, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11RasterizerState, ID3D11RasterizerState1); | |
8208 | impl ::core::cmp::PartialEq for ID3D11RasterizerState2 { | |
8209 | fn eq(&self, other: &Self) -> bool { | |
8210 | self.0 == other.0 | |
8211 | } | |
8212 | } | |
8213 | impl ::core::cmp::Eq for ID3D11RasterizerState2 {} | |
8214 | impl ::core::fmt::Debug for ID3D11RasterizerState2 { | |
8215 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
8216 | f.debug_tuple("ID3D11RasterizerState2").field(&self.0).finish() | |
8217 | } | |
8218 | } | |
8219 | unsafe impl ::core::marker::Send for ID3D11RasterizerState2 {} | |
8220 | unsafe impl ::core::marker::Sync for ID3D11RasterizerState2 {} | |
8221 | unsafe impl ::windows::core::Interface for ID3D11RasterizerState2 { | |
8222 | type Vtable = ID3D11RasterizerState2_Vtbl; | |
8223 | } | |
8224 | impl ::core::clone::Clone for ID3D11RasterizerState2 { | |
8225 | fn clone(&self) -> Self { | |
8226 | Self(self.0.clone()) | |
8227 | } | |
8228 | } | |
8229 | unsafe impl ::windows::core::ComInterface for ID3D11RasterizerState2 { | |
8230 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6fbd02fb_209f_46c4_b059_2ed15586a6ac); | |
8231 | } | |
8232 | #[repr(C)] | |
8233 | #[doc(hidden)] | |
8234 | pub struct ID3D11RasterizerState2_Vtbl { | |
8235 | pub base__: ID3D11RasterizerState1_Vtbl, | |
8236 | #[cfg(feature = "Win32_Foundation")] | |
8237 | pub GetDesc2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_RASTERIZER_DESC2), | |
8238 | #[cfg(not(feature = "Win32_Foundation"))] | |
8239 | GetDesc2: usize, | |
8240 | } | |
8241 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
8242 | #[repr(transparent)] | |
8243 | pub struct ID3D11RefDefaultTrackingOptions(::windows::core::IUnknown); | |
8244 | impl ID3D11RefDefaultTrackingOptions { | |
8245 | pub unsafe fn SetTrackingOptions(&self, resourcetypeflags: u32, options: u32) -> ::windows::core::Result<()> { | |
8246 | (::windows::core::Interface::vtable(self).SetTrackingOptions)(::windows::core::Interface::as_raw(self), resourcetypeflags, options).ok() | |
8247 | } | |
8248 | } | |
8249 | ::windows::imp::interface_hierarchy!(ID3D11RefDefaultTrackingOptions, ::windows::core::IUnknown); | |
8250 | impl ::core::cmp::PartialEq for ID3D11RefDefaultTrackingOptions { | |
8251 | fn eq(&self, other: &Self) -> bool { | |
8252 | self.0 == other.0 | |
8253 | } | |
8254 | } | |
8255 | impl ::core::cmp::Eq for ID3D11RefDefaultTrackingOptions {} | |
8256 | impl ::core::fmt::Debug for ID3D11RefDefaultTrackingOptions { | |
8257 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
8258 | f.debug_tuple("ID3D11RefDefaultTrackingOptions").field(&self.0).finish() | |
8259 | } | |
8260 | } | |
8261 | unsafe impl ::core::marker::Send for ID3D11RefDefaultTrackingOptions {} | |
8262 | unsafe impl ::core::marker::Sync for ID3D11RefDefaultTrackingOptions {} | |
8263 | unsafe impl ::windows::core::Interface for ID3D11RefDefaultTrackingOptions { | |
8264 | type Vtable = ID3D11RefDefaultTrackingOptions_Vtbl; | |
8265 | } | |
8266 | impl ::core::clone::Clone for ID3D11RefDefaultTrackingOptions { | |
8267 | fn clone(&self) -> Self { | |
8268 | Self(self.0.clone()) | |
8269 | } | |
8270 | } | |
8271 | unsafe impl ::windows::core::ComInterface for ID3D11RefDefaultTrackingOptions { | |
8272 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x03916615_c644_418c_9bf4_75db5be63ca0); | |
8273 | } | |
8274 | #[repr(C)] | |
8275 | #[doc(hidden)] | |
8276 | pub struct ID3D11RefDefaultTrackingOptions_Vtbl { | |
8277 | pub base__: ::windows::core::IUnknown_Vtbl, | |
8278 | pub SetTrackingOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, resourcetypeflags: u32, options: u32) -> ::windows::core::HRESULT, | |
8279 | } | |
8280 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
8281 | #[repr(transparent)] | |
8282 | pub struct ID3D11RefTrackingOptions(::windows::core::IUnknown); | |
8283 | impl ID3D11RefTrackingOptions { | |
8284 | pub unsafe fn SetTrackingOptions(&self, uoptions: u32) -> ::windows::core::Result<()> { | |
8285 | (::windows::core::Interface::vtable(self).SetTrackingOptions)(::windows::core::Interface::as_raw(self), uoptions).ok() | |
8286 | } | |
8287 | } | |
8288 | ::windows::imp::interface_hierarchy!(ID3D11RefTrackingOptions, ::windows::core::IUnknown); | |
8289 | impl ::core::cmp::PartialEq for ID3D11RefTrackingOptions { | |
8290 | fn eq(&self, other: &Self) -> bool { | |
8291 | self.0 == other.0 | |
8292 | } | |
8293 | } | |
8294 | impl ::core::cmp::Eq for ID3D11RefTrackingOptions {} | |
8295 | impl ::core::fmt::Debug for ID3D11RefTrackingOptions { | |
8296 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
8297 | f.debug_tuple("ID3D11RefTrackingOptions").field(&self.0).finish() | |
8298 | } | |
8299 | } | |
8300 | unsafe impl ::core::marker::Send for ID3D11RefTrackingOptions {} | |
8301 | unsafe impl ::core::marker::Sync for ID3D11RefTrackingOptions {} | |
8302 | unsafe impl ::windows::core::Interface for ID3D11RefTrackingOptions { | |
8303 | type Vtable = ID3D11RefTrackingOptions_Vtbl; | |
8304 | } | |
8305 | impl ::core::clone::Clone for ID3D11RefTrackingOptions { | |
8306 | fn clone(&self) -> Self { | |
8307 | Self(self.0.clone()) | |
8308 | } | |
8309 | } | |
8310 | unsafe impl ::windows::core::ComInterface for ID3D11RefTrackingOptions { | |
8311 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x193dacdf_0db2_4c05_a55c_ef06cac56fd9); | |
8312 | } | |
8313 | #[repr(C)] | |
8314 | #[doc(hidden)] | |
8315 | pub struct ID3D11RefTrackingOptions_Vtbl { | |
8316 | pub base__: ::windows::core::IUnknown_Vtbl, | |
8317 | pub SetTrackingOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uoptions: u32) -> ::windows::core::HRESULT, | |
8318 | } | |
8319 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
8320 | #[repr(transparent)] | |
8321 | pub struct ID3D11RenderTargetView(::windows::core::IUnknown); | |
8322 | impl ID3D11RenderTargetView { | |
8323 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
8324 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
8325 | (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
8326 | ::windows::core::from_abi(result__) | |
8327 | } | |
8328 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
8329 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
8330 | } | |
8331 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
8332 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
8333 | } | |
8334 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
8335 | where | |
8336 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
8337 | { | |
8338 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
8339 | } | |
8340 | pub unsafe fn GetResource(&self) -> ::windows::core::Result<ID3D11Resource> { | |
8341 | let mut result__ = ::windows::core::zeroed::<ID3D11Resource>(); | |
8342 | (::windows::core::Interface::vtable(self).base__.GetResource)(::windows::core::Interface::as_raw(self), &mut result__); | |
8343 | ::windows::core::from_abi(result__) | |
8344 | } | |
8345 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
8346 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
8347 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_RENDER_TARGET_VIEW_DESC) { | |
8348 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
8349 | } | |
8350 | } | |
8351 | ::windows::imp::interface_hierarchy!(ID3D11RenderTargetView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); | |
8352 | impl ::core::cmp::PartialEq for ID3D11RenderTargetView { | |
8353 | fn eq(&self, other: &Self) -> bool { | |
8354 | self.0 == other.0 | |
8355 | } | |
8356 | } | |
8357 | impl ::core::cmp::Eq for ID3D11RenderTargetView {} | |
8358 | impl ::core::fmt::Debug for ID3D11RenderTargetView { | |
8359 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
8360 | f.debug_tuple("ID3D11RenderTargetView").field(&self.0).finish() | |
8361 | } | |
8362 | } | |
8363 | unsafe impl ::core::marker::Send for ID3D11RenderTargetView {} | |
8364 | unsafe impl ::core::marker::Sync for ID3D11RenderTargetView {} | |
8365 | unsafe impl ::windows::core::Interface for ID3D11RenderTargetView { | |
8366 | type Vtable = ID3D11RenderTargetView_Vtbl; | |
8367 | } | |
8368 | impl ::core::clone::Clone for ID3D11RenderTargetView { | |
8369 | fn clone(&self) -> Self { | |
8370 | Self(self.0.clone()) | |
8371 | } | |
8372 | } | |
8373 | unsafe impl ::windows::core::ComInterface for ID3D11RenderTargetView { | |
8374 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xdfdba067_0b8d_4865_875b_d7b4516cc164); | |
8375 | } | |
8376 | #[repr(C)] | |
8377 | #[doc(hidden)] | |
8378 | pub struct ID3D11RenderTargetView_Vtbl { | |
8379 | pub base__: ID3D11View_Vtbl, | |
8380 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
8381 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_RENDER_TARGET_VIEW_DESC), | |
8382 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
8383 | GetDesc: usize, | |
8384 | } | |
8385 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
8386 | #[repr(transparent)] | |
8387 | pub struct ID3D11RenderTargetView1(::windows::core::IUnknown); | |
8388 | impl ID3D11RenderTargetView1 { | |
8389 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
8390 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
8391 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
8392 | ::windows::core::from_abi(result__) | |
8393 | } | |
8394 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
8395 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
8396 | } | |
8397 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
8398 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
8399 | } | |
8400 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
8401 | where | |
8402 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
8403 | { | |
8404 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
8405 | } | |
8406 | pub unsafe fn GetResource(&self) -> ::windows::core::Result<ID3D11Resource> { | |
8407 | let mut result__ = ::windows::core::zeroed::<ID3D11Resource>(); | |
8408 | (::windows::core::Interface::vtable(self).base__.base__.GetResource)(::windows::core::Interface::as_raw(self), &mut result__); | |
8409 | ::windows::core::from_abi(result__) | |
8410 | } | |
8411 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
8412 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
8413 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_RENDER_TARGET_VIEW_DESC) { | |
8414 | (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
8415 | } | |
8416 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
8417 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
8418 | pub unsafe fn GetDesc1(&self, pdesc1: *mut D3D11_RENDER_TARGET_VIEW_DESC1) { | |
8419 | (::windows::core::Interface::vtable(self).GetDesc1)(::windows::core::Interface::as_raw(self), pdesc1) | |
8420 | } | |
8421 | } | |
8422 | ::windows::imp::interface_hierarchy!(ID3D11RenderTargetView1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View, ID3D11RenderTargetView); | |
8423 | impl ::core::cmp::PartialEq for ID3D11RenderTargetView1 { | |
8424 | fn eq(&self, other: &Self) -> bool { | |
8425 | self.0 == other.0 | |
8426 | } | |
8427 | } | |
8428 | impl ::core::cmp::Eq for ID3D11RenderTargetView1 {} | |
8429 | impl ::core::fmt::Debug for ID3D11RenderTargetView1 { | |
8430 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
8431 | f.debug_tuple("ID3D11RenderTargetView1").field(&self.0).finish() | |
8432 | } | |
8433 | } | |
8434 | unsafe impl ::core::marker::Send for ID3D11RenderTargetView1 {} | |
8435 | unsafe impl ::core::marker::Sync for ID3D11RenderTargetView1 {} | |
8436 | unsafe impl ::windows::core::Interface for ID3D11RenderTargetView1 { | |
8437 | type Vtable = ID3D11RenderTargetView1_Vtbl; | |
8438 | } | |
8439 | impl ::core::clone::Clone for ID3D11RenderTargetView1 { | |
8440 | fn clone(&self) -> Self { | |
8441 | Self(self.0.clone()) | |
8442 | } | |
8443 | } | |
8444 | unsafe impl ::windows::core::ComInterface for ID3D11RenderTargetView1 { | |
8445 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xffbe2e23_f011_418a_ac56_5ceed7c5b94b); | |
8446 | } | |
8447 | #[repr(C)] | |
8448 | #[doc(hidden)] | |
8449 | pub struct ID3D11RenderTargetView1_Vtbl { | |
8450 | pub base__: ID3D11RenderTargetView_Vtbl, | |
8451 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
8452 | pub GetDesc1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc1: *mut D3D11_RENDER_TARGET_VIEW_DESC1), | |
8453 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
8454 | GetDesc1: usize, | |
8455 | } | |
8456 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
8457 | #[repr(transparent)] | |
8458 | pub struct ID3D11Resource(::windows::core::IUnknown); | |
8459 | impl ID3D11Resource { | |
8460 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
8461 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
8462 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
8463 | ::windows::core::from_abi(result__) | |
8464 | } | |
8465 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
8466 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
8467 | } | |
8468 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
8469 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
8470 | } | |
8471 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
8472 | where | |
8473 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
8474 | { | |
8475 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
8476 | } | |
8477 | pub unsafe fn GetType(&self) -> D3D11_RESOURCE_DIMENSION { | |
8478 | let mut result__ = ::windows::core::zeroed::<D3D11_RESOURCE_DIMENSION>(); | |
8479 | (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self), &mut result__); | |
8480 | ::std::mem::transmute(result__) | |
8481 | } | |
8482 | pub unsafe fn SetEvictionPriority(&self, evictionpriority: u32) { | |
8483 | (::windows::core::Interface::vtable(self).SetEvictionPriority)(::windows::core::Interface::as_raw(self), evictionpriority) | |
8484 | } | |
8485 | pub unsafe fn GetEvictionPriority(&self) -> u32 { | |
8486 | (::windows::core::Interface::vtable(self).GetEvictionPriority)(::windows::core::Interface::as_raw(self)) | |
8487 | } | |
8488 | } | |
8489 | ::windows::imp::interface_hierarchy!(ID3D11Resource, ::windows::core::IUnknown, ID3D11DeviceChild); | |
8490 | impl ::core::cmp::PartialEq for ID3D11Resource { | |
8491 | fn eq(&self, other: &Self) -> bool { | |
8492 | self.0 == other.0 | |
8493 | } | |
8494 | } | |
8495 | impl ::core::cmp::Eq for ID3D11Resource {} | |
8496 | impl ::core::fmt::Debug for ID3D11Resource { | |
8497 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
8498 | f.debug_tuple("ID3D11Resource").field(&self.0).finish() | |
8499 | } | |
8500 | } | |
8501 | unsafe impl ::core::marker::Send for ID3D11Resource {} | |
8502 | unsafe impl ::core::marker::Sync for ID3D11Resource {} | |
8503 | unsafe impl ::windows::core::Interface for ID3D11Resource { | |
8504 | type Vtable = ID3D11Resource_Vtbl; | |
8505 | } | |
8506 | impl ::core::clone::Clone for ID3D11Resource { | |
8507 | fn clone(&self) -> Self { | |
8508 | Self(self.0.clone()) | |
8509 | } | |
8510 | } | |
8511 | unsafe impl ::windows::core::ComInterface for ID3D11Resource { | |
8512 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xdc8e63f3_d12b_4952_b47b_5e45026a862d); | |
8513 | } | |
8514 | #[repr(C)] | |
8515 | #[doc(hidden)] | |
8516 | pub struct ID3D11Resource_Vtbl { | |
8517 | pub base__: ID3D11DeviceChild_Vtbl, | |
8518 | pub GetType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presourcedimension: *mut D3D11_RESOURCE_DIMENSION), | |
8519 | pub SetEvictionPriority: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, evictionpriority: u32), | |
8520 | pub GetEvictionPriority: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, | |
8521 | } | |
8522 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
8523 | #[repr(transparent)] | |
8524 | pub struct ID3D11SamplerState(::windows::core::IUnknown); | |
8525 | impl ID3D11SamplerState { | |
8526 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
8527 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
8528 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
8529 | ::windows::core::from_abi(result__) | |
8530 | } | |
8531 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
8532 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
8533 | } | |
8534 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
8535 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
8536 | } | |
8537 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
8538 | where | |
8539 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
8540 | { | |
8541 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
8542 | } | |
8543 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_SAMPLER_DESC) { | |
8544 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
8545 | } | |
8546 | } | |
8547 | ::windows::imp::interface_hierarchy!(ID3D11SamplerState, ::windows::core::IUnknown, ID3D11DeviceChild); | |
8548 | impl ::core::cmp::PartialEq for ID3D11SamplerState { | |
8549 | fn eq(&self, other: &Self) -> bool { | |
8550 | self.0 == other.0 | |
8551 | } | |
8552 | } | |
8553 | impl ::core::cmp::Eq for ID3D11SamplerState {} | |
8554 | impl ::core::fmt::Debug for ID3D11SamplerState { | |
8555 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
8556 | f.debug_tuple("ID3D11SamplerState").field(&self.0).finish() | |
8557 | } | |
8558 | } | |
8559 | unsafe impl ::core::marker::Send for ID3D11SamplerState {} | |
8560 | unsafe impl ::core::marker::Sync for ID3D11SamplerState {} | |
8561 | unsafe impl ::windows::core::Interface for ID3D11SamplerState { | |
8562 | type Vtable = ID3D11SamplerState_Vtbl; | |
8563 | } | |
8564 | impl ::core::clone::Clone for ID3D11SamplerState { | |
8565 | fn clone(&self) -> Self { | |
8566 | Self(self.0.clone()) | |
8567 | } | |
8568 | } | |
8569 | unsafe impl ::windows::core::ComInterface for ID3D11SamplerState { | |
8570 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xda6fea51_564c_4487_9810_f0d0f9b4e3a5); | |
8571 | } | |
8572 | #[repr(C)] | |
8573 | #[doc(hidden)] | |
8574 | pub struct ID3D11SamplerState_Vtbl { | |
8575 | pub base__: ID3D11DeviceChild_Vtbl, | |
8576 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_SAMPLER_DESC), | |
8577 | } | |
8578 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
8579 | #[repr(transparent)] | |
8580 | pub struct ID3D11ShaderReflection(::windows::core::IUnknown); | |
8581 | impl ID3D11ShaderReflection { | |
8582 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
8583 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8584 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_SHADER_DESC) -> ::windows::core::Result<()> { | |
8585 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc).ok() | |
8586 | } | |
8587 | pub unsafe fn GetConstantBufferByIndex(&self, index: u32) -> ::core::option::Option<ID3D11ShaderReflectionConstantBuffer> { | |
8588 | (::windows::core::Interface::vtable(self).GetConstantBufferByIndex)(::windows::core::Interface::as_raw(self), index) | |
8589 | } | |
8590 | pub unsafe fn GetConstantBufferByName<P0>(&self, name: P0) -> ::core::option::Option<ID3D11ShaderReflectionConstantBuffer> | |
8591 | where | |
8592 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
8593 | { | |
8594 | (::windows::core::Interface::vtable(self).GetConstantBufferByName)(::windows::core::Interface::as_raw(self), name.into_param().abi()) | |
8595 | } | |
8596 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
8597 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8598 | pub unsafe fn GetResourceBindingDesc(&self, resourceindex: u32, pdesc: *mut D3D11_SHADER_INPUT_BIND_DESC) -> ::windows::core::Result<()> { | |
8599 | (::windows::core::Interface::vtable(self).GetResourceBindingDesc)(::windows::core::Interface::as_raw(self), resourceindex, pdesc).ok() | |
8600 | } | |
8601 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
8602 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8603 | pub unsafe fn GetInputParameterDesc(&self, parameterindex: u32, pdesc: *mut D3D11_SIGNATURE_PARAMETER_DESC) -> ::windows::core::Result<()> { | |
8604 | (::windows::core::Interface::vtable(self).GetInputParameterDesc)(::windows::core::Interface::as_raw(self), parameterindex, pdesc).ok() | |
8605 | } | |
8606 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
8607 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8608 | pub unsafe fn GetOutputParameterDesc(&self, parameterindex: u32, pdesc: *mut D3D11_SIGNATURE_PARAMETER_DESC) -> ::windows::core::Result<()> { | |
8609 | (::windows::core::Interface::vtable(self).GetOutputParameterDesc)(::windows::core::Interface::as_raw(self), parameterindex, pdesc).ok() | |
8610 | } | |
8611 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
8612 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8613 | pub unsafe fn GetPatchConstantParameterDesc(&self, parameterindex: u32, pdesc: *mut D3D11_SIGNATURE_PARAMETER_DESC) -> ::windows::core::Result<()> { | |
8614 | (::windows::core::Interface::vtable(self).GetPatchConstantParameterDesc)(::windows::core::Interface::as_raw(self), parameterindex, pdesc).ok() | |
8615 | } | |
8616 | pub unsafe fn GetVariableByName<P0>(&self, name: P0) -> ::core::option::Option<ID3D11ShaderReflectionVariable> | |
8617 | where | |
8618 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
8619 | { | |
8620 | (::windows::core::Interface::vtable(self).GetVariableByName)(::windows::core::Interface::as_raw(self), name.into_param().abi()) | |
8621 | } | |
8622 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
8623 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8624 | pub unsafe fn GetResourceBindingDescByName<P0>(&self, name: P0, pdesc: *mut D3D11_SHADER_INPUT_BIND_DESC) -> ::windows::core::Result<()> | |
8625 | where | |
8626 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
8627 | { | |
8628 | (::windows::core::Interface::vtable(self).GetResourceBindingDescByName)(::windows::core::Interface::as_raw(self), name.into_param().abi(), pdesc).ok() | |
8629 | } | |
8630 | pub unsafe fn GetMovInstructionCount(&self) -> u32 { | |
8631 | (::windows::core::Interface::vtable(self).GetMovInstructionCount)(::windows::core::Interface::as_raw(self)) | |
8632 | } | |
8633 | pub unsafe fn GetMovcInstructionCount(&self) -> u32 { | |
8634 | (::windows::core::Interface::vtable(self).GetMovcInstructionCount)(::windows::core::Interface::as_raw(self)) | |
8635 | } | |
8636 | pub unsafe fn GetConversionInstructionCount(&self) -> u32 { | |
8637 | (::windows::core::Interface::vtable(self).GetConversionInstructionCount)(::windows::core::Interface::as_raw(self)) | |
8638 | } | |
8639 | pub unsafe fn GetBitwiseInstructionCount(&self) -> u32 { | |
8640 | (::windows::core::Interface::vtable(self).GetBitwiseInstructionCount)(::windows::core::Interface::as_raw(self)) | |
8641 | } | |
8642 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
8643 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8644 | pub unsafe fn GetGSInputPrimitive(&self) -> super::Direct3D::D3D_PRIMITIVE { | |
8645 | (::windows::core::Interface::vtable(self).GetGSInputPrimitive)(::windows::core::Interface::as_raw(self)) | |
8646 | } | |
8647 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
8648 | #[cfg(feature = "Win32_Foundation")] | |
8649 | pub unsafe fn IsSampleFrequencyShader(&self) -> super::super::Foundation::BOOL { | |
8650 | (::windows::core::Interface::vtable(self).IsSampleFrequencyShader)(::windows::core::Interface::as_raw(self)) | |
8651 | } | |
8652 | pub unsafe fn GetNumInterfaceSlots(&self) -> u32 { | |
8653 | (::windows::core::Interface::vtable(self).GetNumInterfaceSlots)(::windows::core::Interface::as_raw(self)) | |
8654 | } | |
8655 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
8656 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8657 | pub unsafe fn GetMinFeatureLevel(&self) -> ::windows::core::Result<super::Direct3D::D3D_FEATURE_LEVEL> { | |
8658 | let mut result__ = ::windows::core::zeroed::<super::Direct3D::D3D_FEATURE_LEVEL>(); | |
8659 | (::windows::core::Interface::vtable(self).GetMinFeatureLevel)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
8660 | } | |
8661 | pub unsafe fn GetThreadGroupSize(&self, psizex: ::core::option::Option<*mut u32>, psizey: ::core::option::Option<*mut u32>, psizez: ::core::option::Option<*mut u32>) -> u32 { | |
8662 | (::windows::core::Interface::vtable(self).GetThreadGroupSize)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(psizex.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(psizey.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(psizez.unwrap_or(::std::ptr::null_mut()))) | |
8663 | } | |
8664 | pub unsafe fn GetRequiresFlags(&self) -> u64 { | |
8665 | (::windows::core::Interface::vtable(self).GetRequiresFlags)(::windows::core::Interface::as_raw(self)) | |
8666 | } | |
8667 | } | |
8668 | ::windows::imp::interface_hierarchy!(ID3D11ShaderReflection, ::windows::core::IUnknown); | |
8669 | impl ::core::cmp::PartialEq for ID3D11ShaderReflection { | |
8670 | fn eq(&self, other: &Self) -> bool { | |
8671 | self.0 == other.0 | |
8672 | } | |
8673 | } | |
8674 | impl ::core::cmp::Eq for ID3D11ShaderReflection {} | |
8675 | impl ::core::fmt::Debug for ID3D11ShaderReflection { | |
8676 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
8677 | f.debug_tuple("ID3D11ShaderReflection").field(&self.0).finish() | |
8678 | } | |
8679 | } | |
8680 | unsafe impl ::core::marker::Send for ID3D11ShaderReflection {} | |
8681 | unsafe impl ::core::marker::Sync for ID3D11ShaderReflection {} | |
8682 | unsafe impl ::windows::core::Interface for ID3D11ShaderReflection { | |
8683 | type Vtable = ID3D11ShaderReflection_Vtbl; | |
8684 | } | |
8685 | impl ::core::clone::Clone for ID3D11ShaderReflection { | |
8686 | fn clone(&self) -> Self { | |
8687 | Self(self.0.clone()) | |
8688 | } | |
8689 | } | |
8690 | unsafe impl ::windows::core::ComInterface for ID3D11ShaderReflection { | |
8691 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x8d536ca1_0cca_4956_a837_786963755584); | |
8692 | } | |
8693 | #[repr(C)] | |
8694 | #[doc(hidden)] | |
8695 | pub struct ID3D11ShaderReflection_Vtbl { | |
8696 | pub base__: ::windows::core::IUnknown_Vtbl, | |
8697 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8698 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_SHADER_DESC) -> ::windows::core::HRESULT, | |
8699 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
8700 | GetDesc: usize, | |
8701 | pub GetConstantBufferByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: u32) -> ::core::option::Option<ID3D11ShaderReflectionConstantBuffer>, | |
8702 | pub GetConstantBufferByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::windows::core::PCSTR) -> ::core::option::Option<ID3D11ShaderReflectionConstantBuffer>, | |
8703 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8704 | pub GetResourceBindingDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, resourceindex: u32, pdesc: *mut D3D11_SHADER_INPUT_BIND_DESC) -> ::windows::core::HRESULT, | |
8705 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
8706 | GetResourceBindingDesc: usize, | |
8707 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8708 | pub GetInputParameterDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, parameterindex: u32, pdesc: *mut D3D11_SIGNATURE_PARAMETER_DESC) -> ::windows::core::HRESULT, | |
8709 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
8710 | GetInputParameterDesc: usize, | |
8711 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8712 | pub GetOutputParameterDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, parameterindex: u32, pdesc: *mut D3D11_SIGNATURE_PARAMETER_DESC) -> ::windows::core::HRESULT, | |
8713 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
8714 | GetOutputParameterDesc: usize, | |
8715 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8716 | pub GetPatchConstantParameterDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, parameterindex: u32, pdesc: *mut D3D11_SIGNATURE_PARAMETER_DESC) -> ::windows::core::HRESULT, | |
8717 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
8718 | GetPatchConstantParameterDesc: usize, | |
8719 | pub GetVariableByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::windows::core::PCSTR) -> ::core::option::Option<ID3D11ShaderReflectionVariable>, | |
8720 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8721 | pub GetResourceBindingDescByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::windows::core::PCSTR, pdesc: *mut D3D11_SHADER_INPUT_BIND_DESC) -> ::windows::core::HRESULT, | |
8722 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
8723 | GetResourceBindingDescByName: usize, | |
8724 | pub GetMovInstructionCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, | |
8725 | pub GetMovcInstructionCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, | |
8726 | pub GetConversionInstructionCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, | |
8727 | pub GetBitwiseInstructionCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, | |
8728 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8729 | pub GetGSInputPrimitive: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> super::Direct3D::D3D_PRIMITIVE, | |
8730 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
8731 | GetGSInputPrimitive: usize, | |
8732 | #[cfg(feature = "Win32_Foundation")] | |
8733 | pub IsSampleFrequencyShader: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL, | |
8734 | #[cfg(not(feature = "Win32_Foundation"))] | |
8735 | IsSampleFrequencyShader: usize, | |
8736 | pub GetNumInterfaceSlots: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, | |
8737 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8738 | pub GetMinFeatureLevel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, plevel: *mut super::Direct3D::D3D_FEATURE_LEVEL) -> ::windows::core::HRESULT, | |
8739 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
8740 | GetMinFeatureLevel: usize, | |
8741 | pub GetThreadGroupSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, psizex: *mut u32, psizey: *mut u32, psizez: *mut u32) -> u32, | |
8742 | pub GetRequiresFlags: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u64, | |
8743 | } | |
8744 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
8745 | #[repr(transparent)] | |
8746 | pub struct ID3D11ShaderReflectionConstantBuffer(::std::ptr::NonNull<::std::ffi::c_void>); | |
8747 | impl ID3D11ShaderReflectionConstantBuffer { | |
8748 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
8749 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8750 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_SHADER_BUFFER_DESC) -> ::windows::core::Result<()> { | |
8751 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc).ok() | |
8752 | } | |
8753 | pub unsafe fn GetVariableByIndex(&self, index: u32) -> ::core::option::Option<ID3D11ShaderReflectionVariable> { | |
8754 | (::windows::core::Interface::vtable(self).GetVariableByIndex)(::windows::core::Interface::as_raw(self), index) | |
8755 | } | |
8756 | pub unsafe fn GetVariableByName<P0>(&self, name: P0) -> ::core::option::Option<ID3D11ShaderReflectionVariable> | |
8757 | where | |
8758 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
8759 | { | |
8760 | (::windows::core::Interface::vtable(self).GetVariableByName)(::windows::core::Interface::as_raw(self), name.into_param().abi()) | |
8761 | } | |
8762 | } | |
8763 | impl ::core::cmp::PartialEq for ID3D11ShaderReflectionConstantBuffer { | |
8764 | fn eq(&self, other: &Self) -> bool { | |
8765 | self.0 == other.0 | |
8766 | } | |
8767 | } | |
8768 | impl ::core::cmp::Eq for ID3D11ShaderReflectionConstantBuffer {} | |
8769 | impl ::core::fmt::Debug for ID3D11ShaderReflectionConstantBuffer { | |
8770 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
8771 | f.debug_tuple("ID3D11ShaderReflectionConstantBuffer").field(&self.0).finish() | |
8772 | } | |
8773 | } | |
8774 | unsafe impl ::core::marker::Send for ID3D11ShaderReflectionConstantBuffer {} | |
8775 | unsafe impl ::core::marker::Sync for ID3D11ShaderReflectionConstantBuffer {} | |
8776 | unsafe impl ::windows::core::Interface for ID3D11ShaderReflectionConstantBuffer { | |
8777 | type Vtable = ID3D11ShaderReflectionConstantBuffer_Vtbl; | |
8778 | } | |
8779 | impl ::core::clone::Clone for ID3D11ShaderReflectionConstantBuffer { | |
8780 | fn clone(&self) -> Self { | |
8781 | Self(self.0.clone()) | |
8782 | } | |
8783 | } | |
8784 | #[repr(C)] | |
8785 | #[doc(hidden)] | |
8786 | pub struct ID3D11ShaderReflectionConstantBuffer_Vtbl { | |
8787 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8788 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_SHADER_BUFFER_DESC) -> ::windows::core::HRESULT, | |
8789 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
8790 | GetDesc: usize, | |
8791 | pub GetVariableByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: u32) -> ::core::option::Option<ID3D11ShaderReflectionVariable>, | |
8792 | pub GetVariableByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::windows::core::PCSTR) -> ::core::option::Option<ID3D11ShaderReflectionVariable>, | |
8793 | } | |
8794 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
8795 | #[repr(transparent)] | |
8796 | pub struct ID3D11ShaderReflectionType(::std::ptr::NonNull<::std::ffi::c_void>); | |
8797 | impl ID3D11ShaderReflectionType { | |
8798 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`*"] | |
8799 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8800 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_SHADER_TYPE_DESC) -> ::windows::core::Result<()> { | |
8801 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc).ok() | |
8802 | } | |
8803 | pub unsafe fn GetMemberTypeByIndex(&self, index: u32) -> ::core::option::Option<ID3D11ShaderReflectionType> { | |
8804 | (::windows::core::Interface::vtable(self).GetMemberTypeByIndex)(::windows::core::Interface::as_raw(self), index) | |
8805 | } | |
8806 | pub unsafe fn GetMemberTypeByName<P0>(&self, name: P0) -> ::core::option::Option<ID3D11ShaderReflectionType> | |
8807 | where | |
8808 | P0: ::windows::core::IntoParam<::windows::core::PCSTR>, | |
8809 | { | |
8810 | (::windows::core::Interface::vtable(self).GetMemberTypeByName)(::windows::core::Interface::as_raw(self), name.into_param().abi()) | |
8811 | } | |
8812 | pub unsafe fn GetMemberTypeName(&self, index: u32) -> ::windows::core::PSTR { | |
8813 | (::windows::core::Interface::vtable(self).GetMemberTypeName)(::windows::core::Interface::as_raw(self), index) | |
8814 | } | |
8815 | pub unsafe fn IsEqual<P0>(&self, ptype: P0) -> ::windows::core::Result<()> | |
8816 | where | |
8817 | P0: ::windows::core::IntoParam<ID3D11ShaderReflectionType>, | |
8818 | { | |
8819 | (::windows::core::Interface::vtable(self).IsEqual)(::windows::core::Interface::as_raw(self), ptype.into_param().abi()).ok() | |
8820 | } | |
8821 | pub unsafe fn GetSubType(&self) -> ::core::option::Option<ID3D11ShaderReflectionType> { | |
8822 | (::windows::core::Interface::vtable(self).GetSubType)(::windows::core::Interface::as_raw(self)) | |
8823 | } | |
8824 | pub unsafe fn GetBaseClass(&self) -> ::core::option::Option<ID3D11ShaderReflectionType> { | |
8825 | (::windows::core::Interface::vtable(self).GetBaseClass)(::windows::core::Interface::as_raw(self)) | |
8826 | } | |
8827 | pub unsafe fn GetNumInterfaces(&self) -> u32 { | |
8828 | (::windows::core::Interface::vtable(self).GetNumInterfaces)(::windows::core::Interface::as_raw(self)) | |
8829 | } | |
8830 | pub unsafe fn GetInterfaceByIndex(&self, uindex: u32) -> ::core::option::Option<ID3D11ShaderReflectionType> { | |
8831 | (::windows::core::Interface::vtable(self).GetInterfaceByIndex)(::windows::core::Interface::as_raw(self), uindex) | |
8832 | } | |
8833 | pub unsafe fn IsOfType<P0>(&self, ptype: P0) -> ::windows::core::Result<()> | |
8834 | where | |
8835 | P0: ::windows::core::IntoParam<ID3D11ShaderReflectionType>, | |
8836 | { | |
8837 | (::windows::core::Interface::vtable(self).IsOfType)(::windows::core::Interface::as_raw(self), ptype.into_param().abi()).ok() | |
8838 | } | |
8839 | pub unsafe fn ImplementsInterface<P0>(&self, pbase: P0) -> ::windows::core::Result<()> | |
8840 | where | |
8841 | P0: ::windows::core::IntoParam<ID3D11ShaderReflectionType>, | |
8842 | { | |
8843 | (::windows::core::Interface::vtable(self).ImplementsInterface)(::windows::core::Interface::as_raw(self), pbase.into_param().abi()).ok() | |
8844 | } | |
8845 | } | |
8846 | impl ::core::cmp::PartialEq for ID3D11ShaderReflectionType { | |
8847 | fn eq(&self, other: &Self) -> bool { | |
8848 | self.0 == other.0 | |
8849 | } | |
8850 | } | |
8851 | impl ::core::cmp::Eq for ID3D11ShaderReflectionType {} | |
8852 | impl ::core::fmt::Debug for ID3D11ShaderReflectionType { | |
8853 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
8854 | f.debug_tuple("ID3D11ShaderReflectionType").field(&self.0).finish() | |
8855 | } | |
8856 | } | |
8857 | unsafe impl ::core::marker::Send for ID3D11ShaderReflectionType {} | |
8858 | unsafe impl ::core::marker::Sync for ID3D11ShaderReflectionType {} | |
8859 | unsafe impl ::windows::core::Interface for ID3D11ShaderReflectionType { | |
8860 | type Vtable = ID3D11ShaderReflectionType_Vtbl; | |
8861 | } | |
8862 | impl ::core::clone::Clone for ID3D11ShaderReflectionType { | |
8863 | fn clone(&self) -> Self { | |
8864 | Self(self.0.clone()) | |
8865 | } | |
8866 | } | |
8867 | #[repr(C)] | |
8868 | #[doc(hidden)] | |
8869 | pub struct ID3D11ShaderReflectionType_Vtbl { | |
8870 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
8871 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_SHADER_TYPE_DESC) -> ::windows::core::HRESULT, | |
8872 | #[cfg(not(feature = "Win32_Graphics_Direct3D"))] | |
8873 | GetDesc: usize, | |
8874 | pub GetMemberTypeByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: u32) -> ::core::option::Option<ID3D11ShaderReflectionType>, | |
8875 | pub GetMemberTypeByName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::windows::core::PCSTR) -> ::core::option::Option<ID3D11ShaderReflectionType>, | |
8876 | pub GetMemberTypeName: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: u32) -> ::windows::core::PSTR, | |
8877 | pub IsEqual: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptype: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
8878 | pub GetSubType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::core::option::Option<ID3D11ShaderReflectionType>, | |
8879 | pub GetBaseClass: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::core::option::Option<ID3D11ShaderReflectionType>, | |
8880 | pub GetNumInterfaces: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, | |
8881 | pub GetInterfaceByIndex: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uindex: u32) -> ::core::option::Option<ID3D11ShaderReflectionType>, | |
8882 | pub IsOfType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptype: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
8883 | pub ImplementsInterface: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pbase: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
8884 | } | |
8885 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
8886 | #[repr(transparent)] | |
8887 | pub struct ID3D11ShaderReflectionVariable(::std::ptr::NonNull<::std::ffi::c_void>); | |
8888 | impl ID3D11ShaderReflectionVariable { | |
8889 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_SHADER_VARIABLE_DESC) -> ::windows::core::Result<()> { | |
8890 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc).ok() | |
8891 | } | |
8892 | pub unsafe fn GetType(&self) -> ::core::option::Option<ID3D11ShaderReflectionType> { | |
8893 | (::windows::core::Interface::vtable(self).GetType)(::windows::core::Interface::as_raw(self)) | |
8894 | } | |
8895 | pub unsafe fn GetBuffer(&self) -> ::core::option::Option<ID3D11ShaderReflectionConstantBuffer> { | |
8896 | (::windows::core::Interface::vtable(self).GetBuffer)(::windows::core::Interface::as_raw(self)) | |
8897 | } | |
8898 | pub unsafe fn GetInterfaceSlot(&self, uarrayindex: u32) -> u32 { | |
8899 | (::windows::core::Interface::vtable(self).GetInterfaceSlot)(::windows::core::Interface::as_raw(self), uarrayindex) | |
8900 | } | |
8901 | } | |
8902 | impl ::core::cmp::PartialEq for ID3D11ShaderReflectionVariable { | |
8903 | fn eq(&self, other: &Self) -> bool { | |
8904 | self.0 == other.0 | |
8905 | } | |
8906 | } | |
8907 | impl ::core::cmp::Eq for ID3D11ShaderReflectionVariable {} | |
8908 | impl ::core::fmt::Debug for ID3D11ShaderReflectionVariable { | |
8909 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
8910 | f.debug_tuple("ID3D11ShaderReflectionVariable").field(&self.0).finish() | |
8911 | } | |
8912 | } | |
8913 | unsafe impl ::core::marker::Send for ID3D11ShaderReflectionVariable {} | |
8914 | unsafe impl ::core::marker::Sync for ID3D11ShaderReflectionVariable {} | |
8915 | unsafe impl ::windows::core::Interface for ID3D11ShaderReflectionVariable { | |
8916 | type Vtable = ID3D11ShaderReflectionVariable_Vtbl; | |
8917 | } | |
8918 | impl ::core::clone::Clone for ID3D11ShaderReflectionVariable { | |
8919 | fn clone(&self) -> Self { | |
8920 | Self(self.0.clone()) | |
8921 | } | |
8922 | } | |
8923 | #[repr(C)] | |
8924 | #[doc(hidden)] | |
8925 | pub struct ID3D11ShaderReflectionVariable_Vtbl { | |
8926 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_SHADER_VARIABLE_DESC) -> ::windows::core::HRESULT, | |
8927 | pub GetType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::core::option::Option<ID3D11ShaderReflectionType>, | |
8928 | pub GetBuffer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> ::core::option::Option<ID3D11ShaderReflectionConstantBuffer>, | |
8929 | pub GetInterfaceSlot: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, uarrayindex: u32) -> u32, | |
8930 | } | |
8931 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
8932 | #[repr(transparent)] | |
8933 | pub struct ID3D11ShaderResourceView(::windows::core::IUnknown); | |
8934 | impl ID3D11ShaderResourceView { | |
8935 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
8936 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
8937 | (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
8938 | ::windows::core::from_abi(result__) | |
8939 | } | |
8940 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
8941 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
8942 | } | |
8943 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
8944 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
8945 | } | |
8946 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
8947 | where | |
8948 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
8949 | { | |
8950 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
8951 | } | |
8952 | pub unsafe fn GetResource(&self) -> ::windows::core::Result<ID3D11Resource> { | |
8953 | let mut result__ = ::windows::core::zeroed::<ID3D11Resource>(); | |
8954 | (::windows::core::Interface::vtable(self).base__.GetResource)(::windows::core::Interface::as_raw(self), &mut result__); | |
8955 | ::windows::core::from_abi(result__) | |
8956 | } | |
8957 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
8958 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
8959 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_SHADER_RESOURCE_VIEW_DESC) { | |
8960 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
8961 | } | |
8962 | } | |
8963 | ::windows::imp::interface_hierarchy!(ID3D11ShaderResourceView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); | |
8964 | impl ::core::cmp::PartialEq for ID3D11ShaderResourceView { | |
8965 | fn eq(&self, other: &Self) -> bool { | |
8966 | self.0 == other.0 | |
8967 | } | |
8968 | } | |
8969 | impl ::core::cmp::Eq for ID3D11ShaderResourceView {} | |
8970 | impl ::core::fmt::Debug for ID3D11ShaderResourceView { | |
8971 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
8972 | f.debug_tuple("ID3D11ShaderResourceView").field(&self.0).finish() | |
8973 | } | |
8974 | } | |
8975 | unsafe impl ::core::marker::Send for ID3D11ShaderResourceView {} | |
8976 | unsafe impl ::core::marker::Sync for ID3D11ShaderResourceView {} | |
8977 | unsafe impl ::windows::core::Interface for ID3D11ShaderResourceView { | |
8978 | type Vtable = ID3D11ShaderResourceView_Vtbl; | |
8979 | } | |
8980 | impl ::core::clone::Clone for ID3D11ShaderResourceView { | |
8981 | fn clone(&self) -> Self { | |
8982 | Self(self.0.clone()) | |
8983 | } | |
8984 | } | |
8985 | unsafe impl ::windows::core::ComInterface for ID3D11ShaderResourceView { | |
8986 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb0e06fe0_8192_4e1a_b1ca_36d7414710b2); | |
8987 | } | |
8988 | #[repr(C)] | |
8989 | #[doc(hidden)] | |
8990 | pub struct ID3D11ShaderResourceView_Vtbl { | |
8991 | pub base__: ID3D11View_Vtbl, | |
8992 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
8993 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_SHADER_RESOURCE_VIEW_DESC), | |
8994 | #[cfg(not(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common")))] | |
8995 | GetDesc: usize, | |
8996 | } | |
8997 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
8998 | #[repr(transparent)] | |
8999 | pub struct ID3D11ShaderResourceView1(::windows::core::IUnknown); | |
9000 | impl ID3D11ShaderResourceView1 { | |
9001 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
9002 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
9003 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
9004 | ::windows::core::from_abi(result__) | |
9005 | } | |
9006 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9007 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
9008 | } | |
9009 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9010 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
9011 | } | |
9012 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
9013 | where | |
9014 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
9015 | { | |
9016 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
9017 | } | |
9018 | pub unsafe fn GetResource(&self) -> ::windows::core::Result<ID3D11Resource> { | |
9019 | let mut result__ = ::windows::core::zeroed::<ID3D11Resource>(); | |
9020 | (::windows::core::Interface::vtable(self).base__.base__.GetResource)(::windows::core::Interface::as_raw(self), &mut result__); | |
9021 | ::windows::core::from_abi(result__) | |
9022 | } | |
9023 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
9024 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
9025 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_SHADER_RESOURCE_VIEW_DESC) { | |
9026 | (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
9027 | } | |
9028 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
9029 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
9030 | pub unsafe fn GetDesc1(&self, pdesc1: *mut D3D11_SHADER_RESOURCE_VIEW_DESC1) { | |
9031 | (::windows::core::Interface::vtable(self).GetDesc1)(::windows::core::Interface::as_raw(self), pdesc1) | |
9032 | } | |
9033 | } | |
9034 | ::windows::imp::interface_hierarchy!(ID3D11ShaderResourceView1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View, ID3D11ShaderResourceView); | |
9035 | impl ::core::cmp::PartialEq for ID3D11ShaderResourceView1 { | |
9036 | fn eq(&self, other: &Self) -> bool { | |
9037 | self.0 == other.0 | |
9038 | } | |
9039 | } | |
9040 | impl ::core::cmp::Eq for ID3D11ShaderResourceView1 {} | |
9041 | impl ::core::fmt::Debug for ID3D11ShaderResourceView1 { | |
9042 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
9043 | f.debug_tuple("ID3D11ShaderResourceView1").field(&self.0).finish() | |
9044 | } | |
9045 | } | |
9046 | unsafe impl ::core::marker::Send for ID3D11ShaderResourceView1 {} | |
9047 | unsafe impl ::core::marker::Sync for ID3D11ShaderResourceView1 {} | |
9048 | unsafe impl ::windows::core::Interface for ID3D11ShaderResourceView1 { | |
9049 | type Vtable = ID3D11ShaderResourceView1_Vtbl; | |
9050 | } | |
9051 | impl ::core::clone::Clone for ID3D11ShaderResourceView1 { | |
9052 | fn clone(&self) -> Self { | |
9053 | Self(self.0.clone()) | |
9054 | } | |
9055 | } | |
9056 | unsafe impl ::windows::core::ComInterface for ID3D11ShaderResourceView1 { | |
9057 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x91308b87_9040_411d_8c67_c39253ce3802); | |
9058 | } | |
9059 | #[repr(C)] | |
9060 | #[doc(hidden)] | |
9061 | pub struct ID3D11ShaderResourceView1_Vtbl { | |
9062 | pub base__: ID3D11ShaderResourceView_Vtbl, | |
9063 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
9064 | pub GetDesc1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc1: *mut D3D11_SHADER_RESOURCE_VIEW_DESC1), | |
9065 | #[cfg(not(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common")))] | |
9066 | GetDesc1: usize, | |
9067 | } | |
9068 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
9069 | #[repr(transparent)] | |
9070 | pub struct ID3D11ShaderTrace(::windows::core::IUnknown); | |
9071 | impl ID3D11ShaderTrace { | |
9072 | pub unsafe fn TraceReady(&self, ptestcount: ::core::option::Option<*mut u64>) -> ::windows::core::Result<()> { | |
9073 | (::windows::core::Interface::vtable(self).TraceReady)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(ptestcount.unwrap_or(::std::ptr::null_mut()))).ok() | |
9074 | } | |
9075 | pub unsafe fn ResetTrace(&self) { | |
9076 | (::windows::core::Interface::vtable(self).ResetTrace)(::windows::core::Interface::as_raw(self)) | |
9077 | } | |
9078 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9079 | #[cfg(feature = "Win32_Foundation")] | |
9080 | pub unsafe fn GetTraceStats(&self, ptracestats: *mut D3D11_TRACE_STATS) -> ::windows::core::Result<()> { | |
9081 | (::windows::core::Interface::vtable(self).GetTraceStats)(::windows::core::Interface::as_raw(self), ptracestats).ok() | |
9082 | } | |
9083 | pub unsafe fn PSSelectStamp(&self, stampindex: u32) -> ::windows::core::Result<()> { | |
9084 | (::windows::core::Interface::vtable(self).PSSelectStamp)(::windows::core::Interface::as_raw(self), stampindex).ok() | |
9085 | } | |
9086 | pub unsafe fn GetInitialRegisterContents(&self, pregister: *const D3D11_TRACE_REGISTER, pvalue: *mut D3D11_TRACE_VALUE) -> ::windows::core::Result<()> { | |
9087 | (::windows::core::Interface::vtable(self).GetInitialRegisterContents)(::windows::core::Interface::as_raw(self), pregister, pvalue).ok() | |
9088 | } | |
9089 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9090 | #[cfg(feature = "Win32_Foundation")] | |
9091 | pub unsafe fn GetStep(&self, stepindex: u32, ptracestep: *mut D3D11_TRACE_STEP) -> ::windows::core::Result<()> { | |
9092 | (::windows::core::Interface::vtable(self).GetStep)(::windows::core::Interface::as_raw(self), stepindex, ptracestep).ok() | |
9093 | } | |
9094 | pub unsafe fn GetWrittenRegister(&self, stepindex: u32, writtenregisterindex: u32, pregister: *mut D3D11_TRACE_REGISTER, pvalue: *mut D3D11_TRACE_VALUE) -> ::windows::core::Result<()> { | |
9095 | (::windows::core::Interface::vtable(self).GetWrittenRegister)(::windows::core::Interface::as_raw(self), stepindex, writtenregisterindex, pregister, pvalue).ok() | |
9096 | } | |
9097 | pub unsafe fn GetReadRegister(&self, stepindex: u32, readregisterindex: u32, pregister: *mut D3D11_TRACE_REGISTER, pvalue: *mut D3D11_TRACE_VALUE) -> ::windows::core::Result<()> { | |
9098 | (::windows::core::Interface::vtable(self).GetReadRegister)(::windows::core::Interface::as_raw(self), stepindex, readregisterindex, pregister, pvalue).ok() | |
9099 | } | |
9100 | } | |
9101 | ::windows::imp::interface_hierarchy!(ID3D11ShaderTrace, ::windows::core::IUnknown); | |
9102 | impl ::core::cmp::PartialEq for ID3D11ShaderTrace { | |
9103 | fn eq(&self, other: &Self) -> bool { | |
9104 | self.0 == other.0 | |
9105 | } | |
9106 | } | |
9107 | impl ::core::cmp::Eq for ID3D11ShaderTrace {} | |
9108 | impl ::core::fmt::Debug for ID3D11ShaderTrace { | |
9109 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
9110 | f.debug_tuple("ID3D11ShaderTrace").field(&self.0).finish() | |
9111 | } | |
9112 | } | |
9113 | unsafe impl ::core::marker::Send for ID3D11ShaderTrace {} | |
9114 | unsafe impl ::core::marker::Sync for ID3D11ShaderTrace {} | |
9115 | unsafe impl ::windows::core::Interface for ID3D11ShaderTrace { | |
9116 | type Vtable = ID3D11ShaderTrace_Vtbl; | |
9117 | } | |
9118 | impl ::core::clone::Clone for ID3D11ShaderTrace { | |
9119 | fn clone(&self) -> Self { | |
9120 | Self(self.0.clone()) | |
9121 | } | |
9122 | } | |
9123 | unsafe impl ::windows::core::ComInterface for ID3D11ShaderTrace { | |
9124 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x36b013e6_2811_4845_baa7_d623fe0df104); | |
9125 | } | |
9126 | #[repr(C)] | |
9127 | #[doc(hidden)] | |
9128 | pub struct ID3D11ShaderTrace_Vtbl { | |
9129 | pub base__: ::windows::core::IUnknown_Vtbl, | |
9130 | pub TraceReady: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptestcount: *mut u64) -> ::windows::core::HRESULT, | |
9131 | pub ResetTrace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void), | |
9132 | #[cfg(feature = "Win32_Foundation")] | |
9133 | pub GetTraceStats: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ptracestats: *mut D3D11_TRACE_STATS) -> ::windows::core::HRESULT, | |
9134 | #[cfg(not(feature = "Win32_Foundation"))] | |
9135 | GetTraceStats: usize, | |
9136 | pub PSSelectStamp: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, stampindex: u32) -> ::windows::core::HRESULT, | |
9137 | pub GetInitialRegisterContents: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pregister: *const D3D11_TRACE_REGISTER, pvalue: *mut D3D11_TRACE_VALUE) -> ::windows::core::HRESULT, | |
9138 | #[cfg(feature = "Win32_Foundation")] | |
9139 | pub GetStep: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, stepindex: u32, ptracestep: *mut D3D11_TRACE_STEP) -> ::windows::core::HRESULT, | |
9140 | #[cfg(not(feature = "Win32_Foundation"))] | |
9141 | GetStep: usize, | |
9142 | pub GetWrittenRegister: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, stepindex: u32, writtenregisterindex: u32, pregister: *mut D3D11_TRACE_REGISTER, pvalue: *mut D3D11_TRACE_VALUE) -> ::windows::core::HRESULT, | |
9143 | pub GetReadRegister: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, stepindex: u32, readregisterindex: u32, pregister: *mut D3D11_TRACE_REGISTER, pvalue: *mut D3D11_TRACE_VALUE) -> ::windows::core::HRESULT, | |
9144 | } | |
9145 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
9146 | #[repr(transparent)] | |
9147 | pub struct ID3D11ShaderTraceFactory(::windows::core::IUnknown); | |
9148 | impl ID3D11ShaderTraceFactory { | |
9149 | pub unsafe fn CreateShaderTrace<P0>(&self, pshader: P0, ptracedesc: *const D3D11_SHADER_TRACE_DESC) -> ::windows::core::Result<ID3D11ShaderTrace> | |
9150 | where | |
9151 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
9152 | { | |
9153 | let mut result__ = ::windows::core::zeroed::<ID3D11ShaderTrace>(); | |
9154 | (::windows::core::Interface::vtable(self).CreateShaderTrace)(::windows::core::Interface::as_raw(self), pshader.into_param().abi(), ptracedesc, &mut result__).from_abi(result__) | |
9155 | } | |
9156 | } | |
9157 | ::windows::imp::interface_hierarchy!(ID3D11ShaderTraceFactory, ::windows::core::IUnknown); | |
9158 | impl ::core::cmp::PartialEq for ID3D11ShaderTraceFactory { | |
9159 | fn eq(&self, other: &Self) -> bool { | |
9160 | self.0 == other.0 | |
9161 | } | |
9162 | } | |
9163 | impl ::core::cmp::Eq for ID3D11ShaderTraceFactory {} | |
9164 | impl ::core::fmt::Debug for ID3D11ShaderTraceFactory { | |
9165 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
9166 | f.debug_tuple("ID3D11ShaderTraceFactory").field(&self.0).finish() | |
9167 | } | |
9168 | } | |
9169 | unsafe impl ::core::marker::Send for ID3D11ShaderTraceFactory {} | |
9170 | unsafe impl ::core::marker::Sync for ID3D11ShaderTraceFactory {} | |
9171 | unsafe impl ::windows::core::Interface for ID3D11ShaderTraceFactory { | |
9172 | type Vtable = ID3D11ShaderTraceFactory_Vtbl; | |
9173 | } | |
9174 | impl ::core::clone::Clone for ID3D11ShaderTraceFactory { | |
9175 | fn clone(&self) -> Self { | |
9176 | Self(self.0.clone()) | |
9177 | } | |
9178 | } | |
9179 | unsafe impl ::windows::core::ComInterface for ID3D11ShaderTraceFactory { | |
9180 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1fbad429_66ab_41cc_9617_667ac10e4459); | |
9181 | } | |
9182 | #[repr(C)] | |
9183 | #[doc(hidden)] | |
9184 | pub struct ID3D11ShaderTraceFactory_Vtbl { | |
9185 | pub base__: ::windows::core::IUnknown_Vtbl, | |
9186 | pub CreateShaderTrace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pshader: *mut ::core::ffi::c_void, ptracedesc: *const D3D11_SHADER_TRACE_DESC, ppshadertrace: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
9187 | } | |
9188 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
9189 | #[repr(transparent)] | |
9190 | pub struct ID3D11SwitchToRef(::windows::core::IUnknown); | |
9191 | impl ID3D11SwitchToRef { | |
9192 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9193 | #[cfg(feature = "Win32_Foundation")] | |
9194 | pub unsafe fn SetUseRef<P0>(&self, useref: P0) -> super::super::Foundation::BOOL | |
9195 | where | |
9196 | P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
9197 | { | |
9198 | (::windows::core::Interface::vtable(self).SetUseRef)(::windows::core::Interface::as_raw(self), useref.into_param().abi()) | |
9199 | } | |
9200 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9201 | #[cfg(feature = "Win32_Foundation")] | |
9202 | pub unsafe fn GetUseRef(&self) -> super::super::Foundation::BOOL { | |
9203 | (::windows::core::Interface::vtable(self).GetUseRef)(::windows::core::Interface::as_raw(self)) | |
9204 | } | |
9205 | } | |
9206 | ::windows::imp::interface_hierarchy!(ID3D11SwitchToRef, ::windows::core::IUnknown); | |
9207 | impl ::core::cmp::PartialEq for ID3D11SwitchToRef { | |
9208 | fn eq(&self, other: &Self) -> bool { | |
9209 | self.0 == other.0 | |
9210 | } | |
9211 | } | |
9212 | impl ::core::cmp::Eq for ID3D11SwitchToRef {} | |
9213 | impl ::core::fmt::Debug for ID3D11SwitchToRef { | |
9214 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
9215 | f.debug_tuple("ID3D11SwitchToRef").field(&self.0).finish() | |
9216 | } | |
9217 | } | |
9218 | unsafe impl ::core::marker::Send for ID3D11SwitchToRef {} | |
9219 | unsafe impl ::core::marker::Sync for ID3D11SwitchToRef {} | |
9220 | unsafe impl ::windows::core::Interface for ID3D11SwitchToRef { | |
9221 | type Vtable = ID3D11SwitchToRef_Vtbl; | |
9222 | } | |
9223 | impl ::core::clone::Clone for ID3D11SwitchToRef { | |
9224 | fn clone(&self) -> Self { | |
9225 | Self(self.0.clone()) | |
9226 | } | |
9227 | } | |
9228 | unsafe impl ::windows::core::ComInterface for ID3D11SwitchToRef { | |
9229 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1ef337e3_58e7_4f83_a692_db221f5ed47e); | |
9230 | } | |
9231 | #[repr(C)] | |
9232 | #[doc(hidden)] | |
9233 | pub struct ID3D11SwitchToRef_Vtbl { | |
9234 | pub base__: ::windows::core::IUnknown_Vtbl, | |
9235 | #[cfg(feature = "Win32_Foundation")] | |
9236 | pub SetUseRef: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, useref: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL, | |
9237 | #[cfg(not(feature = "Win32_Foundation"))] | |
9238 | SetUseRef: usize, | |
9239 | #[cfg(feature = "Win32_Foundation")] | |
9240 | pub GetUseRef: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL, | |
9241 | #[cfg(not(feature = "Win32_Foundation"))] | |
9242 | GetUseRef: usize, | |
9243 | } | |
9244 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
9245 | #[repr(transparent)] | |
9246 | pub struct ID3D11Texture1D(::windows::core::IUnknown); | |
9247 | impl ID3D11Texture1D { | |
9248 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
9249 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
9250 | (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
9251 | ::windows::core::from_abi(result__) | |
9252 | } | |
9253 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9254 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
9255 | } | |
9256 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9257 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
9258 | } | |
9259 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
9260 | where | |
9261 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
9262 | { | |
9263 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
9264 | } | |
9265 | pub unsafe fn GetType(&self) -> D3D11_RESOURCE_DIMENSION { | |
9266 | let mut result__ = ::windows::core::zeroed::<D3D11_RESOURCE_DIMENSION>(); | |
9267 | (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), &mut result__); | |
9268 | ::std::mem::transmute(result__) | |
9269 | } | |
9270 | pub unsafe fn SetEvictionPriority(&self, evictionpriority: u32) { | |
9271 | (::windows::core::Interface::vtable(self).base__.SetEvictionPriority)(::windows::core::Interface::as_raw(self), evictionpriority) | |
9272 | } | |
9273 | pub unsafe fn GetEvictionPriority(&self) -> u32 { | |
9274 | (::windows::core::Interface::vtable(self).base__.GetEvictionPriority)(::windows::core::Interface::as_raw(self)) | |
9275 | } | |
9276 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
9277 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
9278 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_TEXTURE1D_DESC) { | |
9279 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
9280 | } | |
9281 | } | |
9282 | ::windows::imp::interface_hierarchy!(ID3D11Texture1D, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Resource); | |
9283 | impl ::core::cmp::PartialEq for ID3D11Texture1D { | |
9284 | fn eq(&self, other: &Self) -> bool { | |
9285 | self.0 == other.0 | |
9286 | } | |
9287 | } | |
9288 | impl ::core::cmp::Eq for ID3D11Texture1D {} | |
9289 | impl ::core::fmt::Debug for ID3D11Texture1D { | |
9290 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
9291 | f.debug_tuple("ID3D11Texture1D").field(&self.0).finish() | |
9292 | } | |
9293 | } | |
9294 | unsafe impl ::core::marker::Send for ID3D11Texture1D {} | |
9295 | unsafe impl ::core::marker::Sync for ID3D11Texture1D {} | |
9296 | unsafe impl ::windows::core::Interface for ID3D11Texture1D { | |
9297 | type Vtable = ID3D11Texture1D_Vtbl; | |
9298 | } | |
9299 | impl ::core::clone::Clone for ID3D11Texture1D { | |
9300 | fn clone(&self) -> Self { | |
9301 | Self(self.0.clone()) | |
9302 | } | |
9303 | } | |
9304 | unsafe impl ::windows::core::ComInterface for ID3D11Texture1D { | |
9305 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xf8fb5c27_c6b3_4f75_a4c8_439af2ef564c); | |
9306 | } | |
9307 | #[repr(C)] | |
9308 | #[doc(hidden)] | |
9309 | pub struct ID3D11Texture1D_Vtbl { | |
9310 | pub base__: ID3D11Resource_Vtbl, | |
9311 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
9312 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_TEXTURE1D_DESC), | |
9313 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
9314 | GetDesc: usize, | |
9315 | } | |
9316 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
9317 | #[repr(transparent)] | |
9318 | pub struct ID3D11Texture2D(::windows::core::IUnknown); | |
9319 | impl ID3D11Texture2D { | |
9320 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
9321 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
9322 | (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
9323 | ::windows::core::from_abi(result__) | |
9324 | } | |
9325 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9326 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
9327 | } | |
9328 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9329 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
9330 | } | |
9331 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
9332 | where | |
9333 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
9334 | { | |
9335 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
9336 | } | |
9337 | pub unsafe fn GetType(&self) -> D3D11_RESOURCE_DIMENSION { | |
9338 | let mut result__ = ::windows::core::zeroed::<D3D11_RESOURCE_DIMENSION>(); | |
9339 | (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), &mut result__); | |
9340 | ::std::mem::transmute(result__) | |
9341 | } | |
9342 | pub unsafe fn SetEvictionPriority(&self, evictionpriority: u32) { | |
9343 | (::windows::core::Interface::vtable(self).base__.SetEvictionPriority)(::windows::core::Interface::as_raw(self), evictionpriority) | |
9344 | } | |
9345 | pub unsafe fn GetEvictionPriority(&self) -> u32 { | |
9346 | (::windows::core::Interface::vtable(self).base__.GetEvictionPriority)(::windows::core::Interface::as_raw(self)) | |
9347 | } | |
9348 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
9349 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
9350 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_TEXTURE2D_DESC) { | |
9351 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
9352 | } | |
9353 | } | |
9354 | ::windows::imp::interface_hierarchy!(ID3D11Texture2D, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Resource); | |
9355 | impl ::core::cmp::PartialEq for ID3D11Texture2D { | |
9356 | fn eq(&self, other: &Self) -> bool { | |
9357 | self.0 == other.0 | |
9358 | } | |
9359 | } | |
9360 | impl ::core::cmp::Eq for ID3D11Texture2D {} | |
9361 | impl ::core::fmt::Debug for ID3D11Texture2D { | |
9362 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
9363 | f.debug_tuple("ID3D11Texture2D").field(&self.0).finish() | |
9364 | } | |
9365 | } | |
9366 | unsafe impl ::core::marker::Send for ID3D11Texture2D {} | |
9367 | unsafe impl ::core::marker::Sync for ID3D11Texture2D {} | |
9368 | unsafe impl ::windows::core::Interface for ID3D11Texture2D { | |
9369 | type Vtable = ID3D11Texture2D_Vtbl; | |
9370 | } | |
9371 | impl ::core::clone::Clone for ID3D11Texture2D { | |
9372 | fn clone(&self) -> Self { | |
9373 | Self(self.0.clone()) | |
9374 | } | |
9375 | } | |
9376 | unsafe impl ::windows::core::ComInterface for ID3D11Texture2D { | |
9377 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6f15aaf2_d208_4e89_9ab4_489535d34f9c); | |
9378 | } | |
9379 | #[repr(C)] | |
9380 | #[doc(hidden)] | |
9381 | pub struct ID3D11Texture2D_Vtbl { | |
9382 | pub base__: ID3D11Resource_Vtbl, | |
9383 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
9384 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_TEXTURE2D_DESC), | |
9385 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
9386 | GetDesc: usize, | |
9387 | } | |
9388 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
9389 | #[repr(transparent)] | |
9390 | pub struct ID3D11Texture2D1(::windows::core::IUnknown); | |
9391 | impl ID3D11Texture2D1 { | |
9392 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
9393 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
9394 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
9395 | ::windows::core::from_abi(result__) | |
9396 | } | |
9397 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9398 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
9399 | } | |
9400 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9401 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
9402 | } | |
9403 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
9404 | where | |
9405 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
9406 | { | |
9407 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
9408 | } | |
9409 | pub unsafe fn GetType(&self) -> D3D11_RESOURCE_DIMENSION { | |
9410 | let mut result__ = ::windows::core::zeroed::<D3D11_RESOURCE_DIMENSION>(); | |
9411 | (::windows::core::Interface::vtable(self).base__.base__.GetType)(::windows::core::Interface::as_raw(self), &mut result__); | |
9412 | ::std::mem::transmute(result__) | |
9413 | } | |
9414 | pub unsafe fn SetEvictionPriority(&self, evictionpriority: u32) { | |
9415 | (::windows::core::Interface::vtable(self).base__.base__.SetEvictionPriority)(::windows::core::Interface::as_raw(self), evictionpriority) | |
9416 | } | |
9417 | pub unsafe fn GetEvictionPriority(&self) -> u32 { | |
9418 | (::windows::core::Interface::vtable(self).base__.base__.GetEvictionPriority)(::windows::core::Interface::as_raw(self)) | |
9419 | } | |
9420 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
9421 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
9422 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_TEXTURE2D_DESC) { | |
9423 | (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
9424 | } | |
9425 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
9426 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
9427 | pub unsafe fn GetDesc1(&self, pdesc: *mut D3D11_TEXTURE2D_DESC1) { | |
9428 | (::windows::core::Interface::vtable(self).GetDesc1)(::windows::core::Interface::as_raw(self), pdesc) | |
9429 | } | |
9430 | } | |
9431 | ::windows::imp::interface_hierarchy!(ID3D11Texture2D1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Resource, ID3D11Texture2D); | |
9432 | impl ::core::cmp::PartialEq for ID3D11Texture2D1 { | |
9433 | fn eq(&self, other: &Self) -> bool { | |
9434 | self.0 == other.0 | |
9435 | } | |
9436 | } | |
9437 | impl ::core::cmp::Eq for ID3D11Texture2D1 {} | |
9438 | impl ::core::fmt::Debug for ID3D11Texture2D1 { | |
9439 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
9440 | f.debug_tuple("ID3D11Texture2D1").field(&self.0).finish() | |
9441 | } | |
9442 | } | |
9443 | unsafe impl ::core::marker::Send for ID3D11Texture2D1 {} | |
9444 | unsafe impl ::core::marker::Sync for ID3D11Texture2D1 {} | |
9445 | unsafe impl ::windows::core::Interface for ID3D11Texture2D1 { | |
9446 | type Vtable = ID3D11Texture2D1_Vtbl; | |
9447 | } | |
9448 | impl ::core::clone::Clone for ID3D11Texture2D1 { | |
9449 | fn clone(&self) -> Self { | |
9450 | Self(self.0.clone()) | |
9451 | } | |
9452 | } | |
9453 | unsafe impl ::windows::core::ComInterface for ID3D11Texture2D1 { | |
9454 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x51218251_1e33_4617_9ccb_4d3a4367e7bb); | |
9455 | } | |
9456 | #[repr(C)] | |
9457 | #[doc(hidden)] | |
9458 | pub struct ID3D11Texture2D1_Vtbl { | |
9459 | pub base__: ID3D11Texture2D_Vtbl, | |
9460 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
9461 | pub GetDesc1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_TEXTURE2D_DESC1), | |
9462 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
9463 | GetDesc1: usize, | |
9464 | } | |
9465 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
9466 | #[repr(transparent)] | |
9467 | pub struct ID3D11Texture3D(::windows::core::IUnknown); | |
9468 | impl ID3D11Texture3D { | |
9469 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
9470 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
9471 | (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
9472 | ::windows::core::from_abi(result__) | |
9473 | } | |
9474 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9475 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
9476 | } | |
9477 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9478 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
9479 | } | |
9480 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
9481 | where | |
9482 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
9483 | { | |
9484 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
9485 | } | |
9486 | pub unsafe fn GetType(&self) -> D3D11_RESOURCE_DIMENSION { | |
9487 | let mut result__ = ::windows::core::zeroed::<D3D11_RESOURCE_DIMENSION>(); | |
9488 | (::windows::core::Interface::vtable(self).base__.GetType)(::windows::core::Interface::as_raw(self), &mut result__); | |
9489 | ::std::mem::transmute(result__) | |
9490 | } | |
9491 | pub unsafe fn SetEvictionPriority(&self, evictionpriority: u32) { | |
9492 | (::windows::core::Interface::vtable(self).base__.SetEvictionPriority)(::windows::core::Interface::as_raw(self), evictionpriority) | |
9493 | } | |
9494 | pub unsafe fn GetEvictionPriority(&self) -> u32 { | |
9495 | (::windows::core::Interface::vtable(self).base__.GetEvictionPriority)(::windows::core::Interface::as_raw(self)) | |
9496 | } | |
9497 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
9498 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
9499 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_TEXTURE3D_DESC) { | |
9500 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
9501 | } | |
9502 | } | |
9503 | ::windows::imp::interface_hierarchy!(ID3D11Texture3D, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Resource); | |
9504 | impl ::core::cmp::PartialEq for ID3D11Texture3D { | |
9505 | fn eq(&self, other: &Self) -> bool { | |
9506 | self.0 == other.0 | |
9507 | } | |
9508 | } | |
9509 | impl ::core::cmp::Eq for ID3D11Texture3D {} | |
9510 | impl ::core::fmt::Debug for ID3D11Texture3D { | |
9511 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
9512 | f.debug_tuple("ID3D11Texture3D").field(&self.0).finish() | |
9513 | } | |
9514 | } | |
9515 | unsafe impl ::core::marker::Send for ID3D11Texture3D {} | |
9516 | unsafe impl ::core::marker::Sync for ID3D11Texture3D {} | |
9517 | unsafe impl ::windows::core::Interface for ID3D11Texture3D { | |
9518 | type Vtable = ID3D11Texture3D_Vtbl; | |
9519 | } | |
9520 | impl ::core::clone::Clone for ID3D11Texture3D { | |
9521 | fn clone(&self) -> Self { | |
9522 | Self(self.0.clone()) | |
9523 | } | |
9524 | } | |
9525 | unsafe impl ::windows::core::ComInterface for ID3D11Texture3D { | |
9526 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x037e866e_f56d_4357_a8af_9dabbe6e250e); | |
9527 | } | |
9528 | #[repr(C)] | |
9529 | #[doc(hidden)] | |
9530 | pub struct ID3D11Texture3D_Vtbl { | |
9531 | pub base__: ID3D11Resource_Vtbl, | |
9532 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
9533 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_TEXTURE3D_DESC), | |
9534 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
9535 | GetDesc: usize, | |
9536 | } | |
9537 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
9538 | #[repr(transparent)] | |
9539 | pub struct ID3D11Texture3D1(::windows::core::IUnknown); | |
9540 | impl ID3D11Texture3D1 { | |
9541 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
9542 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
9543 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
9544 | ::windows::core::from_abi(result__) | |
9545 | } | |
9546 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9547 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
9548 | } | |
9549 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9550 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
9551 | } | |
9552 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
9553 | where | |
9554 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
9555 | { | |
9556 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
9557 | } | |
9558 | pub unsafe fn GetType(&self) -> D3D11_RESOURCE_DIMENSION { | |
9559 | let mut result__ = ::windows::core::zeroed::<D3D11_RESOURCE_DIMENSION>(); | |
9560 | (::windows::core::Interface::vtable(self).base__.base__.GetType)(::windows::core::Interface::as_raw(self), &mut result__); | |
9561 | ::std::mem::transmute(result__) | |
9562 | } | |
9563 | pub unsafe fn SetEvictionPriority(&self, evictionpriority: u32) { | |
9564 | (::windows::core::Interface::vtable(self).base__.base__.SetEvictionPriority)(::windows::core::Interface::as_raw(self), evictionpriority) | |
9565 | } | |
9566 | pub unsafe fn GetEvictionPriority(&self) -> u32 { | |
9567 | (::windows::core::Interface::vtable(self).base__.base__.GetEvictionPriority)(::windows::core::Interface::as_raw(self)) | |
9568 | } | |
9569 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
9570 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
9571 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_TEXTURE3D_DESC) { | |
9572 | (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
9573 | } | |
9574 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
9575 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
9576 | pub unsafe fn GetDesc1(&self, pdesc: *mut D3D11_TEXTURE3D_DESC1) { | |
9577 | (::windows::core::Interface::vtable(self).GetDesc1)(::windows::core::Interface::as_raw(self), pdesc) | |
9578 | } | |
9579 | } | |
9580 | ::windows::imp::interface_hierarchy!(ID3D11Texture3D1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11Resource, ID3D11Texture3D); | |
9581 | impl ::core::cmp::PartialEq for ID3D11Texture3D1 { | |
9582 | fn eq(&self, other: &Self) -> bool { | |
9583 | self.0 == other.0 | |
9584 | } | |
9585 | } | |
9586 | impl ::core::cmp::Eq for ID3D11Texture3D1 {} | |
9587 | impl ::core::fmt::Debug for ID3D11Texture3D1 { | |
9588 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
9589 | f.debug_tuple("ID3D11Texture3D1").field(&self.0).finish() | |
9590 | } | |
9591 | } | |
9592 | unsafe impl ::core::marker::Send for ID3D11Texture3D1 {} | |
9593 | unsafe impl ::core::marker::Sync for ID3D11Texture3D1 {} | |
9594 | unsafe impl ::windows::core::Interface for ID3D11Texture3D1 { | |
9595 | type Vtable = ID3D11Texture3D1_Vtbl; | |
9596 | } | |
9597 | impl ::core::clone::Clone for ID3D11Texture3D1 { | |
9598 | fn clone(&self) -> Self { | |
9599 | Self(self.0.clone()) | |
9600 | } | |
9601 | } | |
9602 | unsafe impl ::windows::core::ComInterface for ID3D11Texture3D1 { | |
9603 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x0c711683_2853_4846_9bb0_f3e60639e46a); | |
9604 | } | |
9605 | #[repr(C)] | |
9606 | #[doc(hidden)] | |
9607 | pub struct ID3D11Texture3D1_Vtbl { | |
9608 | pub base__: ID3D11Texture3D_Vtbl, | |
9609 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
9610 | pub GetDesc1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_TEXTURE3D_DESC1), | |
9611 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
9612 | GetDesc1: usize, | |
9613 | } | |
9614 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
9615 | #[repr(transparent)] | |
9616 | pub struct ID3D11TracingDevice(::windows::core::IUnknown); | |
9617 | impl ID3D11TracingDevice { | |
9618 | pub unsafe fn SetShaderTrackingOptionsByType(&self, resourcetypeflags: u32, options: u32) -> ::windows::core::Result<()> { | |
9619 | (::windows::core::Interface::vtable(self).SetShaderTrackingOptionsByType)(::windows::core::Interface::as_raw(self), resourcetypeflags, options).ok() | |
9620 | } | |
9621 | pub unsafe fn SetShaderTrackingOptions<P0>(&self, pshader: P0, options: u32) -> ::windows::core::Result<()> | |
9622 | where | |
9623 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
9624 | { | |
9625 | (::windows::core::Interface::vtable(self).SetShaderTrackingOptions)(::windows::core::Interface::as_raw(self), pshader.into_param().abi(), options).ok() | |
9626 | } | |
9627 | } | |
9628 | ::windows::imp::interface_hierarchy!(ID3D11TracingDevice, ::windows::core::IUnknown); | |
9629 | impl ::core::cmp::PartialEq for ID3D11TracingDevice { | |
9630 | fn eq(&self, other: &Self) -> bool { | |
9631 | self.0 == other.0 | |
9632 | } | |
9633 | } | |
9634 | impl ::core::cmp::Eq for ID3D11TracingDevice {} | |
9635 | impl ::core::fmt::Debug for ID3D11TracingDevice { | |
9636 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
9637 | f.debug_tuple("ID3D11TracingDevice").field(&self.0).finish() | |
9638 | } | |
9639 | } | |
9640 | unsafe impl ::core::marker::Send for ID3D11TracingDevice {} | |
9641 | unsafe impl ::core::marker::Sync for ID3D11TracingDevice {} | |
9642 | unsafe impl ::windows::core::Interface for ID3D11TracingDevice { | |
9643 | type Vtable = ID3D11TracingDevice_Vtbl; | |
9644 | } | |
9645 | impl ::core::clone::Clone for ID3D11TracingDevice { | |
9646 | fn clone(&self) -> Self { | |
9647 | Self(self.0.clone()) | |
9648 | } | |
9649 | } | |
9650 | unsafe impl ::windows::core::ComInterface for ID3D11TracingDevice { | |
9651 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1911c771_1587_413e_a7e0_fb26c3de0268); | |
9652 | } | |
9653 | #[repr(C)] | |
9654 | #[doc(hidden)] | |
9655 | pub struct ID3D11TracingDevice_Vtbl { | |
9656 | pub base__: ::windows::core::IUnknown_Vtbl, | |
9657 | pub SetShaderTrackingOptionsByType: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, resourcetypeflags: u32, options: u32) -> ::windows::core::HRESULT, | |
9658 | pub SetShaderTrackingOptions: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pshader: *mut ::core::ffi::c_void, options: u32) -> ::windows::core::HRESULT, | |
9659 | } | |
9660 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
9661 | #[repr(transparent)] | |
9662 | pub struct ID3D11UnorderedAccessView(::windows::core::IUnknown); | |
9663 | impl ID3D11UnorderedAccessView { | |
9664 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
9665 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
9666 | (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
9667 | ::windows::core::from_abi(result__) | |
9668 | } | |
9669 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9670 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
9671 | } | |
9672 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9673 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
9674 | } | |
9675 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
9676 | where | |
9677 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
9678 | { | |
9679 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
9680 | } | |
9681 | pub unsafe fn GetResource(&self) -> ::windows::core::Result<ID3D11Resource> { | |
9682 | let mut result__ = ::windows::core::zeroed::<ID3D11Resource>(); | |
9683 | (::windows::core::Interface::vtable(self).base__.GetResource)(::windows::core::Interface::as_raw(self), &mut result__); | |
9684 | ::windows::core::from_abi(result__) | |
9685 | } | |
9686 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
9687 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
9688 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_UNORDERED_ACCESS_VIEW_DESC) { | |
9689 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
9690 | } | |
9691 | } | |
9692 | ::windows::imp::interface_hierarchy!(ID3D11UnorderedAccessView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); | |
9693 | impl ::core::cmp::PartialEq for ID3D11UnorderedAccessView { | |
9694 | fn eq(&self, other: &Self) -> bool { | |
9695 | self.0 == other.0 | |
9696 | } | |
9697 | } | |
9698 | impl ::core::cmp::Eq for ID3D11UnorderedAccessView {} | |
9699 | impl ::core::fmt::Debug for ID3D11UnorderedAccessView { | |
9700 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
9701 | f.debug_tuple("ID3D11UnorderedAccessView").field(&self.0).finish() | |
9702 | } | |
9703 | } | |
9704 | unsafe impl ::core::marker::Send for ID3D11UnorderedAccessView {} | |
9705 | unsafe impl ::core::marker::Sync for ID3D11UnorderedAccessView {} | |
9706 | unsafe impl ::windows::core::Interface for ID3D11UnorderedAccessView { | |
9707 | type Vtable = ID3D11UnorderedAccessView_Vtbl; | |
9708 | } | |
9709 | impl ::core::clone::Clone for ID3D11UnorderedAccessView { | |
9710 | fn clone(&self) -> Self { | |
9711 | Self(self.0.clone()) | |
9712 | } | |
9713 | } | |
9714 | unsafe impl ::windows::core::ComInterface for ID3D11UnorderedAccessView { | |
9715 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x28acf509_7f5c_48f6_8611_f316010a6380); | |
9716 | } | |
9717 | #[repr(C)] | |
9718 | #[doc(hidden)] | |
9719 | pub struct ID3D11UnorderedAccessView_Vtbl { | |
9720 | pub base__: ID3D11View_Vtbl, | |
9721 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
9722 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_UNORDERED_ACCESS_VIEW_DESC), | |
9723 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
9724 | GetDesc: usize, | |
9725 | } | |
9726 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
9727 | #[repr(transparent)] | |
9728 | pub struct ID3D11UnorderedAccessView1(::windows::core::IUnknown); | |
9729 | impl ID3D11UnorderedAccessView1 { | |
9730 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
9731 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
9732 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
9733 | ::windows::core::from_abi(result__) | |
9734 | } | |
9735 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9736 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
9737 | } | |
9738 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9739 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
9740 | } | |
9741 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
9742 | where | |
9743 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
9744 | { | |
9745 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
9746 | } | |
9747 | pub unsafe fn GetResource(&self) -> ::windows::core::Result<ID3D11Resource> { | |
9748 | let mut result__ = ::windows::core::zeroed::<ID3D11Resource>(); | |
9749 | (::windows::core::Interface::vtable(self).base__.base__.GetResource)(::windows::core::Interface::as_raw(self), &mut result__); | |
9750 | ::windows::core::from_abi(result__) | |
9751 | } | |
9752 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
9753 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
9754 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_UNORDERED_ACCESS_VIEW_DESC) { | |
9755 | (::windows::core::Interface::vtable(self).base__.GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
9756 | } | |
9757 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
9758 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
9759 | pub unsafe fn GetDesc1(&self, pdesc1: *mut D3D11_UNORDERED_ACCESS_VIEW_DESC1) { | |
9760 | (::windows::core::Interface::vtable(self).GetDesc1)(::windows::core::Interface::as_raw(self), pdesc1) | |
9761 | } | |
9762 | } | |
9763 | ::windows::imp::interface_hierarchy!(ID3D11UnorderedAccessView1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View, ID3D11UnorderedAccessView); | |
9764 | impl ::core::cmp::PartialEq for ID3D11UnorderedAccessView1 { | |
9765 | fn eq(&self, other: &Self) -> bool { | |
9766 | self.0 == other.0 | |
9767 | } | |
9768 | } | |
9769 | impl ::core::cmp::Eq for ID3D11UnorderedAccessView1 {} | |
9770 | impl ::core::fmt::Debug for ID3D11UnorderedAccessView1 { | |
9771 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
9772 | f.debug_tuple("ID3D11UnorderedAccessView1").field(&self.0).finish() | |
9773 | } | |
9774 | } | |
9775 | unsafe impl ::core::marker::Send for ID3D11UnorderedAccessView1 {} | |
9776 | unsafe impl ::core::marker::Sync for ID3D11UnorderedAccessView1 {} | |
9777 | unsafe impl ::windows::core::Interface for ID3D11UnorderedAccessView1 { | |
9778 | type Vtable = ID3D11UnorderedAccessView1_Vtbl; | |
9779 | } | |
9780 | impl ::core::clone::Clone for ID3D11UnorderedAccessView1 { | |
9781 | fn clone(&self) -> Self { | |
9782 | Self(self.0.clone()) | |
9783 | } | |
9784 | } | |
9785 | unsafe impl ::windows::core::ComInterface for ID3D11UnorderedAccessView1 { | |
9786 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x7b3b6153_a886_4544_ab37_6537c8500403); | |
9787 | } | |
9788 | #[repr(C)] | |
9789 | #[doc(hidden)] | |
9790 | pub struct ID3D11UnorderedAccessView1_Vtbl { | |
9791 | pub base__: ID3D11UnorderedAccessView_Vtbl, | |
9792 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
9793 | pub GetDesc1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc1: *mut D3D11_UNORDERED_ACCESS_VIEW_DESC1), | |
9794 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
9795 | GetDesc1: usize, | |
9796 | } | |
9797 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
9798 | #[repr(transparent)] | |
9799 | pub struct ID3D11VertexShader(::windows::core::IUnknown); | |
9800 | impl ID3D11VertexShader { | |
9801 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
9802 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
9803 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
9804 | ::windows::core::from_abi(result__) | |
9805 | } | |
9806 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9807 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
9808 | } | |
9809 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9810 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
9811 | } | |
9812 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
9813 | where | |
9814 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
9815 | { | |
9816 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
9817 | } | |
9818 | } | |
9819 | ::windows::imp::interface_hierarchy!(ID3D11VertexShader, ::windows::core::IUnknown, ID3D11DeviceChild); | |
9820 | impl ::core::cmp::PartialEq for ID3D11VertexShader { | |
9821 | fn eq(&self, other: &Self) -> bool { | |
9822 | self.0 == other.0 | |
9823 | } | |
9824 | } | |
9825 | impl ::core::cmp::Eq for ID3D11VertexShader {} | |
9826 | impl ::core::fmt::Debug for ID3D11VertexShader { | |
9827 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
9828 | f.debug_tuple("ID3D11VertexShader").field(&self.0).finish() | |
9829 | } | |
9830 | } | |
9831 | unsafe impl ::core::marker::Send for ID3D11VertexShader {} | |
9832 | unsafe impl ::core::marker::Sync for ID3D11VertexShader {} | |
9833 | unsafe impl ::windows::core::Interface for ID3D11VertexShader { | |
9834 | type Vtable = ID3D11VertexShader_Vtbl; | |
9835 | } | |
9836 | impl ::core::clone::Clone for ID3D11VertexShader { | |
9837 | fn clone(&self) -> Self { | |
9838 | Self(self.0.clone()) | |
9839 | } | |
9840 | } | |
9841 | unsafe impl ::windows::core::ComInterface for ID3D11VertexShader { | |
9842 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3b301d64_d678_4289_8897_22f8928b72f3); | |
9843 | } | |
9844 | #[repr(C)] | |
9845 | #[doc(hidden)] | |
9846 | pub struct ID3D11VertexShader_Vtbl { | |
9847 | pub base__: ID3D11DeviceChild_Vtbl, | |
9848 | } | |
9849 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
9850 | #[repr(transparent)] | |
9851 | pub struct ID3D11VideoContext(::windows::core::IUnknown); | |
9852 | impl ID3D11VideoContext { | |
9853 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
9854 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
9855 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
9856 | ::windows::core::from_abi(result__) | |
9857 | } | |
9858 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9859 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
9860 | } | |
9861 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
9862 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
9863 | } | |
9864 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
9865 | where | |
9866 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
9867 | { | |
9868 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
9869 | } | |
9870 | pub unsafe fn GetDecoderBuffer<P0>(&self, pdecoder: P0, r#type: D3D11_VIDEO_DECODER_BUFFER_TYPE, pbuffersize: *mut u32, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
9871 | where | |
9872 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
9873 | { | |
9874 | (::windows::core::Interface::vtable(self).GetDecoderBuffer)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), r#type, pbuffersize, ppbuffer).ok() | |
9875 | } | |
9876 | pub unsafe fn ReleaseDecoderBuffer<P0>(&self, pdecoder: P0, r#type: D3D11_VIDEO_DECODER_BUFFER_TYPE) -> ::windows::core::Result<()> | |
9877 | where | |
9878 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
9879 | { | |
9880 | (::windows::core::Interface::vtable(self).ReleaseDecoderBuffer)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), r#type).ok() | |
9881 | } | |
9882 | pub unsafe fn DecoderBeginFrame<P0, P1>(&self, pdecoder: P0, pview: P1, contentkeysize: u32, pcontentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> | |
9883 | where | |
9884 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
9885 | P1: ::windows::core::IntoParam<ID3D11VideoDecoderOutputView>, | |
9886 | { | |
9887 | (::windows::core::Interface::vtable(self).DecoderBeginFrame)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), pview.into_param().abi(), contentkeysize, ::core::mem::transmute(pcontentkey.unwrap_or(::std::ptr::null()))).ok() | |
9888 | } | |
9889 | pub unsafe fn DecoderEndFrame<P0>(&self, pdecoder: P0) -> ::windows::core::Result<()> | |
9890 | where | |
9891 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
9892 | { | |
9893 | (::windows::core::Interface::vtable(self).DecoderEndFrame)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi()).ok() | |
9894 | } | |
9895 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9896 | #[cfg(feature = "Win32_Foundation")] | |
9897 | pub unsafe fn SubmitDecoderBuffers<P0>(&self, pdecoder: P0, pbufferdesc: &[D3D11_VIDEO_DECODER_BUFFER_DESC]) -> ::windows::core::Result<()> | |
9898 | where | |
9899 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
9900 | { | |
9901 | (::windows::core::Interface::vtable(self).SubmitDecoderBuffers)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), pbufferdesc.len() as _, ::core::mem::transmute(pbufferdesc.as_ptr())).ok() | |
9902 | } | |
9903 | pub unsafe fn DecoderExtension<P0>(&self, pdecoder: P0, pextensiondata: *const D3D11_VIDEO_DECODER_EXTENSION) -> i32 | |
9904 | where | |
9905 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
9906 | { | |
9907 | (::windows::core::Interface::vtable(self).DecoderExtension)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), pextensiondata) | |
9908 | } | |
9909 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9910 | #[cfg(feature = "Win32_Foundation")] | |
9911 | pub unsafe fn VideoProcessorSetOutputTargetRect<P0, P1>(&self, pvideoprocessor: P0, enable: P1, prect: ::core::option::Option<*const super::super::Foundation::RECT>) | |
9912 | where | |
9913 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
9914 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
9915 | { | |
9916 | (::windows::core::Interface::vtable(self).VideoProcessorSetOutputTargetRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), enable.into_param().abi(), ::core::mem::transmute(prect.unwrap_or(::std::ptr::null()))) | |
9917 | } | |
9918 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9919 | #[cfg(feature = "Win32_Foundation")] | |
9920 | pub unsafe fn VideoProcessorSetOutputBackgroundColor<P0, P1>(&self, pvideoprocessor: P0, ycbcr: P1, pcolor: *const D3D11_VIDEO_COLOR) | |
9921 | where | |
9922 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
9923 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
9924 | { | |
9925 | (::windows::core::Interface::vtable(self).VideoProcessorSetOutputBackgroundColor)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), ycbcr.into_param().abi(), pcolor) | |
9926 | } | |
9927 | pub unsafe fn VideoProcessorSetOutputColorSpace<P0>(&self, pvideoprocessor: P0, pcolorspace: *const D3D11_VIDEO_PROCESSOR_COLOR_SPACE) | |
9928 | where | |
9929 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
9930 | { | |
9931 | (::windows::core::Interface::vtable(self).VideoProcessorSetOutputColorSpace)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pcolorspace) | |
9932 | } | |
9933 | pub unsafe fn VideoProcessorSetOutputAlphaFillMode<P0>(&self, pvideoprocessor: P0, alphafillmode: D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE, streamindex: u32) | |
9934 | where | |
9935 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
9936 | { | |
9937 | (::windows::core::Interface::vtable(self).VideoProcessorSetOutputAlphaFillMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), alphafillmode, streamindex) | |
9938 | } | |
9939 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9940 | #[cfg(feature = "Win32_Foundation")] | |
9941 | pub unsafe fn VideoProcessorSetOutputConstriction<P0, P1>(&self, pvideoprocessor: P0, enable: P1, size: super::super::Foundation::SIZE) | |
9942 | where | |
9943 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
9944 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
9945 | { | |
9946 | (::windows::core::Interface::vtable(self).VideoProcessorSetOutputConstriction)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), enable.into_param().abi(), ::core::mem::transmute(size)) | |
9947 | } | |
9948 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9949 | #[cfg(feature = "Win32_Foundation")] | |
9950 | pub unsafe fn VideoProcessorSetOutputStereoMode<P0, P1>(&self, pvideoprocessor: P0, enable: P1) | |
9951 | where | |
9952 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
9953 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
9954 | { | |
9955 | (::windows::core::Interface::vtable(self).VideoProcessorSetOutputStereoMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), enable.into_param().abi()) | |
9956 | } | |
9957 | pub unsafe fn VideoProcessorSetOutputExtension<P0>(&self, pvideoprocessor: P0, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> i32 | |
9958 | where | |
9959 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
9960 | { | |
9961 | (::windows::core::Interface::vtable(self).VideoProcessorSetOutputExtension)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pextensionguid, datasize, pdata) | |
9962 | } | |
9963 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9964 | #[cfg(feature = "Win32_Foundation")] | |
9965 | pub unsafe fn VideoProcessorGetOutputTargetRect<P0>(&self, pvideoprocessor: P0, enabled: *mut super::super::Foundation::BOOL, prect: *mut super::super::Foundation::RECT) | |
9966 | where | |
9967 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
9968 | { | |
9969 | (::windows::core::Interface::vtable(self).VideoProcessorGetOutputTargetRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), enabled, prect) | |
9970 | } | |
9971 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9972 | #[cfg(feature = "Win32_Foundation")] | |
9973 | pub unsafe fn VideoProcessorGetOutputBackgroundColor<P0>(&self, pvideoprocessor: P0, pycbcr: *mut super::super::Foundation::BOOL, pcolor: *mut D3D11_VIDEO_COLOR) | |
9974 | where | |
9975 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
9976 | { | |
9977 | (::windows::core::Interface::vtable(self).VideoProcessorGetOutputBackgroundColor)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pycbcr, pcolor) | |
9978 | } | |
9979 | pub unsafe fn VideoProcessorGetOutputColorSpace<P0>(&self, pvideoprocessor: P0) -> D3D11_VIDEO_PROCESSOR_COLOR_SPACE | |
9980 | where | |
9981 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
9982 | { | |
9983 | let mut result__ = ::windows::core::zeroed::<D3D11_VIDEO_PROCESSOR_COLOR_SPACE>(); | |
9984 | (::windows::core::Interface::vtable(self).VideoProcessorGetOutputColorSpace)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), &mut result__); | |
9985 | ::std::mem::transmute(result__) | |
9986 | } | |
9987 | pub unsafe fn VideoProcessorGetOutputAlphaFillMode<P0>(&self, pvideoprocessor: P0, palphafillmode: *mut D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE, pstreamindex: *mut u32) | |
9988 | where | |
9989 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
9990 | { | |
9991 | (::windows::core::Interface::vtable(self).VideoProcessorGetOutputAlphaFillMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), palphafillmode, pstreamindex) | |
9992 | } | |
9993 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
9994 | #[cfg(feature = "Win32_Foundation")] | |
9995 | pub unsafe fn VideoProcessorGetOutputConstriction<P0>(&self, pvideoprocessor: P0, penabled: *mut super::super::Foundation::BOOL, psize: *mut super::super::Foundation::SIZE) | |
9996 | where | |
9997 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
9998 | { | |
9999 | (::windows::core::Interface::vtable(self).VideoProcessorGetOutputConstriction)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), penabled, psize) | |
10000 | } | |
10001 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10002 | #[cfg(feature = "Win32_Foundation")] | |
10003 | pub unsafe fn VideoProcessorGetOutputStereoMode<P0>(&self, pvideoprocessor: P0) -> super::super::Foundation::BOOL | |
10004 | where | |
10005 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10006 | { | |
10007 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>(); | |
10008 | (::windows::core::Interface::vtable(self).VideoProcessorGetOutputStereoMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), &mut result__); | |
10009 | ::std::mem::transmute(result__) | |
10010 | } | |
10011 | pub unsafe fn VideoProcessorGetOutputExtension<P0>(&self, pvideoprocessor: P0, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *mut ::core::ffi::c_void) -> i32 | |
10012 | where | |
10013 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10014 | { | |
10015 | (::windows::core::Interface::vtable(self).VideoProcessorGetOutputExtension)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pextensionguid, datasize, pdata) | |
10016 | } | |
10017 | pub unsafe fn VideoProcessorSetStreamFrameFormat<P0>(&self, pvideoprocessor: P0, streamindex: u32, frameformat: D3D11_VIDEO_FRAME_FORMAT) | |
10018 | where | |
10019 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10020 | { | |
10021 | (::windows::core::Interface::vtable(self).VideoProcessorSetStreamFrameFormat)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, frameformat) | |
10022 | } | |
10023 | pub unsafe fn VideoProcessorSetStreamColorSpace<P0>(&self, pvideoprocessor: P0, streamindex: u32, pcolorspace: *const D3D11_VIDEO_PROCESSOR_COLOR_SPACE) | |
10024 | where | |
10025 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10026 | { | |
10027 | (::windows::core::Interface::vtable(self).VideoProcessorSetStreamColorSpace)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pcolorspace) | |
10028 | } | |
10029 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
10030 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
10031 | pub unsafe fn VideoProcessorSetStreamOutputRate<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, outputrate: D3D11_VIDEO_PROCESSOR_OUTPUT_RATE, repeatframe: P1, pcustomrate: ::core::option::Option<*const super::Dxgi::Common::DXGI_RATIONAL>) | |
10032 | where | |
10033 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10034 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10035 | { | |
10036 | (::windows::core::Interface::vtable(self).VideoProcessorSetStreamOutputRate)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, outputrate, repeatframe.into_param().abi(), ::core::mem::transmute(pcustomrate.unwrap_or(::std::ptr::null()))) | |
10037 | } | |
10038 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10039 | #[cfg(feature = "Win32_Foundation")] | |
10040 | pub unsafe fn VideoProcessorSetStreamSourceRect<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, prect: ::core::option::Option<*const super::super::Foundation::RECT>) | |
10041 | where | |
10042 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10043 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10044 | { | |
10045 | (::windows::core::Interface::vtable(self).VideoProcessorSetStreamSourceRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), ::core::mem::transmute(prect.unwrap_or(::std::ptr::null()))) | |
10046 | } | |
10047 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10048 | #[cfg(feature = "Win32_Foundation")] | |
10049 | pub unsafe fn VideoProcessorSetStreamDestRect<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, prect: ::core::option::Option<*const super::super::Foundation::RECT>) | |
10050 | where | |
10051 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10052 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10053 | { | |
10054 | (::windows::core::Interface::vtable(self).VideoProcessorSetStreamDestRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), ::core::mem::transmute(prect.unwrap_or(::std::ptr::null()))) | |
10055 | } | |
10056 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10057 | #[cfg(feature = "Win32_Foundation")] | |
10058 | pub unsafe fn VideoProcessorSetStreamAlpha<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, alpha: f32) | |
10059 | where | |
10060 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10061 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10062 | { | |
10063 | (::windows::core::Interface::vtable(self).VideoProcessorSetStreamAlpha)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), alpha) | |
10064 | } | |
10065 | pub unsafe fn VideoProcessorSetStreamPalette<P0>(&self, pvideoprocessor: P0, streamindex: u32, pentries: ::core::option::Option<&[u32]>) | |
10066 | where | |
10067 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10068 | { | |
10069 | (::windows::core::Interface::vtable(self).VideoProcessorSetStreamPalette)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pentries.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pentries.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
10070 | } | |
10071 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
10072 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
10073 | pub unsafe fn VideoProcessorSetStreamPixelAspectRatio<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, psourceaspectratio: ::core::option::Option<*const super::Dxgi::Common::DXGI_RATIONAL>, pdestinationaspectratio: ::core::option::Option<*const super::Dxgi::Common::DXGI_RATIONAL>) | |
10074 | where | |
10075 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10076 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10077 | { | |
10078 | (::windows::core::Interface::vtable(self).VideoProcessorSetStreamPixelAspectRatio)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), ::core::mem::transmute(psourceaspectratio.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdestinationaspectratio.unwrap_or(::std::ptr::null()))) | |
10079 | } | |
10080 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10081 | #[cfg(feature = "Win32_Foundation")] | |
10082 | pub unsafe fn VideoProcessorSetStreamLumaKey<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, lower: f32, upper: f32) | |
10083 | where | |
10084 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10085 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10086 | { | |
10087 | (::windows::core::Interface::vtable(self).VideoProcessorSetStreamLumaKey)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), lower, upper) | |
10088 | } | |
10089 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10090 | #[cfg(feature = "Win32_Foundation")] | |
10091 | pub unsafe fn VideoProcessorSetStreamStereoFormat<P0, P1, P2, P3>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, format: D3D11_VIDEO_PROCESSOR_STEREO_FORMAT, leftviewframe0: P2, baseviewframe0: P3, flipmode: D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE, monooffset: i32) | |
10092 | where | |
10093 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10094 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10095 | P2: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10096 | P3: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10097 | { | |
10098 | (::windows::core::Interface::vtable(self).VideoProcessorSetStreamStereoFormat)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), format, leftviewframe0.into_param().abi(), baseviewframe0.into_param().abi(), flipmode, monooffset) | |
10099 | } | |
10100 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10101 | #[cfg(feature = "Win32_Foundation")] | |
10102 | pub unsafe fn VideoProcessorSetStreamAutoProcessingMode<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1) | |
10103 | where | |
10104 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10105 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10106 | { | |
10107 | (::windows::core::Interface::vtable(self).VideoProcessorSetStreamAutoProcessingMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi()) | |
10108 | } | |
10109 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10110 | #[cfg(feature = "Win32_Foundation")] | |
10111 | pub unsafe fn VideoProcessorSetStreamFilter<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, filter: D3D11_VIDEO_PROCESSOR_FILTER, enable: P1, level: i32) | |
10112 | where | |
10113 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10114 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10115 | { | |
10116 | (::windows::core::Interface::vtable(self).VideoProcessorSetStreamFilter)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, filter, enable.into_param().abi(), level) | |
10117 | } | |
10118 | pub unsafe fn VideoProcessorSetStreamExtension<P0>(&self, pvideoprocessor: P0, streamindex: u32, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> i32 | |
10119 | where | |
10120 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10121 | { | |
10122 | (::windows::core::Interface::vtable(self).VideoProcessorSetStreamExtension)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pextensionguid, datasize, pdata) | |
10123 | } | |
10124 | pub unsafe fn VideoProcessorGetStreamFrameFormat<P0>(&self, pvideoprocessor: P0, streamindex: u32) -> D3D11_VIDEO_FRAME_FORMAT | |
10125 | where | |
10126 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10127 | { | |
10128 | let mut result__ = ::windows::core::zeroed::<D3D11_VIDEO_FRAME_FORMAT>(); | |
10129 | (::windows::core::Interface::vtable(self).VideoProcessorGetStreamFrameFormat)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, &mut result__); | |
10130 | ::std::mem::transmute(result__) | |
10131 | } | |
10132 | pub unsafe fn VideoProcessorGetStreamColorSpace<P0>(&self, pvideoprocessor: P0, streamindex: u32) -> D3D11_VIDEO_PROCESSOR_COLOR_SPACE | |
10133 | where | |
10134 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10135 | { | |
10136 | let mut result__ = ::windows::core::zeroed::<D3D11_VIDEO_PROCESSOR_COLOR_SPACE>(); | |
10137 | (::windows::core::Interface::vtable(self).VideoProcessorGetStreamColorSpace)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, &mut result__); | |
10138 | ::std::mem::transmute(result__) | |
10139 | } | |
10140 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
10141 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
10142 | pub unsafe fn VideoProcessorGetStreamOutputRate<P0>(&self, pvideoprocessor: P0, streamindex: u32, poutputrate: *mut D3D11_VIDEO_PROCESSOR_OUTPUT_RATE, prepeatframe: *mut super::super::Foundation::BOOL, pcustomrate: *mut super::Dxgi::Common::DXGI_RATIONAL) | |
10143 | where | |
10144 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10145 | { | |
10146 | (::windows::core::Interface::vtable(self).VideoProcessorGetStreamOutputRate)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, poutputrate, prepeatframe, pcustomrate) | |
10147 | } | |
10148 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10149 | #[cfg(feature = "Win32_Foundation")] | |
10150 | pub unsafe fn VideoProcessorGetStreamSourceRect<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, prect: *mut super::super::Foundation::RECT) | |
10151 | where | |
10152 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10153 | { | |
10154 | (::windows::core::Interface::vtable(self).VideoProcessorGetStreamSourceRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, prect) | |
10155 | } | |
10156 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10157 | #[cfg(feature = "Win32_Foundation")] | |
10158 | pub unsafe fn VideoProcessorGetStreamDestRect<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, prect: *mut super::super::Foundation::RECT) | |
10159 | where | |
10160 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10161 | { | |
10162 | (::windows::core::Interface::vtable(self).VideoProcessorGetStreamDestRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, prect) | |
10163 | } | |
10164 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10165 | #[cfg(feature = "Win32_Foundation")] | |
10166 | pub unsafe fn VideoProcessorGetStreamAlpha<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, palpha: *mut f32) | |
10167 | where | |
10168 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10169 | { | |
10170 | (::windows::core::Interface::vtable(self).VideoProcessorGetStreamAlpha)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, palpha) | |
10171 | } | |
10172 | pub unsafe fn VideoProcessorGetStreamPalette<P0>(&self, pvideoprocessor: P0, streamindex: u32, pentries: &mut [u32]) | |
10173 | where | |
10174 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10175 | { | |
10176 | (::windows::core::Interface::vtable(self).VideoProcessorGetStreamPalette)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pentries.len() as _, ::core::mem::transmute(pentries.as_ptr())) | |
10177 | } | |
10178 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
10179 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
10180 | pub unsafe fn VideoProcessorGetStreamPixelAspectRatio<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, psourceaspectratio: *mut super::Dxgi::Common::DXGI_RATIONAL, pdestinationaspectratio: *mut super::Dxgi::Common::DXGI_RATIONAL) | |
10181 | where | |
10182 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10183 | { | |
10184 | (::windows::core::Interface::vtable(self).VideoProcessorGetStreamPixelAspectRatio)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, psourceaspectratio, pdestinationaspectratio) | |
10185 | } | |
10186 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10187 | #[cfg(feature = "Win32_Foundation")] | |
10188 | pub unsafe fn VideoProcessorGetStreamLumaKey<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, plower: *mut f32, pupper: *mut f32) | |
10189 | where | |
10190 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10191 | { | |
10192 | (::windows::core::Interface::vtable(self).VideoProcessorGetStreamLumaKey)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, plower, pupper) | |
10193 | } | |
10194 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10195 | #[cfg(feature = "Win32_Foundation")] | |
10196 | pub unsafe fn VideoProcessorGetStreamStereoFormat<P0>(&self, pvideoprocessor: P0, streamindex: u32, penable: *mut super::super::Foundation::BOOL, pformat: *mut D3D11_VIDEO_PROCESSOR_STEREO_FORMAT, pleftviewframe0: *mut super::super::Foundation::BOOL, pbaseviewframe0: *mut super::super::Foundation::BOOL, pflipmode: *mut D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE, monooffset: *mut i32) | |
10197 | where | |
10198 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10199 | { | |
10200 | (::windows::core::Interface::vtable(self).VideoProcessorGetStreamStereoFormat)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penable, pformat, pleftviewframe0, pbaseviewframe0, pflipmode, monooffset) | |
10201 | } | |
10202 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10203 | #[cfg(feature = "Win32_Foundation")] | |
10204 | pub unsafe fn VideoProcessorGetStreamAutoProcessingMode<P0>(&self, pvideoprocessor: P0, streamindex: u32) -> super::super::Foundation::BOOL | |
10205 | where | |
10206 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10207 | { | |
10208 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>(); | |
10209 | (::windows::core::Interface::vtable(self).VideoProcessorGetStreamAutoProcessingMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, &mut result__); | |
10210 | ::std::mem::transmute(result__) | |
10211 | } | |
10212 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10213 | #[cfg(feature = "Win32_Foundation")] | |
10214 | pub unsafe fn VideoProcessorGetStreamFilter<P0>(&self, pvideoprocessor: P0, streamindex: u32, filter: D3D11_VIDEO_PROCESSOR_FILTER, penabled: *mut super::super::Foundation::BOOL, plevel: *mut i32) | |
10215 | where | |
10216 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10217 | { | |
10218 | (::windows::core::Interface::vtable(self).VideoProcessorGetStreamFilter)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, filter, penabled, plevel) | |
10219 | } | |
10220 | pub unsafe fn VideoProcessorGetStreamExtension<P0>(&self, pvideoprocessor: P0, streamindex: u32, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *mut ::core::ffi::c_void) -> i32 | |
10221 | where | |
10222 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10223 | { | |
10224 | (::windows::core::Interface::vtable(self).VideoProcessorGetStreamExtension)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pextensionguid, datasize, pdata) | |
10225 | } | |
10226 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10227 | #[cfg(feature = "Win32_Foundation")] | |
10228 | pub unsafe fn VideoProcessorBlt<P0, P1>(&self, pvideoprocessor: P0, pview: P1, outputframe: u32, pstreams: &[D3D11_VIDEO_PROCESSOR_STREAM]) -> ::windows::core::Result<()> | |
10229 | where | |
10230 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10231 | P1: ::windows::core::IntoParam<ID3D11VideoProcessorOutputView>, | |
10232 | { | |
10233 | (::windows::core::Interface::vtable(self).VideoProcessorBlt)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pview.into_param().abi(), outputframe, pstreams.len() as _, ::core::mem::transmute(pstreams.as_ptr())).ok() | |
10234 | } | |
10235 | pub unsafe fn NegotiateCryptoSessionKeyExchange<P0>(&self, pcryptosession: P0, datasize: u32, pdata: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
10236 | where | |
10237 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
10238 | { | |
10239 | (::windows::core::Interface::vtable(self).NegotiateCryptoSessionKeyExchange)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), datasize, pdata).ok() | |
10240 | } | |
10241 | pub unsafe fn EncryptionBlt<P0, P1, P2>(&self, pcryptosession: P0, psrcsurface: P1, pdstsurface: P2, ivsize: u32, piv: ::core::option::Option<*mut ::core::ffi::c_void>) | |
10242 | where | |
10243 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
10244 | P1: ::windows::core::IntoParam<ID3D11Texture2D>, | |
10245 | P2: ::windows::core::IntoParam<ID3D11Texture2D>, | |
10246 | { | |
10247 | (::windows::core::Interface::vtable(self).EncryptionBlt)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), psrcsurface.into_param().abi(), pdstsurface.into_param().abi(), ivsize, ::core::mem::transmute(piv.unwrap_or(::std::ptr::null_mut()))) | |
10248 | } | |
10249 | pub unsafe fn DecryptionBlt<P0, P1, P2>(&self, pcryptosession: P0, psrcsurface: P1, pdstsurface: P2, pencryptedblockinfo: ::core::option::Option<*const D3D11_ENCRYPTED_BLOCK_INFO>, contentkeysize: u32, pcontentkey: ::core::option::Option<*const ::core::ffi::c_void>, ivsize: u32, piv: ::core::option::Option<*mut ::core::ffi::c_void>) | |
10250 | where | |
10251 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
10252 | P1: ::windows::core::IntoParam<ID3D11Texture2D>, | |
10253 | P2: ::windows::core::IntoParam<ID3D11Texture2D>, | |
10254 | { | |
10255 | (::windows::core::Interface::vtable(self).DecryptionBlt)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), psrcsurface.into_param().abi(), pdstsurface.into_param().abi(), ::core::mem::transmute(pencryptedblockinfo.unwrap_or(::std::ptr::null())), contentkeysize, ::core::mem::transmute(pcontentkey.unwrap_or(::std::ptr::null())), ivsize, ::core::mem::transmute(piv.unwrap_or(::std::ptr::null_mut()))) | |
10256 | } | |
10257 | pub unsafe fn StartSessionKeyRefresh<P0>(&self, pcryptosession: P0, randomnumbersize: u32, prandomnumber: *mut ::core::ffi::c_void) | |
10258 | where | |
10259 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
10260 | { | |
10261 | (::windows::core::Interface::vtable(self).StartSessionKeyRefresh)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), randomnumbersize, prandomnumber) | |
10262 | } | |
10263 | pub unsafe fn FinishSessionKeyRefresh<P0>(&self, pcryptosession: P0) | |
10264 | where | |
10265 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
10266 | { | |
10267 | (::windows::core::Interface::vtable(self).FinishSessionKeyRefresh)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi()) | |
10268 | } | |
10269 | pub unsafe fn GetEncryptionBltKey<P0>(&self, pcryptosession: P0, keysize: u32, preadbackkey: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
10270 | where | |
10271 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
10272 | { | |
10273 | (::windows::core::Interface::vtable(self).GetEncryptionBltKey)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), keysize, preadbackkey).ok() | |
10274 | } | |
10275 | pub unsafe fn NegotiateAuthenticatedChannelKeyExchange<P0>(&self, pchannel: P0, datasize: u32, pdata: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
10276 | where | |
10277 | P0: ::windows::core::IntoParam<ID3D11AuthenticatedChannel>, | |
10278 | { | |
10279 | (::windows::core::Interface::vtable(self).NegotiateAuthenticatedChannelKeyExchange)(::windows::core::Interface::as_raw(self), pchannel.into_param().abi(), datasize, pdata).ok() | |
10280 | } | |
10281 | pub unsafe fn QueryAuthenticatedChannel<P0>(&self, pchannel: P0, inputsize: u32, pinput: *const ::core::ffi::c_void, outputsize: u32, poutput: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
10282 | where | |
10283 | P0: ::windows::core::IntoParam<ID3D11AuthenticatedChannel>, | |
10284 | { | |
10285 | (::windows::core::Interface::vtable(self).QueryAuthenticatedChannel)(::windows::core::Interface::as_raw(self), pchannel.into_param().abi(), inputsize, pinput, outputsize, poutput).ok() | |
10286 | } | |
10287 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10288 | #[cfg(feature = "Win32_Foundation")] | |
10289 | pub unsafe fn ConfigureAuthenticatedChannel<P0>(&self, pchannel: P0, inputsize: u32, pinput: *const ::core::ffi::c_void, poutput: *mut D3D11_AUTHENTICATED_CONFIGURE_OUTPUT) -> ::windows::core::Result<()> | |
10290 | where | |
10291 | P0: ::windows::core::IntoParam<ID3D11AuthenticatedChannel>, | |
10292 | { | |
10293 | (::windows::core::Interface::vtable(self).ConfigureAuthenticatedChannel)(::windows::core::Interface::as_raw(self), pchannel.into_param().abi(), inputsize, pinput, poutput).ok() | |
10294 | } | |
10295 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10296 | #[cfg(feature = "Win32_Foundation")] | |
10297 | pub unsafe fn VideoProcessorSetStreamRotation<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, rotation: D3D11_VIDEO_PROCESSOR_ROTATION) | |
10298 | where | |
10299 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10300 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10301 | { | |
10302 | (::windows::core::Interface::vtable(self).VideoProcessorSetStreamRotation)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), rotation) | |
10303 | } | |
10304 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10305 | #[cfg(feature = "Win32_Foundation")] | |
10306 | pub unsafe fn VideoProcessorGetStreamRotation<P0>(&self, pvideoprocessor: P0, streamindex: u32, penable: *mut super::super::Foundation::BOOL, protation: *mut D3D11_VIDEO_PROCESSOR_ROTATION) | |
10307 | where | |
10308 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10309 | { | |
10310 | (::windows::core::Interface::vtable(self).VideoProcessorGetStreamRotation)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penable, protation) | |
10311 | } | |
10312 | } | |
10313 | ::windows::imp::interface_hierarchy!(ID3D11VideoContext, ::windows::core::IUnknown, ID3D11DeviceChild); | |
10314 | impl ::core::cmp::PartialEq for ID3D11VideoContext { | |
10315 | fn eq(&self, other: &Self) -> bool { | |
10316 | self.0 == other.0 | |
10317 | } | |
10318 | } | |
10319 | impl ::core::cmp::Eq for ID3D11VideoContext {} | |
10320 | impl ::core::fmt::Debug for ID3D11VideoContext { | |
10321 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
10322 | f.debug_tuple("ID3D11VideoContext").field(&self.0).finish() | |
10323 | } | |
10324 | } | |
10325 | unsafe impl ::core::marker::Send for ID3D11VideoContext {} | |
10326 | unsafe impl ::core::marker::Sync for ID3D11VideoContext {} | |
10327 | unsafe impl ::windows::core::Interface for ID3D11VideoContext { | |
10328 | type Vtable = ID3D11VideoContext_Vtbl; | |
10329 | } | |
10330 | impl ::core::clone::Clone for ID3D11VideoContext { | |
10331 | fn clone(&self) -> Self { | |
10332 | Self(self.0.clone()) | |
10333 | } | |
10334 | } | |
10335 | unsafe impl ::windows::core::ComInterface for ID3D11VideoContext { | |
10336 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x61f21c45_3c0e_4a74_9cea_67100d9ad5e4); | |
10337 | } | |
10338 | #[repr(C)] | |
10339 | #[doc(hidden)] | |
10340 | pub struct ID3D11VideoContext_Vtbl { | |
10341 | pub base__: ID3D11DeviceChild_Vtbl, | |
10342 | pub GetDecoderBuffer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdecoder: *mut ::core::ffi::c_void, r#type: D3D11_VIDEO_DECODER_BUFFER_TYPE, pbuffersize: *mut u32, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10343 | pub ReleaseDecoderBuffer: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdecoder: *mut ::core::ffi::c_void, r#type: D3D11_VIDEO_DECODER_BUFFER_TYPE) -> ::windows::core::HRESULT, | |
10344 | pub DecoderBeginFrame: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdecoder: *mut ::core::ffi::c_void, pview: *mut ::core::ffi::c_void, contentkeysize: u32, pcontentkey: *const ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10345 | pub DecoderEndFrame: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdecoder: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10346 | #[cfg(feature = "Win32_Foundation")] | |
10347 | pub SubmitDecoderBuffers: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdecoder: *mut ::core::ffi::c_void, numbuffers: u32, pbufferdesc: *const D3D11_VIDEO_DECODER_BUFFER_DESC) -> ::windows::core::HRESULT, | |
10348 | #[cfg(not(feature = "Win32_Foundation"))] | |
10349 | SubmitDecoderBuffers: usize, | |
10350 | pub DecoderExtension: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdecoder: *mut ::core::ffi::c_void, pextensiondata: *const D3D11_VIDEO_DECODER_EXTENSION) -> i32, | |
10351 | #[cfg(feature = "Win32_Foundation")] | |
10352 | pub VideoProcessorSetOutputTargetRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, enable: super::super::Foundation::BOOL, prect: *const super::super::Foundation::RECT), | |
10353 | #[cfg(not(feature = "Win32_Foundation"))] | |
10354 | VideoProcessorSetOutputTargetRect: usize, | |
10355 | #[cfg(feature = "Win32_Foundation")] | |
10356 | pub VideoProcessorSetOutputBackgroundColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, ycbcr: super::super::Foundation::BOOL, pcolor: *const D3D11_VIDEO_COLOR), | |
10357 | #[cfg(not(feature = "Win32_Foundation"))] | |
10358 | VideoProcessorSetOutputBackgroundColor: usize, | |
10359 | pub VideoProcessorSetOutputColorSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, pcolorspace: *const D3D11_VIDEO_PROCESSOR_COLOR_SPACE), | |
10360 | pub VideoProcessorSetOutputAlphaFillMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, alphafillmode: D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE, streamindex: u32), | |
10361 | #[cfg(feature = "Win32_Foundation")] | |
10362 | pub VideoProcessorSetOutputConstriction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, enable: super::super::Foundation::BOOL, size: super::super::Foundation::SIZE), | |
10363 | #[cfg(not(feature = "Win32_Foundation"))] | |
10364 | VideoProcessorSetOutputConstriction: usize, | |
10365 | #[cfg(feature = "Win32_Foundation")] | |
10366 | pub VideoProcessorSetOutputStereoMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, enable: super::super::Foundation::BOOL), | |
10367 | #[cfg(not(feature = "Win32_Foundation"))] | |
10368 | VideoProcessorSetOutputStereoMode: usize, | |
10369 | pub VideoProcessorSetOutputExtension: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> i32, | |
10370 | #[cfg(feature = "Win32_Foundation")] | |
10371 | pub VideoProcessorGetOutputTargetRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, enabled: *mut super::super::Foundation::BOOL, prect: *mut super::super::Foundation::RECT), | |
10372 | #[cfg(not(feature = "Win32_Foundation"))] | |
10373 | VideoProcessorGetOutputTargetRect: usize, | |
10374 | #[cfg(feature = "Win32_Foundation")] | |
10375 | pub VideoProcessorGetOutputBackgroundColor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, pycbcr: *mut super::super::Foundation::BOOL, pcolor: *mut D3D11_VIDEO_COLOR), | |
10376 | #[cfg(not(feature = "Win32_Foundation"))] | |
10377 | VideoProcessorGetOutputBackgroundColor: usize, | |
10378 | pub VideoProcessorGetOutputColorSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, pcolorspace: *mut D3D11_VIDEO_PROCESSOR_COLOR_SPACE), | |
10379 | pub VideoProcessorGetOutputAlphaFillMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, palphafillmode: *mut D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE, pstreamindex: *mut u32), | |
10380 | #[cfg(feature = "Win32_Foundation")] | |
10381 | pub VideoProcessorGetOutputConstriction: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, penabled: *mut super::super::Foundation::BOOL, psize: *mut super::super::Foundation::SIZE), | |
10382 | #[cfg(not(feature = "Win32_Foundation"))] | |
10383 | VideoProcessorGetOutputConstriction: usize, | |
10384 | #[cfg(feature = "Win32_Foundation")] | |
10385 | pub VideoProcessorGetOutputStereoMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, penabled: *mut super::super::Foundation::BOOL), | |
10386 | #[cfg(not(feature = "Win32_Foundation"))] | |
10387 | VideoProcessorGetOutputStereoMode: usize, | |
10388 | pub VideoProcessorGetOutputExtension: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *mut ::core::ffi::c_void) -> i32, | |
10389 | pub VideoProcessorSetStreamFrameFormat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, frameformat: D3D11_VIDEO_FRAME_FORMAT), | |
10390 | pub VideoProcessorSetStreamColorSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, pcolorspace: *const D3D11_VIDEO_PROCESSOR_COLOR_SPACE), | |
10391 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
10392 | pub VideoProcessorSetStreamOutputRate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, outputrate: D3D11_VIDEO_PROCESSOR_OUTPUT_RATE, repeatframe: super::super::Foundation::BOOL, pcustomrate: *const super::Dxgi::Common::DXGI_RATIONAL), | |
10393 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common")))] | |
10394 | VideoProcessorSetStreamOutputRate: usize, | |
10395 | #[cfg(feature = "Win32_Foundation")] | |
10396 | pub VideoProcessorSetStreamSourceRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, enable: super::super::Foundation::BOOL, prect: *const super::super::Foundation::RECT), | |
10397 | #[cfg(not(feature = "Win32_Foundation"))] | |
10398 | VideoProcessorSetStreamSourceRect: usize, | |
10399 | #[cfg(feature = "Win32_Foundation")] | |
10400 | pub VideoProcessorSetStreamDestRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, enable: super::super::Foundation::BOOL, prect: *const super::super::Foundation::RECT), | |
10401 | #[cfg(not(feature = "Win32_Foundation"))] | |
10402 | VideoProcessorSetStreamDestRect: usize, | |
10403 | #[cfg(feature = "Win32_Foundation")] | |
10404 | pub VideoProcessorSetStreamAlpha: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, enable: super::super::Foundation::BOOL, alpha: f32), | |
10405 | #[cfg(not(feature = "Win32_Foundation"))] | |
10406 | VideoProcessorSetStreamAlpha: usize, | |
10407 | pub VideoProcessorSetStreamPalette: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, count: u32, pentries: *const u32), | |
10408 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
10409 | pub VideoProcessorSetStreamPixelAspectRatio: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, enable: super::super::Foundation::BOOL, psourceaspectratio: *const super::Dxgi::Common::DXGI_RATIONAL, pdestinationaspectratio: *const super::Dxgi::Common::DXGI_RATIONAL), | |
10410 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common")))] | |
10411 | VideoProcessorSetStreamPixelAspectRatio: usize, | |
10412 | #[cfg(feature = "Win32_Foundation")] | |
10413 | pub VideoProcessorSetStreamLumaKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, enable: super::super::Foundation::BOOL, lower: f32, upper: f32), | |
10414 | #[cfg(not(feature = "Win32_Foundation"))] | |
10415 | VideoProcessorSetStreamLumaKey: usize, | |
10416 | #[cfg(feature = "Win32_Foundation")] | |
10417 | pub VideoProcessorSetStreamStereoFormat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, enable: super::super::Foundation::BOOL, format: D3D11_VIDEO_PROCESSOR_STEREO_FORMAT, leftviewframe0: super::super::Foundation::BOOL, baseviewframe0: super::super::Foundation::BOOL, flipmode: D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE, monooffset: i32), | |
10418 | #[cfg(not(feature = "Win32_Foundation"))] | |
10419 | VideoProcessorSetStreamStereoFormat: usize, | |
10420 | #[cfg(feature = "Win32_Foundation")] | |
10421 | pub VideoProcessorSetStreamAutoProcessingMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, enable: super::super::Foundation::BOOL), | |
10422 | #[cfg(not(feature = "Win32_Foundation"))] | |
10423 | VideoProcessorSetStreamAutoProcessingMode: usize, | |
10424 | #[cfg(feature = "Win32_Foundation")] | |
10425 | pub VideoProcessorSetStreamFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, filter: D3D11_VIDEO_PROCESSOR_FILTER, enable: super::super::Foundation::BOOL, level: i32), | |
10426 | #[cfg(not(feature = "Win32_Foundation"))] | |
10427 | VideoProcessorSetStreamFilter: usize, | |
10428 | pub VideoProcessorSetStreamExtension: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> i32, | |
10429 | pub VideoProcessorGetStreamFrameFormat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, pframeformat: *mut D3D11_VIDEO_FRAME_FORMAT), | |
10430 | pub VideoProcessorGetStreamColorSpace: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, pcolorspace: *mut D3D11_VIDEO_PROCESSOR_COLOR_SPACE), | |
10431 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
10432 | pub VideoProcessorGetStreamOutputRate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, poutputrate: *mut D3D11_VIDEO_PROCESSOR_OUTPUT_RATE, prepeatframe: *mut super::super::Foundation::BOOL, pcustomrate: *mut super::Dxgi::Common::DXGI_RATIONAL), | |
10433 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common")))] | |
10434 | VideoProcessorGetStreamOutputRate: usize, | |
10435 | #[cfg(feature = "Win32_Foundation")] | |
10436 | pub VideoProcessorGetStreamSourceRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, prect: *mut super::super::Foundation::RECT), | |
10437 | #[cfg(not(feature = "Win32_Foundation"))] | |
10438 | VideoProcessorGetStreamSourceRect: usize, | |
10439 | #[cfg(feature = "Win32_Foundation")] | |
10440 | pub VideoProcessorGetStreamDestRect: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, prect: *mut super::super::Foundation::RECT), | |
10441 | #[cfg(not(feature = "Win32_Foundation"))] | |
10442 | VideoProcessorGetStreamDestRect: usize, | |
10443 | #[cfg(feature = "Win32_Foundation")] | |
10444 | pub VideoProcessorGetStreamAlpha: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, palpha: *mut f32), | |
10445 | #[cfg(not(feature = "Win32_Foundation"))] | |
10446 | VideoProcessorGetStreamAlpha: usize, | |
10447 | pub VideoProcessorGetStreamPalette: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, count: u32, pentries: *mut u32), | |
10448 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
10449 | pub VideoProcessorGetStreamPixelAspectRatio: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, psourceaspectratio: *mut super::Dxgi::Common::DXGI_RATIONAL, pdestinationaspectratio: *mut super::Dxgi::Common::DXGI_RATIONAL), | |
10450 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common")))] | |
10451 | VideoProcessorGetStreamPixelAspectRatio: usize, | |
10452 | #[cfg(feature = "Win32_Foundation")] | |
10453 | pub VideoProcessorGetStreamLumaKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, plower: *mut f32, pupper: *mut f32), | |
10454 | #[cfg(not(feature = "Win32_Foundation"))] | |
10455 | VideoProcessorGetStreamLumaKey: usize, | |
10456 | #[cfg(feature = "Win32_Foundation")] | |
10457 | pub VideoProcessorGetStreamStereoFormat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, penable: *mut super::super::Foundation::BOOL, pformat: *mut D3D11_VIDEO_PROCESSOR_STEREO_FORMAT, pleftviewframe0: *mut super::super::Foundation::BOOL, pbaseviewframe0: *mut super::super::Foundation::BOOL, pflipmode: *mut D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE, monooffset: *mut i32), | |
10458 | #[cfg(not(feature = "Win32_Foundation"))] | |
10459 | VideoProcessorGetStreamStereoFormat: usize, | |
10460 | #[cfg(feature = "Win32_Foundation")] | |
10461 | pub VideoProcessorGetStreamAutoProcessingMode: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, penabled: *mut super::super::Foundation::BOOL), | |
10462 | #[cfg(not(feature = "Win32_Foundation"))] | |
10463 | VideoProcessorGetStreamAutoProcessingMode: usize, | |
10464 | #[cfg(feature = "Win32_Foundation")] | |
10465 | pub VideoProcessorGetStreamFilter: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, filter: D3D11_VIDEO_PROCESSOR_FILTER, penabled: *mut super::super::Foundation::BOOL, plevel: *mut i32), | |
10466 | #[cfg(not(feature = "Win32_Foundation"))] | |
10467 | VideoProcessorGetStreamFilter: usize, | |
10468 | pub VideoProcessorGetStreamExtension: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *mut ::core::ffi::c_void) -> i32, | |
10469 | #[cfg(feature = "Win32_Foundation")] | |
10470 | pub VideoProcessorBlt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, pview: *mut ::core::ffi::c_void, outputframe: u32, streamcount: u32, pstreams: *const D3D11_VIDEO_PROCESSOR_STREAM) -> ::windows::core::HRESULT, | |
10471 | #[cfg(not(feature = "Win32_Foundation"))] | |
10472 | VideoProcessorBlt: usize, | |
10473 | pub NegotiateCryptoSessionKeyExchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcryptosession: *mut ::core::ffi::c_void, datasize: u32, pdata: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10474 | pub EncryptionBlt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcryptosession: *mut ::core::ffi::c_void, psrcsurface: *mut ::core::ffi::c_void, pdstsurface: *mut ::core::ffi::c_void, ivsize: u32, piv: *mut ::core::ffi::c_void), | |
10475 | pub DecryptionBlt: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcryptosession: *mut ::core::ffi::c_void, psrcsurface: *mut ::core::ffi::c_void, pdstsurface: *mut ::core::ffi::c_void, pencryptedblockinfo: *const D3D11_ENCRYPTED_BLOCK_INFO, contentkeysize: u32, pcontentkey: *const ::core::ffi::c_void, ivsize: u32, piv: *mut ::core::ffi::c_void), | |
10476 | pub StartSessionKeyRefresh: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcryptosession: *mut ::core::ffi::c_void, randomnumbersize: u32, prandomnumber: *mut ::core::ffi::c_void), | |
10477 | pub FinishSessionKeyRefresh: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcryptosession: *mut ::core::ffi::c_void), | |
10478 | pub GetEncryptionBltKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcryptosession: *mut ::core::ffi::c_void, keysize: u32, preadbackkey: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10479 | pub NegotiateAuthenticatedChannelKeyExchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pchannel: *mut ::core::ffi::c_void, datasize: u32, pdata: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10480 | pub QueryAuthenticatedChannel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pchannel: *mut ::core::ffi::c_void, inputsize: u32, pinput: *const ::core::ffi::c_void, outputsize: u32, poutput: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
10481 | #[cfg(feature = "Win32_Foundation")] | |
10482 | pub ConfigureAuthenticatedChannel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pchannel: *mut ::core::ffi::c_void, inputsize: u32, pinput: *const ::core::ffi::c_void, poutput: *mut D3D11_AUTHENTICATED_CONFIGURE_OUTPUT) -> ::windows::core::HRESULT, | |
10483 | #[cfg(not(feature = "Win32_Foundation"))] | |
10484 | ConfigureAuthenticatedChannel: usize, | |
10485 | #[cfg(feature = "Win32_Foundation")] | |
10486 | pub VideoProcessorSetStreamRotation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, enable: super::super::Foundation::BOOL, rotation: D3D11_VIDEO_PROCESSOR_ROTATION), | |
10487 | #[cfg(not(feature = "Win32_Foundation"))] | |
10488 | VideoProcessorSetStreamRotation: usize, | |
10489 | #[cfg(feature = "Win32_Foundation")] | |
10490 | pub VideoProcessorGetStreamRotation: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, penable: *mut super::super::Foundation::BOOL, protation: *mut D3D11_VIDEO_PROCESSOR_ROTATION), | |
10491 | #[cfg(not(feature = "Win32_Foundation"))] | |
10492 | VideoProcessorGetStreamRotation: usize, | |
10493 | } | |
10494 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
10495 | #[repr(transparent)] | |
10496 | pub struct ID3D11VideoContext1(::windows::core::IUnknown); | |
10497 | impl ID3D11VideoContext1 { | |
10498 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
10499 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
10500 | (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
10501 | ::windows::core::from_abi(result__) | |
10502 | } | |
10503 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
10504 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
10505 | } | |
10506 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
10507 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
10508 | } | |
10509 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
10510 | where | |
10511 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
10512 | { | |
10513 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
10514 | } | |
10515 | pub unsafe fn GetDecoderBuffer<P0>(&self, pdecoder: P0, r#type: D3D11_VIDEO_DECODER_BUFFER_TYPE, pbuffersize: *mut u32, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
10516 | where | |
10517 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
10518 | { | |
10519 | (::windows::core::Interface::vtable(self).base__.GetDecoderBuffer)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), r#type, pbuffersize, ppbuffer).ok() | |
10520 | } | |
10521 | pub unsafe fn ReleaseDecoderBuffer<P0>(&self, pdecoder: P0, r#type: D3D11_VIDEO_DECODER_BUFFER_TYPE) -> ::windows::core::Result<()> | |
10522 | where | |
10523 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
10524 | { | |
10525 | (::windows::core::Interface::vtable(self).base__.ReleaseDecoderBuffer)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), r#type).ok() | |
10526 | } | |
10527 | pub unsafe fn DecoderBeginFrame<P0, P1>(&self, pdecoder: P0, pview: P1, contentkeysize: u32, pcontentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> | |
10528 | where | |
10529 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
10530 | P1: ::windows::core::IntoParam<ID3D11VideoDecoderOutputView>, | |
10531 | { | |
10532 | (::windows::core::Interface::vtable(self).base__.DecoderBeginFrame)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), pview.into_param().abi(), contentkeysize, ::core::mem::transmute(pcontentkey.unwrap_or(::std::ptr::null()))).ok() | |
10533 | } | |
10534 | pub unsafe fn DecoderEndFrame<P0>(&self, pdecoder: P0) -> ::windows::core::Result<()> | |
10535 | where | |
10536 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
10537 | { | |
10538 | (::windows::core::Interface::vtable(self).base__.DecoderEndFrame)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi()).ok() | |
10539 | } | |
10540 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10541 | #[cfg(feature = "Win32_Foundation")] | |
10542 | pub unsafe fn SubmitDecoderBuffers<P0>(&self, pdecoder: P0, pbufferdesc: &[D3D11_VIDEO_DECODER_BUFFER_DESC]) -> ::windows::core::Result<()> | |
10543 | where | |
10544 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
10545 | { | |
10546 | (::windows::core::Interface::vtable(self).base__.SubmitDecoderBuffers)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), pbufferdesc.len() as _, ::core::mem::transmute(pbufferdesc.as_ptr())).ok() | |
10547 | } | |
10548 | pub unsafe fn DecoderExtension<P0>(&self, pdecoder: P0, pextensiondata: *const D3D11_VIDEO_DECODER_EXTENSION) -> i32 | |
10549 | where | |
10550 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
10551 | { | |
10552 | (::windows::core::Interface::vtable(self).base__.DecoderExtension)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), pextensiondata) | |
10553 | } | |
10554 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10555 | #[cfg(feature = "Win32_Foundation")] | |
10556 | pub unsafe fn VideoProcessorSetOutputTargetRect<P0, P1>(&self, pvideoprocessor: P0, enable: P1, prect: ::core::option::Option<*const super::super::Foundation::RECT>) | |
10557 | where | |
10558 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10559 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10560 | { | |
10561 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetOutputTargetRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), enable.into_param().abi(), ::core::mem::transmute(prect.unwrap_or(::std::ptr::null()))) | |
10562 | } | |
10563 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10564 | #[cfg(feature = "Win32_Foundation")] | |
10565 | pub unsafe fn VideoProcessorSetOutputBackgroundColor<P0, P1>(&self, pvideoprocessor: P0, ycbcr: P1, pcolor: *const D3D11_VIDEO_COLOR) | |
10566 | where | |
10567 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10568 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10569 | { | |
10570 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetOutputBackgroundColor)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), ycbcr.into_param().abi(), pcolor) | |
10571 | } | |
10572 | pub unsafe fn VideoProcessorSetOutputColorSpace<P0>(&self, pvideoprocessor: P0, pcolorspace: *const D3D11_VIDEO_PROCESSOR_COLOR_SPACE) | |
10573 | where | |
10574 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10575 | { | |
10576 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetOutputColorSpace)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pcolorspace) | |
10577 | } | |
10578 | pub unsafe fn VideoProcessorSetOutputAlphaFillMode<P0>(&self, pvideoprocessor: P0, alphafillmode: D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE, streamindex: u32) | |
10579 | where | |
10580 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10581 | { | |
10582 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetOutputAlphaFillMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), alphafillmode, streamindex) | |
10583 | } | |
10584 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10585 | #[cfg(feature = "Win32_Foundation")] | |
10586 | pub unsafe fn VideoProcessorSetOutputConstriction<P0, P1>(&self, pvideoprocessor: P0, enable: P1, size: super::super::Foundation::SIZE) | |
10587 | where | |
10588 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10589 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10590 | { | |
10591 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetOutputConstriction)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), enable.into_param().abi(), ::core::mem::transmute(size)) | |
10592 | } | |
10593 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10594 | #[cfg(feature = "Win32_Foundation")] | |
10595 | pub unsafe fn VideoProcessorSetOutputStereoMode<P0, P1>(&self, pvideoprocessor: P0, enable: P1) | |
10596 | where | |
10597 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10598 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10599 | { | |
10600 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetOutputStereoMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), enable.into_param().abi()) | |
10601 | } | |
10602 | pub unsafe fn VideoProcessorSetOutputExtension<P0>(&self, pvideoprocessor: P0, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> i32 | |
10603 | where | |
10604 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10605 | { | |
10606 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetOutputExtension)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pextensionguid, datasize, pdata) | |
10607 | } | |
10608 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10609 | #[cfg(feature = "Win32_Foundation")] | |
10610 | pub unsafe fn VideoProcessorGetOutputTargetRect<P0>(&self, pvideoprocessor: P0, enabled: *mut super::super::Foundation::BOOL, prect: *mut super::super::Foundation::RECT) | |
10611 | where | |
10612 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10613 | { | |
10614 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetOutputTargetRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), enabled, prect) | |
10615 | } | |
10616 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10617 | #[cfg(feature = "Win32_Foundation")] | |
10618 | pub unsafe fn VideoProcessorGetOutputBackgroundColor<P0>(&self, pvideoprocessor: P0, pycbcr: *mut super::super::Foundation::BOOL, pcolor: *mut D3D11_VIDEO_COLOR) | |
10619 | where | |
10620 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10621 | { | |
10622 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetOutputBackgroundColor)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pycbcr, pcolor) | |
10623 | } | |
10624 | pub unsafe fn VideoProcessorGetOutputColorSpace<P0>(&self, pvideoprocessor: P0) -> D3D11_VIDEO_PROCESSOR_COLOR_SPACE | |
10625 | where | |
10626 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10627 | { | |
10628 | let mut result__ = ::windows::core::zeroed::<D3D11_VIDEO_PROCESSOR_COLOR_SPACE>(); | |
10629 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetOutputColorSpace)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), &mut result__); | |
10630 | ::std::mem::transmute(result__) | |
10631 | } | |
10632 | pub unsafe fn VideoProcessorGetOutputAlphaFillMode<P0>(&self, pvideoprocessor: P0, palphafillmode: *mut D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE, pstreamindex: *mut u32) | |
10633 | where | |
10634 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10635 | { | |
10636 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetOutputAlphaFillMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), palphafillmode, pstreamindex) | |
10637 | } | |
10638 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10639 | #[cfg(feature = "Win32_Foundation")] | |
10640 | pub unsafe fn VideoProcessorGetOutputConstriction<P0>(&self, pvideoprocessor: P0, penabled: *mut super::super::Foundation::BOOL, psize: *mut super::super::Foundation::SIZE) | |
10641 | where | |
10642 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10643 | { | |
10644 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetOutputConstriction)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), penabled, psize) | |
10645 | } | |
10646 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10647 | #[cfg(feature = "Win32_Foundation")] | |
10648 | pub unsafe fn VideoProcessorGetOutputStereoMode<P0>(&self, pvideoprocessor: P0) -> super::super::Foundation::BOOL | |
10649 | where | |
10650 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10651 | { | |
10652 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>(); | |
10653 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetOutputStereoMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), &mut result__); | |
10654 | ::std::mem::transmute(result__) | |
10655 | } | |
10656 | pub unsafe fn VideoProcessorGetOutputExtension<P0>(&self, pvideoprocessor: P0, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *mut ::core::ffi::c_void) -> i32 | |
10657 | where | |
10658 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10659 | { | |
10660 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetOutputExtension)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pextensionguid, datasize, pdata) | |
10661 | } | |
10662 | pub unsafe fn VideoProcessorSetStreamFrameFormat<P0>(&self, pvideoprocessor: P0, streamindex: u32, frameformat: D3D11_VIDEO_FRAME_FORMAT) | |
10663 | where | |
10664 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10665 | { | |
10666 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetStreamFrameFormat)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, frameformat) | |
10667 | } | |
10668 | pub unsafe fn VideoProcessorSetStreamColorSpace<P0>(&self, pvideoprocessor: P0, streamindex: u32, pcolorspace: *const D3D11_VIDEO_PROCESSOR_COLOR_SPACE) | |
10669 | where | |
10670 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10671 | { | |
10672 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetStreamColorSpace)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pcolorspace) | |
10673 | } | |
10674 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
10675 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
10676 | pub unsafe fn VideoProcessorSetStreamOutputRate<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, outputrate: D3D11_VIDEO_PROCESSOR_OUTPUT_RATE, repeatframe: P1, pcustomrate: ::core::option::Option<*const super::Dxgi::Common::DXGI_RATIONAL>) | |
10677 | where | |
10678 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10679 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10680 | { | |
10681 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetStreamOutputRate)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, outputrate, repeatframe.into_param().abi(), ::core::mem::transmute(pcustomrate.unwrap_or(::std::ptr::null()))) | |
10682 | } | |
10683 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10684 | #[cfg(feature = "Win32_Foundation")] | |
10685 | pub unsafe fn VideoProcessorSetStreamSourceRect<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, prect: ::core::option::Option<*const super::super::Foundation::RECT>) | |
10686 | where | |
10687 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10688 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10689 | { | |
10690 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetStreamSourceRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), ::core::mem::transmute(prect.unwrap_or(::std::ptr::null()))) | |
10691 | } | |
10692 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10693 | #[cfg(feature = "Win32_Foundation")] | |
10694 | pub unsafe fn VideoProcessorSetStreamDestRect<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, prect: ::core::option::Option<*const super::super::Foundation::RECT>) | |
10695 | where | |
10696 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10697 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10698 | { | |
10699 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetStreamDestRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), ::core::mem::transmute(prect.unwrap_or(::std::ptr::null()))) | |
10700 | } | |
10701 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10702 | #[cfg(feature = "Win32_Foundation")] | |
10703 | pub unsafe fn VideoProcessorSetStreamAlpha<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, alpha: f32) | |
10704 | where | |
10705 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10706 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10707 | { | |
10708 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetStreamAlpha)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), alpha) | |
10709 | } | |
10710 | pub unsafe fn VideoProcessorSetStreamPalette<P0>(&self, pvideoprocessor: P0, streamindex: u32, pentries: ::core::option::Option<&[u32]>) | |
10711 | where | |
10712 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10713 | { | |
10714 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetStreamPalette)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pentries.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pentries.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
10715 | } | |
10716 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
10717 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
10718 | pub unsafe fn VideoProcessorSetStreamPixelAspectRatio<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, psourceaspectratio: ::core::option::Option<*const super::Dxgi::Common::DXGI_RATIONAL>, pdestinationaspectratio: ::core::option::Option<*const super::Dxgi::Common::DXGI_RATIONAL>) | |
10719 | where | |
10720 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10721 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10722 | { | |
10723 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetStreamPixelAspectRatio)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), ::core::mem::transmute(psourceaspectratio.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdestinationaspectratio.unwrap_or(::std::ptr::null()))) | |
10724 | } | |
10725 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10726 | #[cfg(feature = "Win32_Foundation")] | |
10727 | pub unsafe fn VideoProcessorSetStreamLumaKey<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, lower: f32, upper: f32) | |
10728 | where | |
10729 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10730 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10731 | { | |
10732 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetStreamLumaKey)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), lower, upper) | |
10733 | } | |
10734 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10735 | #[cfg(feature = "Win32_Foundation")] | |
10736 | pub unsafe fn VideoProcessorSetStreamStereoFormat<P0, P1, P2, P3>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, format: D3D11_VIDEO_PROCESSOR_STEREO_FORMAT, leftviewframe0: P2, baseviewframe0: P3, flipmode: D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE, monooffset: i32) | |
10737 | where | |
10738 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10739 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10740 | P2: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10741 | P3: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10742 | { | |
10743 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetStreamStereoFormat)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), format, leftviewframe0.into_param().abi(), baseviewframe0.into_param().abi(), flipmode, monooffset) | |
10744 | } | |
10745 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10746 | #[cfg(feature = "Win32_Foundation")] | |
10747 | pub unsafe fn VideoProcessorSetStreamAutoProcessingMode<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1) | |
10748 | where | |
10749 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10750 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10751 | { | |
10752 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetStreamAutoProcessingMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi()) | |
10753 | } | |
10754 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10755 | #[cfg(feature = "Win32_Foundation")] | |
10756 | pub unsafe fn VideoProcessorSetStreamFilter<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, filter: D3D11_VIDEO_PROCESSOR_FILTER, enable: P1, level: i32) | |
10757 | where | |
10758 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10759 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10760 | { | |
10761 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetStreamFilter)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, filter, enable.into_param().abi(), level) | |
10762 | } | |
10763 | pub unsafe fn VideoProcessorSetStreamExtension<P0>(&self, pvideoprocessor: P0, streamindex: u32, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> i32 | |
10764 | where | |
10765 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10766 | { | |
10767 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetStreamExtension)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pextensionguid, datasize, pdata) | |
10768 | } | |
10769 | pub unsafe fn VideoProcessorGetStreamFrameFormat<P0>(&self, pvideoprocessor: P0, streamindex: u32) -> D3D11_VIDEO_FRAME_FORMAT | |
10770 | where | |
10771 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10772 | { | |
10773 | let mut result__ = ::windows::core::zeroed::<D3D11_VIDEO_FRAME_FORMAT>(); | |
10774 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetStreamFrameFormat)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, &mut result__); | |
10775 | ::std::mem::transmute(result__) | |
10776 | } | |
10777 | pub unsafe fn VideoProcessorGetStreamColorSpace<P0>(&self, pvideoprocessor: P0, streamindex: u32) -> D3D11_VIDEO_PROCESSOR_COLOR_SPACE | |
10778 | where | |
10779 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10780 | { | |
10781 | let mut result__ = ::windows::core::zeroed::<D3D11_VIDEO_PROCESSOR_COLOR_SPACE>(); | |
10782 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetStreamColorSpace)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, &mut result__); | |
10783 | ::std::mem::transmute(result__) | |
10784 | } | |
10785 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
10786 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
10787 | pub unsafe fn VideoProcessorGetStreamOutputRate<P0>(&self, pvideoprocessor: P0, streamindex: u32, poutputrate: *mut D3D11_VIDEO_PROCESSOR_OUTPUT_RATE, prepeatframe: *mut super::super::Foundation::BOOL, pcustomrate: *mut super::Dxgi::Common::DXGI_RATIONAL) | |
10788 | where | |
10789 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10790 | { | |
10791 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetStreamOutputRate)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, poutputrate, prepeatframe, pcustomrate) | |
10792 | } | |
10793 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10794 | #[cfg(feature = "Win32_Foundation")] | |
10795 | pub unsafe fn VideoProcessorGetStreamSourceRect<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, prect: *mut super::super::Foundation::RECT) | |
10796 | where | |
10797 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10798 | { | |
10799 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetStreamSourceRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, prect) | |
10800 | } | |
10801 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10802 | #[cfg(feature = "Win32_Foundation")] | |
10803 | pub unsafe fn VideoProcessorGetStreamDestRect<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, prect: *mut super::super::Foundation::RECT) | |
10804 | where | |
10805 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10806 | { | |
10807 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetStreamDestRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, prect) | |
10808 | } | |
10809 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10810 | #[cfg(feature = "Win32_Foundation")] | |
10811 | pub unsafe fn VideoProcessorGetStreamAlpha<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, palpha: *mut f32) | |
10812 | where | |
10813 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10814 | { | |
10815 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetStreamAlpha)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, palpha) | |
10816 | } | |
10817 | pub unsafe fn VideoProcessorGetStreamPalette<P0>(&self, pvideoprocessor: P0, streamindex: u32, pentries: &mut [u32]) | |
10818 | where | |
10819 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10820 | { | |
10821 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetStreamPalette)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pentries.len() as _, ::core::mem::transmute(pentries.as_ptr())) | |
10822 | } | |
10823 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
10824 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
10825 | pub unsafe fn VideoProcessorGetStreamPixelAspectRatio<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, psourceaspectratio: *mut super::Dxgi::Common::DXGI_RATIONAL, pdestinationaspectratio: *mut super::Dxgi::Common::DXGI_RATIONAL) | |
10826 | where | |
10827 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10828 | { | |
10829 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetStreamPixelAspectRatio)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, psourceaspectratio, pdestinationaspectratio) | |
10830 | } | |
10831 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10832 | #[cfg(feature = "Win32_Foundation")] | |
10833 | pub unsafe fn VideoProcessorGetStreamLumaKey<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, plower: *mut f32, pupper: *mut f32) | |
10834 | where | |
10835 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10836 | { | |
10837 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetStreamLumaKey)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, plower, pupper) | |
10838 | } | |
10839 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10840 | #[cfg(feature = "Win32_Foundation")] | |
10841 | pub unsafe fn VideoProcessorGetStreamStereoFormat<P0>(&self, pvideoprocessor: P0, streamindex: u32, penable: *mut super::super::Foundation::BOOL, pformat: *mut D3D11_VIDEO_PROCESSOR_STEREO_FORMAT, pleftviewframe0: *mut super::super::Foundation::BOOL, pbaseviewframe0: *mut super::super::Foundation::BOOL, pflipmode: *mut D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE, monooffset: *mut i32) | |
10842 | where | |
10843 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10844 | { | |
10845 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetStreamStereoFormat)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penable, pformat, pleftviewframe0, pbaseviewframe0, pflipmode, monooffset) | |
10846 | } | |
10847 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10848 | #[cfg(feature = "Win32_Foundation")] | |
10849 | pub unsafe fn VideoProcessorGetStreamAutoProcessingMode<P0>(&self, pvideoprocessor: P0, streamindex: u32) -> super::super::Foundation::BOOL | |
10850 | where | |
10851 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10852 | { | |
10853 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>(); | |
10854 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetStreamAutoProcessingMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, &mut result__); | |
10855 | ::std::mem::transmute(result__) | |
10856 | } | |
10857 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10858 | #[cfg(feature = "Win32_Foundation")] | |
10859 | pub unsafe fn VideoProcessorGetStreamFilter<P0>(&self, pvideoprocessor: P0, streamindex: u32, filter: D3D11_VIDEO_PROCESSOR_FILTER, penabled: *mut super::super::Foundation::BOOL, plevel: *mut i32) | |
10860 | where | |
10861 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10862 | { | |
10863 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetStreamFilter)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, filter, penabled, plevel) | |
10864 | } | |
10865 | pub unsafe fn VideoProcessorGetStreamExtension<P0>(&self, pvideoprocessor: P0, streamindex: u32, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *mut ::core::ffi::c_void) -> i32 | |
10866 | where | |
10867 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10868 | { | |
10869 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetStreamExtension)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pextensionguid, datasize, pdata) | |
10870 | } | |
10871 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10872 | #[cfg(feature = "Win32_Foundation")] | |
10873 | pub unsafe fn VideoProcessorBlt<P0, P1>(&self, pvideoprocessor: P0, pview: P1, outputframe: u32, pstreams: &[D3D11_VIDEO_PROCESSOR_STREAM]) -> ::windows::core::Result<()> | |
10874 | where | |
10875 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10876 | P1: ::windows::core::IntoParam<ID3D11VideoProcessorOutputView>, | |
10877 | { | |
10878 | (::windows::core::Interface::vtable(self).base__.VideoProcessorBlt)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pview.into_param().abi(), outputframe, pstreams.len() as _, ::core::mem::transmute(pstreams.as_ptr())).ok() | |
10879 | } | |
10880 | pub unsafe fn NegotiateCryptoSessionKeyExchange<P0>(&self, pcryptosession: P0, datasize: u32, pdata: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
10881 | where | |
10882 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
10883 | { | |
10884 | (::windows::core::Interface::vtable(self).base__.NegotiateCryptoSessionKeyExchange)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), datasize, pdata).ok() | |
10885 | } | |
10886 | pub unsafe fn EncryptionBlt<P0, P1, P2>(&self, pcryptosession: P0, psrcsurface: P1, pdstsurface: P2, ivsize: u32, piv: ::core::option::Option<*mut ::core::ffi::c_void>) | |
10887 | where | |
10888 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
10889 | P1: ::windows::core::IntoParam<ID3D11Texture2D>, | |
10890 | P2: ::windows::core::IntoParam<ID3D11Texture2D>, | |
10891 | { | |
10892 | (::windows::core::Interface::vtable(self).base__.EncryptionBlt)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), psrcsurface.into_param().abi(), pdstsurface.into_param().abi(), ivsize, ::core::mem::transmute(piv.unwrap_or(::std::ptr::null_mut()))) | |
10893 | } | |
10894 | pub unsafe fn DecryptionBlt<P0, P1, P2>(&self, pcryptosession: P0, psrcsurface: P1, pdstsurface: P2, pencryptedblockinfo: ::core::option::Option<*const D3D11_ENCRYPTED_BLOCK_INFO>, contentkeysize: u32, pcontentkey: ::core::option::Option<*const ::core::ffi::c_void>, ivsize: u32, piv: ::core::option::Option<*mut ::core::ffi::c_void>) | |
10895 | where | |
10896 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
10897 | P1: ::windows::core::IntoParam<ID3D11Texture2D>, | |
10898 | P2: ::windows::core::IntoParam<ID3D11Texture2D>, | |
10899 | { | |
10900 | (::windows::core::Interface::vtable(self).base__.DecryptionBlt)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), psrcsurface.into_param().abi(), pdstsurface.into_param().abi(), ::core::mem::transmute(pencryptedblockinfo.unwrap_or(::std::ptr::null())), contentkeysize, ::core::mem::transmute(pcontentkey.unwrap_or(::std::ptr::null())), ivsize, ::core::mem::transmute(piv.unwrap_or(::std::ptr::null_mut()))) | |
10901 | } | |
10902 | pub unsafe fn StartSessionKeyRefresh<P0>(&self, pcryptosession: P0, randomnumbersize: u32, prandomnumber: *mut ::core::ffi::c_void) | |
10903 | where | |
10904 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
10905 | { | |
10906 | (::windows::core::Interface::vtable(self).base__.StartSessionKeyRefresh)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), randomnumbersize, prandomnumber) | |
10907 | } | |
10908 | pub unsafe fn FinishSessionKeyRefresh<P0>(&self, pcryptosession: P0) | |
10909 | where | |
10910 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
10911 | { | |
10912 | (::windows::core::Interface::vtable(self).base__.FinishSessionKeyRefresh)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi()) | |
10913 | } | |
10914 | pub unsafe fn GetEncryptionBltKey<P0>(&self, pcryptosession: P0, keysize: u32, preadbackkey: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
10915 | where | |
10916 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
10917 | { | |
10918 | (::windows::core::Interface::vtable(self).base__.GetEncryptionBltKey)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), keysize, preadbackkey).ok() | |
10919 | } | |
10920 | pub unsafe fn NegotiateAuthenticatedChannelKeyExchange<P0>(&self, pchannel: P0, datasize: u32, pdata: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
10921 | where | |
10922 | P0: ::windows::core::IntoParam<ID3D11AuthenticatedChannel>, | |
10923 | { | |
10924 | (::windows::core::Interface::vtable(self).base__.NegotiateAuthenticatedChannelKeyExchange)(::windows::core::Interface::as_raw(self), pchannel.into_param().abi(), datasize, pdata).ok() | |
10925 | } | |
10926 | pub unsafe fn QueryAuthenticatedChannel<P0>(&self, pchannel: P0, inputsize: u32, pinput: *const ::core::ffi::c_void, outputsize: u32, poutput: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
10927 | where | |
10928 | P0: ::windows::core::IntoParam<ID3D11AuthenticatedChannel>, | |
10929 | { | |
10930 | (::windows::core::Interface::vtable(self).base__.QueryAuthenticatedChannel)(::windows::core::Interface::as_raw(self), pchannel.into_param().abi(), inputsize, pinput, outputsize, poutput).ok() | |
10931 | } | |
10932 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10933 | #[cfg(feature = "Win32_Foundation")] | |
10934 | pub unsafe fn ConfigureAuthenticatedChannel<P0>(&self, pchannel: P0, inputsize: u32, pinput: *const ::core::ffi::c_void, poutput: *mut D3D11_AUTHENTICATED_CONFIGURE_OUTPUT) -> ::windows::core::Result<()> | |
10935 | where | |
10936 | P0: ::windows::core::IntoParam<ID3D11AuthenticatedChannel>, | |
10937 | { | |
10938 | (::windows::core::Interface::vtable(self).base__.ConfigureAuthenticatedChannel)(::windows::core::Interface::as_raw(self), pchannel.into_param().abi(), inputsize, pinput, poutput).ok() | |
10939 | } | |
10940 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10941 | #[cfg(feature = "Win32_Foundation")] | |
10942 | pub unsafe fn VideoProcessorSetStreamRotation<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, rotation: D3D11_VIDEO_PROCESSOR_ROTATION) | |
10943 | where | |
10944 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10945 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
10946 | { | |
10947 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetStreamRotation)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), rotation) | |
10948 | } | |
10949 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
10950 | #[cfg(feature = "Win32_Foundation")] | |
10951 | pub unsafe fn VideoProcessorGetStreamRotation<P0>(&self, pvideoprocessor: P0, streamindex: u32, penable: *mut super::super::Foundation::BOOL, protation: *mut D3D11_VIDEO_PROCESSOR_ROTATION) | |
10952 | where | |
10953 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10954 | { | |
10955 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetStreamRotation)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penable, protation) | |
10956 | } | |
10957 | pub unsafe fn SubmitDecoderBuffers1<P0>(&self, pdecoder: P0, pbufferdesc: &[D3D11_VIDEO_DECODER_BUFFER_DESC1]) -> ::windows::core::Result<()> | |
10958 | where | |
10959 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
10960 | { | |
10961 | (::windows::core::Interface::vtable(self).SubmitDecoderBuffers1)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), pbufferdesc.len() as _, ::core::mem::transmute(pbufferdesc.as_ptr())).ok() | |
10962 | } | |
10963 | pub unsafe fn GetDataForNewHardwareKey<P0>(&self, pcryptosession: P0, pprivatinputdata: &[u8]) -> ::windows::core::Result<u64> | |
10964 | where | |
10965 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
10966 | { | |
10967 | let mut result__ = ::windows::core::zeroed::<u64>(); | |
10968 | (::windows::core::Interface::vtable(self).GetDataForNewHardwareKey)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), pprivatinputdata.len() as _, ::core::mem::transmute(pprivatinputdata.as_ptr()), &mut result__).from_abi(result__) | |
10969 | } | |
10970 | pub unsafe fn CheckCryptoSessionStatus<P0>(&self, pcryptosession: P0) -> ::windows::core::Result<D3D11_CRYPTO_SESSION_STATUS> | |
10971 | where | |
10972 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
10973 | { | |
10974 | let mut result__ = ::windows::core::zeroed::<D3D11_CRYPTO_SESSION_STATUS>(); | |
10975 | (::windows::core::Interface::vtable(self).CheckCryptoSessionStatus)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), &mut result__).from_abi(result__) | |
10976 | } | |
10977 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
10978 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
10979 | pub unsafe fn DecoderEnableDownsampling<P0>(&self, pdecoder: P0, inputcolorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC, referenceframecount: u32) -> ::windows::core::Result<()> | |
10980 | where | |
10981 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
10982 | { | |
10983 | (::windows::core::Interface::vtable(self).DecoderEnableDownsampling)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), inputcolorspace, poutputdesc, referenceframecount).ok() | |
10984 | } | |
10985 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
10986 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
10987 | pub unsafe fn DecoderUpdateDownsampling<P0>(&self, pdecoder: P0, poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC) -> ::windows::core::Result<()> | |
10988 | where | |
10989 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
10990 | { | |
10991 | (::windows::core::Interface::vtable(self).DecoderUpdateDownsampling)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), poutputdesc).ok() | |
10992 | } | |
10993 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
10994 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
10995 | pub unsafe fn VideoProcessorSetOutputColorSpace1<P0>(&self, pvideoprocessor: P0, colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE) | |
10996 | where | |
10997 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
10998 | { | |
10999 | (::windows::core::Interface::vtable(self).VideoProcessorSetOutputColorSpace1)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), colorspace) | |
11000 | } | |
11001 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11002 | #[cfg(feature = "Win32_Foundation")] | |
11003 | pub unsafe fn VideoProcessorSetOutputShaderUsage<P0, P1>(&self, pvideoprocessor: P0, shaderusage: P1) | |
11004 | where | |
11005 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11006 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11007 | { | |
11008 | (::windows::core::Interface::vtable(self).VideoProcessorSetOutputShaderUsage)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), shaderusage.into_param().abi()) | |
11009 | } | |
11010 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
11011 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
11012 | pub unsafe fn VideoProcessorGetOutputColorSpace1<P0>(&self, pvideoprocessor: P0) -> super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE | |
11013 | where | |
11014 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11015 | { | |
11016 | let mut result__ = ::windows::core::zeroed::<super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE>(); | |
11017 | (::windows::core::Interface::vtable(self).VideoProcessorGetOutputColorSpace1)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), &mut result__); | |
11018 | ::std::mem::transmute(result__) | |
11019 | } | |
11020 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11021 | #[cfg(feature = "Win32_Foundation")] | |
11022 | pub unsafe fn VideoProcessorGetOutputShaderUsage<P0>(&self, pvideoprocessor: P0) -> super::super::Foundation::BOOL | |
11023 | where | |
11024 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11025 | { | |
11026 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>(); | |
11027 | (::windows::core::Interface::vtable(self).VideoProcessorGetOutputShaderUsage)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), &mut result__); | |
11028 | ::std::mem::transmute(result__) | |
11029 | } | |
11030 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
11031 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
11032 | pub unsafe fn VideoProcessorSetStreamColorSpace1<P0>(&self, pvideoprocessor: P0, streamindex: u32, colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE) | |
11033 | where | |
11034 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11035 | { | |
11036 | (::windows::core::Interface::vtable(self).VideoProcessorSetStreamColorSpace1)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, colorspace) | |
11037 | } | |
11038 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11039 | #[cfg(feature = "Win32_Foundation")] | |
11040 | pub unsafe fn VideoProcessorSetStreamMirror<P0, P1, P2, P3>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, fliphorizontal: P2, flipvertical: P3) | |
11041 | where | |
11042 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11043 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11044 | P2: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11045 | P3: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11046 | { | |
11047 | (::windows::core::Interface::vtable(self).VideoProcessorSetStreamMirror)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), fliphorizontal.into_param().abi(), flipvertical.into_param().abi()) | |
11048 | } | |
11049 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
11050 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
11051 | pub unsafe fn VideoProcessorGetStreamColorSpace1<P0>(&self, pvideoprocessor: P0, streamindex: u32) -> super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE | |
11052 | where | |
11053 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11054 | { | |
11055 | let mut result__ = ::windows::core::zeroed::<super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE>(); | |
11056 | (::windows::core::Interface::vtable(self).VideoProcessorGetStreamColorSpace1)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, &mut result__); | |
11057 | ::std::mem::transmute(result__) | |
11058 | } | |
11059 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11060 | #[cfg(feature = "Win32_Foundation")] | |
11061 | pub unsafe fn VideoProcessorGetStreamMirror<P0>(&self, pvideoprocessor: P0, streamindex: u32, penable: *mut super::super::Foundation::BOOL, pfliphorizontal: *mut super::super::Foundation::BOOL, pflipvertical: *mut super::super::Foundation::BOOL) | |
11062 | where | |
11063 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11064 | { | |
11065 | (::windows::core::Interface::vtable(self).VideoProcessorGetStreamMirror)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penable, pfliphorizontal, pflipvertical) | |
11066 | } | |
11067 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
11068 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
11069 | pub unsafe fn VideoProcessorGetBehaviorHints<P0>(&self, pvideoprocessor: P0, outputwidth: u32, outputheight: u32, outputformat: super::Dxgi::Common::DXGI_FORMAT, pstreams: &[D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT]) -> ::windows::core::Result<u32> | |
11070 | where | |
11071 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11072 | { | |
11073 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
11074 | (::windows::core::Interface::vtable(self).VideoProcessorGetBehaviorHints)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), outputwidth, outputheight, outputformat, pstreams.len() as _, ::core::mem::transmute(pstreams.as_ptr()), &mut result__).from_abi(result__) | |
11075 | } | |
11076 | } | |
11077 | ::windows::imp::interface_hierarchy!(ID3D11VideoContext1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11VideoContext); | |
11078 | impl ::core::cmp::PartialEq for ID3D11VideoContext1 { | |
11079 | fn eq(&self, other: &Self) -> bool { | |
11080 | self.0 == other.0 | |
11081 | } | |
11082 | } | |
11083 | impl ::core::cmp::Eq for ID3D11VideoContext1 {} | |
11084 | impl ::core::fmt::Debug for ID3D11VideoContext1 { | |
11085 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
11086 | f.debug_tuple("ID3D11VideoContext1").field(&self.0).finish() | |
11087 | } | |
11088 | } | |
11089 | unsafe impl ::core::marker::Send for ID3D11VideoContext1 {} | |
11090 | unsafe impl ::core::marker::Sync for ID3D11VideoContext1 {} | |
11091 | unsafe impl ::windows::core::Interface for ID3D11VideoContext1 { | |
11092 | type Vtable = ID3D11VideoContext1_Vtbl; | |
11093 | } | |
11094 | impl ::core::clone::Clone for ID3D11VideoContext1 { | |
11095 | fn clone(&self) -> Self { | |
11096 | Self(self.0.clone()) | |
11097 | } | |
11098 | } | |
11099 | unsafe impl ::windows::core::ComInterface for ID3D11VideoContext1 { | |
11100 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa7f026da_a5f8_4487_a564_15e34357651e); | |
11101 | } | |
11102 | #[repr(C)] | |
11103 | #[doc(hidden)] | |
11104 | pub struct ID3D11VideoContext1_Vtbl { | |
11105 | pub base__: ID3D11VideoContext_Vtbl, | |
11106 | pub SubmitDecoderBuffers1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdecoder: *mut ::core::ffi::c_void, numbuffers: u32, pbufferdesc: *const D3D11_VIDEO_DECODER_BUFFER_DESC1) -> ::windows::core::HRESULT, | |
11107 | pub GetDataForNewHardwareKey: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcryptosession: *mut ::core::ffi::c_void, privateinputsize: u32, pprivatinputdata: *const ::core::ffi::c_void, pprivateoutputdata: *mut u64) -> ::windows::core::HRESULT, | |
11108 | pub CheckCryptoSessionStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcryptosession: *mut ::core::ffi::c_void, pstatus: *mut D3D11_CRYPTO_SESSION_STATUS) -> ::windows::core::HRESULT, | |
11109 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
11110 | pub DecoderEnableDownsampling: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdecoder: *mut ::core::ffi::c_void, inputcolorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC, referenceframecount: u32) -> ::windows::core::HRESULT, | |
11111 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
11112 | DecoderEnableDownsampling: usize, | |
11113 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
11114 | pub DecoderUpdateDownsampling: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdecoder: *mut ::core::ffi::c_void, poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC) -> ::windows::core::HRESULT, | |
11115 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
11116 | DecoderUpdateDownsampling: usize, | |
11117 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
11118 | pub VideoProcessorSetOutputColorSpace1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE), | |
11119 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
11120 | VideoProcessorSetOutputColorSpace1: usize, | |
11121 | #[cfg(feature = "Win32_Foundation")] | |
11122 | pub VideoProcessorSetOutputShaderUsage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, shaderusage: super::super::Foundation::BOOL), | |
11123 | #[cfg(not(feature = "Win32_Foundation"))] | |
11124 | VideoProcessorSetOutputShaderUsage: usize, | |
11125 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
11126 | pub VideoProcessorGetOutputColorSpace1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, pcolorspace: *mut super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE), | |
11127 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
11128 | VideoProcessorGetOutputColorSpace1: usize, | |
11129 | #[cfg(feature = "Win32_Foundation")] | |
11130 | pub VideoProcessorGetOutputShaderUsage: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, pshaderusage: *mut super::super::Foundation::BOOL), | |
11131 | #[cfg(not(feature = "Win32_Foundation"))] | |
11132 | VideoProcessorGetOutputShaderUsage: usize, | |
11133 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
11134 | pub VideoProcessorSetStreamColorSpace1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE), | |
11135 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
11136 | VideoProcessorSetStreamColorSpace1: usize, | |
11137 | #[cfg(feature = "Win32_Foundation")] | |
11138 | pub VideoProcessorSetStreamMirror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, enable: super::super::Foundation::BOOL, fliphorizontal: super::super::Foundation::BOOL, flipvertical: super::super::Foundation::BOOL), | |
11139 | #[cfg(not(feature = "Win32_Foundation"))] | |
11140 | VideoProcessorSetStreamMirror: usize, | |
11141 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
11142 | pub VideoProcessorGetStreamColorSpace1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, pcolorspace: *mut super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE), | |
11143 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
11144 | VideoProcessorGetStreamColorSpace1: usize, | |
11145 | #[cfg(feature = "Win32_Foundation")] | |
11146 | pub VideoProcessorGetStreamMirror: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, penable: *mut super::super::Foundation::BOOL, pfliphorizontal: *mut super::super::Foundation::BOOL, pflipvertical: *mut super::super::Foundation::BOOL), | |
11147 | #[cfg(not(feature = "Win32_Foundation"))] | |
11148 | VideoProcessorGetStreamMirror: usize, | |
11149 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
11150 | pub VideoProcessorGetBehaviorHints: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, outputwidth: u32, outputheight: u32, outputformat: super::Dxgi::Common::DXGI_FORMAT, streamcount: u32, pstreams: *const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT, pbehaviorhints: *mut u32) -> ::windows::core::HRESULT, | |
11151 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common")))] | |
11152 | VideoProcessorGetBehaviorHints: usize, | |
11153 | } | |
11154 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
11155 | #[repr(transparent)] | |
11156 | pub struct ID3D11VideoContext2(::windows::core::IUnknown); | |
11157 | impl ID3D11VideoContext2 { | |
11158 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
11159 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
11160 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
11161 | ::windows::core::from_abi(result__) | |
11162 | } | |
11163 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
11164 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
11165 | } | |
11166 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
11167 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
11168 | } | |
11169 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
11170 | where | |
11171 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
11172 | { | |
11173 | (::windows::core::Interface::vtable(self).base__.base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
11174 | } | |
11175 | pub unsafe fn GetDecoderBuffer<P0>(&self, pdecoder: P0, r#type: D3D11_VIDEO_DECODER_BUFFER_TYPE, pbuffersize: *mut u32, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
11176 | where | |
11177 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
11178 | { | |
11179 | (::windows::core::Interface::vtable(self).base__.base__.GetDecoderBuffer)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), r#type, pbuffersize, ppbuffer).ok() | |
11180 | } | |
11181 | pub unsafe fn ReleaseDecoderBuffer<P0>(&self, pdecoder: P0, r#type: D3D11_VIDEO_DECODER_BUFFER_TYPE) -> ::windows::core::Result<()> | |
11182 | where | |
11183 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
11184 | { | |
11185 | (::windows::core::Interface::vtable(self).base__.base__.ReleaseDecoderBuffer)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), r#type).ok() | |
11186 | } | |
11187 | pub unsafe fn DecoderBeginFrame<P0, P1>(&self, pdecoder: P0, pview: P1, contentkeysize: u32, pcontentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> | |
11188 | where | |
11189 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
11190 | P1: ::windows::core::IntoParam<ID3D11VideoDecoderOutputView>, | |
11191 | { | |
11192 | (::windows::core::Interface::vtable(self).base__.base__.DecoderBeginFrame)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), pview.into_param().abi(), contentkeysize, ::core::mem::transmute(pcontentkey.unwrap_or(::std::ptr::null()))).ok() | |
11193 | } | |
11194 | pub unsafe fn DecoderEndFrame<P0>(&self, pdecoder: P0) -> ::windows::core::Result<()> | |
11195 | where | |
11196 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
11197 | { | |
11198 | (::windows::core::Interface::vtable(self).base__.base__.DecoderEndFrame)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi()).ok() | |
11199 | } | |
11200 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11201 | #[cfg(feature = "Win32_Foundation")] | |
11202 | pub unsafe fn SubmitDecoderBuffers<P0>(&self, pdecoder: P0, pbufferdesc: &[D3D11_VIDEO_DECODER_BUFFER_DESC]) -> ::windows::core::Result<()> | |
11203 | where | |
11204 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
11205 | { | |
11206 | (::windows::core::Interface::vtable(self).base__.base__.SubmitDecoderBuffers)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), pbufferdesc.len() as _, ::core::mem::transmute(pbufferdesc.as_ptr())).ok() | |
11207 | } | |
11208 | pub unsafe fn DecoderExtension<P0>(&self, pdecoder: P0, pextensiondata: *const D3D11_VIDEO_DECODER_EXTENSION) -> i32 | |
11209 | where | |
11210 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
11211 | { | |
11212 | (::windows::core::Interface::vtable(self).base__.base__.DecoderExtension)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), pextensiondata) | |
11213 | } | |
11214 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11215 | #[cfg(feature = "Win32_Foundation")] | |
11216 | pub unsafe fn VideoProcessorSetOutputTargetRect<P0, P1>(&self, pvideoprocessor: P0, enable: P1, prect: ::core::option::Option<*const super::super::Foundation::RECT>) | |
11217 | where | |
11218 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11219 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11220 | { | |
11221 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetOutputTargetRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), enable.into_param().abi(), ::core::mem::transmute(prect.unwrap_or(::std::ptr::null()))) | |
11222 | } | |
11223 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11224 | #[cfg(feature = "Win32_Foundation")] | |
11225 | pub unsafe fn VideoProcessorSetOutputBackgroundColor<P0, P1>(&self, pvideoprocessor: P0, ycbcr: P1, pcolor: *const D3D11_VIDEO_COLOR) | |
11226 | where | |
11227 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11228 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11229 | { | |
11230 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetOutputBackgroundColor)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), ycbcr.into_param().abi(), pcolor) | |
11231 | } | |
11232 | pub unsafe fn VideoProcessorSetOutputColorSpace<P0>(&self, pvideoprocessor: P0, pcolorspace: *const D3D11_VIDEO_PROCESSOR_COLOR_SPACE) | |
11233 | where | |
11234 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11235 | { | |
11236 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetOutputColorSpace)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pcolorspace) | |
11237 | } | |
11238 | pub unsafe fn VideoProcessorSetOutputAlphaFillMode<P0>(&self, pvideoprocessor: P0, alphafillmode: D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE, streamindex: u32) | |
11239 | where | |
11240 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11241 | { | |
11242 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetOutputAlphaFillMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), alphafillmode, streamindex) | |
11243 | } | |
11244 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11245 | #[cfg(feature = "Win32_Foundation")] | |
11246 | pub unsafe fn VideoProcessorSetOutputConstriction<P0, P1>(&self, pvideoprocessor: P0, enable: P1, size: super::super::Foundation::SIZE) | |
11247 | where | |
11248 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11249 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11250 | { | |
11251 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetOutputConstriction)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), enable.into_param().abi(), ::core::mem::transmute(size)) | |
11252 | } | |
11253 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11254 | #[cfg(feature = "Win32_Foundation")] | |
11255 | pub unsafe fn VideoProcessorSetOutputStereoMode<P0, P1>(&self, pvideoprocessor: P0, enable: P1) | |
11256 | where | |
11257 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11258 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11259 | { | |
11260 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetOutputStereoMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), enable.into_param().abi()) | |
11261 | } | |
11262 | pub unsafe fn VideoProcessorSetOutputExtension<P0>(&self, pvideoprocessor: P0, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> i32 | |
11263 | where | |
11264 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11265 | { | |
11266 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetOutputExtension)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pextensionguid, datasize, pdata) | |
11267 | } | |
11268 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11269 | #[cfg(feature = "Win32_Foundation")] | |
11270 | pub unsafe fn VideoProcessorGetOutputTargetRect<P0>(&self, pvideoprocessor: P0, enabled: *mut super::super::Foundation::BOOL, prect: *mut super::super::Foundation::RECT) | |
11271 | where | |
11272 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11273 | { | |
11274 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetOutputTargetRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), enabled, prect) | |
11275 | } | |
11276 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11277 | #[cfg(feature = "Win32_Foundation")] | |
11278 | pub unsafe fn VideoProcessorGetOutputBackgroundColor<P0>(&self, pvideoprocessor: P0, pycbcr: *mut super::super::Foundation::BOOL, pcolor: *mut D3D11_VIDEO_COLOR) | |
11279 | where | |
11280 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11281 | { | |
11282 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetOutputBackgroundColor)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pycbcr, pcolor) | |
11283 | } | |
11284 | pub unsafe fn VideoProcessorGetOutputColorSpace<P0>(&self, pvideoprocessor: P0) -> D3D11_VIDEO_PROCESSOR_COLOR_SPACE | |
11285 | where | |
11286 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11287 | { | |
11288 | let mut result__ = ::windows::core::zeroed::<D3D11_VIDEO_PROCESSOR_COLOR_SPACE>(); | |
11289 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetOutputColorSpace)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), &mut result__); | |
11290 | ::std::mem::transmute(result__) | |
11291 | } | |
11292 | pub unsafe fn VideoProcessorGetOutputAlphaFillMode<P0>(&self, pvideoprocessor: P0, palphafillmode: *mut D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE, pstreamindex: *mut u32) | |
11293 | where | |
11294 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11295 | { | |
11296 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetOutputAlphaFillMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), palphafillmode, pstreamindex) | |
11297 | } | |
11298 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11299 | #[cfg(feature = "Win32_Foundation")] | |
11300 | pub unsafe fn VideoProcessorGetOutputConstriction<P0>(&self, pvideoprocessor: P0, penabled: *mut super::super::Foundation::BOOL, psize: *mut super::super::Foundation::SIZE) | |
11301 | where | |
11302 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11303 | { | |
11304 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetOutputConstriction)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), penabled, psize) | |
11305 | } | |
11306 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11307 | #[cfg(feature = "Win32_Foundation")] | |
11308 | pub unsafe fn VideoProcessorGetOutputStereoMode<P0>(&self, pvideoprocessor: P0) -> super::super::Foundation::BOOL | |
11309 | where | |
11310 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11311 | { | |
11312 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>(); | |
11313 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetOutputStereoMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), &mut result__); | |
11314 | ::std::mem::transmute(result__) | |
11315 | } | |
11316 | pub unsafe fn VideoProcessorGetOutputExtension<P0>(&self, pvideoprocessor: P0, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *mut ::core::ffi::c_void) -> i32 | |
11317 | where | |
11318 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11319 | { | |
11320 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetOutputExtension)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pextensionguid, datasize, pdata) | |
11321 | } | |
11322 | pub unsafe fn VideoProcessorSetStreamFrameFormat<P0>(&self, pvideoprocessor: P0, streamindex: u32, frameformat: D3D11_VIDEO_FRAME_FORMAT) | |
11323 | where | |
11324 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11325 | { | |
11326 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetStreamFrameFormat)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, frameformat) | |
11327 | } | |
11328 | pub unsafe fn VideoProcessorSetStreamColorSpace<P0>(&self, pvideoprocessor: P0, streamindex: u32, pcolorspace: *const D3D11_VIDEO_PROCESSOR_COLOR_SPACE) | |
11329 | where | |
11330 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11331 | { | |
11332 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetStreamColorSpace)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pcolorspace) | |
11333 | } | |
11334 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
11335 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
11336 | pub unsafe fn VideoProcessorSetStreamOutputRate<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, outputrate: D3D11_VIDEO_PROCESSOR_OUTPUT_RATE, repeatframe: P1, pcustomrate: ::core::option::Option<*const super::Dxgi::Common::DXGI_RATIONAL>) | |
11337 | where | |
11338 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11339 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11340 | { | |
11341 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetStreamOutputRate)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, outputrate, repeatframe.into_param().abi(), ::core::mem::transmute(pcustomrate.unwrap_or(::std::ptr::null()))) | |
11342 | } | |
11343 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11344 | #[cfg(feature = "Win32_Foundation")] | |
11345 | pub unsafe fn VideoProcessorSetStreamSourceRect<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, prect: ::core::option::Option<*const super::super::Foundation::RECT>) | |
11346 | where | |
11347 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11348 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11349 | { | |
11350 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetStreamSourceRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), ::core::mem::transmute(prect.unwrap_or(::std::ptr::null()))) | |
11351 | } | |
11352 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11353 | #[cfg(feature = "Win32_Foundation")] | |
11354 | pub unsafe fn VideoProcessorSetStreamDestRect<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, prect: ::core::option::Option<*const super::super::Foundation::RECT>) | |
11355 | where | |
11356 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11357 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11358 | { | |
11359 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetStreamDestRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), ::core::mem::transmute(prect.unwrap_or(::std::ptr::null()))) | |
11360 | } | |
11361 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11362 | #[cfg(feature = "Win32_Foundation")] | |
11363 | pub unsafe fn VideoProcessorSetStreamAlpha<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, alpha: f32) | |
11364 | where | |
11365 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11366 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11367 | { | |
11368 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetStreamAlpha)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), alpha) | |
11369 | } | |
11370 | pub unsafe fn VideoProcessorSetStreamPalette<P0>(&self, pvideoprocessor: P0, streamindex: u32, pentries: ::core::option::Option<&[u32]>) | |
11371 | where | |
11372 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11373 | { | |
11374 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetStreamPalette)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pentries.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pentries.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
11375 | } | |
11376 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
11377 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
11378 | pub unsafe fn VideoProcessorSetStreamPixelAspectRatio<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, psourceaspectratio: ::core::option::Option<*const super::Dxgi::Common::DXGI_RATIONAL>, pdestinationaspectratio: ::core::option::Option<*const super::Dxgi::Common::DXGI_RATIONAL>) | |
11379 | where | |
11380 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11381 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11382 | { | |
11383 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetStreamPixelAspectRatio)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), ::core::mem::transmute(psourceaspectratio.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdestinationaspectratio.unwrap_or(::std::ptr::null()))) | |
11384 | } | |
11385 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11386 | #[cfg(feature = "Win32_Foundation")] | |
11387 | pub unsafe fn VideoProcessorSetStreamLumaKey<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, lower: f32, upper: f32) | |
11388 | where | |
11389 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11390 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11391 | { | |
11392 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetStreamLumaKey)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), lower, upper) | |
11393 | } | |
11394 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11395 | #[cfg(feature = "Win32_Foundation")] | |
11396 | pub unsafe fn VideoProcessorSetStreamStereoFormat<P0, P1, P2, P3>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, format: D3D11_VIDEO_PROCESSOR_STEREO_FORMAT, leftviewframe0: P2, baseviewframe0: P3, flipmode: D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE, monooffset: i32) | |
11397 | where | |
11398 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11399 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11400 | P2: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11401 | P3: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11402 | { | |
11403 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetStreamStereoFormat)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), format, leftviewframe0.into_param().abi(), baseviewframe0.into_param().abi(), flipmode, monooffset) | |
11404 | } | |
11405 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11406 | #[cfg(feature = "Win32_Foundation")] | |
11407 | pub unsafe fn VideoProcessorSetStreamAutoProcessingMode<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1) | |
11408 | where | |
11409 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11410 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11411 | { | |
11412 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetStreamAutoProcessingMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi()) | |
11413 | } | |
11414 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11415 | #[cfg(feature = "Win32_Foundation")] | |
11416 | pub unsafe fn VideoProcessorSetStreamFilter<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, filter: D3D11_VIDEO_PROCESSOR_FILTER, enable: P1, level: i32) | |
11417 | where | |
11418 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11419 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11420 | { | |
11421 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetStreamFilter)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, filter, enable.into_param().abi(), level) | |
11422 | } | |
11423 | pub unsafe fn VideoProcessorSetStreamExtension<P0>(&self, pvideoprocessor: P0, streamindex: u32, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> i32 | |
11424 | where | |
11425 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11426 | { | |
11427 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetStreamExtension)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pextensionguid, datasize, pdata) | |
11428 | } | |
11429 | pub unsafe fn VideoProcessorGetStreamFrameFormat<P0>(&self, pvideoprocessor: P0, streamindex: u32) -> D3D11_VIDEO_FRAME_FORMAT | |
11430 | where | |
11431 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11432 | { | |
11433 | let mut result__ = ::windows::core::zeroed::<D3D11_VIDEO_FRAME_FORMAT>(); | |
11434 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetStreamFrameFormat)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, &mut result__); | |
11435 | ::std::mem::transmute(result__) | |
11436 | } | |
11437 | pub unsafe fn VideoProcessorGetStreamColorSpace<P0>(&self, pvideoprocessor: P0, streamindex: u32) -> D3D11_VIDEO_PROCESSOR_COLOR_SPACE | |
11438 | where | |
11439 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11440 | { | |
11441 | let mut result__ = ::windows::core::zeroed::<D3D11_VIDEO_PROCESSOR_COLOR_SPACE>(); | |
11442 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetStreamColorSpace)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, &mut result__); | |
11443 | ::std::mem::transmute(result__) | |
11444 | } | |
11445 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
11446 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
11447 | pub unsafe fn VideoProcessorGetStreamOutputRate<P0>(&self, pvideoprocessor: P0, streamindex: u32, poutputrate: *mut D3D11_VIDEO_PROCESSOR_OUTPUT_RATE, prepeatframe: *mut super::super::Foundation::BOOL, pcustomrate: *mut super::Dxgi::Common::DXGI_RATIONAL) | |
11448 | where | |
11449 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11450 | { | |
11451 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetStreamOutputRate)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, poutputrate, prepeatframe, pcustomrate) | |
11452 | } | |
11453 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11454 | #[cfg(feature = "Win32_Foundation")] | |
11455 | pub unsafe fn VideoProcessorGetStreamSourceRect<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, prect: *mut super::super::Foundation::RECT) | |
11456 | where | |
11457 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11458 | { | |
11459 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetStreamSourceRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, prect) | |
11460 | } | |
11461 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11462 | #[cfg(feature = "Win32_Foundation")] | |
11463 | pub unsafe fn VideoProcessorGetStreamDestRect<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, prect: *mut super::super::Foundation::RECT) | |
11464 | where | |
11465 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11466 | { | |
11467 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetStreamDestRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, prect) | |
11468 | } | |
11469 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11470 | #[cfg(feature = "Win32_Foundation")] | |
11471 | pub unsafe fn VideoProcessorGetStreamAlpha<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, palpha: *mut f32) | |
11472 | where | |
11473 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11474 | { | |
11475 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetStreamAlpha)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, palpha) | |
11476 | } | |
11477 | pub unsafe fn VideoProcessorGetStreamPalette<P0>(&self, pvideoprocessor: P0, streamindex: u32, pentries: &mut [u32]) | |
11478 | where | |
11479 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11480 | { | |
11481 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetStreamPalette)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pentries.len() as _, ::core::mem::transmute(pentries.as_ptr())) | |
11482 | } | |
11483 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
11484 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
11485 | pub unsafe fn VideoProcessorGetStreamPixelAspectRatio<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, psourceaspectratio: *mut super::Dxgi::Common::DXGI_RATIONAL, pdestinationaspectratio: *mut super::Dxgi::Common::DXGI_RATIONAL) | |
11486 | where | |
11487 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11488 | { | |
11489 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetStreamPixelAspectRatio)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, psourceaspectratio, pdestinationaspectratio) | |
11490 | } | |
11491 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11492 | #[cfg(feature = "Win32_Foundation")] | |
11493 | pub unsafe fn VideoProcessorGetStreamLumaKey<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, plower: *mut f32, pupper: *mut f32) | |
11494 | where | |
11495 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11496 | { | |
11497 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetStreamLumaKey)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, plower, pupper) | |
11498 | } | |
11499 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11500 | #[cfg(feature = "Win32_Foundation")] | |
11501 | pub unsafe fn VideoProcessorGetStreamStereoFormat<P0>(&self, pvideoprocessor: P0, streamindex: u32, penable: *mut super::super::Foundation::BOOL, pformat: *mut D3D11_VIDEO_PROCESSOR_STEREO_FORMAT, pleftviewframe0: *mut super::super::Foundation::BOOL, pbaseviewframe0: *mut super::super::Foundation::BOOL, pflipmode: *mut D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE, monooffset: *mut i32) | |
11502 | where | |
11503 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11504 | { | |
11505 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetStreamStereoFormat)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penable, pformat, pleftviewframe0, pbaseviewframe0, pflipmode, monooffset) | |
11506 | } | |
11507 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11508 | #[cfg(feature = "Win32_Foundation")] | |
11509 | pub unsafe fn VideoProcessorGetStreamAutoProcessingMode<P0>(&self, pvideoprocessor: P0, streamindex: u32) -> super::super::Foundation::BOOL | |
11510 | where | |
11511 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11512 | { | |
11513 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>(); | |
11514 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetStreamAutoProcessingMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, &mut result__); | |
11515 | ::std::mem::transmute(result__) | |
11516 | } | |
11517 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11518 | #[cfg(feature = "Win32_Foundation")] | |
11519 | pub unsafe fn VideoProcessorGetStreamFilter<P0>(&self, pvideoprocessor: P0, streamindex: u32, filter: D3D11_VIDEO_PROCESSOR_FILTER, penabled: *mut super::super::Foundation::BOOL, plevel: *mut i32) | |
11520 | where | |
11521 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11522 | { | |
11523 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetStreamFilter)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, filter, penabled, plevel) | |
11524 | } | |
11525 | pub unsafe fn VideoProcessorGetStreamExtension<P0>(&self, pvideoprocessor: P0, streamindex: u32, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *mut ::core::ffi::c_void) -> i32 | |
11526 | where | |
11527 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11528 | { | |
11529 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetStreamExtension)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pextensionguid, datasize, pdata) | |
11530 | } | |
11531 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11532 | #[cfg(feature = "Win32_Foundation")] | |
11533 | pub unsafe fn VideoProcessorBlt<P0, P1>(&self, pvideoprocessor: P0, pview: P1, outputframe: u32, pstreams: &[D3D11_VIDEO_PROCESSOR_STREAM]) -> ::windows::core::Result<()> | |
11534 | where | |
11535 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11536 | P1: ::windows::core::IntoParam<ID3D11VideoProcessorOutputView>, | |
11537 | { | |
11538 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorBlt)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pview.into_param().abi(), outputframe, pstreams.len() as _, ::core::mem::transmute(pstreams.as_ptr())).ok() | |
11539 | } | |
11540 | pub unsafe fn NegotiateCryptoSessionKeyExchange<P0>(&self, pcryptosession: P0, datasize: u32, pdata: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
11541 | where | |
11542 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
11543 | { | |
11544 | (::windows::core::Interface::vtable(self).base__.base__.NegotiateCryptoSessionKeyExchange)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), datasize, pdata).ok() | |
11545 | } | |
11546 | pub unsafe fn EncryptionBlt<P0, P1, P2>(&self, pcryptosession: P0, psrcsurface: P1, pdstsurface: P2, ivsize: u32, piv: ::core::option::Option<*mut ::core::ffi::c_void>) | |
11547 | where | |
11548 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
11549 | P1: ::windows::core::IntoParam<ID3D11Texture2D>, | |
11550 | P2: ::windows::core::IntoParam<ID3D11Texture2D>, | |
11551 | { | |
11552 | (::windows::core::Interface::vtable(self).base__.base__.EncryptionBlt)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), psrcsurface.into_param().abi(), pdstsurface.into_param().abi(), ivsize, ::core::mem::transmute(piv.unwrap_or(::std::ptr::null_mut()))) | |
11553 | } | |
11554 | pub unsafe fn DecryptionBlt<P0, P1, P2>(&self, pcryptosession: P0, psrcsurface: P1, pdstsurface: P2, pencryptedblockinfo: ::core::option::Option<*const D3D11_ENCRYPTED_BLOCK_INFO>, contentkeysize: u32, pcontentkey: ::core::option::Option<*const ::core::ffi::c_void>, ivsize: u32, piv: ::core::option::Option<*mut ::core::ffi::c_void>) | |
11555 | where | |
11556 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
11557 | P1: ::windows::core::IntoParam<ID3D11Texture2D>, | |
11558 | P2: ::windows::core::IntoParam<ID3D11Texture2D>, | |
11559 | { | |
11560 | (::windows::core::Interface::vtable(self).base__.base__.DecryptionBlt)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), psrcsurface.into_param().abi(), pdstsurface.into_param().abi(), ::core::mem::transmute(pencryptedblockinfo.unwrap_or(::std::ptr::null())), contentkeysize, ::core::mem::transmute(pcontentkey.unwrap_or(::std::ptr::null())), ivsize, ::core::mem::transmute(piv.unwrap_or(::std::ptr::null_mut()))) | |
11561 | } | |
11562 | pub unsafe fn StartSessionKeyRefresh<P0>(&self, pcryptosession: P0, randomnumbersize: u32, prandomnumber: *mut ::core::ffi::c_void) | |
11563 | where | |
11564 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
11565 | { | |
11566 | (::windows::core::Interface::vtable(self).base__.base__.StartSessionKeyRefresh)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), randomnumbersize, prandomnumber) | |
11567 | } | |
11568 | pub unsafe fn FinishSessionKeyRefresh<P0>(&self, pcryptosession: P0) | |
11569 | where | |
11570 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
11571 | { | |
11572 | (::windows::core::Interface::vtable(self).base__.base__.FinishSessionKeyRefresh)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi()) | |
11573 | } | |
11574 | pub unsafe fn GetEncryptionBltKey<P0>(&self, pcryptosession: P0, keysize: u32, preadbackkey: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
11575 | where | |
11576 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
11577 | { | |
11578 | (::windows::core::Interface::vtable(self).base__.base__.GetEncryptionBltKey)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), keysize, preadbackkey).ok() | |
11579 | } | |
11580 | pub unsafe fn NegotiateAuthenticatedChannelKeyExchange<P0>(&self, pchannel: P0, datasize: u32, pdata: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
11581 | where | |
11582 | P0: ::windows::core::IntoParam<ID3D11AuthenticatedChannel>, | |
11583 | { | |
11584 | (::windows::core::Interface::vtable(self).base__.base__.NegotiateAuthenticatedChannelKeyExchange)(::windows::core::Interface::as_raw(self), pchannel.into_param().abi(), datasize, pdata).ok() | |
11585 | } | |
11586 | pub unsafe fn QueryAuthenticatedChannel<P0>(&self, pchannel: P0, inputsize: u32, pinput: *const ::core::ffi::c_void, outputsize: u32, poutput: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
11587 | where | |
11588 | P0: ::windows::core::IntoParam<ID3D11AuthenticatedChannel>, | |
11589 | { | |
11590 | (::windows::core::Interface::vtable(self).base__.base__.QueryAuthenticatedChannel)(::windows::core::Interface::as_raw(self), pchannel.into_param().abi(), inputsize, pinput, outputsize, poutput).ok() | |
11591 | } | |
11592 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11593 | #[cfg(feature = "Win32_Foundation")] | |
11594 | pub unsafe fn ConfigureAuthenticatedChannel<P0>(&self, pchannel: P0, inputsize: u32, pinput: *const ::core::ffi::c_void, poutput: *mut D3D11_AUTHENTICATED_CONFIGURE_OUTPUT) -> ::windows::core::Result<()> | |
11595 | where | |
11596 | P0: ::windows::core::IntoParam<ID3D11AuthenticatedChannel>, | |
11597 | { | |
11598 | (::windows::core::Interface::vtable(self).base__.base__.ConfigureAuthenticatedChannel)(::windows::core::Interface::as_raw(self), pchannel.into_param().abi(), inputsize, pinput, poutput).ok() | |
11599 | } | |
11600 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11601 | #[cfg(feature = "Win32_Foundation")] | |
11602 | pub unsafe fn VideoProcessorSetStreamRotation<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, rotation: D3D11_VIDEO_PROCESSOR_ROTATION) | |
11603 | where | |
11604 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11605 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11606 | { | |
11607 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetStreamRotation)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), rotation) | |
11608 | } | |
11609 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11610 | #[cfg(feature = "Win32_Foundation")] | |
11611 | pub unsafe fn VideoProcessorGetStreamRotation<P0>(&self, pvideoprocessor: P0, streamindex: u32, penable: *mut super::super::Foundation::BOOL, protation: *mut D3D11_VIDEO_PROCESSOR_ROTATION) | |
11612 | where | |
11613 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11614 | { | |
11615 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetStreamRotation)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penable, protation) | |
11616 | } | |
11617 | pub unsafe fn SubmitDecoderBuffers1<P0>(&self, pdecoder: P0, pbufferdesc: &[D3D11_VIDEO_DECODER_BUFFER_DESC1]) -> ::windows::core::Result<()> | |
11618 | where | |
11619 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
11620 | { | |
11621 | (::windows::core::Interface::vtable(self).base__.SubmitDecoderBuffers1)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), pbufferdesc.len() as _, ::core::mem::transmute(pbufferdesc.as_ptr())).ok() | |
11622 | } | |
11623 | pub unsafe fn GetDataForNewHardwareKey<P0>(&self, pcryptosession: P0, pprivatinputdata: &[u8]) -> ::windows::core::Result<u64> | |
11624 | where | |
11625 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
11626 | { | |
11627 | let mut result__ = ::windows::core::zeroed::<u64>(); | |
11628 | (::windows::core::Interface::vtable(self).base__.GetDataForNewHardwareKey)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), pprivatinputdata.len() as _, ::core::mem::transmute(pprivatinputdata.as_ptr()), &mut result__).from_abi(result__) | |
11629 | } | |
11630 | pub unsafe fn CheckCryptoSessionStatus<P0>(&self, pcryptosession: P0) -> ::windows::core::Result<D3D11_CRYPTO_SESSION_STATUS> | |
11631 | where | |
11632 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
11633 | { | |
11634 | let mut result__ = ::windows::core::zeroed::<D3D11_CRYPTO_SESSION_STATUS>(); | |
11635 | (::windows::core::Interface::vtable(self).base__.CheckCryptoSessionStatus)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), &mut result__).from_abi(result__) | |
11636 | } | |
11637 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
11638 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
11639 | pub unsafe fn DecoderEnableDownsampling<P0>(&self, pdecoder: P0, inputcolorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC, referenceframecount: u32) -> ::windows::core::Result<()> | |
11640 | where | |
11641 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
11642 | { | |
11643 | (::windows::core::Interface::vtable(self).base__.DecoderEnableDownsampling)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), inputcolorspace, poutputdesc, referenceframecount).ok() | |
11644 | } | |
11645 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
11646 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
11647 | pub unsafe fn DecoderUpdateDownsampling<P0>(&self, pdecoder: P0, poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC) -> ::windows::core::Result<()> | |
11648 | where | |
11649 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
11650 | { | |
11651 | (::windows::core::Interface::vtable(self).base__.DecoderUpdateDownsampling)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), poutputdesc).ok() | |
11652 | } | |
11653 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
11654 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
11655 | pub unsafe fn VideoProcessorSetOutputColorSpace1<P0>(&self, pvideoprocessor: P0, colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE) | |
11656 | where | |
11657 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11658 | { | |
11659 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetOutputColorSpace1)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), colorspace) | |
11660 | } | |
11661 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11662 | #[cfg(feature = "Win32_Foundation")] | |
11663 | pub unsafe fn VideoProcessorSetOutputShaderUsage<P0, P1>(&self, pvideoprocessor: P0, shaderusage: P1) | |
11664 | where | |
11665 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11666 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11667 | { | |
11668 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetOutputShaderUsage)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), shaderusage.into_param().abi()) | |
11669 | } | |
11670 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
11671 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
11672 | pub unsafe fn VideoProcessorGetOutputColorSpace1<P0>(&self, pvideoprocessor: P0) -> super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE | |
11673 | where | |
11674 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11675 | { | |
11676 | let mut result__ = ::windows::core::zeroed::<super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE>(); | |
11677 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetOutputColorSpace1)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), &mut result__); | |
11678 | ::std::mem::transmute(result__) | |
11679 | } | |
11680 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11681 | #[cfg(feature = "Win32_Foundation")] | |
11682 | pub unsafe fn VideoProcessorGetOutputShaderUsage<P0>(&self, pvideoprocessor: P0) -> super::super::Foundation::BOOL | |
11683 | where | |
11684 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11685 | { | |
11686 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>(); | |
11687 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetOutputShaderUsage)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), &mut result__); | |
11688 | ::std::mem::transmute(result__) | |
11689 | } | |
11690 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
11691 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
11692 | pub unsafe fn VideoProcessorSetStreamColorSpace1<P0>(&self, pvideoprocessor: P0, streamindex: u32, colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE) | |
11693 | where | |
11694 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11695 | { | |
11696 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetStreamColorSpace1)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, colorspace) | |
11697 | } | |
11698 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11699 | #[cfg(feature = "Win32_Foundation")] | |
11700 | pub unsafe fn VideoProcessorSetStreamMirror<P0, P1, P2, P3>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, fliphorizontal: P2, flipvertical: P3) | |
11701 | where | |
11702 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11703 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11704 | P2: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11705 | P3: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11706 | { | |
11707 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetStreamMirror)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), fliphorizontal.into_param().abi(), flipvertical.into_param().abi()) | |
11708 | } | |
11709 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
11710 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
11711 | pub unsafe fn VideoProcessorGetStreamColorSpace1<P0>(&self, pvideoprocessor: P0, streamindex: u32) -> super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE | |
11712 | where | |
11713 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11714 | { | |
11715 | let mut result__ = ::windows::core::zeroed::<super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE>(); | |
11716 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetStreamColorSpace1)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, &mut result__); | |
11717 | ::std::mem::transmute(result__) | |
11718 | } | |
11719 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11720 | #[cfg(feature = "Win32_Foundation")] | |
11721 | pub unsafe fn VideoProcessorGetStreamMirror<P0>(&self, pvideoprocessor: P0, streamindex: u32, penable: *mut super::super::Foundation::BOOL, pfliphorizontal: *mut super::super::Foundation::BOOL, pflipvertical: *mut super::super::Foundation::BOOL) | |
11722 | where | |
11723 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11724 | { | |
11725 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetStreamMirror)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penable, pfliphorizontal, pflipvertical) | |
11726 | } | |
11727 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
11728 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
11729 | pub unsafe fn VideoProcessorGetBehaviorHints<P0>(&self, pvideoprocessor: P0, outputwidth: u32, outputheight: u32, outputformat: super::Dxgi::Common::DXGI_FORMAT, pstreams: &[D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT]) -> ::windows::core::Result<u32> | |
11730 | where | |
11731 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11732 | { | |
11733 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
11734 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetBehaviorHints)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), outputwidth, outputheight, outputformat, pstreams.len() as _, ::core::mem::transmute(pstreams.as_ptr()), &mut result__).from_abi(result__) | |
11735 | } | |
11736 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] | |
11737 | #[cfg(feature = "Win32_Graphics_Dxgi")] | |
11738 | pub unsafe fn VideoProcessorSetOutputHDRMetaData<P0>(&self, pvideoprocessor: P0, r#type: super::Dxgi::DXGI_HDR_METADATA_TYPE, size: u32, phdrmetadata: ::core::option::Option<*const ::core::ffi::c_void>) | |
11739 | where | |
11740 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11741 | { | |
11742 | (::windows::core::Interface::vtable(self).VideoProcessorSetOutputHDRMetaData)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), r#type, size, ::core::mem::transmute(phdrmetadata.unwrap_or(::std::ptr::null()))) | |
11743 | } | |
11744 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] | |
11745 | #[cfg(feature = "Win32_Graphics_Dxgi")] | |
11746 | pub unsafe fn VideoProcessorGetOutputHDRMetaData<P0>(&self, pvideoprocessor: P0, ptype: *mut super::Dxgi::DXGI_HDR_METADATA_TYPE, size: u32, pmetadata: ::core::option::Option<*mut ::core::ffi::c_void>) | |
11747 | where | |
11748 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11749 | { | |
11750 | (::windows::core::Interface::vtable(self).VideoProcessorGetOutputHDRMetaData)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), ptype, size, ::core::mem::transmute(pmetadata.unwrap_or(::std::ptr::null_mut()))) | |
11751 | } | |
11752 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] | |
11753 | #[cfg(feature = "Win32_Graphics_Dxgi")] | |
11754 | pub unsafe fn VideoProcessorSetStreamHDRMetaData<P0>(&self, pvideoprocessor: P0, streamindex: u32, r#type: super::Dxgi::DXGI_HDR_METADATA_TYPE, size: u32, phdrmetadata: ::core::option::Option<*const ::core::ffi::c_void>) | |
11755 | where | |
11756 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11757 | { | |
11758 | (::windows::core::Interface::vtable(self).VideoProcessorSetStreamHDRMetaData)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, r#type, size, ::core::mem::transmute(phdrmetadata.unwrap_or(::std::ptr::null()))) | |
11759 | } | |
11760 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] | |
11761 | #[cfg(feature = "Win32_Graphics_Dxgi")] | |
11762 | pub unsafe fn VideoProcessorGetStreamHDRMetaData<P0>(&self, pvideoprocessor: P0, streamindex: u32, ptype: *mut super::Dxgi::DXGI_HDR_METADATA_TYPE, size: u32, pmetadata: ::core::option::Option<*mut ::core::ffi::c_void>) | |
11763 | where | |
11764 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11765 | { | |
11766 | (::windows::core::Interface::vtable(self).VideoProcessorGetStreamHDRMetaData)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, ptype, size, ::core::mem::transmute(pmetadata.unwrap_or(::std::ptr::null_mut()))) | |
11767 | } | |
11768 | } | |
11769 | ::windows::imp::interface_hierarchy!(ID3D11VideoContext2, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11VideoContext, ID3D11VideoContext1); | |
11770 | impl ::core::cmp::PartialEq for ID3D11VideoContext2 { | |
11771 | fn eq(&self, other: &Self) -> bool { | |
11772 | self.0 == other.0 | |
11773 | } | |
11774 | } | |
11775 | impl ::core::cmp::Eq for ID3D11VideoContext2 {} | |
11776 | impl ::core::fmt::Debug for ID3D11VideoContext2 { | |
11777 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
11778 | f.debug_tuple("ID3D11VideoContext2").field(&self.0).finish() | |
11779 | } | |
11780 | } | |
11781 | unsafe impl ::core::marker::Send for ID3D11VideoContext2 {} | |
11782 | unsafe impl ::core::marker::Sync for ID3D11VideoContext2 {} | |
11783 | unsafe impl ::windows::core::Interface for ID3D11VideoContext2 { | |
11784 | type Vtable = ID3D11VideoContext2_Vtbl; | |
11785 | } | |
11786 | impl ::core::clone::Clone for ID3D11VideoContext2 { | |
11787 | fn clone(&self) -> Self { | |
11788 | Self(self.0.clone()) | |
11789 | } | |
11790 | } | |
11791 | unsafe impl ::windows::core::ComInterface for ID3D11VideoContext2 { | |
11792 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc4e7374c_6243_4d1b_ae87_52b4f740e261); | |
11793 | } | |
11794 | #[repr(C)] | |
11795 | #[doc(hidden)] | |
11796 | pub struct ID3D11VideoContext2_Vtbl { | |
11797 | pub base__: ID3D11VideoContext1_Vtbl, | |
11798 | #[cfg(feature = "Win32_Graphics_Dxgi")] | |
11799 | pub VideoProcessorSetOutputHDRMetaData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, r#type: super::Dxgi::DXGI_HDR_METADATA_TYPE, size: u32, phdrmetadata: *const ::core::ffi::c_void), | |
11800 | #[cfg(not(feature = "Win32_Graphics_Dxgi"))] | |
11801 | VideoProcessorSetOutputHDRMetaData: usize, | |
11802 | #[cfg(feature = "Win32_Graphics_Dxgi")] | |
11803 | pub VideoProcessorGetOutputHDRMetaData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, ptype: *mut super::Dxgi::DXGI_HDR_METADATA_TYPE, size: u32, pmetadata: *mut ::core::ffi::c_void), | |
11804 | #[cfg(not(feature = "Win32_Graphics_Dxgi"))] | |
11805 | VideoProcessorGetOutputHDRMetaData: usize, | |
11806 | #[cfg(feature = "Win32_Graphics_Dxgi")] | |
11807 | pub VideoProcessorSetStreamHDRMetaData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, r#type: super::Dxgi::DXGI_HDR_METADATA_TYPE, size: u32, phdrmetadata: *const ::core::ffi::c_void), | |
11808 | #[cfg(not(feature = "Win32_Graphics_Dxgi"))] | |
11809 | VideoProcessorSetStreamHDRMetaData: usize, | |
11810 | #[cfg(feature = "Win32_Graphics_Dxgi")] | |
11811 | pub VideoProcessorGetStreamHDRMetaData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideoprocessor: *mut ::core::ffi::c_void, streamindex: u32, ptype: *mut super::Dxgi::DXGI_HDR_METADATA_TYPE, size: u32, pmetadata: *mut ::core::ffi::c_void), | |
11812 | #[cfg(not(feature = "Win32_Graphics_Dxgi"))] | |
11813 | VideoProcessorGetStreamHDRMetaData: usize, | |
11814 | } | |
11815 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
11816 | #[repr(transparent)] | |
11817 | pub struct ID3D11VideoContext3(::windows::core::IUnknown); | |
11818 | impl ID3D11VideoContext3 { | |
11819 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
11820 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
11821 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
11822 | ::windows::core::from_abi(result__) | |
11823 | } | |
11824 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
11825 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
11826 | } | |
11827 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
11828 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
11829 | } | |
11830 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
11831 | where | |
11832 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
11833 | { | |
11834 | (::windows::core::Interface::vtable(self).base__.base__.base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
11835 | } | |
11836 | pub unsafe fn GetDecoderBuffer<P0>(&self, pdecoder: P0, r#type: D3D11_VIDEO_DECODER_BUFFER_TYPE, pbuffersize: *mut u32, ppbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
11837 | where | |
11838 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
11839 | { | |
11840 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetDecoderBuffer)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), r#type, pbuffersize, ppbuffer).ok() | |
11841 | } | |
11842 | pub unsafe fn ReleaseDecoderBuffer<P0>(&self, pdecoder: P0, r#type: D3D11_VIDEO_DECODER_BUFFER_TYPE) -> ::windows::core::Result<()> | |
11843 | where | |
11844 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
11845 | { | |
11846 | (::windows::core::Interface::vtable(self).base__.base__.base__.ReleaseDecoderBuffer)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), r#type).ok() | |
11847 | } | |
11848 | pub unsafe fn DecoderBeginFrame<P0, P1>(&self, pdecoder: P0, pview: P1, contentkeysize: u32, pcontentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> | |
11849 | where | |
11850 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
11851 | P1: ::windows::core::IntoParam<ID3D11VideoDecoderOutputView>, | |
11852 | { | |
11853 | (::windows::core::Interface::vtable(self).base__.base__.base__.DecoderBeginFrame)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), pview.into_param().abi(), contentkeysize, ::core::mem::transmute(pcontentkey.unwrap_or(::std::ptr::null()))).ok() | |
11854 | } | |
11855 | pub unsafe fn DecoderEndFrame<P0>(&self, pdecoder: P0) -> ::windows::core::Result<()> | |
11856 | where | |
11857 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
11858 | { | |
11859 | (::windows::core::Interface::vtable(self).base__.base__.base__.DecoderEndFrame)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi()).ok() | |
11860 | } | |
11861 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11862 | #[cfg(feature = "Win32_Foundation")] | |
11863 | pub unsafe fn SubmitDecoderBuffers<P0>(&self, pdecoder: P0, pbufferdesc: &[D3D11_VIDEO_DECODER_BUFFER_DESC]) -> ::windows::core::Result<()> | |
11864 | where | |
11865 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
11866 | { | |
11867 | (::windows::core::Interface::vtable(self).base__.base__.base__.SubmitDecoderBuffers)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), pbufferdesc.len() as _, ::core::mem::transmute(pbufferdesc.as_ptr())).ok() | |
11868 | } | |
11869 | pub unsafe fn DecoderExtension<P0>(&self, pdecoder: P0, pextensiondata: *const D3D11_VIDEO_DECODER_EXTENSION) -> i32 | |
11870 | where | |
11871 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
11872 | { | |
11873 | (::windows::core::Interface::vtable(self).base__.base__.base__.DecoderExtension)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), pextensiondata) | |
11874 | } | |
11875 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11876 | #[cfg(feature = "Win32_Foundation")] | |
11877 | pub unsafe fn VideoProcessorSetOutputTargetRect<P0, P1>(&self, pvideoprocessor: P0, enable: P1, prect: ::core::option::Option<*const super::super::Foundation::RECT>) | |
11878 | where | |
11879 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11880 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11881 | { | |
11882 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetOutputTargetRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), enable.into_param().abi(), ::core::mem::transmute(prect.unwrap_or(::std::ptr::null()))) | |
11883 | } | |
11884 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11885 | #[cfg(feature = "Win32_Foundation")] | |
11886 | pub unsafe fn VideoProcessorSetOutputBackgroundColor<P0, P1>(&self, pvideoprocessor: P0, ycbcr: P1, pcolor: *const D3D11_VIDEO_COLOR) | |
11887 | where | |
11888 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11889 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11890 | { | |
11891 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetOutputBackgroundColor)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), ycbcr.into_param().abi(), pcolor) | |
11892 | } | |
11893 | pub unsafe fn VideoProcessorSetOutputColorSpace<P0>(&self, pvideoprocessor: P0, pcolorspace: *const D3D11_VIDEO_PROCESSOR_COLOR_SPACE) | |
11894 | where | |
11895 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11896 | { | |
11897 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetOutputColorSpace)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pcolorspace) | |
11898 | } | |
11899 | pub unsafe fn VideoProcessorSetOutputAlphaFillMode<P0>(&self, pvideoprocessor: P0, alphafillmode: D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE, streamindex: u32) | |
11900 | where | |
11901 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11902 | { | |
11903 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetOutputAlphaFillMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), alphafillmode, streamindex) | |
11904 | } | |
11905 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11906 | #[cfg(feature = "Win32_Foundation")] | |
11907 | pub unsafe fn VideoProcessorSetOutputConstriction<P0, P1>(&self, pvideoprocessor: P0, enable: P1, size: super::super::Foundation::SIZE) | |
11908 | where | |
11909 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11910 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11911 | { | |
11912 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetOutputConstriction)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), enable.into_param().abi(), ::core::mem::transmute(size)) | |
11913 | } | |
11914 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11915 | #[cfg(feature = "Win32_Foundation")] | |
11916 | pub unsafe fn VideoProcessorSetOutputStereoMode<P0, P1>(&self, pvideoprocessor: P0, enable: P1) | |
11917 | where | |
11918 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11919 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
11920 | { | |
11921 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetOutputStereoMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), enable.into_param().abi()) | |
11922 | } | |
11923 | pub unsafe fn VideoProcessorSetOutputExtension<P0>(&self, pvideoprocessor: P0, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> i32 | |
11924 | where | |
11925 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11926 | { | |
11927 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetOutputExtension)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pextensionguid, datasize, pdata) | |
11928 | } | |
11929 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11930 | #[cfg(feature = "Win32_Foundation")] | |
11931 | pub unsafe fn VideoProcessorGetOutputTargetRect<P0>(&self, pvideoprocessor: P0, enabled: *mut super::super::Foundation::BOOL, prect: *mut super::super::Foundation::RECT) | |
11932 | where | |
11933 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11934 | { | |
11935 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetOutputTargetRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), enabled, prect) | |
11936 | } | |
11937 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11938 | #[cfg(feature = "Win32_Foundation")] | |
11939 | pub unsafe fn VideoProcessorGetOutputBackgroundColor<P0>(&self, pvideoprocessor: P0, pycbcr: *mut super::super::Foundation::BOOL, pcolor: *mut D3D11_VIDEO_COLOR) | |
11940 | where | |
11941 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11942 | { | |
11943 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetOutputBackgroundColor)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pycbcr, pcolor) | |
11944 | } | |
11945 | pub unsafe fn VideoProcessorGetOutputColorSpace<P0>(&self, pvideoprocessor: P0) -> D3D11_VIDEO_PROCESSOR_COLOR_SPACE | |
11946 | where | |
11947 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11948 | { | |
11949 | let mut result__ = ::windows::core::zeroed::<D3D11_VIDEO_PROCESSOR_COLOR_SPACE>(); | |
11950 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetOutputColorSpace)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), &mut result__); | |
11951 | ::std::mem::transmute(result__) | |
11952 | } | |
11953 | pub unsafe fn VideoProcessorGetOutputAlphaFillMode<P0>(&self, pvideoprocessor: P0, palphafillmode: *mut D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE, pstreamindex: *mut u32) | |
11954 | where | |
11955 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11956 | { | |
11957 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetOutputAlphaFillMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), palphafillmode, pstreamindex) | |
11958 | } | |
11959 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11960 | #[cfg(feature = "Win32_Foundation")] | |
11961 | pub unsafe fn VideoProcessorGetOutputConstriction<P0>(&self, pvideoprocessor: P0, penabled: *mut super::super::Foundation::BOOL, psize: *mut super::super::Foundation::SIZE) | |
11962 | where | |
11963 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11964 | { | |
11965 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetOutputConstriction)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), penabled, psize) | |
11966 | } | |
11967 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
11968 | #[cfg(feature = "Win32_Foundation")] | |
11969 | pub unsafe fn VideoProcessorGetOutputStereoMode<P0>(&self, pvideoprocessor: P0) -> super::super::Foundation::BOOL | |
11970 | where | |
11971 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11972 | { | |
11973 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>(); | |
11974 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetOutputStereoMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), &mut result__); | |
11975 | ::std::mem::transmute(result__) | |
11976 | } | |
11977 | pub unsafe fn VideoProcessorGetOutputExtension<P0>(&self, pvideoprocessor: P0, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *mut ::core::ffi::c_void) -> i32 | |
11978 | where | |
11979 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11980 | { | |
11981 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetOutputExtension)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pextensionguid, datasize, pdata) | |
11982 | } | |
11983 | pub unsafe fn VideoProcessorSetStreamFrameFormat<P0>(&self, pvideoprocessor: P0, streamindex: u32, frameformat: D3D11_VIDEO_FRAME_FORMAT) | |
11984 | where | |
11985 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11986 | { | |
11987 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetStreamFrameFormat)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, frameformat) | |
11988 | } | |
11989 | pub unsafe fn VideoProcessorSetStreamColorSpace<P0>(&self, pvideoprocessor: P0, streamindex: u32, pcolorspace: *const D3D11_VIDEO_PROCESSOR_COLOR_SPACE) | |
11990 | where | |
11991 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
11992 | { | |
11993 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetStreamColorSpace)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pcolorspace) | |
11994 | } | |
11995 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
11996 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
11997 | pub unsafe fn VideoProcessorSetStreamOutputRate<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, outputrate: D3D11_VIDEO_PROCESSOR_OUTPUT_RATE, repeatframe: P1, pcustomrate: ::core::option::Option<*const super::Dxgi::Common::DXGI_RATIONAL>) | |
11998 | where | |
11999 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12000 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
12001 | { | |
12002 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetStreamOutputRate)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, outputrate, repeatframe.into_param().abi(), ::core::mem::transmute(pcustomrate.unwrap_or(::std::ptr::null()))) | |
12003 | } | |
12004 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12005 | #[cfg(feature = "Win32_Foundation")] | |
12006 | pub unsafe fn VideoProcessorSetStreamSourceRect<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, prect: ::core::option::Option<*const super::super::Foundation::RECT>) | |
12007 | where | |
12008 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12009 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
12010 | { | |
12011 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetStreamSourceRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), ::core::mem::transmute(prect.unwrap_or(::std::ptr::null()))) | |
12012 | } | |
12013 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12014 | #[cfg(feature = "Win32_Foundation")] | |
12015 | pub unsafe fn VideoProcessorSetStreamDestRect<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, prect: ::core::option::Option<*const super::super::Foundation::RECT>) | |
12016 | where | |
12017 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12018 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
12019 | { | |
12020 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetStreamDestRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), ::core::mem::transmute(prect.unwrap_or(::std::ptr::null()))) | |
12021 | } | |
12022 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12023 | #[cfg(feature = "Win32_Foundation")] | |
12024 | pub unsafe fn VideoProcessorSetStreamAlpha<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, alpha: f32) | |
12025 | where | |
12026 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12027 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
12028 | { | |
12029 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetStreamAlpha)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), alpha) | |
12030 | } | |
12031 | pub unsafe fn VideoProcessorSetStreamPalette<P0>(&self, pvideoprocessor: P0, streamindex: u32, pentries: ::core::option::Option<&[u32]>) | |
12032 | where | |
12033 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12034 | { | |
12035 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetStreamPalette)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pentries.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pentries.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))) | |
12036 | } | |
12037 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12038 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
12039 | pub unsafe fn VideoProcessorSetStreamPixelAspectRatio<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, psourceaspectratio: ::core::option::Option<*const super::Dxgi::Common::DXGI_RATIONAL>, pdestinationaspectratio: ::core::option::Option<*const super::Dxgi::Common::DXGI_RATIONAL>) | |
12040 | where | |
12041 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12042 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
12043 | { | |
12044 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetStreamPixelAspectRatio)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), ::core::mem::transmute(psourceaspectratio.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdestinationaspectratio.unwrap_or(::std::ptr::null()))) | |
12045 | } | |
12046 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12047 | #[cfg(feature = "Win32_Foundation")] | |
12048 | pub unsafe fn VideoProcessorSetStreamLumaKey<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, lower: f32, upper: f32) | |
12049 | where | |
12050 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12051 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
12052 | { | |
12053 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetStreamLumaKey)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), lower, upper) | |
12054 | } | |
12055 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12056 | #[cfg(feature = "Win32_Foundation")] | |
12057 | pub unsafe fn VideoProcessorSetStreamStereoFormat<P0, P1, P2, P3>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, format: D3D11_VIDEO_PROCESSOR_STEREO_FORMAT, leftviewframe0: P2, baseviewframe0: P3, flipmode: D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE, monooffset: i32) | |
12058 | where | |
12059 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12060 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
12061 | P2: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
12062 | P3: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
12063 | { | |
12064 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetStreamStereoFormat)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), format, leftviewframe0.into_param().abi(), baseviewframe0.into_param().abi(), flipmode, monooffset) | |
12065 | } | |
12066 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12067 | #[cfg(feature = "Win32_Foundation")] | |
12068 | pub unsafe fn VideoProcessorSetStreamAutoProcessingMode<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1) | |
12069 | where | |
12070 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12071 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
12072 | { | |
12073 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetStreamAutoProcessingMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi()) | |
12074 | } | |
12075 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12076 | #[cfg(feature = "Win32_Foundation")] | |
12077 | pub unsafe fn VideoProcessorSetStreamFilter<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, filter: D3D11_VIDEO_PROCESSOR_FILTER, enable: P1, level: i32) | |
12078 | where | |
12079 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12080 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
12081 | { | |
12082 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetStreamFilter)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, filter, enable.into_param().abi(), level) | |
12083 | } | |
12084 | pub unsafe fn VideoProcessorSetStreamExtension<P0>(&self, pvideoprocessor: P0, streamindex: u32, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> i32 | |
12085 | where | |
12086 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12087 | { | |
12088 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetStreamExtension)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pextensionguid, datasize, pdata) | |
12089 | } | |
12090 | pub unsafe fn VideoProcessorGetStreamFrameFormat<P0>(&self, pvideoprocessor: P0, streamindex: u32) -> D3D11_VIDEO_FRAME_FORMAT | |
12091 | where | |
12092 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12093 | { | |
12094 | let mut result__ = ::windows::core::zeroed::<D3D11_VIDEO_FRAME_FORMAT>(); | |
12095 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetStreamFrameFormat)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, &mut result__); | |
12096 | ::std::mem::transmute(result__) | |
12097 | } | |
12098 | pub unsafe fn VideoProcessorGetStreamColorSpace<P0>(&self, pvideoprocessor: P0, streamindex: u32) -> D3D11_VIDEO_PROCESSOR_COLOR_SPACE | |
12099 | where | |
12100 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12101 | { | |
12102 | let mut result__ = ::windows::core::zeroed::<D3D11_VIDEO_PROCESSOR_COLOR_SPACE>(); | |
12103 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetStreamColorSpace)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, &mut result__); | |
12104 | ::std::mem::transmute(result__) | |
12105 | } | |
12106 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12107 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
12108 | pub unsafe fn VideoProcessorGetStreamOutputRate<P0>(&self, pvideoprocessor: P0, streamindex: u32, poutputrate: *mut D3D11_VIDEO_PROCESSOR_OUTPUT_RATE, prepeatframe: *mut super::super::Foundation::BOOL, pcustomrate: *mut super::Dxgi::Common::DXGI_RATIONAL) | |
12109 | where | |
12110 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12111 | { | |
12112 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetStreamOutputRate)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, poutputrate, prepeatframe, pcustomrate) | |
12113 | } | |
12114 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12115 | #[cfg(feature = "Win32_Foundation")] | |
12116 | pub unsafe fn VideoProcessorGetStreamSourceRect<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, prect: *mut super::super::Foundation::RECT) | |
12117 | where | |
12118 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12119 | { | |
12120 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetStreamSourceRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, prect) | |
12121 | } | |
12122 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12123 | #[cfg(feature = "Win32_Foundation")] | |
12124 | pub unsafe fn VideoProcessorGetStreamDestRect<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, prect: *mut super::super::Foundation::RECT) | |
12125 | where | |
12126 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12127 | { | |
12128 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetStreamDestRect)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, prect) | |
12129 | } | |
12130 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12131 | #[cfg(feature = "Win32_Foundation")] | |
12132 | pub unsafe fn VideoProcessorGetStreamAlpha<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, palpha: *mut f32) | |
12133 | where | |
12134 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12135 | { | |
12136 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetStreamAlpha)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, palpha) | |
12137 | } | |
12138 | pub unsafe fn VideoProcessorGetStreamPalette<P0>(&self, pvideoprocessor: P0, streamindex: u32, pentries: &mut [u32]) | |
12139 | where | |
12140 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12141 | { | |
12142 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetStreamPalette)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pentries.len() as _, ::core::mem::transmute(pentries.as_ptr())) | |
12143 | } | |
12144 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12145 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
12146 | pub unsafe fn VideoProcessorGetStreamPixelAspectRatio<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, psourceaspectratio: *mut super::Dxgi::Common::DXGI_RATIONAL, pdestinationaspectratio: *mut super::Dxgi::Common::DXGI_RATIONAL) | |
12147 | where | |
12148 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12149 | { | |
12150 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetStreamPixelAspectRatio)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, psourceaspectratio, pdestinationaspectratio) | |
12151 | } | |
12152 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12153 | #[cfg(feature = "Win32_Foundation")] | |
12154 | pub unsafe fn VideoProcessorGetStreamLumaKey<P0>(&self, pvideoprocessor: P0, streamindex: u32, penabled: *mut super::super::Foundation::BOOL, plower: *mut f32, pupper: *mut f32) | |
12155 | where | |
12156 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12157 | { | |
12158 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetStreamLumaKey)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penabled, plower, pupper) | |
12159 | } | |
12160 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12161 | #[cfg(feature = "Win32_Foundation")] | |
12162 | pub unsafe fn VideoProcessorGetStreamStereoFormat<P0>(&self, pvideoprocessor: P0, streamindex: u32, penable: *mut super::super::Foundation::BOOL, pformat: *mut D3D11_VIDEO_PROCESSOR_STEREO_FORMAT, pleftviewframe0: *mut super::super::Foundation::BOOL, pbaseviewframe0: *mut super::super::Foundation::BOOL, pflipmode: *mut D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE, monooffset: *mut i32) | |
12163 | where | |
12164 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12165 | { | |
12166 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetStreamStereoFormat)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penable, pformat, pleftviewframe0, pbaseviewframe0, pflipmode, monooffset) | |
12167 | } | |
12168 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12169 | #[cfg(feature = "Win32_Foundation")] | |
12170 | pub unsafe fn VideoProcessorGetStreamAutoProcessingMode<P0>(&self, pvideoprocessor: P0, streamindex: u32) -> super::super::Foundation::BOOL | |
12171 | where | |
12172 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12173 | { | |
12174 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>(); | |
12175 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetStreamAutoProcessingMode)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, &mut result__); | |
12176 | ::std::mem::transmute(result__) | |
12177 | } | |
12178 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12179 | #[cfg(feature = "Win32_Foundation")] | |
12180 | pub unsafe fn VideoProcessorGetStreamFilter<P0>(&self, pvideoprocessor: P0, streamindex: u32, filter: D3D11_VIDEO_PROCESSOR_FILTER, penabled: *mut super::super::Foundation::BOOL, plevel: *mut i32) | |
12181 | where | |
12182 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12183 | { | |
12184 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetStreamFilter)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, filter, penabled, plevel) | |
12185 | } | |
12186 | pub unsafe fn VideoProcessorGetStreamExtension<P0>(&self, pvideoprocessor: P0, streamindex: u32, pextensionguid: *const ::windows::core::GUID, datasize: u32, pdata: *mut ::core::ffi::c_void) -> i32 | |
12187 | where | |
12188 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12189 | { | |
12190 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetStreamExtension)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, pextensionguid, datasize, pdata) | |
12191 | } | |
12192 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12193 | #[cfg(feature = "Win32_Foundation")] | |
12194 | pub unsafe fn VideoProcessorBlt<P0, P1>(&self, pvideoprocessor: P0, pview: P1, outputframe: u32, pstreams: &[D3D11_VIDEO_PROCESSOR_STREAM]) -> ::windows::core::Result<()> | |
12195 | where | |
12196 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12197 | P1: ::windows::core::IntoParam<ID3D11VideoProcessorOutputView>, | |
12198 | { | |
12199 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorBlt)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), pview.into_param().abi(), outputframe, pstreams.len() as _, ::core::mem::transmute(pstreams.as_ptr())).ok() | |
12200 | } | |
12201 | pub unsafe fn NegotiateCryptoSessionKeyExchange<P0>(&self, pcryptosession: P0, datasize: u32, pdata: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
12202 | where | |
12203 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
12204 | { | |
12205 | (::windows::core::Interface::vtable(self).base__.base__.base__.NegotiateCryptoSessionKeyExchange)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), datasize, pdata).ok() | |
12206 | } | |
12207 | pub unsafe fn EncryptionBlt<P0, P1, P2>(&self, pcryptosession: P0, psrcsurface: P1, pdstsurface: P2, ivsize: u32, piv: ::core::option::Option<*mut ::core::ffi::c_void>) | |
12208 | where | |
12209 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
12210 | P1: ::windows::core::IntoParam<ID3D11Texture2D>, | |
12211 | P2: ::windows::core::IntoParam<ID3D11Texture2D>, | |
12212 | { | |
12213 | (::windows::core::Interface::vtable(self).base__.base__.base__.EncryptionBlt)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), psrcsurface.into_param().abi(), pdstsurface.into_param().abi(), ivsize, ::core::mem::transmute(piv.unwrap_or(::std::ptr::null_mut()))) | |
12214 | } | |
12215 | pub unsafe fn DecryptionBlt<P0, P1, P2>(&self, pcryptosession: P0, psrcsurface: P1, pdstsurface: P2, pencryptedblockinfo: ::core::option::Option<*const D3D11_ENCRYPTED_BLOCK_INFO>, contentkeysize: u32, pcontentkey: ::core::option::Option<*const ::core::ffi::c_void>, ivsize: u32, piv: ::core::option::Option<*mut ::core::ffi::c_void>) | |
12216 | where | |
12217 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
12218 | P1: ::windows::core::IntoParam<ID3D11Texture2D>, | |
12219 | P2: ::windows::core::IntoParam<ID3D11Texture2D>, | |
12220 | { | |
12221 | (::windows::core::Interface::vtable(self).base__.base__.base__.DecryptionBlt)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), psrcsurface.into_param().abi(), pdstsurface.into_param().abi(), ::core::mem::transmute(pencryptedblockinfo.unwrap_or(::std::ptr::null())), contentkeysize, ::core::mem::transmute(pcontentkey.unwrap_or(::std::ptr::null())), ivsize, ::core::mem::transmute(piv.unwrap_or(::std::ptr::null_mut()))) | |
12222 | } | |
12223 | pub unsafe fn StartSessionKeyRefresh<P0>(&self, pcryptosession: P0, randomnumbersize: u32, prandomnumber: *mut ::core::ffi::c_void) | |
12224 | where | |
12225 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
12226 | { | |
12227 | (::windows::core::Interface::vtable(self).base__.base__.base__.StartSessionKeyRefresh)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), randomnumbersize, prandomnumber) | |
12228 | } | |
12229 | pub unsafe fn FinishSessionKeyRefresh<P0>(&self, pcryptosession: P0) | |
12230 | where | |
12231 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
12232 | { | |
12233 | (::windows::core::Interface::vtable(self).base__.base__.base__.FinishSessionKeyRefresh)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi()) | |
12234 | } | |
12235 | pub unsafe fn GetEncryptionBltKey<P0>(&self, pcryptosession: P0, keysize: u32, preadbackkey: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
12236 | where | |
12237 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
12238 | { | |
12239 | (::windows::core::Interface::vtable(self).base__.base__.base__.GetEncryptionBltKey)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), keysize, preadbackkey).ok() | |
12240 | } | |
12241 | pub unsafe fn NegotiateAuthenticatedChannelKeyExchange<P0>(&self, pchannel: P0, datasize: u32, pdata: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
12242 | where | |
12243 | P0: ::windows::core::IntoParam<ID3D11AuthenticatedChannel>, | |
12244 | { | |
12245 | (::windows::core::Interface::vtable(self).base__.base__.base__.NegotiateAuthenticatedChannelKeyExchange)(::windows::core::Interface::as_raw(self), pchannel.into_param().abi(), datasize, pdata).ok() | |
12246 | } | |
12247 | pub unsafe fn QueryAuthenticatedChannel<P0>(&self, pchannel: P0, inputsize: u32, pinput: *const ::core::ffi::c_void, outputsize: u32, poutput: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
12248 | where | |
12249 | P0: ::windows::core::IntoParam<ID3D11AuthenticatedChannel>, | |
12250 | { | |
12251 | (::windows::core::Interface::vtable(self).base__.base__.base__.QueryAuthenticatedChannel)(::windows::core::Interface::as_raw(self), pchannel.into_param().abi(), inputsize, pinput, outputsize, poutput).ok() | |
12252 | } | |
12253 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12254 | #[cfg(feature = "Win32_Foundation")] | |
12255 | pub unsafe fn ConfigureAuthenticatedChannel<P0>(&self, pchannel: P0, inputsize: u32, pinput: *const ::core::ffi::c_void, poutput: *mut D3D11_AUTHENTICATED_CONFIGURE_OUTPUT) -> ::windows::core::Result<()> | |
12256 | where | |
12257 | P0: ::windows::core::IntoParam<ID3D11AuthenticatedChannel>, | |
12258 | { | |
12259 | (::windows::core::Interface::vtable(self).base__.base__.base__.ConfigureAuthenticatedChannel)(::windows::core::Interface::as_raw(self), pchannel.into_param().abi(), inputsize, pinput, poutput).ok() | |
12260 | } | |
12261 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12262 | #[cfg(feature = "Win32_Foundation")] | |
12263 | pub unsafe fn VideoProcessorSetStreamRotation<P0, P1>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, rotation: D3D11_VIDEO_PROCESSOR_ROTATION) | |
12264 | where | |
12265 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12266 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
12267 | { | |
12268 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorSetStreamRotation)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), rotation) | |
12269 | } | |
12270 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12271 | #[cfg(feature = "Win32_Foundation")] | |
12272 | pub unsafe fn VideoProcessorGetStreamRotation<P0>(&self, pvideoprocessor: P0, streamindex: u32, penable: *mut super::super::Foundation::BOOL, protation: *mut D3D11_VIDEO_PROCESSOR_ROTATION) | |
12273 | where | |
12274 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12275 | { | |
12276 | (::windows::core::Interface::vtable(self).base__.base__.base__.VideoProcessorGetStreamRotation)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penable, protation) | |
12277 | } | |
12278 | pub unsafe fn SubmitDecoderBuffers1<P0>(&self, pdecoder: P0, pbufferdesc: &[D3D11_VIDEO_DECODER_BUFFER_DESC1]) -> ::windows::core::Result<()> | |
12279 | where | |
12280 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
12281 | { | |
12282 | (::windows::core::Interface::vtable(self).base__.base__.SubmitDecoderBuffers1)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), pbufferdesc.len() as _, ::core::mem::transmute(pbufferdesc.as_ptr())).ok() | |
12283 | } | |
12284 | pub unsafe fn GetDataForNewHardwareKey<P0>(&self, pcryptosession: P0, pprivatinputdata: &[u8]) -> ::windows::core::Result<u64> | |
12285 | where | |
12286 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
12287 | { | |
12288 | let mut result__ = ::windows::core::zeroed::<u64>(); | |
12289 | (::windows::core::Interface::vtable(self).base__.base__.GetDataForNewHardwareKey)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), pprivatinputdata.len() as _, ::core::mem::transmute(pprivatinputdata.as_ptr()), &mut result__).from_abi(result__) | |
12290 | } | |
12291 | pub unsafe fn CheckCryptoSessionStatus<P0>(&self, pcryptosession: P0) -> ::windows::core::Result<D3D11_CRYPTO_SESSION_STATUS> | |
12292 | where | |
12293 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
12294 | { | |
12295 | let mut result__ = ::windows::core::zeroed::<D3D11_CRYPTO_SESSION_STATUS>(); | |
12296 | (::windows::core::Interface::vtable(self).base__.base__.CheckCryptoSessionStatus)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), &mut result__).from_abi(result__) | |
12297 | } | |
12298 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12299 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12300 | pub unsafe fn DecoderEnableDownsampling<P0>(&self, pdecoder: P0, inputcolorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC, referenceframecount: u32) -> ::windows::core::Result<()> | |
12301 | where | |
12302 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
12303 | { | |
12304 | (::windows::core::Interface::vtable(self).base__.base__.DecoderEnableDownsampling)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), inputcolorspace, poutputdesc, referenceframecount).ok() | |
12305 | } | |
12306 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12307 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12308 | pub unsafe fn DecoderUpdateDownsampling<P0>(&self, pdecoder: P0, poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC) -> ::windows::core::Result<()> | |
12309 | where | |
12310 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
12311 | { | |
12312 | (::windows::core::Interface::vtable(self).base__.base__.DecoderUpdateDownsampling)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), poutputdesc).ok() | |
12313 | } | |
12314 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12315 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12316 | pub unsafe fn VideoProcessorSetOutputColorSpace1<P0>(&self, pvideoprocessor: P0, colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE) | |
12317 | where | |
12318 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12319 | { | |
12320 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetOutputColorSpace1)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), colorspace) | |
12321 | } | |
12322 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12323 | #[cfg(feature = "Win32_Foundation")] | |
12324 | pub unsafe fn VideoProcessorSetOutputShaderUsage<P0, P1>(&self, pvideoprocessor: P0, shaderusage: P1) | |
12325 | where | |
12326 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12327 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
12328 | { | |
12329 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetOutputShaderUsage)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), shaderusage.into_param().abi()) | |
12330 | } | |
12331 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12332 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12333 | pub unsafe fn VideoProcessorGetOutputColorSpace1<P0>(&self, pvideoprocessor: P0) -> super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE | |
12334 | where | |
12335 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12336 | { | |
12337 | let mut result__ = ::windows::core::zeroed::<super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE>(); | |
12338 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetOutputColorSpace1)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), &mut result__); | |
12339 | ::std::mem::transmute(result__) | |
12340 | } | |
12341 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12342 | #[cfg(feature = "Win32_Foundation")] | |
12343 | pub unsafe fn VideoProcessorGetOutputShaderUsage<P0>(&self, pvideoprocessor: P0) -> super::super::Foundation::BOOL | |
12344 | where | |
12345 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12346 | { | |
12347 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>(); | |
12348 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetOutputShaderUsage)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), &mut result__); | |
12349 | ::std::mem::transmute(result__) | |
12350 | } | |
12351 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12352 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12353 | pub unsafe fn VideoProcessorSetStreamColorSpace1<P0>(&self, pvideoprocessor: P0, streamindex: u32, colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE) | |
12354 | where | |
12355 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12356 | { | |
12357 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetStreamColorSpace1)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, colorspace) | |
12358 | } | |
12359 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12360 | #[cfg(feature = "Win32_Foundation")] | |
12361 | pub unsafe fn VideoProcessorSetStreamMirror<P0, P1, P2, P3>(&self, pvideoprocessor: P0, streamindex: u32, enable: P1, fliphorizontal: P2, flipvertical: P3) | |
12362 | where | |
12363 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12364 | P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
12365 | P2: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
12366 | P3: ::windows::core::IntoParam<super::super::Foundation::BOOL>, | |
12367 | { | |
12368 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorSetStreamMirror)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, enable.into_param().abi(), fliphorizontal.into_param().abi(), flipvertical.into_param().abi()) | |
12369 | } | |
12370 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12371 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12372 | pub unsafe fn VideoProcessorGetStreamColorSpace1<P0>(&self, pvideoprocessor: P0, streamindex: u32) -> super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE | |
12373 | where | |
12374 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12375 | { | |
12376 | let mut result__ = ::windows::core::zeroed::<super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE>(); | |
12377 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetStreamColorSpace1)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, &mut result__); | |
12378 | ::std::mem::transmute(result__) | |
12379 | } | |
12380 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12381 | #[cfg(feature = "Win32_Foundation")] | |
12382 | pub unsafe fn VideoProcessorGetStreamMirror<P0>(&self, pvideoprocessor: P0, streamindex: u32, penable: *mut super::super::Foundation::BOOL, pfliphorizontal: *mut super::super::Foundation::BOOL, pflipvertical: *mut super::super::Foundation::BOOL) | |
12383 | where | |
12384 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12385 | { | |
12386 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetStreamMirror)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, penable, pfliphorizontal, pflipvertical) | |
12387 | } | |
12388 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12389 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
12390 | pub unsafe fn VideoProcessorGetBehaviorHints<P0>(&self, pvideoprocessor: P0, outputwidth: u32, outputheight: u32, outputformat: super::Dxgi::Common::DXGI_FORMAT, pstreams: &[D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT]) -> ::windows::core::Result<u32> | |
12391 | where | |
12392 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12393 | { | |
12394 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
12395 | (::windows::core::Interface::vtable(self).base__.base__.VideoProcessorGetBehaviorHints)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), outputwidth, outputheight, outputformat, pstreams.len() as _, ::core::mem::transmute(pstreams.as_ptr()), &mut result__).from_abi(result__) | |
12396 | } | |
12397 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] | |
12398 | #[cfg(feature = "Win32_Graphics_Dxgi")] | |
12399 | pub unsafe fn VideoProcessorSetOutputHDRMetaData<P0>(&self, pvideoprocessor: P0, r#type: super::Dxgi::DXGI_HDR_METADATA_TYPE, size: u32, phdrmetadata: ::core::option::Option<*const ::core::ffi::c_void>) | |
12400 | where | |
12401 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12402 | { | |
12403 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetOutputHDRMetaData)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), r#type, size, ::core::mem::transmute(phdrmetadata.unwrap_or(::std::ptr::null()))) | |
12404 | } | |
12405 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] | |
12406 | #[cfg(feature = "Win32_Graphics_Dxgi")] | |
12407 | pub unsafe fn VideoProcessorGetOutputHDRMetaData<P0>(&self, pvideoprocessor: P0, ptype: *mut super::Dxgi::DXGI_HDR_METADATA_TYPE, size: u32, pmetadata: ::core::option::Option<*mut ::core::ffi::c_void>) | |
12408 | where | |
12409 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12410 | { | |
12411 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetOutputHDRMetaData)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), ptype, size, ::core::mem::transmute(pmetadata.unwrap_or(::std::ptr::null_mut()))) | |
12412 | } | |
12413 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] | |
12414 | #[cfg(feature = "Win32_Graphics_Dxgi")] | |
12415 | pub unsafe fn VideoProcessorSetStreamHDRMetaData<P0>(&self, pvideoprocessor: P0, streamindex: u32, r#type: super::Dxgi::DXGI_HDR_METADATA_TYPE, size: u32, phdrmetadata: ::core::option::Option<*const ::core::ffi::c_void>) | |
12416 | where | |
12417 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12418 | { | |
12419 | (::windows::core::Interface::vtable(self).base__.VideoProcessorSetStreamHDRMetaData)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, r#type, size, ::core::mem::transmute(phdrmetadata.unwrap_or(::std::ptr::null()))) | |
12420 | } | |
12421 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`*"] | |
12422 | #[cfg(feature = "Win32_Graphics_Dxgi")] | |
12423 | pub unsafe fn VideoProcessorGetStreamHDRMetaData<P0>(&self, pvideoprocessor: P0, streamindex: u32, ptype: *mut super::Dxgi::DXGI_HDR_METADATA_TYPE, size: u32, pmetadata: ::core::option::Option<*mut ::core::ffi::c_void>) | |
12424 | where | |
12425 | P0: ::windows::core::IntoParam<ID3D11VideoProcessor>, | |
12426 | { | |
12427 | (::windows::core::Interface::vtable(self).base__.VideoProcessorGetStreamHDRMetaData)(::windows::core::Interface::as_raw(self), pvideoprocessor.into_param().abi(), streamindex, ptype, size, ::core::mem::transmute(pmetadata.unwrap_or(::std::ptr::null_mut()))) | |
12428 | } | |
12429 | pub unsafe fn DecoderBeginFrame1<P0, P1>(&self, pdecoder: P0, pview: P1, contentkeysize: u32, pcontentkey: ::core::option::Option<*const ::core::ffi::c_void>, numcomponenthistograms: u32, phistogramoffsets: ::core::option::Option<*const u32>, pphistogrambuffers: ::core::option::Option<*const ::core::option::Option<ID3D11Buffer>>) -> ::windows::core::Result<()> | |
12430 | where | |
12431 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
12432 | P1: ::windows::core::IntoParam<ID3D11VideoDecoderOutputView>, | |
12433 | { | |
12434 | (::windows::core::Interface::vtable(self).DecoderBeginFrame1)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), pview.into_param().abi(), contentkeysize, ::core::mem::transmute(pcontentkey.unwrap_or(::std::ptr::null())), numcomponenthistograms, ::core::mem::transmute(phistogramoffsets.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pphistogrambuffers.unwrap_or(::std::ptr::null()))).ok() | |
12435 | } | |
12436 | pub unsafe fn SubmitDecoderBuffers2<P0>(&self, pdecoder: P0, pbufferdesc: &[D3D11_VIDEO_DECODER_BUFFER_DESC2]) -> ::windows::core::Result<()> | |
12437 | where | |
12438 | P0: ::windows::core::IntoParam<ID3D11VideoDecoder>, | |
12439 | { | |
12440 | (::windows::core::Interface::vtable(self).SubmitDecoderBuffers2)(::windows::core::Interface::as_raw(self), pdecoder.into_param().abi(), pbufferdesc.len() as _, ::core::mem::transmute(pbufferdesc.as_ptr())).ok() | |
12441 | } | |
12442 | } | |
12443 | ::windows::imp::interface_hierarchy!(ID3D11VideoContext3, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11VideoContext, ID3D11VideoContext1, ID3D11VideoContext2); | |
12444 | impl ::core::cmp::PartialEq for ID3D11VideoContext3 { | |
12445 | fn eq(&self, other: &Self) -> bool { | |
12446 | self.0 == other.0 | |
12447 | } | |
12448 | } | |
12449 | impl ::core::cmp::Eq for ID3D11VideoContext3 {} | |
12450 | impl ::core::fmt::Debug for ID3D11VideoContext3 { | |
12451 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
12452 | f.debug_tuple("ID3D11VideoContext3").field(&self.0).finish() | |
12453 | } | |
12454 | } | |
12455 | unsafe impl ::core::marker::Send for ID3D11VideoContext3 {} | |
12456 | unsafe impl ::core::marker::Sync for ID3D11VideoContext3 {} | |
12457 | unsafe impl ::windows::core::Interface for ID3D11VideoContext3 { | |
12458 | type Vtable = ID3D11VideoContext3_Vtbl; | |
12459 | } | |
12460 | impl ::core::clone::Clone for ID3D11VideoContext3 { | |
12461 | fn clone(&self) -> Self { | |
12462 | Self(self.0.clone()) | |
12463 | } | |
12464 | } | |
12465 | unsafe impl ::windows::core::ComInterface for ID3D11VideoContext3 { | |
12466 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa9e2faa0_cb39_418f_a0b7_d8aad4de672e); | |
12467 | } | |
12468 | #[repr(C)] | |
12469 | #[doc(hidden)] | |
12470 | pub struct ID3D11VideoContext3_Vtbl { | |
12471 | pub base__: ID3D11VideoContext2_Vtbl, | |
12472 | pub DecoderBeginFrame1: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdecoder: *mut ::core::ffi::c_void, pview: *mut ::core::ffi::c_void, contentkeysize: u32, pcontentkey: *const ::core::ffi::c_void, numcomponenthistograms: u32, phistogramoffsets: *const u32, pphistogrambuffers: *const *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12473 | pub SubmitDecoderBuffers2: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdecoder: *mut ::core::ffi::c_void, numbuffers: u32, pbufferdesc: *const D3D11_VIDEO_DECODER_BUFFER_DESC2) -> ::windows::core::HRESULT, | |
12474 | } | |
12475 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
12476 | #[repr(transparent)] | |
12477 | pub struct ID3D11VideoDecoder(::windows::core::IUnknown); | |
12478 | impl ID3D11VideoDecoder { | |
12479 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
12480 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
12481 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
12482 | ::windows::core::from_abi(result__) | |
12483 | } | |
12484 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
12485 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
12486 | } | |
12487 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
12488 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
12489 | } | |
12490 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
12491 | where | |
12492 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
12493 | { | |
12494 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
12495 | } | |
12496 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12497 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12498 | pub unsafe fn GetCreationParameters(&self, pvideodesc: *mut D3D11_VIDEO_DECODER_DESC, pconfig: *mut D3D11_VIDEO_DECODER_CONFIG) -> ::windows::core::Result<()> { | |
12499 | (::windows::core::Interface::vtable(self).GetCreationParameters)(::windows::core::Interface::as_raw(self), pvideodesc, pconfig).ok() | |
12500 | } | |
12501 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
12502 | #[cfg(feature = "Win32_Foundation")] | |
12503 | pub unsafe fn GetDriverHandle(&self) -> ::windows::core::Result<super::super::Foundation::HANDLE> { | |
12504 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::HANDLE>(); | |
12505 | (::windows::core::Interface::vtable(self).GetDriverHandle)(::windows::core::Interface::as_raw(self), &mut result__).from_abi(result__) | |
12506 | } | |
12507 | } | |
12508 | ::windows::imp::interface_hierarchy!(ID3D11VideoDecoder, ::windows::core::IUnknown, ID3D11DeviceChild); | |
12509 | impl ::core::cmp::PartialEq for ID3D11VideoDecoder { | |
12510 | fn eq(&self, other: &Self) -> bool { | |
12511 | self.0 == other.0 | |
12512 | } | |
12513 | } | |
12514 | impl ::core::cmp::Eq for ID3D11VideoDecoder {} | |
12515 | impl ::core::fmt::Debug for ID3D11VideoDecoder { | |
12516 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
12517 | f.debug_tuple("ID3D11VideoDecoder").field(&self.0).finish() | |
12518 | } | |
12519 | } | |
12520 | unsafe impl ::core::marker::Send for ID3D11VideoDecoder {} | |
12521 | unsafe impl ::core::marker::Sync for ID3D11VideoDecoder {} | |
12522 | unsafe impl ::windows::core::Interface for ID3D11VideoDecoder { | |
12523 | type Vtable = ID3D11VideoDecoder_Vtbl; | |
12524 | } | |
12525 | impl ::core::clone::Clone for ID3D11VideoDecoder { | |
12526 | fn clone(&self) -> Self { | |
12527 | Self(self.0.clone()) | |
12528 | } | |
12529 | } | |
12530 | unsafe impl ::windows::core::ComInterface for ID3D11VideoDecoder { | |
12531 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x3c9c5b51_995d_48d1_9b8d_fa5caeded65c); | |
12532 | } | |
12533 | #[repr(C)] | |
12534 | #[doc(hidden)] | |
12535 | pub struct ID3D11VideoDecoder_Vtbl { | |
12536 | pub base__: ID3D11DeviceChild_Vtbl, | |
12537 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12538 | pub GetCreationParameters: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideodesc: *mut D3D11_VIDEO_DECODER_DESC, pconfig: *mut D3D11_VIDEO_DECODER_CONFIG) -> ::windows::core::HRESULT, | |
12539 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
12540 | GetCreationParameters: usize, | |
12541 | #[cfg(feature = "Win32_Foundation")] | |
12542 | pub GetDriverHandle: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdriverhandle: *mut super::super::Foundation::HANDLE) -> ::windows::core::HRESULT, | |
12543 | #[cfg(not(feature = "Win32_Foundation"))] | |
12544 | GetDriverHandle: usize, | |
12545 | } | |
12546 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
12547 | #[repr(transparent)] | |
12548 | pub struct ID3D11VideoDecoderOutputView(::windows::core::IUnknown); | |
12549 | impl ID3D11VideoDecoderOutputView { | |
12550 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
12551 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
12552 | (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
12553 | ::windows::core::from_abi(result__) | |
12554 | } | |
12555 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
12556 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
12557 | } | |
12558 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
12559 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
12560 | } | |
12561 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
12562 | where | |
12563 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
12564 | { | |
12565 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
12566 | } | |
12567 | pub unsafe fn GetResource(&self) -> ::windows::core::Result<ID3D11Resource> { | |
12568 | let mut result__ = ::windows::core::zeroed::<ID3D11Resource>(); | |
12569 | (::windows::core::Interface::vtable(self).base__.GetResource)(::windows::core::Interface::as_raw(self), &mut result__); | |
12570 | ::windows::core::from_abi(result__) | |
12571 | } | |
12572 | pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC) { | |
12573 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
12574 | } | |
12575 | } | |
12576 | ::windows::imp::interface_hierarchy!(ID3D11VideoDecoderOutputView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); | |
12577 | impl ::core::cmp::PartialEq for ID3D11VideoDecoderOutputView { | |
12578 | fn eq(&self, other: &Self) -> bool { | |
12579 | self.0 == other.0 | |
12580 | } | |
12581 | } | |
12582 | impl ::core::cmp::Eq for ID3D11VideoDecoderOutputView {} | |
12583 | impl ::core::fmt::Debug for ID3D11VideoDecoderOutputView { | |
12584 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
12585 | f.debug_tuple("ID3D11VideoDecoderOutputView").field(&self.0).finish() | |
12586 | } | |
12587 | } | |
12588 | unsafe impl ::core::marker::Send for ID3D11VideoDecoderOutputView {} | |
12589 | unsafe impl ::core::marker::Sync for ID3D11VideoDecoderOutputView {} | |
12590 | unsafe impl ::windows::core::Interface for ID3D11VideoDecoderOutputView { | |
12591 | type Vtable = ID3D11VideoDecoderOutputView_Vtbl; | |
12592 | } | |
12593 | impl ::core::clone::Clone for ID3D11VideoDecoderOutputView { | |
12594 | fn clone(&self) -> Self { | |
12595 | Self(self.0.clone()) | |
12596 | } | |
12597 | } | |
12598 | unsafe impl ::windows::core::ComInterface for ID3D11VideoDecoderOutputView { | |
12599 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc2931aea_2a85_4f20_860f_fba1fd256e18); | |
12600 | } | |
12601 | #[repr(C)] | |
12602 | #[doc(hidden)] | |
12603 | pub struct ID3D11VideoDecoderOutputView_Vtbl { | |
12604 | pub base__: ID3D11View_Vtbl, | |
12605 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC), | |
12606 | } | |
12607 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
12608 | #[repr(transparent)] | |
12609 | pub struct ID3D11VideoDevice(::windows::core::IUnknown); | |
12610 | impl ID3D11VideoDevice { | |
12611 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12612 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12613 | pub unsafe fn CreateVideoDecoder(&self, pvideodesc: *const D3D11_VIDEO_DECODER_DESC, pconfig: *const D3D11_VIDEO_DECODER_CONFIG) -> ::windows::core::Result<ID3D11VideoDecoder> { | |
12614 | let mut result__ = ::windows::core::zeroed::<ID3D11VideoDecoder>(); | |
12615 | (::windows::core::Interface::vtable(self).CreateVideoDecoder)(::windows::core::Interface::as_raw(self), pvideodesc, pconfig, &mut result__).from_abi(result__) | |
12616 | } | |
12617 | pub unsafe fn CreateVideoProcessor<P0>(&self, penum: P0, rateconversionindex: u32) -> ::windows::core::Result<ID3D11VideoProcessor> | |
12618 | where | |
12619 | P0: ::windows::core::IntoParam<ID3D11VideoProcessorEnumerator>, | |
12620 | { | |
12621 | let mut result__ = ::windows::core::zeroed::<ID3D11VideoProcessor>(); | |
12622 | (::windows::core::Interface::vtable(self).CreateVideoProcessor)(::windows::core::Interface::as_raw(self), penum.into_param().abi(), rateconversionindex, &mut result__).from_abi(result__) | |
12623 | } | |
12624 | pub unsafe fn CreateAuthenticatedChannel(&self, channeltype: D3D11_AUTHENTICATED_CHANNEL_TYPE) -> ::windows::core::Result<ID3D11AuthenticatedChannel> { | |
12625 | let mut result__ = ::windows::core::zeroed::<ID3D11AuthenticatedChannel>(); | |
12626 | (::windows::core::Interface::vtable(self).CreateAuthenticatedChannel)(::windows::core::Interface::as_raw(self), channeltype, &mut result__).from_abi(result__) | |
12627 | } | |
12628 | pub unsafe fn CreateCryptoSession(&self, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: ::core::option::Option<*const ::windows::core::GUID>, pkeyexchangetype: *const ::windows::core::GUID) -> ::windows::core::Result<ID3D11CryptoSession> { | |
12629 | let mut result__ = ::windows::core::zeroed::<ID3D11CryptoSession>(); | |
12630 | (::windows::core::Interface::vtable(self).CreateCryptoSession)(::windows::core::Interface::as_raw(self), pcryptotype, ::core::mem::transmute(pdecoderprofile.unwrap_or(::std::ptr::null())), pkeyexchangetype, &mut result__).from_abi(result__) | |
12631 | } | |
12632 | pub unsafe fn CreateVideoDecoderOutputView<P0>(&self, presource: P0, pdesc: *const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC, ppvdovview: ::core::option::Option<*mut ::core::option::Option<ID3D11VideoDecoderOutputView>>) -> ::windows::core::Result<()> | |
12633 | where | |
12634 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
12635 | { | |
12636 | (::windows::core::Interface::vtable(self).CreateVideoDecoderOutputView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), pdesc, ::core::mem::transmute(ppvdovview.unwrap_or(::std::ptr::null_mut()))).ok() | |
12637 | } | |
12638 | pub unsafe fn CreateVideoProcessorInputView<P0, P1>(&self, presource: P0, penum: P1, pdesc: *const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC, ppvpiview: ::core::option::Option<*mut ::core::option::Option<ID3D11VideoProcessorInputView>>) -> ::windows::core::Result<()> | |
12639 | where | |
12640 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
12641 | P1: ::windows::core::IntoParam<ID3D11VideoProcessorEnumerator>, | |
12642 | { | |
12643 | (::windows::core::Interface::vtable(self).CreateVideoProcessorInputView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), penum.into_param().abi(), pdesc, ::core::mem::transmute(ppvpiview.unwrap_or(::std::ptr::null_mut()))).ok() | |
12644 | } | |
12645 | pub unsafe fn CreateVideoProcessorOutputView<P0, P1>(&self, presource: P0, penum: P1, pdesc: *const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC, ppvpoview: ::core::option::Option<*mut ::core::option::Option<ID3D11VideoProcessorOutputView>>) -> ::windows::core::Result<()> | |
12646 | where | |
12647 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
12648 | P1: ::windows::core::IntoParam<ID3D11VideoProcessorEnumerator>, | |
12649 | { | |
12650 | (::windows::core::Interface::vtable(self).CreateVideoProcessorOutputView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), penum.into_param().abi(), pdesc, ::core::mem::transmute(ppvpoview.unwrap_or(::std::ptr::null_mut()))).ok() | |
12651 | } | |
12652 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12653 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12654 | pub unsafe fn CreateVideoProcessorEnumerator(&self, pdesc: *const D3D11_VIDEO_PROCESSOR_CONTENT_DESC) -> ::windows::core::Result<ID3D11VideoProcessorEnumerator> { | |
12655 | let mut result__ = ::windows::core::zeroed::<ID3D11VideoProcessorEnumerator>(); | |
12656 | (::windows::core::Interface::vtable(self).CreateVideoProcessorEnumerator)(::windows::core::Interface::as_raw(self), pdesc, &mut result__).from_abi(result__) | |
12657 | } | |
12658 | pub unsafe fn GetVideoDecoderProfileCount(&self) -> u32 { | |
12659 | (::windows::core::Interface::vtable(self).GetVideoDecoderProfileCount)(::windows::core::Interface::as_raw(self)) | |
12660 | } | |
12661 | pub unsafe fn GetVideoDecoderProfile(&self, index: u32) -> ::windows::core::Result<::windows::core::GUID> { | |
12662 | let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); | |
12663 | (::windows::core::Interface::vtable(self).GetVideoDecoderProfile)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
12664 | } | |
12665 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12666 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
12667 | pub unsafe fn CheckVideoDecoderFormat(&self, pdecoderprofile: *const ::windows::core::GUID, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result<super::super::Foundation::BOOL> { | |
12668 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>(); | |
12669 | (::windows::core::Interface::vtable(self).CheckVideoDecoderFormat)(::windows::core::Interface::as_raw(self), pdecoderprofile, format, &mut result__).from_abi(result__) | |
12670 | } | |
12671 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12672 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12673 | pub unsafe fn GetVideoDecoderConfigCount(&self, pdesc: *const D3D11_VIDEO_DECODER_DESC) -> ::windows::core::Result<u32> { | |
12674 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
12675 | (::windows::core::Interface::vtable(self).GetVideoDecoderConfigCount)(::windows::core::Interface::as_raw(self), pdesc, &mut result__).from_abi(result__) | |
12676 | } | |
12677 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12678 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12679 | pub unsafe fn GetVideoDecoderConfig(&self, pdesc: *const D3D11_VIDEO_DECODER_DESC, index: u32, pconfig: *mut D3D11_VIDEO_DECODER_CONFIG) -> ::windows::core::Result<()> { | |
12680 | (::windows::core::Interface::vtable(self).GetVideoDecoderConfig)(::windows::core::Interface::as_raw(self), pdesc, index, pconfig).ok() | |
12681 | } | |
12682 | pub unsafe fn GetContentProtectionCaps(&self, pcryptotype: ::core::option::Option<*const ::windows::core::GUID>, pdecoderprofile: ::core::option::Option<*const ::windows::core::GUID>, pcaps: *mut D3D11_VIDEO_CONTENT_PROTECTION_CAPS) -> ::windows::core::Result<()> { | |
12683 | (::windows::core::Interface::vtable(self).GetContentProtectionCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcryptotype.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdecoderprofile.unwrap_or(::std::ptr::null())), pcaps).ok() | |
12684 | } | |
12685 | pub unsafe fn CheckCryptoKeyExchange(&self, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: ::core::option::Option<*const ::windows::core::GUID>, index: u32) -> ::windows::core::Result<::windows::core::GUID> { | |
12686 | let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); | |
12687 | (::windows::core::Interface::vtable(self).CheckCryptoKeyExchange)(::windows::core::Interface::as_raw(self), pcryptotype, ::core::mem::transmute(pdecoderprofile.unwrap_or(::std::ptr::null())), index, &mut result__).from_abi(result__) | |
12688 | } | |
12689 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
12690 | (::windows::core::Interface::vtable(self).SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
12691 | } | |
12692 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
12693 | where | |
12694 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
12695 | { | |
12696 | (::windows::core::Interface::vtable(self).SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
12697 | } | |
12698 | } | |
12699 | ::windows::imp::interface_hierarchy!(ID3D11VideoDevice, ::windows::core::IUnknown); | |
12700 | impl ::core::cmp::PartialEq for ID3D11VideoDevice { | |
12701 | fn eq(&self, other: &Self) -> bool { | |
12702 | self.0 == other.0 | |
12703 | } | |
12704 | } | |
12705 | impl ::core::cmp::Eq for ID3D11VideoDevice {} | |
12706 | impl ::core::fmt::Debug for ID3D11VideoDevice { | |
12707 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
12708 | f.debug_tuple("ID3D11VideoDevice").field(&self.0).finish() | |
12709 | } | |
12710 | } | |
12711 | unsafe impl ::core::marker::Send for ID3D11VideoDevice {} | |
12712 | unsafe impl ::core::marker::Sync for ID3D11VideoDevice {} | |
12713 | unsafe impl ::windows::core::Interface for ID3D11VideoDevice { | |
12714 | type Vtable = ID3D11VideoDevice_Vtbl; | |
12715 | } | |
12716 | impl ::core::clone::Clone for ID3D11VideoDevice { | |
12717 | fn clone(&self) -> Self { | |
12718 | Self(self.0.clone()) | |
12719 | } | |
12720 | } | |
12721 | unsafe impl ::windows::core::ComInterface for ID3D11VideoDevice { | |
12722 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x10ec4d5b_975a_4689_b9e4_d0aac30fe333); | |
12723 | } | |
12724 | #[repr(C)] | |
12725 | #[doc(hidden)] | |
12726 | pub struct ID3D11VideoDevice_Vtbl { | |
12727 | pub base__: ::windows::core::IUnknown_Vtbl, | |
12728 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12729 | pub CreateVideoDecoder: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pvideodesc: *const D3D11_VIDEO_DECODER_DESC, pconfig: *const D3D11_VIDEO_DECODER_CONFIG, ppdecoder: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12730 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
12731 | CreateVideoDecoder: usize, | |
12732 | pub CreateVideoProcessor: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, penum: *mut ::core::ffi::c_void, rateconversionindex: u32, ppvideoprocessor: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12733 | pub CreateAuthenticatedChannel: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, channeltype: D3D11_AUTHENTICATED_CHANNEL_TYPE, ppauthenticatedchannel: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12734 | pub CreateCryptoSession: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: *const ::windows::core::GUID, pkeyexchangetype: *const ::windows::core::GUID, ppcryptosession: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12735 | pub CreateVideoDecoderOutputView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presource: *mut ::core::ffi::c_void, pdesc: *const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC, ppvdovview: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12736 | pub CreateVideoProcessorInputView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presource: *mut ::core::ffi::c_void, penum: *mut ::core::ffi::c_void, pdesc: *const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC, ppvpiview: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12737 | pub CreateVideoProcessorOutputView: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, presource: *mut ::core::ffi::c_void, penum: *mut ::core::ffi::c_void, pdesc: *const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC, ppvpoview: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12738 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12739 | pub CreateVideoProcessorEnumerator: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *const D3D11_VIDEO_PROCESSOR_CONTENT_DESC, ppenum: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12740 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
12741 | CreateVideoProcessorEnumerator: usize, | |
12742 | pub GetVideoDecoderProfileCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32, | |
12743 | pub GetVideoDecoderProfile: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, index: u32, pdecoderprofile: *mut ::windows::core::GUID) -> ::windows::core::HRESULT, | |
12744 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
12745 | pub CheckVideoDecoderFormat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdecoderprofile: *const ::windows::core::GUID, format: super::Dxgi::Common::DXGI_FORMAT, psupported: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
12746 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common")))] | |
12747 | CheckVideoDecoderFormat: usize, | |
12748 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12749 | pub GetVideoDecoderConfigCount: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *const D3D11_VIDEO_DECODER_DESC, pcount: *mut u32) -> ::windows::core::HRESULT, | |
12750 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
12751 | GetVideoDecoderConfigCount: usize, | |
12752 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12753 | pub GetVideoDecoderConfig: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *const D3D11_VIDEO_DECODER_DESC, index: u32, pconfig: *mut D3D11_VIDEO_DECODER_CONFIG) -> ::windows::core::HRESULT, | |
12754 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
12755 | GetVideoDecoderConfig: usize, | |
12756 | pub GetContentProtectionCaps: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: *const ::windows::core::GUID, pcaps: *mut D3D11_VIDEO_CONTENT_PROTECTION_CAPS) -> ::windows::core::HRESULT, | |
12757 | pub CheckCryptoKeyExchange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: *const ::windows::core::GUID, index: u32, pkeyexchangetype: *mut ::windows::core::GUID) -> ::windows::core::HRESULT, | |
12758 | pub SetPrivateData: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guid: *const ::windows::core::GUID, datasize: u32, pdata: *const ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12759 | pub SetPrivateDataInterface: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, guid: *const ::windows::core::GUID, pdata: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
12760 | } | |
12761 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
12762 | #[repr(transparent)] | |
12763 | pub struct ID3D11VideoDevice1(::windows::core::IUnknown); | |
12764 | impl ID3D11VideoDevice1 { | |
12765 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12766 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12767 | pub unsafe fn CreateVideoDecoder(&self, pvideodesc: *const D3D11_VIDEO_DECODER_DESC, pconfig: *const D3D11_VIDEO_DECODER_CONFIG) -> ::windows::core::Result<ID3D11VideoDecoder> { | |
12768 | let mut result__ = ::windows::core::zeroed::<ID3D11VideoDecoder>(); | |
12769 | (::windows::core::Interface::vtable(self).base__.CreateVideoDecoder)(::windows::core::Interface::as_raw(self), pvideodesc, pconfig, &mut result__).from_abi(result__) | |
12770 | } | |
12771 | pub unsafe fn CreateVideoProcessor<P0>(&self, penum: P0, rateconversionindex: u32) -> ::windows::core::Result<ID3D11VideoProcessor> | |
12772 | where | |
12773 | P0: ::windows::core::IntoParam<ID3D11VideoProcessorEnumerator>, | |
12774 | { | |
12775 | let mut result__ = ::windows::core::zeroed::<ID3D11VideoProcessor>(); | |
12776 | (::windows::core::Interface::vtable(self).base__.CreateVideoProcessor)(::windows::core::Interface::as_raw(self), penum.into_param().abi(), rateconversionindex, &mut result__).from_abi(result__) | |
12777 | } | |
12778 | pub unsafe fn CreateAuthenticatedChannel(&self, channeltype: D3D11_AUTHENTICATED_CHANNEL_TYPE) -> ::windows::core::Result<ID3D11AuthenticatedChannel> { | |
12779 | let mut result__ = ::windows::core::zeroed::<ID3D11AuthenticatedChannel>(); | |
12780 | (::windows::core::Interface::vtable(self).base__.CreateAuthenticatedChannel)(::windows::core::Interface::as_raw(self), channeltype, &mut result__).from_abi(result__) | |
12781 | } | |
12782 | pub unsafe fn CreateCryptoSession(&self, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: ::core::option::Option<*const ::windows::core::GUID>, pkeyexchangetype: *const ::windows::core::GUID) -> ::windows::core::Result<ID3D11CryptoSession> { | |
12783 | let mut result__ = ::windows::core::zeroed::<ID3D11CryptoSession>(); | |
12784 | (::windows::core::Interface::vtable(self).base__.CreateCryptoSession)(::windows::core::Interface::as_raw(self), pcryptotype, ::core::mem::transmute(pdecoderprofile.unwrap_or(::std::ptr::null())), pkeyexchangetype, &mut result__).from_abi(result__) | |
12785 | } | |
12786 | pub unsafe fn CreateVideoDecoderOutputView<P0>(&self, presource: P0, pdesc: *const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC, ppvdovview: ::core::option::Option<*mut ::core::option::Option<ID3D11VideoDecoderOutputView>>) -> ::windows::core::Result<()> | |
12787 | where | |
12788 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
12789 | { | |
12790 | (::windows::core::Interface::vtable(self).base__.CreateVideoDecoderOutputView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), pdesc, ::core::mem::transmute(ppvdovview.unwrap_or(::std::ptr::null_mut()))).ok() | |
12791 | } | |
12792 | pub unsafe fn CreateVideoProcessorInputView<P0, P1>(&self, presource: P0, penum: P1, pdesc: *const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC, ppvpiview: ::core::option::Option<*mut ::core::option::Option<ID3D11VideoProcessorInputView>>) -> ::windows::core::Result<()> | |
12793 | where | |
12794 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
12795 | P1: ::windows::core::IntoParam<ID3D11VideoProcessorEnumerator>, | |
12796 | { | |
12797 | (::windows::core::Interface::vtable(self).base__.CreateVideoProcessorInputView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), penum.into_param().abi(), pdesc, ::core::mem::transmute(ppvpiview.unwrap_or(::std::ptr::null_mut()))).ok() | |
12798 | } | |
12799 | pub unsafe fn CreateVideoProcessorOutputView<P0, P1>(&self, presource: P0, penum: P1, pdesc: *const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC, ppvpoview: ::core::option::Option<*mut ::core::option::Option<ID3D11VideoProcessorOutputView>>) -> ::windows::core::Result<()> | |
12800 | where | |
12801 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
12802 | P1: ::windows::core::IntoParam<ID3D11VideoProcessorEnumerator>, | |
12803 | { | |
12804 | (::windows::core::Interface::vtable(self).base__.CreateVideoProcessorOutputView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), penum.into_param().abi(), pdesc, ::core::mem::transmute(ppvpoview.unwrap_or(::std::ptr::null_mut()))).ok() | |
12805 | } | |
12806 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12807 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12808 | pub unsafe fn CreateVideoProcessorEnumerator(&self, pdesc: *const D3D11_VIDEO_PROCESSOR_CONTENT_DESC) -> ::windows::core::Result<ID3D11VideoProcessorEnumerator> { | |
12809 | let mut result__ = ::windows::core::zeroed::<ID3D11VideoProcessorEnumerator>(); | |
12810 | (::windows::core::Interface::vtable(self).base__.CreateVideoProcessorEnumerator)(::windows::core::Interface::as_raw(self), pdesc, &mut result__).from_abi(result__) | |
12811 | } | |
12812 | pub unsafe fn GetVideoDecoderProfileCount(&self) -> u32 { | |
12813 | (::windows::core::Interface::vtable(self).base__.GetVideoDecoderProfileCount)(::windows::core::Interface::as_raw(self)) | |
12814 | } | |
12815 | pub unsafe fn GetVideoDecoderProfile(&self, index: u32) -> ::windows::core::Result<::windows::core::GUID> { | |
12816 | let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); | |
12817 | (::windows::core::Interface::vtable(self).base__.GetVideoDecoderProfile)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
12818 | } | |
12819 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12820 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
12821 | pub unsafe fn CheckVideoDecoderFormat(&self, pdecoderprofile: *const ::windows::core::GUID, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result<super::super::Foundation::BOOL> { | |
12822 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>(); | |
12823 | (::windows::core::Interface::vtable(self).base__.CheckVideoDecoderFormat)(::windows::core::Interface::as_raw(self), pdecoderprofile, format, &mut result__).from_abi(result__) | |
12824 | } | |
12825 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12826 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12827 | pub unsafe fn GetVideoDecoderConfigCount(&self, pdesc: *const D3D11_VIDEO_DECODER_DESC) -> ::windows::core::Result<u32> { | |
12828 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
12829 | (::windows::core::Interface::vtable(self).base__.GetVideoDecoderConfigCount)(::windows::core::Interface::as_raw(self), pdesc, &mut result__).from_abi(result__) | |
12830 | } | |
12831 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12832 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12833 | pub unsafe fn GetVideoDecoderConfig(&self, pdesc: *const D3D11_VIDEO_DECODER_DESC, index: u32, pconfig: *mut D3D11_VIDEO_DECODER_CONFIG) -> ::windows::core::Result<()> { | |
12834 | (::windows::core::Interface::vtable(self).base__.GetVideoDecoderConfig)(::windows::core::Interface::as_raw(self), pdesc, index, pconfig).ok() | |
12835 | } | |
12836 | pub unsafe fn GetContentProtectionCaps(&self, pcryptotype: ::core::option::Option<*const ::windows::core::GUID>, pdecoderprofile: ::core::option::Option<*const ::windows::core::GUID>, pcaps: *mut D3D11_VIDEO_CONTENT_PROTECTION_CAPS) -> ::windows::core::Result<()> { | |
12837 | (::windows::core::Interface::vtable(self).base__.GetContentProtectionCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcryptotype.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdecoderprofile.unwrap_or(::std::ptr::null())), pcaps).ok() | |
12838 | } | |
12839 | pub unsafe fn CheckCryptoKeyExchange(&self, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: ::core::option::Option<*const ::windows::core::GUID>, index: u32) -> ::windows::core::Result<::windows::core::GUID> { | |
12840 | let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); | |
12841 | (::windows::core::Interface::vtable(self).base__.CheckCryptoKeyExchange)(::windows::core::Interface::as_raw(self), pcryptotype, ::core::mem::transmute(pdecoderprofile.unwrap_or(::std::ptr::null())), index, &mut result__).from_abi(result__) | |
12842 | } | |
12843 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
12844 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
12845 | } | |
12846 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
12847 | where | |
12848 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
12849 | { | |
12850 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
12851 | } | |
12852 | pub unsafe fn GetCryptoSessionPrivateDataSize(&self, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: ::core::option::Option<*const ::windows::core::GUID>, pkeyexchangetype: *const ::windows::core::GUID, pprivateinputsize: *mut u32, pprivateoutputsize: *mut u32) -> ::windows::core::Result<()> { | |
12853 | (::windows::core::Interface::vtable(self).GetCryptoSessionPrivateDataSize)(::windows::core::Interface::as_raw(self), pcryptotype, ::core::mem::transmute(pdecoderprofile.unwrap_or(::std::ptr::null())), pkeyexchangetype, pprivateinputsize, pprivateoutputsize).ok() | |
12854 | } | |
12855 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12856 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12857 | pub unsafe fn GetVideoDecoderCaps(&self, pdecoderprofile: *const ::windows::core::GUID, samplewidth: u32, sampleheight: u32, pframerate: *const super::Dxgi::Common::DXGI_RATIONAL, bitrate: u32, pcryptotype: ::core::option::Option<*const ::windows::core::GUID>) -> ::windows::core::Result<u32> { | |
12858 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
12859 | (::windows::core::Interface::vtable(self).GetVideoDecoderCaps)(::windows::core::Interface::as_raw(self), pdecoderprofile, samplewidth, sampleheight, pframerate, bitrate, ::core::mem::transmute(pcryptotype.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) | |
12860 | } | |
12861 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12862 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
12863 | pub unsafe fn CheckVideoDecoderDownsampling(&self, pinputdesc: *const D3D11_VIDEO_DECODER_DESC, inputcolorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, pinputconfig: *const D3D11_VIDEO_DECODER_CONFIG, pframerate: *const super::Dxgi::Common::DXGI_RATIONAL, poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC, psupported: *mut super::super::Foundation::BOOL, prealtimehint: *mut super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
12864 | (::windows::core::Interface::vtable(self).CheckVideoDecoderDownsampling)(::windows::core::Interface::as_raw(self), pinputdesc, inputcolorspace, pinputconfig, pframerate, poutputdesc, psupported, prealtimehint).ok() | |
12865 | } | |
12866 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12867 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12868 | pub unsafe fn RecommendVideoDecoderDownsampleParameters(&self, pinputdesc: *const D3D11_VIDEO_DECODER_DESC, inputcolorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, pinputconfig: *const D3D11_VIDEO_DECODER_CONFIG, pframerate: *const super::Dxgi::Common::DXGI_RATIONAL) -> ::windows::core::Result<D3D11_VIDEO_SAMPLE_DESC> { | |
12869 | let mut result__ = ::windows::core::zeroed::<D3D11_VIDEO_SAMPLE_DESC>(); | |
12870 | (::windows::core::Interface::vtable(self).RecommendVideoDecoderDownsampleParameters)(::windows::core::Interface::as_raw(self), pinputdesc, inputcolorspace, pinputconfig, pframerate, &mut result__).from_abi(result__) | |
12871 | } | |
12872 | } | |
12873 | ::windows::imp::interface_hierarchy!(ID3D11VideoDevice1, ::windows::core::IUnknown, ID3D11VideoDevice); | |
12874 | impl ::core::cmp::PartialEq for ID3D11VideoDevice1 { | |
12875 | fn eq(&self, other: &Self) -> bool { | |
12876 | self.0 == other.0 | |
12877 | } | |
12878 | } | |
12879 | impl ::core::cmp::Eq for ID3D11VideoDevice1 {} | |
12880 | impl ::core::fmt::Debug for ID3D11VideoDevice1 { | |
12881 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
12882 | f.debug_tuple("ID3D11VideoDevice1").field(&self.0).finish() | |
12883 | } | |
12884 | } | |
12885 | unsafe impl ::core::marker::Send for ID3D11VideoDevice1 {} | |
12886 | unsafe impl ::core::marker::Sync for ID3D11VideoDevice1 {} | |
12887 | unsafe impl ::windows::core::Interface for ID3D11VideoDevice1 { | |
12888 | type Vtable = ID3D11VideoDevice1_Vtbl; | |
12889 | } | |
12890 | impl ::core::clone::Clone for ID3D11VideoDevice1 { | |
12891 | fn clone(&self) -> Self { | |
12892 | Self(self.0.clone()) | |
12893 | } | |
12894 | } | |
12895 | unsafe impl ::windows::core::ComInterface for ID3D11VideoDevice1 { | |
12896 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x29da1d51_1321_4454_804b_f5fc9f861f0f); | |
12897 | } | |
12898 | #[repr(C)] | |
12899 | #[doc(hidden)] | |
12900 | pub struct ID3D11VideoDevice1_Vtbl { | |
12901 | pub base__: ID3D11VideoDevice_Vtbl, | |
12902 | pub GetCryptoSessionPrivateDataSize: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: *const ::windows::core::GUID, pkeyexchangetype: *const ::windows::core::GUID, pprivateinputsize: *mut u32, pprivateoutputsize: *mut u32) -> ::windows::core::HRESULT, | |
12903 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12904 | pub GetVideoDecoderCaps: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdecoderprofile: *const ::windows::core::GUID, samplewidth: u32, sampleheight: u32, pframerate: *const super::Dxgi::Common::DXGI_RATIONAL, bitrate: u32, pcryptotype: *const ::windows::core::GUID, pdecodercaps: *mut u32) -> ::windows::core::HRESULT, | |
12905 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
12906 | GetVideoDecoderCaps: usize, | |
12907 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
12908 | pub CheckVideoDecoderDownsampling: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinputdesc: *const D3D11_VIDEO_DECODER_DESC, inputcolorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, pinputconfig: *const D3D11_VIDEO_DECODER_CONFIG, pframerate: *const super::Dxgi::Common::DXGI_RATIONAL, poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC, psupported: *mut super::super::Foundation::BOOL, prealtimehint: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
12909 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common")))] | |
12910 | CheckVideoDecoderDownsampling: usize, | |
12911 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12912 | pub RecommendVideoDecoderDownsampleParameters: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinputdesc: *const D3D11_VIDEO_DECODER_DESC, inputcolorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, pinputconfig: *const D3D11_VIDEO_DECODER_CONFIG, pframerate: *const super::Dxgi::Common::DXGI_RATIONAL, precommendedoutputdesc: *mut D3D11_VIDEO_SAMPLE_DESC) -> ::windows::core::HRESULT, | |
12913 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
12914 | RecommendVideoDecoderDownsampleParameters: usize, | |
12915 | } | |
12916 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
12917 | #[repr(transparent)] | |
12918 | pub struct ID3D11VideoDevice2(::windows::core::IUnknown); | |
12919 | impl ID3D11VideoDevice2 { | |
12920 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12921 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12922 | pub unsafe fn CreateVideoDecoder(&self, pvideodesc: *const D3D11_VIDEO_DECODER_DESC, pconfig: *const D3D11_VIDEO_DECODER_CONFIG) -> ::windows::core::Result<ID3D11VideoDecoder> { | |
12923 | let mut result__ = ::windows::core::zeroed::<ID3D11VideoDecoder>(); | |
12924 | (::windows::core::Interface::vtable(self).base__.base__.CreateVideoDecoder)(::windows::core::Interface::as_raw(self), pvideodesc, pconfig, &mut result__).from_abi(result__) | |
12925 | } | |
12926 | pub unsafe fn CreateVideoProcessor<P0>(&self, penum: P0, rateconversionindex: u32) -> ::windows::core::Result<ID3D11VideoProcessor> | |
12927 | where | |
12928 | P0: ::windows::core::IntoParam<ID3D11VideoProcessorEnumerator>, | |
12929 | { | |
12930 | let mut result__ = ::windows::core::zeroed::<ID3D11VideoProcessor>(); | |
12931 | (::windows::core::Interface::vtable(self).base__.base__.CreateVideoProcessor)(::windows::core::Interface::as_raw(self), penum.into_param().abi(), rateconversionindex, &mut result__).from_abi(result__) | |
12932 | } | |
12933 | pub unsafe fn CreateAuthenticatedChannel(&self, channeltype: D3D11_AUTHENTICATED_CHANNEL_TYPE) -> ::windows::core::Result<ID3D11AuthenticatedChannel> { | |
12934 | let mut result__ = ::windows::core::zeroed::<ID3D11AuthenticatedChannel>(); | |
12935 | (::windows::core::Interface::vtable(self).base__.base__.CreateAuthenticatedChannel)(::windows::core::Interface::as_raw(self), channeltype, &mut result__).from_abi(result__) | |
12936 | } | |
12937 | pub unsafe fn CreateCryptoSession(&self, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: ::core::option::Option<*const ::windows::core::GUID>, pkeyexchangetype: *const ::windows::core::GUID) -> ::windows::core::Result<ID3D11CryptoSession> { | |
12938 | let mut result__ = ::windows::core::zeroed::<ID3D11CryptoSession>(); | |
12939 | (::windows::core::Interface::vtable(self).base__.base__.CreateCryptoSession)(::windows::core::Interface::as_raw(self), pcryptotype, ::core::mem::transmute(pdecoderprofile.unwrap_or(::std::ptr::null())), pkeyexchangetype, &mut result__).from_abi(result__) | |
12940 | } | |
12941 | pub unsafe fn CreateVideoDecoderOutputView<P0>(&self, presource: P0, pdesc: *const D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC, ppvdovview: ::core::option::Option<*mut ::core::option::Option<ID3D11VideoDecoderOutputView>>) -> ::windows::core::Result<()> | |
12942 | where | |
12943 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
12944 | { | |
12945 | (::windows::core::Interface::vtable(self).base__.base__.CreateVideoDecoderOutputView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), pdesc, ::core::mem::transmute(ppvdovview.unwrap_or(::std::ptr::null_mut()))).ok() | |
12946 | } | |
12947 | pub unsafe fn CreateVideoProcessorInputView<P0, P1>(&self, presource: P0, penum: P1, pdesc: *const D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC, ppvpiview: ::core::option::Option<*mut ::core::option::Option<ID3D11VideoProcessorInputView>>) -> ::windows::core::Result<()> | |
12948 | where | |
12949 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
12950 | P1: ::windows::core::IntoParam<ID3D11VideoProcessorEnumerator>, | |
12951 | { | |
12952 | (::windows::core::Interface::vtable(self).base__.base__.CreateVideoProcessorInputView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), penum.into_param().abi(), pdesc, ::core::mem::transmute(ppvpiview.unwrap_or(::std::ptr::null_mut()))).ok() | |
12953 | } | |
12954 | pub unsafe fn CreateVideoProcessorOutputView<P0, P1>(&self, presource: P0, penum: P1, pdesc: *const D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC, ppvpoview: ::core::option::Option<*mut ::core::option::Option<ID3D11VideoProcessorOutputView>>) -> ::windows::core::Result<()> | |
12955 | where | |
12956 | P0: ::windows::core::IntoParam<ID3D11Resource>, | |
12957 | P1: ::windows::core::IntoParam<ID3D11VideoProcessorEnumerator>, | |
12958 | { | |
12959 | (::windows::core::Interface::vtable(self).base__.base__.CreateVideoProcessorOutputView)(::windows::core::Interface::as_raw(self), presource.into_param().abi(), penum.into_param().abi(), pdesc, ::core::mem::transmute(ppvpoview.unwrap_or(::std::ptr::null_mut()))).ok() | |
12960 | } | |
12961 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12962 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12963 | pub unsafe fn CreateVideoProcessorEnumerator(&self, pdesc: *const D3D11_VIDEO_PROCESSOR_CONTENT_DESC) -> ::windows::core::Result<ID3D11VideoProcessorEnumerator> { | |
12964 | let mut result__ = ::windows::core::zeroed::<ID3D11VideoProcessorEnumerator>(); | |
12965 | (::windows::core::Interface::vtable(self).base__.base__.CreateVideoProcessorEnumerator)(::windows::core::Interface::as_raw(self), pdesc, &mut result__).from_abi(result__) | |
12966 | } | |
12967 | pub unsafe fn GetVideoDecoderProfileCount(&self) -> u32 { | |
12968 | (::windows::core::Interface::vtable(self).base__.base__.GetVideoDecoderProfileCount)(::windows::core::Interface::as_raw(self)) | |
12969 | } | |
12970 | pub unsafe fn GetVideoDecoderProfile(&self, index: u32) -> ::windows::core::Result<::windows::core::GUID> { | |
12971 | let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); | |
12972 | (::windows::core::Interface::vtable(self).base__.base__.GetVideoDecoderProfile)(::windows::core::Interface::as_raw(self), index, &mut result__).from_abi(result__) | |
12973 | } | |
12974 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12975 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
12976 | pub unsafe fn CheckVideoDecoderFormat(&self, pdecoderprofile: *const ::windows::core::GUID, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result<super::super::Foundation::BOOL> { | |
12977 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>(); | |
12978 | (::windows::core::Interface::vtable(self).base__.base__.CheckVideoDecoderFormat)(::windows::core::Interface::as_raw(self), pdecoderprofile, format, &mut result__).from_abi(result__) | |
12979 | } | |
12980 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12981 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12982 | pub unsafe fn GetVideoDecoderConfigCount(&self, pdesc: *const D3D11_VIDEO_DECODER_DESC) -> ::windows::core::Result<u32> { | |
12983 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
12984 | (::windows::core::Interface::vtable(self).base__.base__.GetVideoDecoderConfigCount)(::windows::core::Interface::as_raw(self), pdesc, &mut result__).from_abi(result__) | |
12985 | } | |
12986 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
12987 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
12988 | pub unsafe fn GetVideoDecoderConfig(&self, pdesc: *const D3D11_VIDEO_DECODER_DESC, index: u32, pconfig: *mut D3D11_VIDEO_DECODER_CONFIG) -> ::windows::core::Result<()> { | |
12989 | (::windows::core::Interface::vtable(self).base__.base__.GetVideoDecoderConfig)(::windows::core::Interface::as_raw(self), pdesc, index, pconfig).ok() | |
12990 | } | |
12991 | pub unsafe fn GetContentProtectionCaps(&self, pcryptotype: ::core::option::Option<*const ::windows::core::GUID>, pdecoderprofile: ::core::option::Option<*const ::windows::core::GUID>, pcaps: *mut D3D11_VIDEO_CONTENT_PROTECTION_CAPS) -> ::windows::core::Result<()> { | |
12992 | (::windows::core::Interface::vtable(self).base__.base__.GetContentProtectionCaps)(::windows::core::Interface::as_raw(self), ::core::mem::transmute(pcryptotype.unwrap_or(::std::ptr::null())), ::core::mem::transmute(pdecoderprofile.unwrap_or(::std::ptr::null())), pcaps).ok() | |
12993 | } | |
12994 | pub unsafe fn CheckCryptoKeyExchange(&self, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: ::core::option::Option<*const ::windows::core::GUID>, index: u32) -> ::windows::core::Result<::windows::core::GUID> { | |
12995 | let mut result__ = ::windows::core::zeroed::<::windows::core::GUID>(); | |
12996 | (::windows::core::Interface::vtable(self).base__.base__.CheckCryptoKeyExchange)(::windows::core::Interface::as_raw(self), pcryptotype, ::core::mem::transmute(pdecoderprofile.unwrap_or(::std::ptr::null())), index, &mut result__).from_abi(result__) | |
12997 | } | |
12998 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
12999 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
13000 | } | |
13001 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
13002 | where | |
13003 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
13004 | { | |
13005 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
13006 | } | |
13007 | pub unsafe fn GetCryptoSessionPrivateDataSize(&self, pcryptotype: *const ::windows::core::GUID, pdecoderprofile: ::core::option::Option<*const ::windows::core::GUID>, pkeyexchangetype: *const ::windows::core::GUID, pprivateinputsize: *mut u32, pprivateoutputsize: *mut u32) -> ::windows::core::Result<()> { | |
13008 | (::windows::core::Interface::vtable(self).base__.GetCryptoSessionPrivateDataSize)(::windows::core::Interface::as_raw(self), pcryptotype, ::core::mem::transmute(pdecoderprofile.unwrap_or(::std::ptr::null())), pkeyexchangetype, pprivateinputsize, pprivateoutputsize).ok() | |
13009 | } | |
13010 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
13011 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
13012 | pub unsafe fn GetVideoDecoderCaps(&self, pdecoderprofile: *const ::windows::core::GUID, samplewidth: u32, sampleheight: u32, pframerate: *const super::Dxgi::Common::DXGI_RATIONAL, bitrate: u32, pcryptotype: ::core::option::Option<*const ::windows::core::GUID>) -> ::windows::core::Result<u32> { | |
13013 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
13014 | (::windows::core::Interface::vtable(self).base__.GetVideoDecoderCaps)(::windows::core::Interface::as_raw(self), pdecoderprofile, samplewidth, sampleheight, pframerate, bitrate, ::core::mem::transmute(pcryptotype.unwrap_or(::std::ptr::null())), &mut result__).from_abi(result__) | |
13015 | } | |
13016 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
13017 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
13018 | pub unsafe fn CheckVideoDecoderDownsampling(&self, pinputdesc: *const D3D11_VIDEO_DECODER_DESC, inputcolorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, pinputconfig: *const D3D11_VIDEO_DECODER_CONFIG, pframerate: *const super::Dxgi::Common::DXGI_RATIONAL, poutputdesc: *const D3D11_VIDEO_SAMPLE_DESC, psupported: *mut super::super::Foundation::BOOL, prealtimehint: *mut super::super::Foundation::BOOL) -> ::windows::core::Result<()> { | |
13019 | (::windows::core::Interface::vtable(self).base__.CheckVideoDecoderDownsampling)(::windows::core::Interface::as_raw(self), pinputdesc, inputcolorspace, pinputconfig, pframerate, poutputdesc, psupported, prealtimehint).ok() | |
13020 | } | |
13021 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
13022 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
13023 | pub unsafe fn RecommendVideoDecoderDownsampleParameters(&self, pinputdesc: *const D3D11_VIDEO_DECODER_DESC, inputcolorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, pinputconfig: *const D3D11_VIDEO_DECODER_CONFIG, pframerate: *const super::Dxgi::Common::DXGI_RATIONAL) -> ::windows::core::Result<D3D11_VIDEO_SAMPLE_DESC> { | |
13024 | let mut result__ = ::windows::core::zeroed::<D3D11_VIDEO_SAMPLE_DESC>(); | |
13025 | (::windows::core::Interface::vtable(self).base__.RecommendVideoDecoderDownsampleParameters)(::windows::core::Interface::as_raw(self), pinputdesc, inputcolorspace, pinputconfig, pframerate, &mut result__).from_abi(result__) | |
13026 | } | |
13027 | pub unsafe fn CheckFeatureSupport(&self, feature: D3D11_FEATURE_VIDEO, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows::core::Result<()> { | |
13028 | (::windows::core::Interface::vtable(self).CheckFeatureSupport)(::windows::core::Interface::as_raw(self), feature, pfeaturesupportdata, featuresupportdatasize).ok() | |
13029 | } | |
13030 | pub unsafe fn NegotiateCryptoSessionKeyExchangeMT<P0>(&self, pcryptosession: P0, flags: D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS, datasize: u32, pdata: *mut ::core::ffi::c_void) -> ::windows::core::Result<()> | |
13031 | where | |
13032 | P0: ::windows::core::IntoParam<ID3D11CryptoSession>, | |
13033 | { | |
13034 | (::windows::core::Interface::vtable(self).NegotiateCryptoSessionKeyExchangeMT)(::windows::core::Interface::as_raw(self), pcryptosession.into_param().abi(), flags, datasize, pdata).ok() | |
13035 | } | |
13036 | } | |
13037 | ::windows::imp::interface_hierarchy!(ID3D11VideoDevice2, ::windows::core::IUnknown, ID3D11VideoDevice, ID3D11VideoDevice1); | |
13038 | impl ::core::cmp::PartialEq for ID3D11VideoDevice2 { | |
13039 | fn eq(&self, other: &Self) -> bool { | |
13040 | self.0 == other.0 | |
13041 | } | |
13042 | } | |
13043 | impl ::core::cmp::Eq for ID3D11VideoDevice2 {} | |
13044 | impl ::core::fmt::Debug for ID3D11VideoDevice2 { | |
13045 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
13046 | f.debug_tuple("ID3D11VideoDevice2").field(&self.0).finish() | |
13047 | } | |
13048 | } | |
13049 | unsafe impl ::core::marker::Send for ID3D11VideoDevice2 {} | |
13050 | unsafe impl ::core::marker::Sync for ID3D11VideoDevice2 {} | |
13051 | unsafe impl ::windows::core::Interface for ID3D11VideoDevice2 { | |
13052 | type Vtable = ID3D11VideoDevice2_Vtbl; | |
13053 | } | |
13054 | impl ::core::clone::Clone for ID3D11VideoDevice2 { | |
13055 | fn clone(&self) -> Self { | |
13056 | Self(self.0.clone()) | |
13057 | } | |
13058 | } | |
13059 | unsafe impl ::windows::core::ComInterface for ID3D11VideoDevice2 { | |
13060 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x59c0cb01_35f0_4a70_8f67_87905c906a53); | |
13061 | } | |
13062 | #[repr(C)] | |
13063 | #[doc(hidden)] | |
13064 | pub struct ID3D11VideoDevice2_Vtbl { | |
13065 | pub base__: ID3D11VideoDevice1_Vtbl, | |
13066 | pub CheckFeatureSupport: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, feature: D3D11_FEATURE_VIDEO, pfeaturesupportdata: *mut ::core::ffi::c_void, featuresupportdatasize: u32) -> ::windows::core::HRESULT, | |
13067 | pub NegotiateCryptoSessionKeyExchangeMT: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcryptosession: *mut ::core::ffi::c_void, flags: D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS, datasize: u32, pdata: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13068 | } | |
13069 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13070 | #[repr(transparent)] | |
13071 | pub struct ID3D11VideoProcessor(::windows::core::IUnknown); | |
13072 | impl ID3D11VideoProcessor { | |
13073 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
13074 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
13075 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
13076 | ::windows::core::from_abi(result__) | |
13077 | } | |
13078 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
13079 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
13080 | } | |
13081 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
13082 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
13083 | } | |
13084 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
13085 | where | |
13086 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
13087 | { | |
13088 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
13089 | } | |
13090 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
13091 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
13092 | pub unsafe fn GetContentDesc(&self, pdesc: *mut D3D11_VIDEO_PROCESSOR_CONTENT_DESC) { | |
13093 | (::windows::core::Interface::vtable(self).GetContentDesc)(::windows::core::Interface::as_raw(self), pdesc) | |
13094 | } | |
13095 | pub unsafe fn GetRateConversionCaps(&self, pcaps: *mut D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS) { | |
13096 | (::windows::core::Interface::vtable(self).GetRateConversionCaps)(::windows::core::Interface::as_raw(self), pcaps) | |
13097 | } | |
13098 | } | |
13099 | ::windows::imp::interface_hierarchy!(ID3D11VideoProcessor, ::windows::core::IUnknown, ID3D11DeviceChild); | |
13100 | impl ::core::cmp::PartialEq for ID3D11VideoProcessor { | |
13101 | fn eq(&self, other: &Self) -> bool { | |
13102 | self.0 == other.0 | |
13103 | } | |
13104 | } | |
13105 | impl ::core::cmp::Eq for ID3D11VideoProcessor {} | |
13106 | impl ::core::fmt::Debug for ID3D11VideoProcessor { | |
13107 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
13108 | f.debug_tuple("ID3D11VideoProcessor").field(&self.0).finish() | |
13109 | } | |
13110 | } | |
13111 | unsafe impl ::core::marker::Send for ID3D11VideoProcessor {} | |
13112 | unsafe impl ::core::marker::Sync for ID3D11VideoProcessor {} | |
13113 | unsafe impl ::windows::core::Interface for ID3D11VideoProcessor { | |
13114 | type Vtable = ID3D11VideoProcessor_Vtbl; | |
13115 | } | |
13116 | impl ::core::clone::Clone for ID3D11VideoProcessor { | |
13117 | fn clone(&self) -> Self { | |
13118 | Self(self.0.clone()) | |
13119 | } | |
13120 | } | |
13121 | unsafe impl ::windows::core::ComInterface for ID3D11VideoProcessor { | |
13122 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1d7b0652_185f_41c6_85ce_0c5be3d4ae6c); | |
13123 | } | |
13124 | #[repr(C)] | |
13125 | #[doc(hidden)] | |
13126 | pub struct ID3D11VideoProcessor_Vtbl { | |
13127 | pub base__: ID3D11DeviceChild_Vtbl, | |
13128 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
13129 | pub GetContentDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_VIDEO_PROCESSOR_CONTENT_DESC), | |
13130 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
13131 | GetContentDesc: usize, | |
13132 | pub GetRateConversionCaps: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcaps: *mut D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS), | |
13133 | } | |
13134 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13135 | #[repr(transparent)] | |
13136 | pub struct ID3D11VideoProcessorEnumerator(::windows::core::IUnknown); | |
13137 | impl ID3D11VideoProcessorEnumerator { | |
13138 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
13139 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
13140 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
13141 | ::windows::core::from_abi(result__) | |
13142 | } | |
13143 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
13144 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
13145 | } | |
13146 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
13147 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
13148 | } | |
13149 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
13150 | where | |
13151 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
13152 | { | |
13153 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
13154 | } | |
13155 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
13156 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
13157 | pub unsafe fn GetVideoProcessorContentDesc(&self, pcontentdesc: *mut D3D11_VIDEO_PROCESSOR_CONTENT_DESC) -> ::windows::core::Result<()> { | |
13158 | (::windows::core::Interface::vtable(self).GetVideoProcessorContentDesc)(::windows::core::Interface::as_raw(self), pcontentdesc).ok() | |
13159 | } | |
13160 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
13161 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
13162 | pub unsafe fn CheckVideoProcessorFormat(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result<u32> { | |
13163 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
13164 | (::windows::core::Interface::vtable(self).CheckVideoProcessorFormat)(::windows::core::Interface::as_raw(self), format, &mut result__).from_abi(result__) | |
13165 | } | |
13166 | pub unsafe fn GetVideoProcessorCaps(&self, pcaps: *mut D3D11_VIDEO_PROCESSOR_CAPS) -> ::windows::core::Result<()> { | |
13167 | (::windows::core::Interface::vtable(self).GetVideoProcessorCaps)(::windows::core::Interface::as_raw(self), pcaps).ok() | |
13168 | } | |
13169 | pub unsafe fn GetVideoProcessorRateConversionCaps(&self, typeindex: u32, pcaps: *mut D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS) -> ::windows::core::Result<()> { | |
13170 | (::windows::core::Interface::vtable(self).GetVideoProcessorRateConversionCaps)(::windows::core::Interface::as_raw(self), typeindex, pcaps).ok() | |
13171 | } | |
13172 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
13173 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
13174 | pub unsafe fn GetVideoProcessorCustomRate(&self, typeindex: u32, customrateindex: u32, prate: *mut D3D11_VIDEO_PROCESSOR_CUSTOM_RATE) -> ::windows::core::Result<()> { | |
13175 | (::windows::core::Interface::vtable(self).GetVideoProcessorCustomRate)(::windows::core::Interface::as_raw(self), typeindex, customrateindex, prate).ok() | |
13176 | } | |
13177 | pub unsafe fn GetVideoProcessorFilterRange(&self, filter: D3D11_VIDEO_PROCESSOR_FILTER) -> ::windows::core::Result<D3D11_VIDEO_PROCESSOR_FILTER_RANGE> { | |
13178 | let mut result__ = ::windows::core::zeroed::<D3D11_VIDEO_PROCESSOR_FILTER_RANGE>(); | |
13179 | (::windows::core::Interface::vtable(self).GetVideoProcessorFilterRange)(::windows::core::Interface::as_raw(self), filter, &mut result__).from_abi(result__) | |
13180 | } | |
13181 | } | |
13182 | ::windows::imp::interface_hierarchy!(ID3D11VideoProcessorEnumerator, ::windows::core::IUnknown, ID3D11DeviceChild); | |
13183 | impl ::core::cmp::PartialEq for ID3D11VideoProcessorEnumerator { | |
13184 | fn eq(&self, other: &Self) -> bool { | |
13185 | self.0 == other.0 | |
13186 | } | |
13187 | } | |
13188 | impl ::core::cmp::Eq for ID3D11VideoProcessorEnumerator {} | |
13189 | impl ::core::fmt::Debug for ID3D11VideoProcessorEnumerator { | |
13190 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
13191 | f.debug_tuple("ID3D11VideoProcessorEnumerator").field(&self.0).finish() | |
13192 | } | |
13193 | } | |
13194 | unsafe impl ::core::marker::Send for ID3D11VideoProcessorEnumerator {} | |
13195 | unsafe impl ::core::marker::Sync for ID3D11VideoProcessorEnumerator {} | |
13196 | unsafe impl ::windows::core::Interface for ID3D11VideoProcessorEnumerator { | |
13197 | type Vtable = ID3D11VideoProcessorEnumerator_Vtbl; | |
13198 | } | |
13199 | impl ::core::clone::Clone for ID3D11VideoProcessorEnumerator { | |
13200 | fn clone(&self) -> Self { | |
13201 | Self(self.0.clone()) | |
13202 | } | |
13203 | } | |
13204 | unsafe impl ::windows::core::ComInterface for ID3D11VideoProcessorEnumerator { | |
13205 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x31627037_53ab_4200_9061_05faa9ab45f9); | |
13206 | } | |
13207 | #[repr(C)] | |
13208 | #[doc(hidden)] | |
13209 | pub struct ID3D11VideoProcessorEnumerator_Vtbl { | |
13210 | pub base__: ID3D11DeviceChild_Vtbl, | |
13211 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
13212 | pub GetVideoProcessorContentDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcontentdesc: *mut D3D11_VIDEO_PROCESSOR_CONTENT_DESC) -> ::windows::core::HRESULT, | |
13213 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
13214 | GetVideoProcessorContentDesc: usize, | |
13215 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
13216 | pub CheckVideoProcessorFormat: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, format: super::Dxgi::Common::DXGI_FORMAT, pflags: *mut u32) -> ::windows::core::HRESULT, | |
13217 | #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] | |
13218 | CheckVideoProcessorFormat: usize, | |
13219 | pub GetVideoProcessorCaps: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pcaps: *mut D3D11_VIDEO_PROCESSOR_CAPS) -> ::windows::core::HRESULT, | |
13220 | pub GetVideoProcessorRateConversionCaps: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, typeindex: u32, pcaps: *mut D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS) -> ::windows::core::HRESULT, | |
13221 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
13222 | pub GetVideoProcessorCustomRate: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, typeindex: u32, customrateindex: u32, prate: *mut D3D11_VIDEO_PROCESSOR_CUSTOM_RATE) -> ::windows::core::HRESULT, | |
13223 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common")))] | |
13224 | GetVideoProcessorCustomRate: usize, | |
13225 | pub GetVideoProcessorFilterRange: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, filter: D3D11_VIDEO_PROCESSOR_FILTER, prange: *mut D3D11_VIDEO_PROCESSOR_FILTER_RANGE) -> ::windows::core::HRESULT, | |
13226 | } | |
13227 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13228 | #[repr(transparent)] | |
13229 | pub struct ID3D11VideoProcessorEnumerator1(::windows::core::IUnknown); | |
13230 | impl ID3D11VideoProcessorEnumerator1 { | |
13231 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
13232 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
13233 | (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
13234 | ::windows::core::from_abi(result__) | |
13235 | } | |
13236 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
13237 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
13238 | } | |
13239 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
13240 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
13241 | } | |
13242 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
13243 | where | |
13244 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
13245 | { | |
13246 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
13247 | } | |
13248 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
13249 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
13250 | pub unsafe fn GetVideoProcessorContentDesc(&self, pcontentdesc: *mut D3D11_VIDEO_PROCESSOR_CONTENT_DESC) -> ::windows::core::Result<()> { | |
13251 | (::windows::core::Interface::vtable(self).base__.GetVideoProcessorContentDesc)(::windows::core::Interface::as_raw(self), pcontentdesc).ok() | |
13252 | } | |
13253 | #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"] | |
13254 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
13255 | pub unsafe fn CheckVideoProcessorFormat(&self, format: super::Dxgi::Common::DXGI_FORMAT) -> ::windows::core::Result<u32> { | |
13256 | let mut result__ = ::windows::core::zeroed::<u32>(); | |
13257 | (::windows::core::Interface::vtable(self).base__.CheckVideoProcessorFormat)(::windows::core::Interface::as_raw(self), format, &mut result__).from_abi(result__) | |
13258 | } | |
13259 | pub unsafe fn GetVideoProcessorCaps(&self, pcaps: *mut D3D11_VIDEO_PROCESSOR_CAPS) -> ::windows::core::Result<()> { | |
13260 | (::windows::core::Interface::vtable(self).base__.GetVideoProcessorCaps)(::windows::core::Interface::as_raw(self), pcaps).ok() | |
13261 | } | |
13262 | pub unsafe fn GetVideoProcessorRateConversionCaps(&self, typeindex: u32, pcaps: *mut D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS) -> ::windows::core::Result<()> { | |
13263 | (::windows::core::Interface::vtable(self).base__.GetVideoProcessorRateConversionCaps)(::windows::core::Interface::as_raw(self), typeindex, pcaps).ok() | |
13264 | } | |
13265 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
13266 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
13267 | pub unsafe fn GetVideoProcessorCustomRate(&self, typeindex: u32, customrateindex: u32, prate: *mut D3D11_VIDEO_PROCESSOR_CUSTOM_RATE) -> ::windows::core::Result<()> { | |
13268 | (::windows::core::Interface::vtable(self).base__.GetVideoProcessorCustomRate)(::windows::core::Interface::as_raw(self), typeindex, customrateindex, prate).ok() | |
13269 | } | |
13270 | pub unsafe fn GetVideoProcessorFilterRange(&self, filter: D3D11_VIDEO_PROCESSOR_FILTER) -> ::windows::core::Result<D3D11_VIDEO_PROCESSOR_FILTER_RANGE> { | |
13271 | let mut result__ = ::windows::core::zeroed::<D3D11_VIDEO_PROCESSOR_FILTER_RANGE>(); | |
13272 | (::windows::core::Interface::vtable(self).base__.GetVideoProcessorFilterRange)(::windows::core::Interface::as_raw(self), filter, &mut result__).from_abi(result__) | |
13273 | } | |
13274 | #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
13275 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
13276 | pub unsafe fn CheckVideoProcessorFormatConversion(&self, inputformat: super::Dxgi::Common::DXGI_FORMAT, inputcolorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, outputformat: super::Dxgi::Common::DXGI_FORMAT, outputcolorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE) -> ::windows::core::Result<super::super::Foundation::BOOL> { | |
13277 | let mut result__ = ::windows::core::zeroed::<super::super::Foundation::BOOL>(); | |
13278 | (::windows::core::Interface::vtable(self).CheckVideoProcessorFormatConversion)(::windows::core::Interface::as_raw(self), inputformat, inputcolorspace, outputformat, outputcolorspace, &mut result__).from_abi(result__) | |
13279 | } | |
13280 | } | |
13281 | ::windows::imp::interface_hierarchy!(ID3D11VideoProcessorEnumerator1, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11VideoProcessorEnumerator); | |
13282 | impl ::core::cmp::PartialEq for ID3D11VideoProcessorEnumerator1 { | |
13283 | fn eq(&self, other: &Self) -> bool { | |
13284 | self.0 == other.0 | |
13285 | } | |
13286 | } | |
13287 | impl ::core::cmp::Eq for ID3D11VideoProcessorEnumerator1 {} | |
13288 | impl ::core::fmt::Debug for ID3D11VideoProcessorEnumerator1 { | |
13289 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
13290 | f.debug_tuple("ID3D11VideoProcessorEnumerator1").field(&self.0).finish() | |
13291 | } | |
13292 | } | |
13293 | unsafe impl ::core::marker::Send for ID3D11VideoProcessorEnumerator1 {} | |
13294 | unsafe impl ::core::marker::Sync for ID3D11VideoProcessorEnumerator1 {} | |
13295 | unsafe impl ::windows::core::Interface for ID3D11VideoProcessorEnumerator1 { | |
13296 | type Vtable = ID3D11VideoProcessorEnumerator1_Vtbl; | |
13297 | } | |
13298 | impl ::core::clone::Clone for ID3D11VideoProcessorEnumerator1 { | |
13299 | fn clone(&self) -> Self { | |
13300 | Self(self.0.clone()) | |
13301 | } | |
13302 | } | |
13303 | unsafe impl ::windows::core::ComInterface for ID3D11VideoProcessorEnumerator1 { | |
13304 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x465217f2_5568_43cf_b5b9_f61d54531ca1); | |
13305 | } | |
13306 | #[repr(C)] | |
13307 | #[doc(hidden)] | |
13308 | pub struct ID3D11VideoProcessorEnumerator1_Vtbl { | |
13309 | pub base__: ID3D11VideoProcessorEnumerator_Vtbl, | |
13310 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
13311 | pub CheckVideoProcessorFormatConversion: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, inputformat: super::Dxgi::Common::DXGI_FORMAT, inputcolorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, outputformat: super::Dxgi::Common::DXGI_FORMAT, outputcolorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, psupported: *mut super::super::Foundation::BOOL) -> ::windows::core::HRESULT, | |
13312 | #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common")))] | |
13313 | CheckVideoProcessorFormatConversion: usize, | |
13314 | } | |
13315 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13316 | #[repr(transparent)] | |
13317 | pub struct ID3D11VideoProcessorInputView(::windows::core::IUnknown); | |
13318 | impl ID3D11VideoProcessorInputView { | |
13319 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
13320 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
13321 | (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
13322 | ::windows::core::from_abi(result__) | |
13323 | } | |
13324 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
13325 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
13326 | } | |
13327 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
13328 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
13329 | } | |
13330 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
13331 | where | |
13332 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
13333 | { | |
13334 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
13335 | } | |
13336 | pub unsafe fn GetResource(&self) -> ::windows::core::Result<ID3D11Resource> { | |
13337 | let mut result__ = ::windows::core::zeroed::<ID3D11Resource>(); | |
13338 | (::windows::core::Interface::vtable(self).base__.GetResource)(::windows::core::Interface::as_raw(self), &mut result__); | |
13339 | ::windows::core::from_abi(result__) | |
13340 | } | |
13341 | pub unsafe fn GetDesc(&self) -> D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC { | |
13342 | let mut result__ = ::windows::core::zeroed::<D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC>(); | |
13343 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), &mut result__); | |
13344 | ::std::mem::transmute(result__) | |
13345 | } | |
13346 | } | |
13347 | ::windows::imp::interface_hierarchy!(ID3D11VideoProcessorInputView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); | |
13348 | impl ::core::cmp::PartialEq for ID3D11VideoProcessorInputView { | |
13349 | fn eq(&self, other: &Self) -> bool { | |
13350 | self.0 == other.0 | |
13351 | } | |
13352 | } | |
13353 | impl ::core::cmp::Eq for ID3D11VideoProcessorInputView {} | |
13354 | impl ::core::fmt::Debug for ID3D11VideoProcessorInputView { | |
13355 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
13356 | f.debug_tuple("ID3D11VideoProcessorInputView").field(&self.0).finish() | |
13357 | } | |
13358 | } | |
13359 | unsafe impl ::core::marker::Send for ID3D11VideoProcessorInputView {} | |
13360 | unsafe impl ::core::marker::Sync for ID3D11VideoProcessorInputView {} | |
13361 | unsafe impl ::windows::core::Interface for ID3D11VideoProcessorInputView { | |
13362 | type Vtable = ID3D11VideoProcessorInputView_Vtbl; | |
13363 | } | |
13364 | impl ::core::clone::Clone for ID3D11VideoProcessorInputView { | |
13365 | fn clone(&self) -> Self { | |
13366 | Self(self.0.clone()) | |
13367 | } | |
13368 | } | |
13369 | unsafe impl ::windows::core::ComInterface for ID3D11VideoProcessorInputView { | |
13370 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x11ec5a5f_51dc_4945_ab34_6e8c21300ea5); | |
13371 | } | |
13372 | #[repr(C)] | |
13373 | #[doc(hidden)] | |
13374 | pub struct ID3D11VideoProcessorInputView_Vtbl { | |
13375 | pub base__: ID3D11View_Vtbl, | |
13376 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC), | |
13377 | } | |
13378 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13379 | #[repr(transparent)] | |
13380 | pub struct ID3D11VideoProcessorOutputView(::windows::core::IUnknown); | |
13381 | impl ID3D11VideoProcessorOutputView { | |
13382 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
13383 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
13384 | (::windows::core::Interface::vtable(self).base__.base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
13385 | ::windows::core::from_abi(result__) | |
13386 | } | |
13387 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
13388 | (::windows::core::Interface::vtable(self).base__.base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
13389 | } | |
13390 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
13391 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
13392 | } | |
13393 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
13394 | where | |
13395 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
13396 | { | |
13397 | (::windows::core::Interface::vtable(self).base__.base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
13398 | } | |
13399 | pub unsafe fn GetResource(&self) -> ::windows::core::Result<ID3D11Resource> { | |
13400 | let mut result__ = ::windows::core::zeroed::<ID3D11Resource>(); | |
13401 | (::windows::core::Interface::vtable(self).base__.GetResource)(::windows::core::Interface::as_raw(self), &mut result__); | |
13402 | ::windows::core::from_abi(result__) | |
13403 | } | |
13404 | pub unsafe fn GetDesc(&self) -> D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC { | |
13405 | let mut result__ = ::windows::core::zeroed::<D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC>(); | |
13406 | (::windows::core::Interface::vtable(self).GetDesc)(::windows::core::Interface::as_raw(self), &mut result__); | |
13407 | ::std::mem::transmute(result__) | |
13408 | } | |
13409 | } | |
13410 | ::windows::imp::interface_hierarchy!(ID3D11VideoProcessorOutputView, ::windows::core::IUnknown, ID3D11DeviceChild, ID3D11View); | |
13411 | impl ::core::cmp::PartialEq for ID3D11VideoProcessorOutputView { | |
13412 | fn eq(&self, other: &Self) -> bool { | |
13413 | self.0 == other.0 | |
13414 | } | |
13415 | } | |
13416 | impl ::core::cmp::Eq for ID3D11VideoProcessorOutputView {} | |
13417 | impl ::core::fmt::Debug for ID3D11VideoProcessorOutputView { | |
13418 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
13419 | f.debug_tuple("ID3D11VideoProcessorOutputView").field(&self.0).finish() | |
13420 | } | |
13421 | } | |
13422 | unsafe impl ::core::marker::Send for ID3D11VideoProcessorOutputView {} | |
13423 | unsafe impl ::core::marker::Sync for ID3D11VideoProcessorOutputView {} | |
13424 | unsafe impl ::windows::core::Interface for ID3D11VideoProcessorOutputView { | |
13425 | type Vtable = ID3D11VideoProcessorOutputView_Vtbl; | |
13426 | } | |
13427 | impl ::core::clone::Clone for ID3D11VideoProcessorOutputView { | |
13428 | fn clone(&self) -> Self { | |
13429 | Self(self.0.clone()) | |
13430 | } | |
13431 | } | |
13432 | unsafe impl ::windows::core::ComInterface for ID3D11VideoProcessorOutputView { | |
13433 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa048285e_25a9_4527_bd93_d68b68c44254); | |
13434 | } | |
13435 | #[repr(C)] | |
13436 | #[doc(hidden)] | |
13437 | pub struct ID3D11VideoProcessorOutputView_Vtbl { | |
13438 | pub base__: ID3D11View_Vtbl, | |
13439 | pub GetDesc: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pdesc: *mut D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC), | |
13440 | } | |
13441 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13442 | #[repr(transparent)] | |
13443 | pub struct ID3D11View(::windows::core::IUnknown); | |
13444 | impl ID3D11View { | |
13445 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
13446 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
13447 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
13448 | ::windows::core::from_abi(result__) | |
13449 | } | |
13450 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
13451 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
13452 | } | |
13453 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
13454 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
13455 | } | |
13456 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
13457 | where | |
13458 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
13459 | { | |
13460 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
13461 | } | |
13462 | pub unsafe fn GetResource(&self) -> ::windows::core::Result<ID3D11Resource> { | |
13463 | let mut result__ = ::windows::core::zeroed::<ID3D11Resource>(); | |
13464 | (::windows::core::Interface::vtable(self).GetResource)(::windows::core::Interface::as_raw(self), &mut result__); | |
13465 | ::windows::core::from_abi(result__) | |
13466 | } | |
13467 | } | |
13468 | ::windows::imp::interface_hierarchy!(ID3D11View, ::windows::core::IUnknown, ID3D11DeviceChild); | |
13469 | impl ::core::cmp::PartialEq for ID3D11View { | |
13470 | fn eq(&self, other: &Self) -> bool { | |
13471 | self.0 == other.0 | |
13472 | } | |
13473 | } | |
13474 | impl ::core::cmp::Eq for ID3D11View {} | |
13475 | impl ::core::fmt::Debug for ID3D11View { | |
13476 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
13477 | f.debug_tuple("ID3D11View").field(&self.0).finish() | |
13478 | } | |
13479 | } | |
13480 | unsafe impl ::core::marker::Send for ID3D11View {} | |
13481 | unsafe impl ::core::marker::Sync for ID3D11View {} | |
13482 | unsafe impl ::windows::core::Interface for ID3D11View { | |
13483 | type Vtable = ID3D11View_Vtbl; | |
13484 | } | |
13485 | impl ::core::clone::Clone for ID3D11View { | |
13486 | fn clone(&self) -> Self { | |
13487 | Self(self.0.clone()) | |
13488 | } | |
13489 | } | |
13490 | unsafe impl ::windows::core::ComInterface for ID3D11View { | |
13491 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x839d1216_bb2e_412b_b7f4_a9dbebe08ed1); | |
13492 | } | |
13493 | #[repr(C)] | |
13494 | #[doc(hidden)] | |
13495 | pub struct ID3D11View_Vtbl { | |
13496 | pub base__: ID3D11DeviceChild_Vtbl, | |
13497 | pub GetResource: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, ppresource: *mut *mut ::core::ffi::c_void), | |
13498 | } | |
13499 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13500 | #[repr(transparent)] | |
13501 | pub struct ID3DDeviceContextState(::windows::core::IUnknown); | |
13502 | impl ID3DDeviceContextState { | |
13503 | pub unsafe fn GetDevice(&self) -> ::windows::core::Result<ID3D11Device> { | |
13504 | let mut result__ = ::windows::core::zeroed::<ID3D11Device>(); | |
13505 | (::windows::core::Interface::vtable(self).base__.GetDevice)(::windows::core::Interface::as_raw(self), &mut result__); | |
13506 | ::windows::core::from_abi(result__) | |
13507 | } | |
13508 | pub unsafe fn GetPrivateData(&self, guid: *const ::windows::core::GUID, pdatasize: *mut u32, pdata: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
13509 | (::windows::core::Interface::vtable(self).base__.GetPrivateData)(::windows::core::Interface::as_raw(self), guid, pdatasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null_mut()))).ok() | |
13510 | } | |
13511 | pub unsafe fn SetPrivateData(&self, guid: *const ::windows::core::GUID, datasize: u32, pdata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows::core::Result<()> { | |
13512 | (::windows::core::Interface::vtable(self).base__.SetPrivateData)(::windows::core::Interface::as_raw(self), guid, datasize, ::core::mem::transmute(pdata.unwrap_or(::std::ptr::null()))).ok() | |
13513 | } | |
13514 | pub unsafe fn SetPrivateDataInterface<P0>(&self, guid: *const ::windows::core::GUID, pdata: P0) -> ::windows::core::Result<()> | |
13515 | where | |
13516 | P0: ::windows::core::IntoParam<::windows::core::IUnknown>, | |
13517 | { | |
13518 | (::windows::core::Interface::vtable(self).base__.SetPrivateDataInterface)(::windows::core::Interface::as_raw(self), guid, pdata.into_param().abi()).ok() | |
13519 | } | |
13520 | } | |
13521 | ::windows::imp::interface_hierarchy!(ID3DDeviceContextState, ::windows::core::IUnknown, ID3D11DeviceChild); | |
13522 | impl ::core::cmp::PartialEq for ID3DDeviceContextState { | |
13523 | fn eq(&self, other: &Self) -> bool { | |
13524 | self.0 == other.0 | |
13525 | } | |
13526 | } | |
13527 | impl ::core::cmp::Eq for ID3DDeviceContextState {} | |
13528 | impl ::core::fmt::Debug for ID3DDeviceContextState { | |
13529 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
13530 | f.debug_tuple("ID3DDeviceContextState").field(&self.0).finish() | |
13531 | } | |
13532 | } | |
13533 | unsafe impl ::core::marker::Send for ID3DDeviceContextState {} | |
13534 | unsafe impl ::core::marker::Sync for ID3DDeviceContextState {} | |
13535 | unsafe impl ::windows::core::Interface for ID3DDeviceContextState { | |
13536 | type Vtable = ID3DDeviceContextState_Vtbl; | |
13537 | } | |
13538 | impl ::core::clone::Clone for ID3DDeviceContextState { | |
13539 | fn clone(&self) -> Self { | |
13540 | Self(self.0.clone()) | |
13541 | } | |
13542 | } | |
13543 | unsafe impl ::windows::core::ComInterface for ID3DDeviceContextState { | |
13544 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x5c1e0d8a_7c23_48f9_8c59_a92958ceff11); | |
13545 | } | |
13546 | #[repr(C)] | |
13547 | #[doc(hidden)] | |
13548 | pub struct ID3DDeviceContextState_Vtbl { | |
13549 | pub base__: ID3D11DeviceChild_Vtbl, | |
13550 | } | |
13551 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13552 | #[repr(transparent)] | |
13553 | pub struct ID3DUserDefinedAnnotation(::windows::core::IUnknown); | |
13554 | impl ID3DUserDefinedAnnotation { | |
13555 | pub unsafe fn BeginEvent<P0>(&self, name: P0) -> i32 | |
13556 | where | |
13557 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
13558 | { | |
13559 | (::windows::core::Interface::vtable(self).BeginEvent)(::windows::core::Interface::as_raw(self), name.into_param().abi()) | |
13560 | } | |
13561 | pub unsafe fn EndEvent(&self) -> i32 { | |
13562 | (::windows::core::Interface::vtable(self).EndEvent)(::windows::core::Interface::as_raw(self)) | |
13563 | } | |
13564 | pub unsafe fn SetMarker<P0>(&self, name: P0) | |
13565 | where | |
13566 | P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, | |
13567 | { | |
13568 | (::windows::core::Interface::vtable(self).SetMarker)(::windows::core::Interface::as_raw(self), name.into_param().abi()) | |
13569 | } | |
13570 | #[doc = "*Required features: `\"Win32_Foundation\"`*"] | |
13571 | #[cfg(feature = "Win32_Foundation")] | |
13572 | pub unsafe fn GetStatus(&self) -> super::super::Foundation::BOOL { | |
13573 | (::windows::core::Interface::vtable(self).GetStatus)(::windows::core::Interface::as_raw(self)) | |
13574 | } | |
13575 | } | |
13576 | ::windows::imp::interface_hierarchy!(ID3DUserDefinedAnnotation, ::windows::core::IUnknown); | |
13577 | impl ::core::cmp::PartialEq for ID3DUserDefinedAnnotation { | |
13578 | fn eq(&self, other: &Self) -> bool { | |
13579 | self.0 == other.0 | |
13580 | } | |
13581 | } | |
13582 | impl ::core::cmp::Eq for ID3DUserDefinedAnnotation {} | |
13583 | impl ::core::fmt::Debug for ID3DUserDefinedAnnotation { | |
13584 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
13585 | f.debug_tuple("ID3DUserDefinedAnnotation").field(&self.0).finish() | |
13586 | } | |
13587 | } | |
13588 | unsafe impl ::core::marker::Send for ID3DUserDefinedAnnotation {} | |
13589 | unsafe impl ::core::marker::Sync for ID3DUserDefinedAnnotation {} | |
13590 | unsafe impl ::windows::core::Interface for ID3DUserDefinedAnnotation { | |
13591 | type Vtable = ID3DUserDefinedAnnotation_Vtbl; | |
13592 | } | |
13593 | impl ::core::clone::Clone for ID3DUserDefinedAnnotation { | |
13594 | fn clone(&self) -> Self { | |
13595 | Self(self.0.clone()) | |
13596 | } | |
13597 | } | |
13598 | unsafe impl ::windows::core::ComInterface for ID3DUserDefinedAnnotation { | |
13599 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb2daad8b_03d4_4dbf_95eb_32ab4b63d0ab); | |
13600 | } | |
13601 | #[repr(C)] | |
13602 | #[doc(hidden)] | |
13603 | pub struct ID3DUserDefinedAnnotation_Vtbl { | |
13604 | pub base__: ::windows::core::IUnknown_Vtbl, | |
13605 | pub BeginEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::windows::core::PCWSTR) -> i32, | |
13606 | pub EndEvent: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> i32, | |
13607 | pub SetMarker: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, name: ::windows::core::PCWSTR), | |
13608 | #[cfg(feature = "Win32_Foundation")] | |
13609 | pub GetStatus: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL, | |
13610 | #[cfg(not(feature = "Win32_Foundation"))] | |
13611 | GetStatus: usize, | |
13612 | } | |
13613 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13614 | #[repr(transparent)] | |
13615 | pub struct ID3DX11FFT(::windows::core::IUnknown); | |
13616 | impl ID3DX11FFT { | |
13617 | pub unsafe fn SetForwardScale(&self, forwardscale: f32) -> ::windows::core::Result<()> { | |
13618 | (::windows::core::Interface::vtable(self).SetForwardScale)(::windows::core::Interface::as_raw(self), forwardscale).ok() | |
13619 | } | |
13620 | pub unsafe fn GetForwardScale(&self) -> f32 { | |
13621 | (::windows::core::Interface::vtable(self).GetForwardScale)(::windows::core::Interface::as_raw(self)) | |
13622 | } | |
13623 | pub unsafe fn SetInverseScale(&self, inversescale: f32) -> ::windows::core::Result<()> { | |
13624 | (::windows::core::Interface::vtable(self).SetInverseScale)(::windows::core::Interface::as_raw(self), inversescale).ok() | |
13625 | } | |
13626 | pub unsafe fn GetInverseScale(&self) -> f32 { | |
13627 | (::windows::core::Interface::vtable(self).GetInverseScale)(::windows::core::Interface::as_raw(self)) | |
13628 | } | |
13629 | pub unsafe fn AttachBuffersAndPrecompute(&self, pptempbuffers: &[::core::option::Option<ID3D11UnorderedAccessView>], ppprecomputebuffersizes: &[::core::option::Option<ID3D11UnorderedAccessView>]) -> ::windows::core::Result<()> { | |
13630 | (::windows::core::Interface::vtable(self).AttachBuffersAndPrecompute)(::windows::core::Interface::as_raw(self), pptempbuffers.len() as _, ::core::mem::transmute(pptempbuffers.as_ptr()), ppprecomputebuffersizes.len() as _, ::core::mem::transmute(ppprecomputebuffersizes.as_ptr())).ok() | |
13631 | } | |
13632 | pub unsafe fn ForwardTransform<P0>(&self, pinputbuffer: P0, ppoutputbuffer: *mut ::core::option::Option<ID3D11UnorderedAccessView>) -> ::windows::core::Result<()> | |
13633 | where | |
13634 | P0: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
13635 | { | |
13636 | (::windows::core::Interface::vtable(self).ForwardTransform)(::windows::core::Interface::as_raw(self), pinputbuffer.into_param().abi(), ::core::mem::transmute(ppoutputbuffer)).ok() | |
13637 | } | |
13638 | pub unsafe fn InverseTransform<P0>(&self, pinputbuffer: P0, ppoutputbuffer: *mut ::core::option::Option<ID3D11UnorderedAccessView>) -> ::windows::core::Result<()> | |
13639 | where | |
13640 | P0: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
13641 | { | |
13642 | (::windows::core::Interface::vtable(self).InverseTransform)(::windows::core::Interface::as_raw(self), pinputbuffer.into_param().abi(), ::core::mem::transmute(ppoutputbuffer)).ok() | |
13643 | } | |
13644 | } | |
13645 | ::windows::imp::interface_hierarchy!(ID3DX11FFT, ::windows::core::IUnknown); | |
13646 | impl ::core::cmp::PartialEq for ID3DX11FFT { | |
13647 | fn eq(&self, other: &Self) -> bool { | |
13648 | self.0 == other.0 | |
13649 | } | |
13650 | } | |
13651 | impl ::core::cmp::Eq for ID3DX11FFT {} | |
13652 | impl ::core::fmt::Debug for ID3DX11FFT { | |
13653 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
13654 | f.debug_tuple("ID3DX11FFT").field(&self.0).finish() | |
13655 | } | |
13656 | } | |
13657 | unsafe impl ::core::marker::Send for ID3DX11FFT {} | |
13658 | unsafe impl ::core::marker::Sync for ID3DX11FFT {} | |
13659 | unsafe impl ::windows::core::Interface for ID3DX11FFT { | |
13660 | type Vtable = ID3DX11FFT_Vtbl; | |
13661 | } | |
13662 | impl ::core::clone::Clone for ID3DX11FFT { | |
13663 | fn clone(&self) -> Self { | |
13664 | Self(self.0.clone()) | |
13665 | } | |
13666 | } | |
13667 | unsafe impl ::windows::core::ComInterface for ID3DX11FFT { | |
13668 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb3f7a938_4c93_4310_a675_b30d6de50553); | |
13669 | } | |
13670 | #[repr(C)] | |
13671 | #[doc(hidden)] | |
13672 | pub struct ID3DX11FFT_Vtbl { | |
13673 | pub base__: ::windows::core::IUnknown_Vtbl, | |
13674 | pub SetForwardScale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, forwardscale: f32) -> ::windows::core::HRESULT, | |
13675 | pub GetForwardScale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> f32, | |
13676 | pub SetInverseScale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, inversescale: f32) -> ::windows::core::HRESULT, | |
13677 | pub GetInverseScale: unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> f32, | |
13678 | pub AttachBuffersAndPrecompute: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, numtempbuffers: u32, pptempbuffers: *const *mut ::core::ffi::c_void, numprecomputebuffers: u32, ppprecomputebuffersizes: *const *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13679 | pub ForwardTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinputbuffer: *mut ::core::ffi::c_void, ppoutputbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13680 | pub InverseTransform: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, pinputbuffer: *mut ::core::ffi::c_void, ppoutputbuffer: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13681 | } | |
13682 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13683 | #[repr(transparent)] | |
13684 | pub struct ID3DX11Scan(::windows::core::IUnknown); | |
13685 | impl ID3DX11Scan { | |
13686 | pub unsafe fn SetScanDirection(&self, direction: D3DX11_SCAN_DIRECTION) -> ::windows::core::Result<()> { | |
13687 | (::windows::core::Interface::vtable(self).SetScanDirection)(::windows::core::Interface::as_raw(self), direction).ok() | |
13688 | } | |
13689 | pub unsafe fn Scan<P0, P1>(&self, elementtype: D3DX11_SCAN_DATA_TYPE, opcode: D3DX11_SCAN_OPCODE, elementscansize: u32, psrc: P0, pdst: P1) -> ::windows::core::Result<()> | |
13690 | where | |
13691 | P0: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
13692 | P1: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
13693 | { | |
13694 | (::windows::core::Interface::vtable(self).Scan)(::windows::core::Interface::as_raw(self), elementtype, opcode, elementscansize, psrc.into_param().abi(), pdst.into_param().abi()).ok() | |
13695 | } | |
13696 | pub unsafe fn Multiscan<P0, P1>(&self, elementtype: D3DX11_SCAN_DATA_TYPE, opcode: D3DX11_SCAN_OPCODE, elementscansize: u32, elementscanpitch: u32, scancount: u32, psrc: P0, pdst: P1) -> ::windows::core::Result<()> | |
13697 | where | |
13698 | P0: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
13699 | P1: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
13700 | { | |
13701 | (::windows::core::Interface::vtable(self).Multiscan)(::windows::core::Interface::as_raw(self), elementtype, opcode, elementscansize, elementscanpitch, scancount, psrc.into_param().abi(), pdst.into_param().abi()).ok() | |
13702 | } | |
13703 | } | |
13704 | ::windows::imp::interface_hierarchy!(ID3DX11Scan, ::windows::core::IUnknown); | |
13705 | impl ::core::cmp::PartialEq for ID3DX11Scan { | |
13706 | fn eq(&self, other: &Self) -> bool { | |
13707 | self.0 == other.0 | |
13708 | } | |
13709 | } | |
13710 | impl ::core::cmp::Eq for ID3DX11Scan {} | |
13711 | impl ::core::fmt::Debug for ID3DX11Scan { | |
13712 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
13713 | f.debug_tuple("ID3DX11Scan").field(&self.0).finish() | |
13714 | } | |
13715 | } | |
13716 | unsafe impl ::core::marker::Send for ID3DX11Scan {} | |
13717 | unsafe impl ::core::marker::Sync for ID3DX11Scan {} | |
13718 | unsafe impl ::windows::core::Interface for ID3DX11Scan { | |
13719 | type Vtable = ID3DX11Scan_Vtbl; | |
13720 | } | |
13721 | impl ::core::clone::Clone for ID3DX11Scan { | |
13722 | fn clone(&self) -> Self { | |
13723 | Self(self.0.clone()) | |
13724 | } | |
13725 | } | |
13726 | unsafe impl ::windows::core::ComInterface for ID3DX11Scan { | |
13727 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x5089b68f_e71d_4d38_be8e_f363b95a9405); | |
13728 | } | |
13729 | #[repr(C)] | |
13730 | #[doc(hidden)] | |
13731 | pub struct ID3DX11Scan_Vtbl { | |
13732 | pub base__: ::windows::core::IUnknown_Vtbl, | |
13733 | pub SetScanDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, direction: D3DX11_SCAN_DIRECTION) -> ::windows::core::HRESULT, | |
13734 | pub Scan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, elementtype: D3DX11_SCAN_DATA_TYPE, opcode: D3DX11_SCAN_OPCODE, elementscansize: u32, psrc: *mut ::core::ffi::c_void, pdst: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13735 | pub Multiscan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, elementtype: D3DX11_SCAN_DATA_TYPE, opcode: D3DX11_SCAN_OPCODE, elementscansize: u32, elementscanpitch: u32, scancount: u32, psrc: *mut ::core::ffi::c_void, pdst: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13736 | } | |
13737 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13738 | #[repr(transparent)] | |
13739 | pub struct ID3DX11SegmentedScan(::windows::core::IUnknown); | |
13740 | impl ID3DX11SegmentedScan { | |
13741 | pub unsafe fn SetScanDirection(&self, direction: D3DX11_SCAN_DIRECTION) -> ::windows::core::Result<()> { | |
13742 | (::windows::core::Interface::vtable(self).SetScanDirection)(::windows::core::Interface::as_raw(self), direction).ok() | |
13743 | } | |
13744 | pub unsafe fn SegScan<P0, P1, P2>(&self, elementtype: D3DX11_SCAN_DATA_TYPE, opcode: D3DX11_SCAN_OPCODE, elementscansize: u32, psrc: P0, psrcelementflags: P1, pdst: P2) -> ::windows::core::Result<()> | |
13745 | where | |
13746 | P0: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
13747 | P1: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
13748 | P2: ::windows::core::IntoParam<ID3D11UnorderedAccessView>, | |
13749 | { | |
13750 | (::windows::core::Interface::vtable(self).SegScan)(::windows::core::Interface::as_raw(self), elementtype, opcode, elementscansize, psrc.into_param().abi(), psrcelementflags.into_param().abi(), pdst.into_param().abi()).ok() | |
13751 | } | |
13752 | } | |
13753 | ::windows::imp::interface_hierarchy!(ID3DX11SegmentedScan, ::windows::core::IUnknown); | |
13754 | impl ::core::cmp::PartialEq for ID3DX11SegmentedScan { | |
13755 | fn eq(&self, other: &Self) -> bool { | |
13756 | self.0 == other.0 | |
13757 | } | |
13758 | } | |
13759 | impl ::core::cmp::Eq for ID3DX11SegmentedScan {} | |
13760 | impl ::core::fmt::Debug for ID3DX11SegmentedScan { | |
13761 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
13762 | f.debug_tuple("ID3DX11SegmentedScan").field(&self.0).finish() | |
13763 | } | |
13764 | } | |
13765 | unsafe impl ::core::marker::Send for ID3DX11SegmentedScan {} | |
13766 | unsafe impl ::core::marker::Sync for ID3DX11SegmentedScan {} | |
13767 | unsafe impl ::windows::core::Interface for ID3DX11SegmentedScan { | |
13768 | type Vtable = ID3DX11SegmentedScan_Vtbl; | |
13769 | } | |
13770 | impl ::core::clone::Clone for ID3DX11SegmentedScan { | |
13771 | fn clone(&self) -> Self { | |
13772 | Self(self.0.clone()) | |
13773 | } | |
13774 | } | |
13775 | unsafe impl ::windows::core::ComInterface for ID3DX11SegmentedScan { | |
13776 | const IID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa915128c_d954_4c79_bfe1_64db923194d6); | |
13777 | } | |
13778 | #[repr(C)] | |
13779 | #[doc(hidden)] | |
13780 | pub struct ID3DX11SegmentedScan_Vtbl { | |
13781 | pub base__: ::windows::core::IUnknown_Vtbl, | |
13782 | pub SetScanDirection: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, direction: D3DX11_SCAN_DIRECTION) -> ::windows::core::HRESULT, | |
13783 | pub SegScan: unsafe extern "system" fn(this: *mut ::core::ffi::c_void, elementtype: D3DX11_SCAN_DATA_TYPE, opcode: D3DX11_SCAN_OPCODE, elementscansize: u32, psrc: *mut ::core::ffi::c_void, psrcelementflags: *mut ::core::ffi::c_void, pdst: *mut ::core::ffi::c_void) -> ::windows::core::HRESULT, | |
13784 | } | |
13785 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13786 | pub const D3D11_16BIT_INDEX_STRIP_CUT_VALUE: u32 = 65535u32; | |
13787 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13788 | pub const D3D11_1_UAV_SLOT_COUNT: u32 = 64u32; | |
13789 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13790 | pub const D3D11_2_TILED_RESOURCE_TILE_SIZE_IN_BYTES: u32 = 65536u32; | |
13791 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13792 | pub const D3D11_32BIT_INDEX_STRIP_CUT_VALUE: u32 = 4294967295u32; | |
13793 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13794 | pub const D3D11_4_VIDEO_DECODER_HISTOGRAM_OFFSET_ALIGNMENT: u32 = 256u32; | |
13795 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13796 | pub const D3D11_4_VIDEO_DECODER_MAX_HISTOGRAM_COMPONENTS: u32 = 4u32; | |
13797 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13798 | pub const D3D11_8BIT_INDEX_STRIP_CUT_VALUE: u32 = 255u32; | |
13799 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13800 | pub const D3D11_ANISOTROPIC_FILTERING_BIT: u32 = 64u32; | |
13801 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13802 | pub const D3D11_APPEND_ALIGNED_ELEMENT: u32 = 4294967295u32; | |
13803 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13804 | pub const D3D11_APPNAME_STRING: ::windows::core::PCWSTR = ::windows::w!("Name"); | |
13805 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13806 | pub const D3D11_APPSIZE_STRING: ::windows::core::PCWSTR = ::windows::w!("Size"); | |
13807 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13808 | pub const D3D11_ARRAY_AXIS_ADDRESS_RANGE_BIT_COUNT: u32 = 9u32; | |
13809 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13810 | pub const D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6346cc54_2cfc_4ad4_8224_d15837de7700); | |
13811 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13812 | pub const D3D11_AUTHENTICATED_CONFIGURE_ENCRYPTION_WHEN_ACCESSIBLE: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x41fff286_6ae0_4d43_9d55_a46e9efd158a); | |
13813 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13814 | pub const D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x06114bdb_3523_470a_8dca_fbc2845154f0); | |
13815 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13816 | pub const D3D11_AUTHENTICATED_CONFIGURE_PROTECTION: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x50455658_3f47_4362_bf99_bfdfcde9ed29); | |
13817 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13818 | pub const D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x0772d047_1b40_48e8_9ca6_b5f510de9f01); | |
13819 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13820 | pub const D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ATTRIBUTES: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6214d9d2_432c_4abb_9fce_216eea269e3b); | |
13821 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13822 | pub const D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xbc1b18a5_b1fb_42ab_bd94_b5828b4bf7be); | |
13823 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13824 | pub const D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x2634499e_d018_4d74_ac17_7f724059528d); | |
13825 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13826 | pub const D3D11_AUTHENTICATED_QUERY_CURRENT_ENCRYPTION_WHEN_ACCESSIBLE: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xec1791c7_dad3_4f15_9ec3_faa93d60d4f0); | |
13827 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13828 | pub const D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xec1c539d_8cff_4e2a_bcc4_f5692f99f480); | |
13829 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13830 | pub const D3D11_AUTHENTICATED_QUERY_ENCRYPTION_WHEN_ACCESSIBLE_GUID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xf83a5958_e986_4bda_beb0_411f6a7a01b7); | |
13831 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13832 | pub const D3D11_AUTHENTICATED_QUERY_ENCRYPTION_WHEN_ACCESSIBLE_GUID_COUNT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb30f7066_203c_4b07_93fc_ceaafd61241e); | |
13833 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13834 | pub const D3D11_AUTHENTICATED_QUERY_OUTPUT_ID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x839ddca3_9b4e_41e4_b053_892bd2a11ee7); | |
13835 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13836 | pub const D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x2c042b5e_8c07_46d5_aabe_8f75cbad4c31); | |
13837 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13838 | pub const D3D11_AUTHENTICATED_QUERY_PROTECTION: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa84eb584_c495_48aa_b94d_8bd2d6fbce05); | |
13839 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13840 | pub const D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x649bbadb_f0f4_4639_a15b_24393fc3abac); | |
13841 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13842 | pub const D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x0db207b3_9450_46a6_82de_1b96d44f9cf2); | |
13843 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13844 | pub const D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x012f0bd6_e662_4474_befd_aa53e5143c6d); | |
13845 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13846 | pub const D3D11_BREAKON_CATEGORY: ::windows::core::PCWSTR = ::windows::w!("BreakOn_CATEGORY_%s"); | |
13847 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13848 | pub const D3D11_BREAKON_ID_DECIMAL: ::windows::core::PCWSTR = ::windows::w!("BreakOn_ID_%d"); | |
13849 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13850 | pub const D3D11_BREAKON_ID_STRING: ::windows::core::PCWSTR = ::windows::w!("BreakOn_ID_%s"); | |
13851 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13852 | pub const D3D11_BREAKON_SEVERITY: ::windows::core::PCWSTR = ::windows::w!("BreakOn_SEVERITY_%s"); | |
13853 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13854 | pub const D3D11_CLIP_OR_CULL_DISTANCE_COUNT: u32 = 8u32; | |
13855 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13856 | pub const D3D11_CLIP_OR_CULL_DISTANCE_ELEMENT_COUNT: u32 = 2u32; | |
13857 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13858 | pub const D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT: u32 = 14u32; | |
13859 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13860 | pub const D3D11_COMMONSHADER_CONSTANT_BUFFER_COMPONENTS: u32 = 4u32; | |
13861 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13862 | pub const D3D11_COMMONSHADER_CONSTANT_BUFFER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
13863 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13864 | pub const D3D11_COMMONSHADER_CONSTANT_BUFFER_HW_SLOT_COUNT: u32 = 15u32; | |
13865 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13866 | pub const D3D11_COMMONSHADER_CONSTANT_BUFFER_PARTIAL_UPDATE_EXTENTS_BYTE_ALIGNMENT: u32 = 16u32; | |
13867 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13868 | pub const D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COMPONENTS: u32 = 4u32; | |
13869 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13870 | pub const D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COUNT: u32 = 15u32; | |
13871 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13872 | pub const D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READS_PER_INST: u32 = 1u32; | |
13873 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13874 | pub const D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READ_PORTS: u32 = 1u32; | |
13875 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13876 | pub const D3D11_COMMONSHADER_FLOWCONTROL_NESTING_LIMIT: u32 = 64u32; | |
13877 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13878 | pub const D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COMPONENTS: u32 = 4u32; | |
13879 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13880 | pub const D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COUNT: u32 = 1u32; | |
13881 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13882 | pub const D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READS_PER_INST: u32 = 1u32; | |
13883 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13884 | pub const D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READ_PORTS: u32 = 1u32; | |
13885 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13886 | pub const D3D11_COMMONSHADER_IMMEDIATE_VALUE_COMPONENT_BIT_COUNT: u32 = 32u32; | |
13887 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13888 | pub const D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_COMPONENTS: u32 = 1u32; | |
13889 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13890 | pub const D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_COUNT: u32 = 128u32; | |
13891 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13892 | pub const D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_READS_PER_INST: u32 = 1u32; | |
13893 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13894 | pub const D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_READ_PORTS: u32 = 1u32; | |
13895 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13896 | pub const D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT: u32 = 128u32; | |
13897 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13898 | pub const D3D11_COMMONSHADER_SAMPLER_REGISTER_COMPONENTS: u32 = 1u32; | |
13899 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13900 | pub const D3D11_COMMONSHADER_SAMPLER_REGISTER_COUNT: u32 = 16u32; | |
13901 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13902 | pub const D3D11_COMMONSHADER_SAMPLER_REGISTER_READS_PER_INST: u32 = 1u32; | |
13903 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13904 | pub const D3D11_COMMONSHADER_SAMPLER_REGISTER_READ_PORTS: u32 = 1u32; | |
13905 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13906 | pub const D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT: u32 = 16u32; | |
13907 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13908 | pub const D3D11_COMMONSHADER_SUBROUTINE_NESTING_LIMIT: u32 = 32u32; | |
13909 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13910 | pub const D3D11_COMMONSHADER_TEMP_REGISTER_COMPONENTS: u32 = 4u32; | |
13911 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13912 | pub const D3D11_COMMONSHADER_TEMP_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
13913 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13914 | pub const D3D11_COMMONSHADER_TEMP_REGISTER_COUNT: u32 = 4096u32; | |
13915 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13916 | pub const D3D11_COMMONSHADER_TEMP_REGISTER_READS_PER_INST: u32 = 3u32; | |
13917 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13918 | pub const D3D11_COMMONSHADER_TEMP_REGISTER_READ_PORTS: u32 = 3u32; | |
13919 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13920 | pub const D3D11_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MAX: u32 = 10u32; | |
13921 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13922 | pub const D3D11_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MIN: i32 = -10i32; | |
13923 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13924 | pub const D3D11_COMMONSHADER_TEXEL_OFFSET_MAX_NEGATIVE: i32 = -8i32; | |
13925 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13926 | pub const D3D11_COMMONSHADER_TEXEL_OFFSET_MAX_POSITIVE: u32 = 7u32; | |
13927 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13928 | pub const D3D11_COMPARISON_FILTERING_BIT: u32 = 128u32; | |
13929 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13930 | pub const D3D11_CRYPTO_TYPE_AES128_CTR: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x9b6bd711_4f74_41c9_9e7b_0be2d7d93b4f); | |
13931 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13932 | pub const D3D11_CS_4_X_BUCKET00_MAX_BYTES_TGSM_WRITABLE_PER_THREAD: u32 = 256u32; | |
13933 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13934 | pub const D3D11_CS_4_X_BUCKET00_MAX_NUM_THREADS_PER_GROUP: u32 = 64u32; | |
13935 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13936 | pub const D3D11_CS_4_X_BUCKET01_MAX_BYTES_TGSM_WRITABLE_PER_THREAD: u32 = 240u32; | |
13937 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13938 | pub const D3D11_CS_4_X_BUCKET01_MAX_NUM_THREADS_PER_GROUP: u32 = 68u32; | |
13939 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13940 | pub const D3D11_CS_4_X_BUCKET02_MAX_BYTES_TGSM_WRITABLE_PER_THREAD: u32 = 224u32; | |
13941 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13942 | pub const D3D11_CS_4_X_BUCKET02_MAX_NUM_THREADS_PER_GROUP: u32 = 72u32; | |
13943 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13944 | pub const D3D11_CS_4_X_BUCKET03_MAX_BYTES_TGSM_WRITABLE_PER_THREAD: u32 = 208u32; | |
13945 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13946 | pub const D3D11_CS_4_X_BUCKET03_MAX_NUM_THREADS_PER_GROUP: u32 = 76u32; | |
13947 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13948 | pub const D3D11_CS_4_X_BUCKET04_MAX_BYTES_TGSM_WRITABLE_PER_THREAD: u32 = 192u32; | |
13949 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13950 | pub const D3D11_CS_4_X_BUCKET04_MAX_NUM_THREADS_PER_GROUP: u32 = 84u32; | |
13951 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13952 | pub const D3D11_CS_4_X_BUCKET05_MAX_BYTES_TGSM_WRITABLE_PER_THREAD: u32 = 176u32; | |
13953 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13954 | pub const D3D11_CS_4_X_BUCKET05_MAX_NUM_THREADS_PER_GROUP: u32 = 92u32; | |
13955 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13956 | pub const D3D11_CS_4_X_BUCKET06_MAX_BYTES_TGSM_WRITABLE_PER_THREAD: u32 = 160u32; | |
13957 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13958 | pub const D3D11_CS_4_X_BUCKET06_MAX_NUM_THREADS_PER_GROUP: u32 = 100u32; | |
13959 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13960 | pub const D3D11_CS_4_X_BUCKET07_MAX_BYTES_TGSM_WRITABLE_PER_THREAD: u32 = 144u32; | |
13961 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13962 | pub const D3D11_CS_4_X_BUCKET07_MAX_NUM_THREADS_PER_GROUP: u32 = 112u32; | |
13963 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13964 | pub const D3D11_CS_4_X_BUCKET08_MAX_BYTES_TGSM_WRITABLE_PER_THREAD: u32 = 128u32; | |
13965 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13966 | pub const D3D11_CS_4_X_BUCKET08_MAX_NUM_THREADS_PER_GROUP: u32 = 128u32; | |
13967 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13968 | pub const D3D11_CS_4_X_BUCKET09_MAX_BYTES_TGSM_WRITABLE_PER_THREAD: u32 = 112u32; | |
13969 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13970 | pub const D3D11_CS_4_X_BUCKET09_MAX_NUM_THREADS_PER_GROUP: u32 = 144u32; | |
13971 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13972 | pub const D3D11_CS_4_X_BUCKET10_MAX_BYTES_TGSM_WRITABLE_PER_THREAD: u32 = 96u32; | |
13973 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13974 | pub const D3D11_CS_4_X_BUCKET10_MAX_NUM_THREADS_PER_GROUP: u32 = 168u32; | |
13975 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13976 | pub const D3D11_CS_4_X_BUCKET11_MAX_BYTES_TGSM_WRITABLE_PER_THREAD: u32 = 80u32; | |
13977 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13978 | pub const D3D11_CS_4_X_BUCKET11_MAX_NUM_THREADS_PER_GROUP: u32 = 204u32; | |
13979 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13980 | pub const D3D11_CS_4_X_BUCKET12_MAX_BYTES_TGSM_WRITABLE_PER_THREAD: u32 = 64u32; | |
13981 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13982 | pub const D3D11_CS_4_X_BUCKET12_MAX_NUM_THREADS_PER_GROUP: u32 = 256u32; | |
13983 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13984 | pub const D3D11_CS_4_X_BUCKET13_MAX_BYTES_TGSM_WRITABLE_PER_THREAD: u32 = 48u32; | |
13985 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13986 | pub const D3D11_CS_4_X_BUCKET13_MAX_NUM_THREADS_PER_GROUP: u32 = 340u32; | |
13987 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13988 | pub const D3D11_CS_4_X_BUCKET14_MAX_BYTES_TGSM_WRITABLE_PER_THREAD: u32 = 32u32; | |
13989 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13990 | pub const D3D11_CS_4_X_BUCKET14_MAX_NUM_THREADS_PER_GROUP: u32 = 512u32; | |
13991 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13992 | pub const D3D11_CS_4_X_BUCKET15_MAX_BYTES_TGSM_WRITABLE_PER_THREAD: u32 = 16u32; | |
13993 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13994 | pub const D3D11_CS_4_X_BUCKET15_MAX_NUM_THREADS_PER_GROUP: u32 = 768u32; | |
13995 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13996 | pub const D3D11_CS_4_X_DISPATCH_MAX_THREAD_GROUPS_IN_Z_DIMENSION: u32 = 1u32; | |
13997 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
13998 | pub const D3D11_CS_4_X_RAW_UAV_BYTE_ALIGNMENT: u32 = 256u32; | |
13999 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14000 | pub const D3D11_CS_4_X_THREAD_GROUP_MAX_THREADS_PER_GROUP: u32 = 768u32; | |
14001 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14002 | pub const D3D11_CS_4_X_THREAD_GROUP_MAX_X: u32 = 768u32; | |
14003 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14004 | pub const D3D11_CS_4_X_THREAD_GROUP_MAX_Y: u32 = 768u32; | |
14005 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14006 | pub const D3D11_CS_4_X_UAV_REGISTER_COUNT: u32 = 1u32; | |
14007 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14008 | pub const D3D11_CS_DISPATCH_MAX_THREAD_GROUPS_PER_DIMENSION: u32 = 65535u32; | |
14009 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14010 | pub const D3D11_CS_TGSM_REGISTER_COUNT: u32 = 8192u32; | |
14011 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14012 | pub const D3D11_CS_TGSM_REGISTER_READS_PER_INST: u32 = 1u32; | |
14013 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14014 | pub const D3D11_CS_TGSM_RESOURCE_REGISTER_COMPONENTS: u32 = 1u32; | |
14015 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14016 | pub const D3D11_CS_TGSM_RESOURCE_REGISTER_READ_PORTS: u32 = 1u32; | |
14017 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14018 | pub const D3D11_CS_THREADGROUPID_REGISTER_COMPONENTS: u32 = 3u32; | |
14019 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14020 | pub const D3D11_CS_THREADGROUPID_REGISTER_COUNT: u32 = 1u32; | |
14021 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14022 | pub const D3D11_CS_THREADIDINGROUPFLATTENED_REGISTER_COMPONENTS: u32 = 1u32; | |
14023 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14024 | pub const D3D11_CS_THREADIDINGROUPFLATTENED_REGISTER_COUNT: u32 = 1u32; | |
14025 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14026 | pub const D3D11_CS_THREADIDINGROUP_REGISTER_COMPONENTS: u32 = 3u32; | |
14027 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14028 | pub const D3D11_CS_THREADIDINGROUP_REGISTER_COUNT: u32 = 1u32; | |
14029 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14030 | pub const D3D11_CS_THREADID_REGISTER_COMPONENTS: u32 = 3u32; | |
14031 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14032 | pub const D3D11_CS_THREADID_REGISTER_COUNT: u32 = 1u32; | |
14033 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14034 | pub const D3D11_CS_THREAD_GROUP_MAX_THREADS_PER_GROUP: u32 = 1024u32; | |
14035 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14036 | pub const D3D11_CS_THREAD_GROUP_MAX_X: u32 = 1024u32; | |
14037 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14038 | pub const D3D11_CS_THREAD_GROUP_MAX_Y: u32 = 1024u32; | |
14039 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14040 | pub const D3D11_CS_THREAD_GROUP_MAX_Z: u32 = 64u32; | |
14041 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14042 | pub const D3D11_CS_THREAD_GROUP_MIN_X: u32 = 1u32; | |
14043 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14044 | pub const D3D11_CS_THREAD_GROUP_MIN_Y: u32 = 1u32; | |
14045 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14046 | pub const D3D11_CS_THREAD_GROUP_MIN_Z: u32 = 1u32; | |
14047 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14048 | pub const D3D11_CS_THREAD_LOCAL_TEMP_REGISTER_POOL: u32 = 16384u32; | |
14049 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14050 | pub const D3D11_DEBUG_FEATURE_ALWAYS_DISCARD_OFFERED_RESOURCE: u32 = 8u32; | |
14051 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14052 | pub const D3D11_DEBUG_FEATURE_AVOID_BEHAVIOR_CHANGING_DEBUG_AIDS: u32 = 64u32; | |
14053 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14054 | pub const D3D11_DEBUG_FEATURE_DISABLE_TILED_RESOURCE_MAPPING_TRACKING_AND_VALIDATION: u32 = 128u32; | |
14055 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14056 | pub const D3D11_DEBUG_FEATURE_FINISH_PER_RENDER_OP: u32 = 2u32; | |
14057 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14058 | pub const D3D11_DEBUG_FEATURE_FLUSH_PER_RENDER_OP: u32 = 1u32; | |
14059 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14060 | pub const D3D11_DEBUG_FEATURE_NEVER_DISCARD_OFFERED_RESOURCE: u32 = 16u32; | |
14061 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14062 | pub const D3D11_DEBUG_FEATURE_PRESENT_PER_RENDER_OP: u32 = 4u32; | |
14063 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14064 | pub const D3D11_DECODER_BITSTREAM_ENCRYPTION_TYPE_CBCS: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x422d9319_9d21_4bb7_9371_faf5a82c3e04); | |
14065 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14066 | pub const D3D11_DECODER_BITSTREAM_ENCRYPTION_TYPE_CENC: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb0405235_c13d_44f2_9ae5_dd48e08e5b67); | |
14067 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14068 | pub const D3D11_DECODER_ENCRYPTION_HW_CENC: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x89d6ac4f_09f2_4229_b2cd_37740a6dfd81); | |
14069 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14070 | pub const D3D11_DECODER_PROFILE_AV1_VLD_12BIT_PROFILE2: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x17127009_a00f_4ce1_994e_bf4081f6f3f0); | |
14071 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14072 | pub const D3D11_DECODER_PROFILE_AV1_VLD_12BIT_PROFILE2_420: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x2d80bed6_9cac_4835_9e91_327bbc4f9ee8); | |
14073 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14074 | pub const D3D11_DECODER_PROFILE_AV1_VLD_PROFILE0: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb8be4ccb_cf53_46ba_8d59_d6b8a6da5d2a); | |
14075 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14076 | pub const D3D11_DECODER_PROFILE_AV1_VLD_PROFILE1: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6936ff0f_45b1_4163_9cc1_646ef6946108); | |
14077 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14078 | pub const D3D11_DECODER_PROFILE_AV1_VLD_PROFILE2: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x0c5f2aa1_e541_4089_bb7b_98110a19d7c8); | |
14079 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14080 | pub const D3D11_DECODER_PROFILE_H264_IDCT_FGT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1b81be67_a0c7_11d3_b984_00c04f2e73c5); | |
14081 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14082 | pub const D3D11_DECODER_PROFILE_H264_IDCT_NOFGT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1b81be66_a0c7_11d3_b984_00c04f2e73c5); | |
14083 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14084 | pub const D3D11_DECODER_PROFILE_H264_MOCOMP_FGT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1b81be65_a0c7_11d3_b984_00c04f2e73c5); | |
14085 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14086 | pub const D3D11_DECODER_PROFILE_H264_MOCOMP_NOFGT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1b81be64_a0c7_11d3_b984_00c04f2e73c5); | |
14087 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14088 | pub const D3D11_DECODER_PROFILE_H264_VLD_FGT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1b81be69_a0c7_11d3_b984_00c04f2e73c5); | |
14089 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14090 | pub const D3D11_DECODER_PROFILE_H264_VLD_MULTIVIEW_NOFGT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x705b9d82_76cf_49d6_b7e6_ac8872db013c); | |
14091 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14092 | pub const D3D11_DECODER_PROFILE_H264_VLD_NOFGT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1b81be68_a0c7_11d3_b984_00c04f2e73c5); | |
14093 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14094 | pub const D3D11_DECODER_PROFILE_H264_VLD_STEREO_NOFGT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xf9aaccbb_c2b6_4cfc_8779_5707b1760552); | |
14095 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14096 | pub const D3D11_DECODER_PROFILE_H264_VLD_STEREO_PROGRESSIVE_NOFGT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd79be8da_0cf1_4c81_b82a_69a4e236f43d); | |
14097 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14098 | pub const D3D11_DECODER_PROFILE_H264_VLD_WITHFMOASO_NOFGT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd5f04ff9_3418_45d8_9561_32a76aae2ddd); | |
14099 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14100 | pub const D3D11_DECODER_PROFILE_HEVC_VLD_MAIN: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x5b11d51b_2f4c_4452_bcc3_09f2a1160cc0); | |
14101 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14102 | pub const D3D11_DECODER_PROFILE_HEVC_VLD_MAIN10: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x107af0e0_ef1a_4d19_aba8_67a163073d13); | |
14103 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14104 | pub const D3D11_DECODER_PROFILE_MPEG1_VLD: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6f3ec719_3735_42cc_8063_65cc3cb36616); | |
14105 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14106 | pub const D3D11_DECODER_PROFILE_MPEG2_IDCT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xbf22ad00_03ea_4690_8077_473346209b7e); | |
14107 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14108 | pub const D3D11_DECODER_PROFILE_MPEG2_MOCOMP: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xe6a9f44b_61b0_4563_9ea4_63d2a3c6fe66); | |
14109 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14110 | pub const D3D11_DECODER_PROFILE_MPEG2_VLD: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xee27417f_5e28_4e65_beea_1d26b508adc9); | |
14111 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14112 | pub const D3D11_DECODER_PROFILE_MPEG2and1_VLD: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x86695f12_340e_4f04_9fd3_9253dd327460); | |
14113 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14114 | pub const D3D11_DECODER_PROFILE_MPEG4PT2_VLD_ADVSIMPLE_GMC: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xab998b5b_4258_44a9_9feb_94e597a6baae); | |
14115 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14116 | pub const D3D11_DECODER_PROFILE_MPEG4PT2_VLD_ADVSIMPLE_NOGMC: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xed418a9f_010d_4eda_9ae3_9a65358d8d2e); | |
14117 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14118 | pub const D3D11_DECODER_PROFILE_MPEG4PT2_VLD_SIMPLE: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xefd64d74_c9e8_41d7_a5e9_e9b0e39fa319); | |
14119 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14120 | pub const D3D11_DECODER_PROFILE_VC1_D2010: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1b81bea4_a0c7_11d3_b984_00c04f2e73c5); | |
14121 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14122 | pub const D3D11_DECODER_PROFILE_VC1_IDCT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1b81bea2_a0c7_11d3_b984_00c04f2e73c5); | |
14123 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14124 | pub const D3D11_DECODER_PROFILE_VC1_MOCOMP: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1b81bea1_a0c7_11d3_b984_00c04f2e73c5); | |
14125 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14126 | pub const D3D11_DECODER_PROFILE_VC1_POSTPROC: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1b81bea0_a0c7_11d3_b984_00c04f2e73c5); | |
14127 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14128 | pub const D3D11_DECODER_PROFILE_VC1_VLD: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1b81bea3_a0c7_11d3_b984_00c04f2e73c5); | |
14129 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14130 | pub const D3D11_DECODER_PROFILE_VP8_VLD: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x90b899ea_3a62_4705_88b3_8df04b2744e7); | |
14131 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14132 | pub const D3D11_DECODER_PROFILE_VP9_VLD_10BIT_PROFILE2: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xa4c749ef_6ecf_48aa_8448_50a7a1165ff7); | |
14133 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14134 | pub const D3D11_DECODER_PROFILE_VP9_VLD_PROFILE0: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x463707f8_a1d0_4585_876d_83aa6d60b89e); | |
14135 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14136 | pub const D3D11_DECODER_PROFILE_WMV8_MOCOMP: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1b81be81_a0c7_11d3_b984_00c04f2e73c5); | |
14137 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14138 | pub const D3D11_DECODER_PROFILE_WMV8_POSTPROC: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1b81be80_a0c7_11d3_b984_00c04f2e73c5); | |
14139 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14140 | pub const D3D11_DECODER_PROFILE_WMV9_IDCT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1b81be94_a0c7_11d3_b984_00c04f2e73c5); | |
14141 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14142 | pub const D3D11_DECODER_PROFILE_WMV9_MOCOMP: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1b81be91_a0c7_11d3_b984_00c04f2e73c5); | |
14143 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14144 | pub const D3D11_DECODER_PROFILE_WMV9_POSTPROC: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x1b81be90_a0c7_11d3_b984_00c04f2e73c5); | |
14145 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14146 | pub const D3D11_DEFAULT_BLEND_FACTOR_ALPHA: f32 = 1f32; | |
14147 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14148 | pub const D3D11_DEFAULT_BLEND_FACTOR_BLUE: f32 = 1f32; | |
14149 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14150 | pub const D3D11_DEFAULT_BLEND_FACTOR_GREEN: f32 = 1f32; | |
14151 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14152 | pub const D3D11_DEFAULT_BLEND_FACTOR_RED: f32 = 1f32; | |
14153 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14154 | pub const D3D11_DEFAULT_BORDER_COLOR_COMPONENT: f32 = 0f32; | |
14155 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14156 | pub const D3D11_DEFAULT_DEPTH_BIAS: u32 = 0u32; | |
14157 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14158 | pub const D3D11_DEFAULT_DEPTH_BIAS_CLAMP: f32 = 0f32; | |
14159 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14160 | pub const D3D11_DEFAULT_MAX_ANISOTROPY: u32 = 16u32; | |
14161 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14162 | pub const D3D11_DEFAULT_MIP_LOD_BIAS: f32 = 0f32; | |
14163 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14164 | pub const D3D11_DEFAULT_RENDER_TARGET_ARRAY_INDEX: u32 = 0u32; | |
14165 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14166 | pub const D3D11_DEFAULT_SAMPLE_MASK: u32 = 4294967295u32; | |
14167 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14168 | pub const D3D11_DEFAULT_SCISSOR_ENDX: u32 = 0u32; | |
14169 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14170 | pub const D3D11_DEFAULT_SCISSOR_ENDY: u32 = 0u32; | |
14171 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14172 | pub const D3D11_DEFAULT_SCISSOR_STARTX: u32 = 0u32; | |
14173 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14174 | pub const D3D11_DEFAULT_SCISSOR_STARTY: u32 = 0u32; | |
14175 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14176 | pub const D3D11_DEFAULT_SLOPE_SCALED_DEPTH_BIAS: f32 = 0f32; | |
14177 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14178 | pub const D3D11_DEFAULT_STENCIL_READ_MASK: u32 = 255u32; | |
14179 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14180 | pub const D3D11_DEFAULT_STENCIL_REFERENCE: u32 = 0u32; | |
14181 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14182 | pub const D3D11_DEFAULT_STENCIL_WRITE_MASK: u32 = 255u32; | |
14183 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14184 | pub const D3D11_DEFAULT_VIEWPORT_AND_SCISSORRECT_INDEX: u32 = 0u32; | |
14185 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14186 | pub const D3D11_DEFAULT_VIEWPORT_HEIGHT: u32 = 0u32; | |
14187 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14188 | pub const D3D11_DEFAULT_VIEWPORT_MAX_DEPTH: f32 = 0f32; | |
14189 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14190 | pub const D3D11_DEFAULT_VIEWPORT_MIN_DEPTH: f32 = 0f32; | |
14191 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14192 | pub const D3D11_DEFAULT_VIEWPORT_TOPLEFTX: u32 = 0u32; | |
14193 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14194 | pub const D3D11_DEFAULT_VIEWPORT_TOPLEFTY: u32 = 0u32; | |
14195 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14196 | pub const D3D11_DEFAULT_VIEWPORT_WIDTH: u32 = 0u32; | |
14197 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14198 | pub const D3D11_DS_INPUT_CONTROL_POINTS_MAX_TOTAL_SCALARS: u32 = 3968u32; | |
14199 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14200 | pub const D3D11_DS_INPUT_CONTROL_POINT_REGISTER_COMPONENTS: u32 = 4u32; | |
14201 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14202 | pub const D3D11_DS_INPUT_CONTROL_POINT_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14203 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14204 | pub const D3D11_DS_INPUT_CONTROL_POINT_REGISTER_COUNT: u32 = 32u32; | |
14205 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14206 | pub const D3D11_DS_INPUT_CONTROL_POINT_REGISTER_READS_PER_INST: u32 = 2u32; | |
14207 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14208 | pub const D3D11_DS_INPUT_CONTROL_POINT_REGISTER_READ_PORTS: u32 = 1u32; | |
14209 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14210 | pub const D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_COMPONENTS: u32 = 3u32; | |
14211 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14212 | pub const D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14213 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14214 | pub const D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_COUNT: u32 = 1u32; | |
14215 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14216 | pub const D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_READS_PER_INST: u32 = 2u32; | |
14217 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14218 | pub const D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_READ_PORTS: u32 = 1u32; | |
14219 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14220 | pub const D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_COMPONENTS: u32 = 4u32; | |
14221 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14222 | pub const D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14223 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14224 | pub const D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_COUNT: u32 = 32u32; | |
14225 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14226 | pub const D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_READS_PER_INST: u32 = 2u32; | |
14227 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14228 | pub const D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_READ_PORTS: u32 = 1u32; | |
14229 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14230 | pub const D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENTS: u32 = 1u32; | |
14231 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14232 | pub const D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14233 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14234 | pub const D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_COUNT: u32 = 1u32; | |
14235 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14236 | pub const D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_READS_PER_INST: u32 = 2u32; | |
14237 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14238 | pub const D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_READ_PORTS: u32 = 1u32; | |
14239 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14240 | pub const D3D11_DS_OUTPUT_REGISTER_COMPONENTS: u32 = 4u32; | |
14241 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14242 | pub const D3D11_DS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14243 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14244 | pub const D3D11_DS_OUTPUT_REGISTER_COUNT: u32 = 32u32; | |
14245 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14246 | pub const D3D11_ENABLE_BREAK_ON_MESSAGE: ::windows::core::PCWSTR = ::windows::w!("EnableBreakOnMessage"); | |
14247 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14248 | pub const D3D11_FILTER_REDUCTION_TYPE_MASK: u32 = 3u32; | |
14249 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14250 | pub const D3D11_FILTER_REDUCTION_TYPE_SHIFT: u32 = 7u32; | |
14251 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14252 | pub const D3D11_FILTER_TYPE_MASK: u32 = 3u32; | |
14253 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14254 | pub const D3D11_FLOAT16_FUSED_TOLERANCE_IN_ULP: f64 = 0.6f64; | |
14255 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14256 | pub const D3D11_FLOAT32_MAX: f32 = 340282350000000000000000000000000000000f32; | |
14257 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14258 | pub const D3D11_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP: f32 = 0.6f32; | |
14259 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14260 | pub const D3D11_FLOAT_TO_SRGB_EXPONENT_DENOMINATOR: f32 = 2.4f32; | |
14261 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14262 | pub const D3D11_FLOAT_TO_SRGB_EXPONENT_NUMERATOR: f32 = 1f32; | |
14263 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14264 | pub const D3D11_FLOAT_TO_SRGB_OFFSET: f32 = 0.055f32; | |
14265 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14266 | pub const D3D11_FLOAT_TO_SRGB_SCALE_1: f32 = 12.92f32; | |
14267 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14268 | pub const D3D11_FLOAT_TO_SRGB_SCALE_2: f32 = 1.055f32; | |
14269 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14270 | pub const D3D11_FLOAT_TO_SRGB_THRESHOLD: f32 = 0.0031308f32; | |
14271 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14272 | pub const D3D11_FORCE_DEBUGGABLE: ::windows::core::PCWSTR = ::windows::w!("ForceDebuggable"); | |
14273 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14274 | pub const D3D11_FORCE_SHADER_SKIP_OPTIMIZATION: ::windows::core::PCWSTR = ::windows::w!("ForceShaderSkipOptimization"); | |
14275 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14276 | pub const D3D11_FTOI_INSTRUCTION_MAX_INPUT: f32 = 2147483600f32; | |
14277 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14278 | pub const D3D11_FTOI_INSTRUCTION_MIN_INPUT: f32 = -2147483600f32; | |
14279 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14280 | pub const D3D11_FTOU_INSTRUCTION_MAX_INPUT: f32 = 4294967300f32; | |
14281 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14282 | pub const D3D11_FTOU_INSTRUCTION_MIN_INPUT: f32 = 0f32; | |
14283 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14284 | pub const D3D11_GS_INPUT_INSTANCE_ID_READS_PER_INST: u32 = 2u32; | |
14285 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14286 | pub const D3D11_GS_INPUT_INSTANCE_ID_READ_PORTS: u32 = 1u32; | |
14287 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14288 | pub const D3D11_GS_INPUT_INSTANCE_ID_REGISTER_COMPONENTS: u32 = 1u32; | |
14289 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14290 | pub const D3D11_GS_INPUT_INSTANCE_ID_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14291 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14292 | pub const D3D11_GS_INPUT_INSTANCE_ID_REGISTER_COUNT: u32 = 1u32; | |
14293 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14294 | pub const D3D11_GS_INPUT_PRIM_CONST_REGISTER_COMPONENTS: u32 = 1u32; | |
14295 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14296 | pub const D3D11_GS_INPUT_PRIM_CONST_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14297 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14298 | pub const D3D11_GS_INPUT_PRIM_CONST_REGISTER_COUNT: u32 = 1u32; | |
14299 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14300 | pub const D3D11_GS_INPUT_PRIM_CONST_REGISTER_READS_PER_INST: u32 = 2u32; | |
14301 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14302 | pub const D3D11_GS_INPUT_PRIM_CONST_REGISTER_READ_PORTS: u32 = 1u32; | |
14303 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14304 | pub const D3D11_GS_INPUT_REGISTER_COMPONENTS: u32 = 4u32; | |
14305 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14306 | pub const D3D11_GS_INPUT_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14307 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14308 | pub const D3D11_GS_INPUT_REGISTER_COUNT: u32 = 32u32; | |
14309 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14310 | pub const D3D11_GS_INPUT_REGISTER_READS_PER_INST: u32 = 2u32; | |
14311 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14312 | pub const D3D11_GS_INPUT_REGISTER_READ_PORTS: u32 = 1u32; | |
14313 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14314 | pub const D3D11_GS_INPUT_REGISTER_VERTICES: u32 = 32u32; | |
14315 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14316 | pub const D3D11_GS_MAX_INSTANCE_COUNT: u32 = 32u32; | |
14317 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14318 | pub const D3D11_GS_MAX_OUTPUT_VERTEX_COUNT_ACROSS_INSTANCES: u32 = 1024u32; | |
14319 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14320 | pub const D3D11_GS_OUTPUT_ELEMENTS: u32 = 32u32; | |
14321 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14322 | pub const D3D11_GS_OUTPUT_REGISTER_COMPONENTS: u32 = 4u32; | |
14323 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14324 | pub const D3D11_GS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14325 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14326 | pub const D3D11_GS_OUTPUT_REGISTER_COUNT: u32 = 32u32; | |
14327 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14328 | pub const D3D11_HS_CONTROL_POINT_PHASE_INPUT_REGISTER_COUNT: u32 = 32u32; | |
14329 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14330 | pub const D3D11_HS_CONTROL_POINT_PHASE_OUTPUT_REGISTER_COUNT: u32 = 32u32; | |
14331 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14332 | pub const D3D11_HS_CONTROL_POINT_REGISTER_COMPONENTS: u32 = 4u32; | |
14333 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14334 | pub const D3D11_HS_CONTROL_POINT_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14335 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14336 | pub const D3D11_HS_CONTROL_POINT_REGISTER_READS_PER_INST: u32 = 2u32; | |
14337 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14338 | pub const D3D11_HS_CONTROL_POINT_REGISTER_READ_PORTS: u32 = 1u32; | |
14339 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14340 | pub const D3D11_HS_FORK_PHASE_INSTANCE_COUNT_UPPER_BOUND: u32 = 4294967295u32; | |
14341 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14342 | pub const D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_COMPONENTS: u32 = 1u32; | |
14343 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14344 | pub const D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14345 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14346 | pub const D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_COUNT: u32 = 1u32; | |
14347 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14348 | pub const D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_READS_PER_INST: u32 = 2u32; | |
14349 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14350 | pub const D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_READ_PORTS: u32 = 1u32; | |
14351 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14352 | pub const D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_COMPONENTS: u32 = 1u32; | |
14353 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14354 | pub const D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14355 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14356 | pub const D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_COUNT: u32 = 1u32; | |
14357 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14358 | pub const D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_READS_PER_INST: u32 = 2u32; | |
14359 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14360 | pub const D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_READ_PORTS: u32 = 1u32; | |
14361 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14362 | pub const D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENTS: u32 = 1u32; | |
14363 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14364 | pub const D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14365 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14366 | pub const D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_COUNT: u32 = 1u32; | |
14367 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14368 | pub const D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_READS_PER_INST: u32 = 2u32; | |
14369 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14370 | pub const D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_READ_PORTS: u32 = 1u32; | |
14371 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14372 | pub const D3D11_HS_JOIN_PHASE_INSTANCE_COUNT_UPPER_BOUND: u32 = 4294967295u32; | |
14373 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14374 | pub const D3D11_HS_MAXTESSFACTOR_LOWER_BOUND: f32 = 1f32; | |
14375 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14376 | pub const D3D11_HS_MAXTESSFACTOR_UPPER_BOUND: f32 = 64f32; | |
14377 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14378 | pub const D3D11_HS_OUTPUT_CONTROL_POINTS_MAX_TOTAL_SCALARS: u32 = 3968u32; | |
14379 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14380 | pub const D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_COMPONENTS: u32 = 1u32; | |
14381 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14382 | pub const D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14383 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14384 | pub const D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_COUNT: u32 = 1u32; | |
14385 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14386 | pub const D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_READS_PER_INST: u32 = 2u32; | |
14387 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14388 | pub const D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_READ_PORTS: u32 = 1u32; | |
14389 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14390 | pub const D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COMPONENTS: u32 = 4u32; | |
14391 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14392 | pub const D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14393 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14394 | pub const D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COUNT: u32 = 32u32; | |
14395 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14396 | pub const D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_READS_PER_INST: u32 = 2u32; | |
14397 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14398 | pub const D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_READ_PORTS: u32 = 1u32; | |
14399 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14400 | pub const D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_SCALAR_COMPONENTS: u32 = 128u32; | |
14401 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14402 | pub const D3D11_IA_DEFAULT_INDEX_BUFFER_OFFSET_IN_BYTES: u32 = 0u32; | |
14403 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14404 | pub const D3D11_IA_DEFAULT_PRIMITIVE_TOPOLOGY: u32 = 0u32; | |
14405 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14406 | pub const D3D11_IA_DEFAULT_VERTEX_BUFFER_OFFSET_IN_BYTES: u32 = 0u32; | |
14407 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14408 | pub const D3D11_IA_INDEX_INPUT_RESOURCE_SLOT_COUNT: u32 = 1u32; | |
14409 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14410 | pub const D3D11_IA_INSTANCE_ID_BIT_COUNT: u32 = 32u32; | |
14411 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14412 | pub const D3D11_IA_INTEGER_ARITHMETIC_BIT_COUNT: u32 = 32u32; | |
14413 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14414 | pub const D3D11_IA_PATCH_MAX_CONTROL_POINT_COUNT: u32 = 32u32; | |
14415 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14416 | pub const D3D11_IA_PRIMITIVE_ID_BIT_COUNT: u32 = 32u32; | |
14417 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14418 | pub const D3D11_IA_VERTEX_ID_BIT_COUNT: u32 = 32u32; | |
14419 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14420 | pub const D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT: u32 = 32u32; | |
14421 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14422 | pub const D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENTS_COMPONENTS: u32 = 128u32; | |
14423 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14424 | pub const D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT: u32 = 32u32; | |
14425 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14426 | pub const D3D11_INFOQUEUE_STORAGE_FILTER_OVERRIDE: ::windows::core::PCWSTR = ::windows::w!("InfoQueueStorageFilterOverride"); | |
14427 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14428 | pub const D3D11_INFO_QUEUE_DEFAULT_MESSAGE_COUNT_LIMIT: u32 = 1024u32; | |
14429 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14430 | pub const D3D11_INTEGER_DIVIDE_BY_ZERO_QUOTIENT: u32 = 4294967295u32; | |
14431 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14432 | pub const D3D11_INTEGER_DIVIDE_BY_ZERO_REMAINDER: u32 = 4294967295u32; | |
14433 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14434 | pub const D3D11_KEEP_RENDER_TARGETS_AND_DEPTH_STENCIL: u32 = 4294967295u32; | |
14435 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14436 | pub const D3D11_KEEP_UNORDERED_ACCESS_VIEWS: u32 = 4294967295u32; | |
14437 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14438 | pub const D3D11_KEY_EXCHANGE_HW_PROTECTION: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb1170d8a_628d_4da3_ad3b_82ddb08b4970); | |
14439 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14440 | pub const D3D11_KEY_EXCHANGE_RSAES_OAEP: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xc1949895_d72a_4a1d_8e5d_ed857d171520); | |
14441 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14442 | pub const D3D11_LINEAR_GAMMA: f32 = 1f32; | |
14443 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14444 | pub const D3D11_MAG_FILTER_SHIFT: u32 = 2u32; | |
14445 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14446 | pub const D3D11_MAJOR_VERSION: u32 = 11u32; | |
14447 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14448 | pub const D3D11_MAX_BORDER_COLOR_COMPONENT: f32 = 1f32; | |
14449 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14450 | pub const D3D11_MAX_DEPTH: f32 = 1f32; | |
14451 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14452 | pub const D3D11_MAX_MAXANISOTROPY: u32 = 16u32; | |
14453 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14454 | pub const D3D11_MAX_MULTISAMPLE_SAMPLE_COUNT: u32 = 32u32; | |
14455 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14456 | pub const D3D11_MAX_POSITION_VALUE: f32 = 34028236000000000000000000000000000f32; | |
14457 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14458 | pub const D3D11_MAX_TEXTURE_DIMENSION_2_TO_EXP: u32 = 17u32; | |
14459 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14460 | pub const D3D11_MINOR_VERSION: u32 = 0u32; | |
14461 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14462 | pub const D3D11_MIN_BORDER_COLOR_COMPONENT: f32 = 0f32; | |
14463 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14464 | pub const D3D11_MIN_DEPTH: f32 = 0f32; | |
14465 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14466 | pub const D3D11_MIN_FILTER_SHIFT: u32 = 4u32; | |
14467 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14468 | pub const D3D11_MIN_MAXANISOTROPY: u32 = 0u32; | |
14469 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14470 | pub const D3D11_MIP_FILTER_SHIFT: u32 = 0u32; | |
14471 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14472 | pub const D3D11_MIP_LOD_BIAS_MAX: f32 = 15.99f32; | |
14473 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14474 | pub const D3D11_MIP_LOD_BIAS_MIN: f32 = -16f32; | |
14475 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14476 | pub const D3D11_MIP_LOD_FRACTIONAL_BIT_COUNT: u32 = 8u32; | |
14477 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14478 | pub const D3D11_MIP_LOD_RANGE_BIT_COUNT: u32 = 8u32; | |
14479 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14480 | pub const D3D11_MULTISAMPLE_ANTIALIAS_LINE_WIDTH: f32 = 1.4f32; | |
14481 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14482 | pub const D3D11_MUTE_CATEGORY: ::windows::core::PCWSTR = ::windows::w!("Mute_CATEGORY_%s"); | |
14483 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14484 | pub const D3D11_MUTE_DEBUG_OUTPUT: ::windows::core::PCWSTR = ::windows::w!("MuteDebugOutput"); | |
14485 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14486 | pub const D3D11_MUTE_ID_DECIMAL: ::windows::core::PCWSTR = ::windows::w!("Mute_ID_%d"); | |
14487 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14488 | pub const D3D11_MUTE_ID_STRING: ::windows::core::PCWSTR = ::windows::w!("Mute_ID_%s"); | |
14489 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14490 | pub const D3D11_MUTE_SEVERITY: ::windows::core::PCWSTR = ::windows::w!("Mute_SEVERITY_%s"); | |
14491 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14492 | pub const D3D11_NONSAMPLE_FETCH_OUT_OF_RANGE_ACCESS_RESULT: u32 = 0u32; | |
14493 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14494 | pub const D3D11_PACKED_TILE: u32 = 4294967295u32; | |
14495 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14496 | pub const D3D11_PIXEL_ADDRESS_RANGE_BIT_COUNT: u32 = 15u32; | |
14497 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14498 | pub const D3D11_PRE_SCISSOR_PIXEL_ADDRESS_RANGE_BIT_COUNT: u32 = 16u32; | |
14499 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14500 | pub const D3D11_PS_CS_UAV_REGISTER_COMPONENTS: u32 = 1u32; | |
14501 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14502 | pub const D3D11_PS_CS_UAV_REGISTER_COUNT: u32 = 8u32; | |
14503 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14504 | pub const D3D11_PS_CS_UAV_REGISTER_READS_PER_INST: u32 = 1u32; | |
14505 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14506 | pub const D3D11_PS_CS_UAV_REGISTER_READ_PORTS: u32 = 1u32; | |
14507 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14508 | pub const D3D11_PS_FRONTFACING_DEFAULT_VALUE: u32 = 4294967295u32; | |
14509 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14510 | pub const D3D11_PS_FRONTFACING_FALSE_VALUE: u32 = 0u32; | |
14511 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14512 | pub const D3D11_PS_FRONTFACING_TRUE_VALUE: u32 = 4294967295u32; | |
14513 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14514 | pub const D3D11_PS_INPUT_REGISTER_COMPONENTS: u32 = 4u32; | |
14515 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14516 | pub const D3D11_PS_INPUT_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14517 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14518 | pub const D3D11_PS_INPUT_REGISTER_COUNT: u32 = 32u32; | |
14519 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14520 | pub const D3D11_PS_INPUT_REGISTER_READS_PER_INST: u32 = 2u32; | |
14521 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14522 | pub const D3D11_PS_INPUT_REGISTER_READ_PORTS: u32 = 1u32; | |
14523 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14524 | pub const D3D11_PS_LEGACY_PIXEL_CENTER_FRACTIONAL_COMPONENT: f32 = 0f32; | |
14525 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14526 | pub const D3D11_PS_OUTPUT_DEPTH_REGISTER_COMPONENTS: u32 = 1u32; | |
14527 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14528 | pub const D3D11_PS_OUTPUT_DEPTH_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14529 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14530 | pub const D3D11_PS_OUTPUT_DEPTH_REGISTER_COUNT: u32 = 1u32; | |
14531 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14532 | pub const D3D11_PS_OUTPUT_MASK_REGISTER_COMPONENTS: u32 = 1u32; | |
14533 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14534 | pub const D3D11_PS_OUTPUT_MASK_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14535 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14536 | pub const D3D11_PS_OUTPUT_MASK_REGISTER_COUNT: u32 = 1u32; | |
14537 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14538 | pub const D3D11_PS_OUTPUT_REGISTER_COMPONENTS: u32 = 4u32; | |
14539 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14540 | pub const D3D11_PS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14541 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14542 | pub const D3D11_PS_OUTPUT_REGISTER_COUNT: u32 = 8u32; | |
14543 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14544 | pub const D3D11_PS_PIXEL_CENTER_FRACTIONAL_COMPONENT: f32 = 0.5f32; | |
14545 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14546 | pub const D3D11_RAW_UAV_SRV_BYTE_ALIGNMENT: u32 = 16u32; | |
14547 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14548 | pub const D3D11_REGKEY_PATH: ::windows::core::PCWSTR = ::windows::w!("Software\\Microsoft\\Direct3D"); | |
14549 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14550 | pub const D3D11_REQ_BLEND_OBJECT_COUNT_PER_DEVICE: u32 = 4096u32; | |
14551 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14552 | pub const D3D11_REQ_BUFFER_RESOURCE_TEXEL_COUNT_2_TO_EXP: u32 = 27u32; | |
14553 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14554 | pub const D3D11_REQ_CONSTANT_BUFFER_ELEMENT_COUNT: u32 = 4096u32; | |
14555 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14556 | pub const D3D11_REQ_DEPTH_STENCIL_OBJECT_COUNT_PER_DEVICE: u32 = 4096u32; | |
14557 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14558 | pub const D3D11_REQ_DRAWINDEXED_INDEX_COUNT_2_TO_EXP: u32 = 32u32; | |
14559 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14560 | pub const D3D11_REQ_DRAW_VERTEX_COUNT_2_TO_EXP: u32 = 32u32; | |
14561 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14562 | pub const D3D11_REQ_FILTERING_HW_ADDRESSABLE_RESOURCE_DIMENSION: u32 = 16384u32; | |
14563 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14564 | pub const D3D11_REQ_GS_INVOCATION_32BIT_OUTPUT_COMPONENT_LIMIT: u32 = 1024u32; | |
14565 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14566 | pub const D3D11_REQ_IMMEDIATE_CONSTANT_BUFFER_ELEMENT_COUNT: u32 = 4096u32; | |
14567 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14568 | pub const D3D11_REQ_MAXANISOTROPY: u32 = 16u32; | |
14569 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14570 | pub const D3D11_REQ_MIP_LEVELS: u32 = 15u32; | |
14571 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14572 | pub const D3D11_REQ_MULTI_ELEMENT_STRUCTURE_SIZE_IN_BYTES: u32 = 2048u32; | |
14573 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14574 | pub const D3D11_REQ_RASTERIZER_OBJECT_COUNT_PER_DEVICE: u32 = 4096u32; | |
14575 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14576 | pub const D3D11_REQ_RENDER_TO_BUFFER_WINDOW_WIDTH: u32 = 16384u32; | |
14577 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14578 | pub const D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_A_TERM: u32 = 128u32; | |
14579 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14580 | pub const D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_B_TERM: f32 = 0.25f32; | |
14581 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14582 | pub const D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_C_TERM: u32 = 2048u32; | |
14583 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14584 | pub const D3D11_REQ_RESOURCE_VIEW_COUNT_PER_DEVICE_2_TO_EXP: u32 = 20u32; | |
14585 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14586 | pub const D3D11_REQ_SAMPLER_OBJECT_COUNT_PER_DEVICE: u32 = 4096u32; | |
14587 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14588 | pub const D3D11_REQ_TEXTURE1D_ARRAY_AXIS_DIMENSION: u32 = 2048u32; | |
14589 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14590 | pub const D3D11_REQ_TEXTURE1D_U_DIMENSION: u32 = 16384u32; | |
14591 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14592 | pub const D3D11_REQ_TEXTURE2D_ARRAY_AXIS_DIMENSION: u32 = 2048u32; | |
14593 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14594 | pub const D3D11_REQ_TEXTURE2D_U_OR_V_DIMENSION: u32 = 16384u32; | |
14595 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14596 | pub const D3D11_REQ_TEXTURE3D_U_V_OR_W_DIMENSION: u32 = 2048u32; | |
14597 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14598 | pub const D3D11_REQ_TEXTURECUBE_DIMENSION: u32 = 16384u32; | |
14599 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14600 | pub const D3D11_RESINFO_INSTRUCTION_MISSING_COMPONENT_RETVAL: u32 = 0u32; | |
14601 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14602 | pub const D3D11_SDK_LAYERS_VERSION: u32 = 1u32; | |
14603 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14604 | pub const D3D11_SDK_VERSION: u32 = 7u32; | |
14605 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14606 | pub const D3D11_SHADER_MAJOR_VERSION: u32 = 5u32; | |
14607 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14608 | pub const D3D11_SHADER_MAX_INSTANCES: u32 = 65535u32; | |
14609 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14610 | pub const D3D11_SHADER_MAX_INTERFACES: u32 = 253u32; | |
14611 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14612 | pub const D3D11_SHADER_MAX_INTERFACE_CALL_SITES: u32 = 4096u32; | |
14613 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14614 | pub const D3D11_SHADER_MAX_TYPES: u32 = 65535u32; | |
14615 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14616 | pub const D3D11_SHADER_MINOR_VERSION: u32 = 0u32; | |
14617 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14618 | pub const D3D11_SHADER_TRACE_FLAG_RECORD_REGISTER_READS: u32 = 2u32; | |
14619 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14620 | pub const D3D11_SHADER_TRACE_FLAG_RECORD_REGISTER_WRITES: u32 = 1u32; | |
14621 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14622 | pub const D3D11_SHIFT_INSTRUCTION_PAD_VALUE: u32 = 0u32; | |
14623 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14624 | pub const D3D11_SHIFT_INSTRUCTION_SHIFT_VALUE_BIT_COUNT: u32 = 5u32; | |
14625 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14626 | pub const D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT: u32 = 8u32; | |
14627 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14628 | pub const D3D11_SO_BUFFER_MAX_STRIDE_IN_BYTES: u32 = 2048u32; | |
14629 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14630 | pub const D3D11_SO_BUFFER_MAX_WRITE_WINDOW_IN_BYTES: u32 = 512u32; | |
14631 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14632 | pub const D3D11_SO_BUFFER_SLOT_COUNT: u32 = 4u32; | |
14633 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14634 | pub const D3D11_SO_DDI_REGISTER_INDEX_DENOTING_GAP: u32 = 4294967295u32; | |
14635 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14636 | pub const D3D11_SO_NO_RASTERIZED_STREAM: u32 = 4294967295u32; | |
14637 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14638 | pub const D3D11_SO_OUTPUT_COMPONENT_COUNT: u32 = 128u32; | |
14639 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14640 | pub const D3D11_SO_STREAM_COUNT: u32 = 4u32; | |
14641 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14642 | pub const D3D11_SPEC_DATE_DAY: u32 = 16u32; | |
14643 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14644 | pub const D3D11_SPEC_DATE_MONTH: u32 = 5u32; | |
14645 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14646 | pub const D3D11_SPEC_DATE_YEAR: u32 = 2011u32; | |
14647 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14648 | pub const D3D11_SPEC_VERSION: f64 = 1.07f64; | |
14649 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14650 | pub const D3D11_SRGB_GAMMA: f32 = 2.2f32; | |
14651 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14652 | pub const D3D11_SRGB_TO_FLOAT_DENOMINATOR_1: f32 = 12.92f32; | |
14653 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14654 | pub const D3D11_SRGB_TO_FLOAT_DENOMINATOR_2: f32 = 1.055f32; | |
14655 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14656 | pub const D3D11_SRGB_TO_FLOAT_EXPONENT: f32 = 2.4f32; | |
14657 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14658 | pub const D3D11_SRGB_TO_FLOAT_OFFSET: f32 = 0.055f32; | |
14659 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14660 | pub const D3D11_SRGB_TO_FLOAT_THRESHOLD: f32 = 0.04045f32; | |
14661 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14662 | pub const D3D11_SRGB_TO_FLOAT_TOLERANCE_IN_ULP: f32 = 0.5f32; | |
14663 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14664 | pub const D3D11_STANDARD_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14665 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14666 | pub const D3D11_STANDARD_COMPONENT_BIT_COUNT_DOUBLED: u32 = 64u32; | |
14667 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14668 | pub const D3D11_STANDARD_MAXIMUM_ELEMENT_ALIGNMENT_BYTE_MULTIPLE: u32 = 4u32; | |
14669 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14670 | pub const D3D11_STANDARD_PIXEL_COMPONENT_COUNT: u32 = 128u32; | |
14671 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14672 | pub const D3D11_STANDARD_PIXEL_ELEMENT_COUNT: u32 = 32u32; | |
14673 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14674 | pub const D3D11_STANDARD_VECTOR_SIZE: u32 = 4u32; | |
14675 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14676 | pub const D3D11_STANDARD_VERTEX_ELEMENT_COUNT: u32 = 32u32; | |
14677 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14678 | pub const D3D11_STANDARD_VERTEX_TOTAL_COMPONENT_COUNT: u32 = 64u32; | |
14679 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14680 | pub const D3D11_SUBPIXEL_FRACTIONAL_BIT_COUNT: u32 = 8u32; | |
14681 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14682 | pub const D3D11_SUBTEXEL_FRACTIONAL_BIT_COUNT: u32 = 8u32; | |
14683 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14684 | pub const D3D11_TESSELLATOR_MAX_EVEN_TESSELLATION_FACTOR: u32 = 64u32; | |
14685 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14686 | pub const D3D11_TESSELLATOR_MAX_ISOLINE_DENSITY_TESSELLATION_FACTOR: u32 = 64u32; | |
14687 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14688 | pub const D3D11_TESSELLATOR_MAX_ODD_TESSELLATION_FACTOR: u32 = 63u32; | |
14689 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14690 | pub const D3D11_TESSELLATOR_MAX_TESSELLATION_FACTOR: u32 = 64u32; | |
14691 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14692 | pub const D3D11_TESSELLATOR_MIN_EVEN_TESSELLATION_FACTOR: u32 = 2u32; | |
14693 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14694 | pub const D3D11_TESSELLATOR_MIN_ISOLINE_DENSITY_TESSELLATION_FACTOR: u32 = 1u32; | |
14695 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14696 | pub const D3D11_TESSELLATOR_MIN_ODD_TESSELLATION_FACTOR: u32 = 1u32; | |
14697 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14698 | pub const D3D11_TEXEL_ADDRESS_RANGE_BIT_COUNT: u32 = 16u32; | |
14699 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14700 | pub const D3D11_TRACE_COMPONENT_W: u32 = 8u32; | |
14701 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14702 | pub const D3D11_TRACE_COMPONENT_X: u32 = 1u32; | |
14703 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14704 | pub const D3D11_TRACE_COMPONENT_Y: u32 = 2u32; | |
14705 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14706 | pub const D3D11_TRACE_COMPONENT_Z: u32 = 4u32; | |
14707 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14708 | pub const D3D11_TRACE_MISC_GS_CUT: u32 = 2u32; | |
14709 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14710 | pub const D3D11_TRACE_MISC_GS_CUT_STREAM: u32 = 16u32; | |
14711 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14712 | pub const D3D11_TRACE_MISC_GS_EMIT: u32 = 1u32; | |
14713 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14714 | pub const D3D11_TRACE_MISC_GS_EMIT_STREAM: u32 = 8u32; | |
14715 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14716 | pub const D3D11_TRACE_MISC_HALT: u32 = 32u32; | |
14717 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14718 | pub const D3D11_TRACE_MISC_MESSAGE: u32 = 64u32; | |
14719 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14720 | pub const D3D11_TRACE_MISC_PS_DISCARD: u32 = 4u32; | |
14721 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14722 | pub const D3D11_TRACE_REGISTER_FLAGS_RELATIVE_INDEXING: u32 = 1u32; | |
14723 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14724 | pub const D3D11_UNBOUND_MEMORY_ACCESS_RESULT: u32 = 0u32; | |
14725 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14726 | pub const D3D11_UNMUTE_SEVERITY_INFO: ::windows::core::PCWSTR = ::windows::w!("Unmute_SEVERITY_INFO"); | |
14727 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14728 | pub const D3D11_VIEWPORT_AND_SCISSORRECT_MAX_INDEX: u32 = 15u32; | |
14729 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14730 | pub const D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE: u32 = 16u32; | |
14731 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14732 | pub const D3D11_VIEWPORT_BOUNDS_MAX: u32 = 32767u32; | |
14733 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14734 | pub const D3D11_VIEWPORT_BOUNDS_MIN: i32 = -32768i32; | |
14735 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14736 | pub const D3D11_VS_INPUT_REGISTER_COMPONENTS: u32 = 4u32; | |
14737 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14738 | pub const D3D11_VS_INPUT_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14739 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14740 | pub const D3D11_VS_INPUT_REGISTER_COUNT: u32 = 32u32; | |
14741 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14742 | pub const D3D11_VS_INPUT_REGISTER_READS_PER_INST: u32 = 2u32; | |
14743 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14744 | pub const D3D11_VS_INPUT_REGISTER_READ_PORTS: u32 = 1u32; | |
14745 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14746 | pub const D3D11_VS_OUTPUT_REGISTER_COMPONENTS: u32 = 4u32; | |
14747 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14748 | pub const D3D11_VS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT: u32 = 32u32; | |
14749 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14750 | pub const D3D11_VS_OUTPUT_REGISTER_COUNT: u32 = 32u32; | |
14751 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14752 | pub const D3D11_WHQL_CONTEXT_COUNT_FOR_RESOURCE_LIMIT: u32 = 10u32; | |
14753 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14754 | pub const D3D11_WHQL_DRAWINDEXED_INDEX_COUNT_2_TO_EXP: u32 = 25u32; | |
14755 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14756 | pub const D3D11_WHQL_DRAW_VERTEX_COUNT_2_TO_EXP: u32 = 25u32; | |
14757 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14758 | pub const D3DCSX_DLL: ::windows::core::PCWSTR = ::windows::w!("d3dcsx_47.dll"); | |
14759 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14760 | pub const D3DCSX_DLL_A: ::windows::core::PCSTR = ::windows::s!("d3dcsx_47.dll"); | |
14761 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14762 | pub const D3DCSX_DLL_W: ::windows::core::PCWSTR = ::windows::w!("d3dcsx_47.dll"); | |
14763 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14764 | pub const D3DX11_FFT_MAX_DIMENSIONS: u32 = 32u32; | |
14765 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14766 | pub const D3DX11_FFT_MAX_PRECOMPUTE_BUFFERS: u32 = 4u32; | |
14767 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14768 | pub const D3DX11_FFT_MAX_TEMP_BUFFERS: u32 = 4u32; | |
14769 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14770 | pub const D3D_RETURN_PARAMETER_INDEX: i32 = -1i32; | |
14771 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14772 | pub const D3D_SHADER_REQUIRES_11_1_DOUBLE_EXTENSIONS: u32 = 32u32; | |
14773 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14774 | pub const D3D_SHADER_REQUIRES_11_1_SHADER_EXTENSIONS: u32 = 64u32; | |
14775 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14776 | pub const D3D_SHADER_REQUIRES_64_UAVS: u32 = 8u32; | |
14777 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14778 | pub const D3D_SHADER_REQUIRES_DOUBLES: u32 = 1u32; | |
14779 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14780 | pub const D3D_SHADER_REQUIRES_EARLY_DEPTH_STENCIL: u32 = 2u32; | |
14781 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14782 | pub const D3D_SHADER_REQUIRES_LEVEL_9_COMPARISON_FILTERING: u32 = 128u32; | |
14783 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14784 | pub const D3D_SHADER_REQUIRES_MINIMUM_PRECISION: u32 = 16u32; | |
14785 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14786 | pub const D3D_SHADER_REQUIRES_TILED_RESOURCES: u32 = 256u32; | |
14787 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14788 | pub const D3D_SHADER_REQUIRES_UAVS_AT_EVERY_STAGE: u32 = 4u32; | |
14789 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14790 | pub const DXGI_DEBUG_D3D11: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x4b99317b_ac39_4aa6_bb0b_baa04784798f); | |
14791 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14792 | pub const _FACD3D11: u32 = 2172u32; | |
14793 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14794 | #[repr(transparent)] | |
14795 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
14796 | pub struct D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG(pub i32); | |
14797 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14798 | pub const D3D11_1_CREATE_DEVICE_CONTEXT_STATE_SINGLETHREADED: D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG = D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG(1i32); | |
14799 | impl ::core::marker::Copy for D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG {} | |
14800 | impl ::core::clone::Clone for D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG { | |
14801 | fn clone(&self) -> Self { | |
14802 | *self | |
14803 | } | |
14804 | } | |
14805 | impl ::core::default::Default for D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG { | |
14806 | fn default() -> Self { | |
14807 | Self(0) | |
14808 | } | |
14809 | } | |
14810 | impl ::windows::core::TypeKind for D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG { | |
14811 | type TypeKind = ::windows::core::CopyType; | |
14812 | } | |
14813 | impl ::core::fmt::Debug for D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG { | |
14814 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
14815 | f.debug_tuple("D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG").field(&self.0).finish() | |
14816 | } | |
14817 | } | |
14818 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14819 | #[repr(transparent)] | |
14820 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
14821 | pub struct D3D11_ASYNC_GETDATA_FLAG(pub i32); | |
14822 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14823 | pub const D3D11_ASYNC_GETDATA_DONOTFLUSH: D3D11_ASYNC_GETDATA_FLAG = D3D11_ASYNC_GETDATA_FLAG(1i32); | |
14824 | impl ::core::marker::Copy for D3D11_ASYNC_GETDATA_FLAG {} | |
14825 | impl ::core::clone::Clone for D3D11_ASYNC_GETDATA_FLAG { | |
14826 | fn clone(&self) -> Self { | |
14827 | *self | |
14828 | } | |
14829 | } | |
14830 | impl ::core::default::Default for D3D11_ASYNC_GETDATA_FLAG { | |
14831 | fn default() -> Self { | |
14832 | Self(0) | |
14833 | } | |
14834 | } | |
14835 | impl ::windows::core::TypeKind for D3D11_ASYNC_GETDATA_FLAG { | |
14836 | type TypeKind = ::windows::core::CopyType; | |
14837 | } | |
14838 | impl ::core::fmt::Debug for D3D11_ASYNC_GETDATA_FLAG { | |
14839 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
14840 | f.debug_tuple("D3D11_ASYNC_GETDATA_FLAG").field(&self.0).finish() | |
14841 | } | |
14842 | } | |
14843 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14844 | #[repr(transparent)] | |
14845 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
14846 | pub struct D3D11_AUTHENTICATED_CHANNEL_TYPE(pub i32); | |
14847 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14848 | pub const D3D11_AUTHENTICATED_CHANNEL_D3D11: D3D11_AUTHENTICATED_CHANNEL_TYPE = D3D11_AUTHENTICATED_CHANNEL_TYPE(1i32); | |
14849 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14850 | pub const D3D11_AUTHENTICATED_CHANNEL_DRIVER_SOFTWARE: D3D11_AUTHENTICATED_CHANNEL_TYPE = D3D11_AUTHENTICATED_CHANNEL_TYPE(2i32); | |
14851 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14852 | pub const D3D11_AUTHENTICATED_CHANNEL_DRIVER_HARDWARE: D3D11_AUTHENTICATED_CHANNEL_TYPE = D3D11_AUTHENTICATED_CHANNEL_TYPE(3i32); | |
14853 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_CHANNEL_TYPE {} | |
14854 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_CHANNEL_TYPE { | |
14855 | fn clone(&self) -> Self { | |
14856 | *self | |
14857 | } | |
14858 | } | |
14859 | impl ::core::default::Default for D3D11_AUTHENTICATED_CHANNEL_TYPE { | |
14860 | fn default() -> Self { | |
14861 | Self(0) | |
14862 | } | |
14863 | } | |
14864 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_CHANNEL_TYPE { | |
14865 | type TypeKind = ::windows::core::CopyType; | |
14866 | } | |
14867 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_CHANNEL_TYPE { | |
14868 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
14869 | f.debug_tuple("D3D11_AUTHENTICATED_CHANNEL_TYPE").field(&self.0).finish() | |
14870 | } | |
14871 | } | |
14872 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14873 | #[repr(transparent)] | |
14874 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
14875 | pub struct D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE(pub i32); | |
14876 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14877 | pub const D3D11_PROCESSIDTYPE_UNKNOWN: D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE = D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE(0i32); | |
14878 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14879 | pub const D3D11_PROCESSIDTYPE_DWM: D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE = D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE(1i32); | |
14880 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14881 | pub const D3D11_PROCESSIDTYPE_HANDLE: D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE = D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE(2i32); | |
14882 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE {} | |
14883 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE { | |
14884 | fn clone(&self) -> Self { | |
14885 | *self | |
14886 | } | |
14887 | } | |
14888 | impl ::core::default::Default for D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE { | |
14889 | fn default() -> Self { | |
14890 | Self(0) | |
14891 | } | |
14892 | } | |
14893 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE { | |
14894 | type TypeKind = ::windows::core::CopyType; | |
14895 | } | |
14896 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE { | |
14897 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
14898 | f.debug_tuple("D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE").field(&self.0).finish() | |
14899 | } | |
14900 | } | |
14901 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14902 | #[repr(transparent)] | |
14903 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
14904 | pub struct D3D11_BIND_FLAG(pub i32); | |
14905 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14906 | pub const D3D11_BIND_VERTEX_BUFFER: D3D11_BIND_FLAG = D3D11_BIND_FLAG(1i32); | |
14907 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14908 | pub const D3D11_BIND_INDEX_BUFFER: D3D11_BIND_FLAG = D3D11_BIND_FLAG(2i32); | |
14909 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14910 | pub const D3D11_BIND_CONSTANT_BUFFER: D3D11_BIND_FLAG = D3D11_BIND_FLAG(4i32); | |
14911 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14912 | pub const D3D11_BIND_SHADER_RESOURCE: D3D11_BIND_FLAG = D3D11_BIND_FLAG(8i32); | |
14913 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14914 | pub const D3D11_BIND_STREAM_OUTPUT: D3D11_BIND_FLAG = D3D11_BIND_FLAG(16i32); | |
14915 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14916 | pub const D3D11_BIND_RENDER_TARGET: D3D11_BIND_FLAG = D3D11_BIND_FLAG(32i32); | |
14917 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14918 | pub const D3D11_BIND_DEPTH_STENCIL: D3D11_BIND_FLAG = D3D11_BIND_FLAG(64i32); | |
14919 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14920 | pub const D3D11_BIND_UNORDERED_ACCESS: D3D11_BIND_FLAG = D3D11_BIND_FLAG(128i32); | |
14921 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14922 | pub const D3D11_BIND_DECODER: D3D11_BIND_FLAG = D3D11_BIND_FLAG(512i32); | |
14923 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14924 | pub const D3D11_BIND_VIDEO_ENCODER: D3D11_BIND_FLAG = D3D11_BIND_FLAG(1024i32); | |
14925 | impl ::core::marker::Copy for D3D11_BIND_FLAG {} | |
14926 | impl ::core::clone::Clone for D3D11_BIND_FLAG { | |
14927 | fn clone(&self) -> Self { | |
14928 | *self | |
14929 | } | |
14930 | } | |
14931 | impl ::core::default::Default for D3D11_BIND_FLAG { | |
14932 | fn default() -> Self { | |
14933 | Self(0) | |
14934 | } | |
14935 | } | |
14936 | impl ::windows::core::TypeKind for D3D11_BIND_FLAG { | |
14937 | type TypeKind = ::windows::core::CopyType; | |
14938 | } | |
14939 | impl ::core::fmt::Debug for D3D11_BIND_FLAG { | |
14940 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
14941 | f.debug_tuple("D3D11_BIND_FLAG").field(&self.0).finish() | |
14942 | } | |
14943 | } | |
14944 | impl D3D11_BIND_FLAG { | |
14945 | pub const fn contains(&self, other: Self) -> bool { | |
14946 | self.0 & other.0 == other.0 | |
14947 | } | |
14948 | } | |
14949 | impl ::core::ops::BitOr for D3D11_BIND_FLAG { | |
14950 | type Output = Self; | |
14951 | fn bitor(self, other: Self) -> Self { | |
14952 | Self(self.0 | other.0) | |
14953 | } | |
14954 | } | |
14955 | impl ::core::ops::BitAnd for D3D11_BIND_FLAG { | |
14956 | type Output = Self; | |
14957 | fn bitand(self, other: Self) -> Self { | |
14958 | Self(self.0 & other.0) | |
14959 | } | |
14960 | } | |
14961 | impl ::core::ops::BitOrAssign for D3D11_BIND_FLAG { | |
14962 | fn bitor_assign(&mut self, other: Self) { | |
14963 | self.0.bitor_assign(other.0) | |
14964 | } | |
14965 | } | |
14966 | impl ::core::ops::BitAndAssign for D3D11_BIND_FLAG { | |
14967 | fn bitand_assign(&mut self, other: Self) { | |
14968 | self.0.bitand_assign(other.0) | |
14969 | } | |
14970 | } | |
14971 | impl ::core::ops::Not for D3D11_BIND_FLAG { | |
14972 | type Output = Self; | |
14973 | fn not(self) -> Self { | |
14974 | Self(self.0.not()) | |
14975 | } | |
14976 | } | |
14977 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14978 | #[repr(transparent)] | |
14979 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
14980 | pub struct D3D11_BLEND(pub i32); | |
14981 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14982 | pub const D3D11_BLEND_ZERO: D3D11_BLEND = D3D11_BLEND(1i32); | |
14983 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14984 | pub const D3D11_BLEND_ONE: D3D11_BLEND = D3D11_BLEND(2i32); | |
14985 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14986 | pub const D3D11_BLEND_SRC_COLOR: D3D11_BLEND = D3D11_BLEND(3i32); | |
14987 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14988 | pub const D3D11_BLEND_INV_SRC_COLOR: D3D11_BLEND = D3D11_BLEND(4i32); | |
14989 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14990 | pub const D3D11_BLEND_SRC_ALPHA: D3D11_BLEND = D3D11_BLEND(5i32); | |
14991 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14992 | pub const D3D11_BLEND_INV_SRC_ALPHA: D3D11_BLEND = D3D11_BLEND(6i32); | |
14993 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14994 | pub const D3D11_BLEND_DEST_ALPHA: D3D11_BLEND = D3D11_BLEND(7i32); | |
14995 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14996 | pub const D3D11_BLEND_INV_DEST_ALPHA: D3D11_BLEND = D3D11_BLEND(8i32); | |
14997 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
14998 | pub const D3D11_BLEND_DEST_COLOR: D3D11_BLEND = D3D11_BLEND(9i32); | |
14999 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15000 | pub const D3D11_BLEND_INV_DEST_COLOR: D3D11_BLEND = D3D11_BLEND(10i32); | |
15001 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15002 | pub const D3D11_BLEND_SRC_ALPHA_SAT: D3D11_BLEND = D3D11_BLEND(11i32); | |
15003 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15004 | pub const D3D11_BLEND_BLEND_FACTOR: D3D11_BLEND = D3D11_BLEND(14i32); | |
15005 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15006 | pub const D3D11_BLEND_INV_BLEND_FACTOR: D3D11_BLEND = D3D11_BLEND(15i32); | |
15007 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15008 | pub const D3D11_BLEND_SRC1_COLOR: D3D11_BLEND = D3D11_BLEND(16i32); | |
15009 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15010 | pub const D3D11_BLEND_INV_SRC1_COLOR: D3D11_BLEND = D3D11_BLEND(17i32); | |
15011 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15012 | pub const D3D11_BLEND_SRC1_ALPHA: D3D11_BLEND = D3D11_BLEND(18i32); | |
15013 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15014 | pub const D3D11_BLEND_INV_SRC1_ALPHA: D3D11_BLEND = D3D11_BLEND(19i32); | |
15015 | impl ::core::marker::Copy for D3D11_BLEND {} | |
15016 | impl ::core::clone::Clone for D3D11_BLEND { | |
15017 | fn clone(&self) -> Self { | |
15018 | *self | |
15019 | } | |
15020 | } | |
15021 | impl ::core::default::Default for D3D11_BLEND { | |
15022 | fn default() -> Self { | |
15023 | Self(0) | |
15024 | } | |
15025 | } | |
15026 | impl ::windows::core::TypeKind for D3D11_BLEND { | |
15027 | type TypeKind = ::windows::core::CopyType; | |
15028 | } | |
15029 | impl ::core::fmt::Debug for D3D11_BLEND { | |
15030 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15031 | f.debug_tuple("D3D11_BLEND").field(&self.0).finish() | |
15032 | } | |
15033 | } | |
15034 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15035 | #[repr(transparent)] | |
15036 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15037 | pub struct D3D11_BLEND_OP(pub i32); | |
15038 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15039 | pub const D3D11_BLEND_OP_ADD: D3D11_BLEND_OP = D3D11_BLEND_OP(1i32); | |
15040 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15041 | pub const D3D11_BLEND_OP_SUBTRACT: D3D11_BLEND_OP = D3D11_BLEND_OP(2i32); | |
15042 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15043 | pub const D3D11_BLEND_OP_REV_SUBTRACT: D3D11_BLEND_OP = D3D11_BLEND_OP(3i32); | |
15044 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15045 | pub const D3D11_BLEND_OP_MIN: D3D11_BLEND_OP = D3D11_BLEND_OP(4i32); | |
15046 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15047 | pub const D3D11_BLEND_OP_MAX: D3D11_BLEND_OP = D3D11_BLEND_OP(5i32); | |
15048 | impl ::core::marker::Copy for D3D11_BLEND_OP {} | |
15049 | impl ::core::clone::Clone for D3D11_BLEND_OP { | |
15050 | fn clone(&self) -> Self { | |
15051 | *self | |
15052 | } | |
15053 | } | |
15054 | impl ::core::default::Default for D3D11_BLEND_OP { | |
15055 | fn default() -> Self { | |
15056 | Self(0) | |
15057 | } | |
15058 | } | |
15059 | impl ::windows::core::TypeKind for D3D11_BLEND_OP { | |
15060 | type TypeKind = ::windows::core::CopyType; | |
15061 | } | |
15062 | impl ::core::fmt::Debug for D3D11_BLEND_OP { | |
15063 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15064 | f.debug_tuple("D3D11_BLEND_OP").field(&self.0).finish() | |
15065 | } | |
15066 | } | |
15067 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15068 | #[repr(transparent)] | |
15069 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15070 | pub struct D3D11_BUFFEREX_SRV_FLAG(pub i32); | |
15071 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15072 | pub const D3D11_BUFFEREX_SRV_FLAG_RAW: D3D11_BUFFEREX_SRV_FLAG = D3D11_BUFFEREX_SRV_FLAG(1i32); | |
15073 | impl ::core::marker::Copy for D3D11_BUFFEREX_SRV_FLAG {} | |
15074 | impl ::core::clone::Clone for D3D11_BUFFEREX_SRV_FLAG { | |
15075 | fn clone(&self) -> Self { | |
15076 | *self | |
15077 | } | |
15078 | } | |
15079 | impl ::core::default::Default for D3D11_BUFFEREX_SRV_FLAG { | |
15080 | fn default() -> Self { | |
15081 | Self(0) | |
15082 | } | |
15083 | } | |
15084 | impl ::windows::core::TypeKind for D3D11_BUFFEREX_SRV_FLAG { | |
15085 | type TypeKind = ::windows::core::CopyType; | |
15086 | } | |
15087 | impl ::core::fmt::Debug for D3D11_BUFFEREX_SRV_FLAG { | |
15088 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15089 | f.debug_tuple("D3D11_BUFFEREX_SRV_FLAG").field(&self.0).finish() | |
15090 | } | |
15091 | } | |
15092 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15093 | #[repr(transparent)] | |
15094 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15095 | pub struct D3D11_BUFFER_UAV_FLAG(pub i32); | |
15096 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15097 | pub const D3D11_BUFFER_UAV_FLAG_RAW: D3D11_BUFFER_UAV_FLAG = D3D11_BUFFER_UAV_FLAG(1i32); | |
15098 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15099 | pub const D3D11_BUFFER_UAV_FLAG_APPEND: D3D11_BUFFER_UAV_FLAG = D3D11_BUFFER_UAV_FLAG(2i32); | |
15100 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15101 | pub const D3D11_BUFFER_UAV_FLAG_COUNTER: D3D11_BUFFER_UAV_FLAG = D3D11_BUFFER_UAV_FLAG(4i32); | |
15102 | impl ::core::marker::Copy for D3D11_BUFFER_UAV_FLAG {} | |
15103 | impl ::core::clone::Clone for D3D11_BUFFER_UAV_FLAG { | |
15104 | fn clone(&self) -> Self { | |
15105 | *self | |
15106 | } | |
15107 | } | |
15108 | impl ::core::default::Default for D3D11_BUFFER_UAV_FLAG { | |
15109 | fn default() -> Self { | |
15110 | Self(0) | |
15111 | } | |
15112 | } | |
15113 | impl ::windows::core::TypeKind for D3D11_BUFFER_UAV_FLAG { | |
15114 | type TypeKind = ::windows::core::CopyType; | |
15115 | } | |
15116 | impl ::core::fmt::Debug for D3D11_BUFFER_UAV_FLAG { | |
15117 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15118 | f.debug_tuple("D3D11_BUFFER_UAV_FLAG").field(&self.0).finish() | |
15119 | } | |
15120 | } | |
15121 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15122 | #[repr(transparent)] | |
15123 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15124 | pub struct D3D11_BUS_TYPE(pub i32); | |
15125 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15126 | pub const D3D11_BUS_TYPE_OTHER: D3D11_BUS_TYPE = D3D11_BUS_TYPE(0i32); | |
15127 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15128 | pub const D3D11_BUS_TYPE_PCI: D3D11_BUS_TYPE = D3D11_BUS_TYPE(1i32); | |
15129 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15130 | pub const D3D11_BUS_TYPE_PCIX: D3D11_BUS_TYPE = D3D11_BUS_TYPE(2i32); | |
15131 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15132 | pub const D3D11_BUS_TYPE_PCIEXPRESS: D3D11_BUS_TYPE = D3D11_BUS_TYPE(3i32); | |
15133 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15134 | pub const D3D11_BUS_TYPE_AGP: D3D11_BUS_TYPE = D3D11_BUS_TYPE(4i32); | |
15135 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15136 | pub const D3D11_BUS_IMPL_MODIFIER_INSIDE_OF_CHIPSET: D3D11_BUS_TYPE = D3D11_BUS_TYPE(65536i32); | |
15137 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15138 | pub const D3D11_BUS_IMPL_MODIFIER_TRACKS_ON_MOTHER_BOARD_TO_CHIP: D3D11_BUS_TYPE = D3D11_BUS_TYPE(131072i32); | |
15139 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15140 | pub const D3D11_BUS_IMPL_MODIFIER_TRACKS_ON_MOTHER_BOARD_TO_SOCKET: D3D11_BUS_TYPE = D3D11_BUS_TYPE(196608i32); | |
15141 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15142 | pub const D3D11_BUS_IMPL_MODIFIER_DAUGHTER_BOARD_CONNECTOR: D3D11_BUS_TYPE = D3D11_BUS_TYPE(262144i32); | |
15143 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15144 | pub const D3D11_BUS_IMPL_MODIFIER_DAUGHTER_BOARD_CONNECTOR_INSIDE_OF_NUAE: D3D11_BUS_TYPE = D3D11_BUS_TYPE(327680i32); | |
15145 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15146 | pub const D3D11_BUS_IMPL_MODIFIER_NON_STANDARD: D3D11_BUS_TYPE = D3D11_BUS_TYPE(-2147483648i32); | |
15147 | impl ::core::marker::Copy for D3D11_BUS_TYPE {} | |
15148 | impl ::core::clone::Clone for D3D11_BUS_TYPE { | |
15149 | fn clone(&self) -> Self { | |
15150 | *self | |
15151 | } | |
15152 | } | |
15153 | impl ::core::default::Default for D3D11_BUS_TYPE { | |
15154 | fn default() -> Self { | |
15155 | Self(0) | |
15156 | } | |
15157 | } | |
15158 | impl ::windows::core::TypeKind for D3D11_BUS_TYPE { | |
15159 | type TypeKind = ::windows::core::CopyType; | |
15160 | } | |
15161 | impl ::core::fmt::Debug for D3D11_BUS_TYPE { | |
15162 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15163 | f.debug_tuple("D3D11_BUS_TYPE").field(&self.0).finish() | |
15164 | } | |
15165 | } | |
15166 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15167 | #[repr(transparent)] | |
15168 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15169 | pub struct D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG(pub i32); | |
15170 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15171 | pub const D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_TILED_RESOURCE: D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG = D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG(1i32); | |
15172 | impl ::core::marker::Copy for D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG {} | |
15173 | impl ::core::clone::Clone for D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG { | |
15174 | fn clone(&self) -> Self { | |
15175 | *self | |
15176 | } | |
15177 | } | |
15178 | impl ::core::default::Default for D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG { | |
15179 | fn default() -> Self { | |
15180 | Self(0) | |
15181 | } | |
15182 | } | |
15183 | impl ::windows::core::TypeKind for D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG { | |
15184 | type TypeKind = ::windows::core::CopyType; | |
15185 | } | |
15186 | impl ::core::fmt::Debug for D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG { | |
15187 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15188 | f.debug_tuple("D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG").field(&self.0).finish() | |
15189 | } | |
15190 | } | |
15191 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15192 | #[repr(transparent)] | |
15193 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15194 | pub struct D3D11_CLEAR_FLAG(pub u32); | |
15195 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15196 | pub const D3D11_CLEAR_DEPTH: D3D11_CLEAR_FLAG = D3D11_CLEAR_FLAG(1u32); | |
15197 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15198 | pub const D3D11_CLEAR_STENCIL: D3D11_CLEAR_FLAG = D3D11_CLEAR_FLAG(2u32); | |
15199 | impl ::core::marker::Copy for D3D11_CLEAR_FLAG {} | |
15200 | impl ::core::clone::Clone for D3D11_CLEAR_FLAG { | |
15201 | fn clone(&self) -> Self { | |
15202 | *self | |
15203 | } | |
15204 | } | |
15205 | impl ::core::default::Default for D3D11_CLEAR_FLAG { | |
15206 | fn default() -> Self { | |
15207 | Self(0) | |
15208 | } | |
15209 | } | |
15210 | impl ::windows::core::TypeKind for D3D11_CLEAR_FLAG { | |
15211 | type TypeKind = ::windows::core::CopyType; | |
15212 | } | |
15213 | impl ::core::fmt::Debug for D3D11_CLEAR_FLAG { | |
15214 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15215 | f.debug_tuple("D3D11_CLEAR_FLAG").field(&self.0).finish() | |
15216 | } | |
15217 | } | |
15218 | impl D3D11_CLEAR_FLAG { | |
15219 | pub const fn contains(&self, other: Self) -> bool { | |
15220 | self.0 & other.0 == other.0 | |
15221 | } | |
15222 | } | |
15223 | impl ::core::ops::BitOr for D3D11_CLEAR_FLAG { | |
15224 | type Output = Self; | |
15225 | fn bitor(self, other: Self) -> Self { | |
15226 | Self(self.0 | other.0) | |
15227 | } | |
15228 | } | |
15229 | impl ::core::ops::BitAnd for D3D11_CLEAR_FLAG { | |
15230 | type Output = Self; | |
15231 | fn bitand(self, other: Self) -> Self { | |
15232 | Self(self.0 & other.0) | |
15233 | } | |
15234 | } | |
15235 | impl ::core::ops::BitOrAssign for D3D11_CLEAR_FLAG { | |
15236 | fn bitor_assign(&mut self, other: Self) { | |
15237 | self.0.bitor_assign(other.0) | |
15238 | } | |
15239 | } | |
15240 | impl ::core::ops::BitAndAssign for D3D11_CLEAR_FLAG { | |
15241 | fn bitand_assign(&mut self, other: Self) { | |
15242 | self.0.bitand_assign(other.0) | |
15243 | } | |
15244 | } | |
15245 | impl ::core::ops::Not for D3D11_CLEAR_FLAG { | |
15246 | type Output = Self; | |
15247 | fn not(self) -> Self { | |
15248 | Self(self.0.not()) | |
15249 | } | |
15250 | } | |
15251 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15252 | #[repr(transparent)] | |
15253 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15254 | pub struct D3D11_COLOR_WRITE_ENABLE(pub i32); | |
15255 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15256 | pub const D3D11_COLOR_WRITE_ENABLE_RED: D3D11_COLOR_WRITE_ENABLE = D3D11_COLOR_WRITE_ENABLE(1i32); | |
15257 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15258 | pub const D3D11_COLOR_WRITE_ENABLE_GREEN: D3D11_COLOR_WRITE_ENABLE = D3D11_COLOR_WRITE_ENABLE(2i32); | |
15259 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15260 | pub const D3D11_COLOR_WRITE_ENABLE_BLUE: D3D11_COLOR_WRITE_ENABLE = D3D11_COLOR_WRITE_ENABLE(4i32); | |
15261 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15262 | pub const D3D11_COLOR_WRITE_ENABLE_ALPHA: D3D11_COLOR_WRITE_ENABLE = D3D11_COLOR_WRITE_ENABLE(8i32); | |
15263 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15264 | pub const D3D11_COLOR_WRITE_ENABLE_ALL: D3D11_COLOR_WRITE_ENABLE = D3D11_COLOR_WRITE_ENABLE(15i32); | |
15265 | impl ::core::marker::Copy for D3D11_COLOR_WRITE_ENABLE {} | |
15266 | impl ::core::clone::Clone for D3D11_COLOR_WRITE_ENABLE { | |
15267 | fn clone(&self) -> Self { | |
15268 | *self | |
15269 | } | |
15270 | } | |
15271 | impl ::core::default::Default for D3D11_COLOR_WRITE_ENABLE { | |
15272 | fn default() -> Self { | |
15273 | Self(0) | |
15274 | } | |
15275 | } | |
15276 | impl ::windows::core::TypeKind for D3D11_COLOR_WRITE_ENABLE { | |
15277 | type TypeKind = ::windows::core::CopyType; | |
15278 | } | |
15279 | impl ::core::fmt::Debug for D3D11_COLOR_WRITE_ENABLE { | |
15280 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15281 | f.debug_tuple("D3D11_COLOR_WRITE_ENABLE").field(&self.0).finish() | |
15282 | } | |
15283 | } | |
15284 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15285 | #[repr(transparent)] | |
15286 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15287 | pub struct D3D11_COMPARISON_FUNC(pub i32); | |
15288 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15289 | pub const D3D11_COMPARISON_NEVER: D3D11_COMPARISON_FUNC = D3D11_COMPARISON_FUNC(1i32); | |
15290 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15291 | pub const D3D11_COMPARISON_LESS: D3D11_COMPARISON_FUNC = D3D11_COMPARISON_FUNC(2i32); | |
15292 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15293 | pub const D3D11_COMPARISON_EQUAL: D3D11_COMPARISON_FUNC = D3D11_COMPARISON_FUNC(3i32); | |
15294 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15295 | pub const D3D11_COMPARISON_LESS_EQUAL: D3D11_COMPARISON_FUNC = D3D11_COMPARISON_FUNC(4i32); | |
15296 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15297 | pub const D3D11_COMPARISON_GREATER: D3D11_COMPARISON_FUNC = D3D11_COMPARISON_FUNC(5i32); | |
15298 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15299 | pub const D3D11_COMPARISON_NOT_EQUAL: D3D11_COMPARISON_FUNC = D3D11_COMPARISON_FUNC(6i32); | |
15300 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15301 | pub const D3D11_COMPARISON_GREATER_EQUAL: D3D11_COMPARISON_FUNC = D3D11_COMPARISON_FUNC(7i32); | |
15302 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15303 | pub const D3D11_COMPARISON_ALWAYS: D3D11_COMPARISON_FUNC = D3D11_COMPARISON_FUNC(8i32); | |
15304 | impl ::core::marker::Copy for D3D11_COMPARISON_FUNC {} | |
15305 | impl ::core::clone::Clone for D3D11_COMPARISON_FUNC { | |
15306 | fn clone(&self) -> Self { | |
15307 | *self | |
15308 | } | |
15309 | } | |
15310 | impl ::core::default::Default for D3D11_COMPARISON_FUNC { | |
15311 | fn default() -> Self { | |
15312 | Self(0) | |
15313 | } | |
15314 | } | |
15315 | impl ::windows::core::TypeKind for D3D11_COMPARISON_FUNC { | |
15316 | type TypeKind = ::windows::core::CopyType; | |
15317 | } | |
15318 | impl ::core::fmt::Debug for D3D11_COMPARISON_FUNC { | |
15319 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15320 | f.debug_tuple("D3D11_COMPARISON_FUNC").field(&self.0).finish() | |
15321 | } | |
15322 | } | |
15323 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15324 | #[repr(transparent)] | |
15325 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15326 | pub struct D3D11_CONSERVATIVE_RASTERIZATION_MODE(pub i32); | |
15327 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15328 | pub const D3D11_CONSERVATIVE_RASTERIZATION_MODE_OFF: D3D11_CONSERVATIVE_RASTERIZATION_MODE = D3D11_CONSERVATIVE_RASTERIZATION_MODE(0i32); | |
15329 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15330 | pub const D3D11_CONSERVATIVE_RASTERIZATION_MODE_ON: D3D11_CONSERVATIVE_RASTERIZATION_MODE = D3D11_CONSERVATIVE_RASTERIZATION_MODE(1i32); | |
15331 | impl ::core::marker::Copy for D3D11_CONSERVATIVE_RASTERIZATION_MODE {} | |
15332 | impl ::core::clone::Clone for D3D11_CONSERVATIVE_RASTERIZATION_MODE { | |
15333 | fn clone(&self) -> Self { | |
15334 | *self | |
15335 | } | |
15336 | } | |
15337 | impl ::core::default::Default for D3D11_CONSERVATIVE_RASTERIZATION_MODE { | |
15338 | fn default() -> Self { | |
15339 | Self(0) | |
15340 | } | |
15341 | } | |
15342 | impl ::windows::core::TypeKind for D3D11_CONSERVATIVE_RASTERIZATION_MODE { | |
15343 | type TypeKind = ::windows::core::CopyType; | |
15344 | } | |
15345 | impl ::core::fmt::Debug for D3D11_CONSERVATIVE_RASTERIZATION_MODE { | |
15346 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15347 | f.debug_tuple("D3D11_CONSERVATIVE_RASTERIZATION_MODE").field(&self.0).finish() | |
15348 | } | |
15349 | } | |
15350 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15351 | #[repr(transparent)] | |
15352 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15353 | pub struct D3D11_CONSERVATIVE_RASTERIZATION_TIER(pub i32); | |
15354 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15355 | pub const D3D11_CONSERVATIVE_RASTERIZATION_NOT_SUPPORTED: D3D11_CONSERVATIVE_RASTERIZATION_TIER = D3D11_CONSERVATIVE_RASTERIZATION_TIER(0i32); | |
15356 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15357 | pub const D3D11_CONSERVATIVE_RASTERIZATION_TIER_1: D3D11_CONSERVATIVE_RASTERIZATION_TIER = D3D11_CONSERVATIVE_RASTERIZATION_TIER(1i32); | |
15358 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15359 | pub const D3D11_CONSERVATIVE_RASTERIZATION_TIER_2: D3D11_CONSERVATIVE_RASTERIZATION_TIER = D3D11_CONSERVATIVE_RASTERIZATION_TIER(2i32); | |
15360 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15361 | pub const D3D11_CONSERVATIVE_RASTERIZATION_TIER_3: D3D11_CONSERVATIVE_RASTERIZATION_TIER = D3D11_CONSERVATIVE_RASTERIZATION_TIER(3i32); | |
15362 | impl ::core::marker::Copy for D3D11_CONSERVATIVE_RASTERIZATION_TIER {} | |
15363 | impl ::core::clone::Clone for D3D11_CONSERVATIVE_RASTERIZATION_TIER { | |
15364 | fn clone(&self) -> Self { | |
15365 | *self | |
15366 | } | |
15367 | } | |
15368 | impl ::core::default::Default for D3D11_CONSERVATIVE_RASTERIZATION_TIER { | |
15369 | fn default() -> Self { | |
15370 | Self(0) | |
15371 | } | |
15372 | } | |
15373 | impl ::windows::core::TypeKind for D3D11_CONSERVATIVE_RASTERIZATION_TIER { | |
15374 | type TypeKind = ::windows::core::CopyType; | |
15375 | } | |
15376 | impl ::core::fmt::Debug for D3D11_CONSERVATIVE_RASTERIZATION_TIER { | |
15377 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15378 | f.debug_tuple("D3D11_CONSERVATIVE_RASTERIZATION_TIER").field(&self.0).finish() | |
15379 | } | |
15380 | } | |
15381 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15382 | #[repr(transparent)] | |
15383 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15384 | pub struct D3D11_CONTENT_PROTECTION_CAPS(pub i32); | |
15385 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15386 | pub const D3D11_CONTENT_PROTECTION_CAPS_SOFTWARE: D3D11_CONTENT_PROTECTION_CAPS = D3D11_CONTENT_PROTECTION_CAPS(1i32); | |
15387 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15388 | pub const D3D11_CONTENT_PROTECTION_CAPS_HARDWARE: D3D11_CONTENT_PROTECTION_CAPS = D3D11_CONTENT_PROTECTION_CAPS(2i32); | |
15389 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15390 | pub const D3D11_CONTENT_PROTECTION_CAPS_PROTECTION_ALWAYS_ON: D3D11_CONTENT_PROTECTION_CAPS = D3D11_CONTENT_PROTECTION_CAPS(4i32); | |
15391 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15392 | pub const D3D11_CONTENT_PROTECTION_CAPS_PARTIAL_DECRYPTION: D3D11_CONTENT_PROTECTION_CAPS = D3D11_CONTENT_PROTECTION_CAPS(8i32); | |
15393 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15394 | pub const D3D11_CONTENT_PROTECTION_CAPS_CONTENT_KEY: D3D11_CONTENT_PROTECTION_CAPS = D3D11_CONTENT_PROTECTION_CAPS(16i32); | |
15395 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15396 | pub const D3D11_CONTENT_PROTECTION_CAPS_FRESHEN_SESSION_KEY: D3D11_CONTENT_PROTECTION_CAPS = D3D11_CONTENT_PROTECTION_CAPS(32i32); | |
15397 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15398 | pub const D3D11_CONTENT_PROTECTION_CAPS_ENCRYPTED_READ_BACK: D3D11_CONTENT_PROTECTION_CAPS = D3D11_CONTENT_PROTECTION_CAPS(64i32); | |
15399 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15400 | pub const D3D11_CONTENT_PROTECTION_CAPS_ENCRYPTED_READ_BACK_KEY: D3D11_CONTENT_PROTECTION_CAPS = D3D11_CONTENT_PROTECTION_CAPS(128i32); | |
15401 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15402 | pub const D3D11_CONTENT_PROTECTION_CAPS_SEQUENTIAL_CTR_IV: D3D11_CONTENT_PROTECTION_CAPS = D3D11_CONTENT_PROTECTION_CAPS(256i32); | |
15403 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15404 | pub const D3D11_CONTENT_PROTECTION_CAPS_ENCRYPT_SLICEDATA_ONLY: D3D11_CONTENT_PROTECTION_CAPS = D3D11_CONTENT_PROTECTION_CAPS(512i32); | |
15405 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15406 | pub const D3D11_CONTENT_PROTECTION_CAPS_DECRYPTION_BLT: D3D11_CONTENT_PROTECTION_CAPS = D3D11_CONTENT_PROTECTION_CAPS(1024i32); | |
15407 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15408 | pub const D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_PROTECT_UNCOMPRESSED: D3D11_CONTENT_PROTECTION_CAPS = D3D11_CONTENT_PROTECTION_CAPS(2048i32); | |
15409 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15410 | pub const D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_PROTECTED_MEMORY_PAGEABLE: D3D11_CONTENT_PROTECTION_CAPS = D3D11_CONTENT_PROTECTION_CAPS(4096i32); | |
15411 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15412 | pub const D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_TEARDOWN: D3D11_CONTENT_PROTECTION_CAPS = D3D11_CONTENT_PROTECTION_CAPS(8192i32); | |
15413 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15414 | pub const D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_DRM_COMMUNICATION: D3D11_CONTENT_PROTECTION_CAPS = D3D11_CONTENT_PROTECTION_CAPS(16384i32); | |
15415 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15416 | pub const D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_DRM_COMMUNICATION_MULTI_THREADED: D3D11_CONTENT_PROTECTION_CAPS = D3D11_CONTENT_PROTECTION_CAPS(32768i32); | |
15417 | impl ::core::marker::Copy for D3D11_CONTENT_PROTECTION_CAPS {} | |
15418 | impl ::core::clone::Clone for D3D11_CONTENT_PROTECTION_CAPS { | |
15419 | fn clone(&self) -> Self { | |
15420 | *self | |
15421 | } | |
15422 | } | |
15423 | impl ::core::default::Default for D3D11_CONTENT_PROTECTION_CAPS { | |
15424 | fn default() -> Self { | |
15425 | Self(0) | |
15426 | } | |
15427 | } | |
15428 | impl ::windows::core::TypeKind for D3D11_CONTENT_PROTECTION_CAPS { | |
15429 | type TypeKind = ::windows::core::CopyType; | |
15430 | } | |
15431 | impl ::core::fmt::Debug for D3D11_CONTENT_PROTECTION_CAPS { | |
15432 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15433 | f.debug_tuple("D3D11_CONTENT_PROTECTION_CAPS").field(&self.0).finish() | |
15434 | } | |
15435 | } | |
15436 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15437 | #[repr(transparent)] | |
15438 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15439 | pub struct D3D11_CONTEXT_TYPE(pub i32); | |
15440 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15441 | pub const D3D11_CONTEXT_TYPE_ALL: D3D11_CONTEXT_TYPE = D3D11_CONTEXT_TYPE(0i32); | |
15442 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15443 | pub const D3D11_CONTEXT_TYPE_3D: D3D11_CONTEXT_TYPE = D3D11_CONTEXT_TYPE(1i32); | |
15444 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15445 | pub const D3D11_CONTEXT_TYPE_COMPUTE: D3D11_CONTEXT_TYPE = D3D11_CONTEXT_TYPE(2i32); | |
15446 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15447 | pub const D3D11_CONTEXT_TYPE_COPY: D3D11_CONTEXT_TYPE = D3D11_CONTEXT_TYPE(3i32); | |
15448 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15449 | pub const D3D11_CONTEXT_TYPE_VIDEO: D3D11_CONTEXT_TYPE = D3D11_CONTEXT_TYPE(4i32); | |
15450 | impl ::core::marker::Copy for D3D11_CONTEXT_TYPE {} | |
15451 | impl ::core::clone::Clone for D3D11_CONTEXT_TYPE { | |
15452 | fn clone(&self) -> Self { | |
15453 | *self | |
15454 | } | |
15455 | } | |
15456 | impl ::core::default::Default for D3D11_CONTEXT_TYPE { | |
15457 | fn default() -> Self { | |
15458 | Self(0) | |
15459 | } | |
15460 | } | |
15461 | impl ::windows::core::TypeKind for D3D11_CONTEXT_TYPE { | |
15462 | type TypeKind = ::windows::core::CopyType; | |
15463 | } | |
15464 | impl ::core::fmt::Debug for D3D11_CONTEXT_TYPE { | |
15465 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15466 | f.debug_tuple("D3D11_CONTEXT_TYPE").field(&self.0).finish() | |
15467 | } | |
15468 | } | |
15469 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15470 | #[repr(transparent)] | |
15471 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15472 | pub struct D3D11_COPY_FLAGS(pub i32); | |
15473 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15474 | pub const D3D11_COPY_NO_OVERWRITE: D3D11_COPY_FLAGS = D3D11_COPY_FLAGS(1i32); | |
15475 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15476 | pub const D3D11_COPY_DISCARD: D3D11_COPY_FLAGS = D3D11_COPY_FLAGS(2i32); | |
15477 | impl ::core::marker::Copy for D3D11_COPY_FLAGS {} | |
15478 | impl ::core::clone::Clone for D3D11_COPY_FLAGS { | |
15479 | fn clone(&self) -> Self { | |
15480 | *self | |
15481 | } | |
15482 | } | |
15483 | impl ::core::default::Default for D3D11_COPY_FLAGS { | |
15484 | fn default() -> Self { | |
15485 | Self(0) | |
15486 | } | |
15487 | } | |
15488 | impl ::windows::core::TypeKind for D3D11_COPY_FLAGS { | |
15489 | type TypeKind = ::windows::core::CopyType; | |
15490 | } | |
15491 | impl ::core::fmt::Debug for D3D11_COPY_FLAGS { | |
15492 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15493 | f.debug_tuple("D3D11_COPY_FLAGS").field(&self.0).finish() | |
15494 | } | |
15495 | } | |
15496 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15497 | #[repr(transparent)] | |
15498 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15499 | pub struct D3D11_COUNTER(pub i32); | |
15500 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15501 | pub const D3D11_COUNTER_DEVICE_DEPENDENT_0: D3D11_COUNTER = D3D11_COUNTER(1073741824i32); | |
15502 | impl ::core::marker::Copy for D3D11_COUNTER {} | |
15503 | impl ::core::clone::Clone for D3D11_COUNTER { | |
15504 | fn clone(&self) -> Self { | |
15505 | *self | |
15506 | } | |
15507 | } | |
15508 | impl ::core::default::Default for D3D11_COUNTER { | |
15509 | fn default() -> Self { | |
15510 | Self(0) | |
15511 | } | |
15512 | } | |
15513 | impl ::windows::core::TypeKind for D3D11_COUNTER { | |
15514 | type TypeKind = ::windows::core::CopyType; | |
15515 | } | |
15516 | impl ::core::fmt::Debug for D3D11_COUNTER { | |
15517 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15518 | f.debug_tuple("D3D11_COUNTER").field(&self.0).finish() | |
15519 | } | |
15520 | } | |
15521 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15522 | #[repr(transparent)] | |
15523 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15524 | pub struct D3D11_COUNTER_TYPE(pub i32); | |
15525 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15526 | pub const D3D11_COUNTER_TYPE_FLOAT32: D3D11_COUNTER_TYPE = D3D11_COUNTER_TYPE(0i32); | |
15527 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15528 | pub const D3D11_COUNTER_TYPE_UINT16: D3D11_COUNTER_TYPE = D3D11_COUNTER_TYPE(1i32); | |
15529 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15530 | pub const D3D11_COUNTER_TYPE_UINT32: D3D11_COUNTER_TYPE = D3D11_COUNTER_TYPE(2i32); | |
15531 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15532 | pub const D3D11_COUNTER_TYPE_UINT64: D3D11_COUNTER_TYPE = D3D11_COUNTER_TYPE(3i32); | |
15533 | impl ::core::marker::Copy for D3D11_COUNTER_TYPE {} | |
15534 | impl ::core::clone::Clone for D3D11_COUNTER_TYPE { | |
15535 | fn clone(&self) -> Self { | |
15536 | *self | |
15537 | } | |
15538 | } | |
15539 | impl ::core::default::Default for D3D11_COUNTER_TYPE { | |
15540 | fn default() -> Self { | |
15541 | Self(0) | |
15542 | } | |
15543 | } | |
15544 | impl ::windows::core::TypeKind for D3D11_COUNTER_TYPE { | |
15545 | type TypeKind = ::windows::core::CopyType; | |
15546 | } | |
15547 | impl ::core::fmt::Debug for D3D11_COUNTER_TYPE { | |
15548 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15549 | f.debug_tuple("D3D11_COUNTER_TYPE").field(&self.0).finish() | |
15550 | } | |
15551 | } | |
15552 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15553 | #[repr(transparent)] | |
15554 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15555 | pub struct D3D11_CPU_ACCESS_FLAG(pub i32); | |
15556 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15557 | pub const D3D11_CPU_ACCESS_WRITE: D3D11_CPU_ACCESS_FLAG = D3D11_CPU_ACCESS_FLAG(65536i32); | |
15558 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15559 | pub const D3D11_CPU_ACCESS_READ: D3D11_CPU_ACCESS_FLAG = D3D11_CPU_ACCESS_FLAG(131072i32); | |
15560 | impl ::core::marker::Copy for D3D11_CPU_ACCESS_FLAG {} | |
15561 | impl ::core::clone::Clone for D3D11_CPU_ACCESS_FLAG { | |
15562 | fn clone(&self) -> Self { | |
15563 | *self | |
15564 | } | |
15565 | } | |
15566 | impl ::core::default::Default for D3D11_CPU_ACCESS_FLAG { | |
15567 | fn default() -> Self { | |
15568 | Self(0) | |
15569 | } | |
15570 | } | |
15571 | impl ::windows::core::TypeKind for D3D11_CPU_ACCESS_FLAG { | |
15572 | type TypeKind = ::windows::core::CopyType; | |
15573 | } | |
15574 | impl ::core::fmt::Debug for D3D11_CPU_ACCESS_FLAG { | |
15575 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15576 | f.debug_tuple("D3D11_CPU_ACCESS_FLAG").field(&self.0).finish() | |
15577 | } | |
15578 | } | |
15579 | impl D3D11_CPU_ACCESS_FLAG { | |
15580 | pub const fn contains(&self, other: Self) -> bool { | |
15581 | self.0 & other.0 == other.0 | |
15582 | } | |
15583 | } | |
15584 | impl ::core::ops::BitOr for D3D11_CPU_ACCESS_FLAG { | |
15585 | type Output = Self; | |
15586 | fn bitor(self, other: Self) -> Self { | |
15587 | Self(self.0 | other.0) | |
15588 | } | |
15589 | } | |
15590 | impl ::core::ops::BitAnd for D3D11_CPU_ACCESS_FLAG { | |
15591 | type Output = Self; | |
15592 | fn bitand(self, other: Self) -> Self { | |
15593 | Self(self.0 & other.0) | |
15594 | } | |
15595 | } | |
15596 | impl ::core::ops::BitOrAssign for D3D11_CPU_ACCESS_FLAG { | |
15597 | fn bitor_assign(&mut self, other: Self) { | |
15598 | self.0.bitor_assign(other.0) | |
15599 | } | |
15600 | } | |
15601 | impl ::core::ops::BitAndAssign for D3D11_CPU_ACCESS_FLAG { | |
15602 | fn bitand_assign(&mut self, other: Self) { | |
15603 | self.0.bitand_assign(other.0) | |
15604 | } | |
15605 | } | |
15606 | impl ::core::ops::Not for D3D11_CPU_ACCESS_FLAG { | |
15607 | type Output = Self; | |
15608 | fn not(self) -> Self { | |
15609 | Self(self.0.not()) | |
15610 | } | |
15611 | } | |
15612 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15613 | #[repr(transparent)] | |
15614 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15615 | pub struct D3D11_CREATE_DEVICE_FLAG(pub u32); | |
15616 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15617 | pub const D3D11_CREATE_DEVICE_SINGLETHREADED: D3D11_CREATE_DEVICE_FLAG = D3D11_CREATE_DEVICE_FLAG(1u32); | |
15618 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15619 | pub const D3D11_CREATE_DEVICE_DEBUG: D3D11_CREATE_DEVICE_FLAG = D3D11_CREATE_DEVICE_FLAG(2u32); | |
15620 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15621 | pub const D3D11_CREATE_DEVICE_SWITCH_TO_REF: D3D11_CREATE_DEVICE_FLAG = D3D11_CREATE_DEVICE_FLAG(4u32); | |
15622 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15623 | pub const D3D11_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS: D3D11_CREATE_DEVICE_FLAG = D3D11_CREATE_DEVICE_FLAG(8u32); | |
15624 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15625 | pub const D3D11_CREATE_DEVICE_BGRA_SUPPORT: D3D11_CREATE_DEVICE_FLAG = D3D11_CREATE_DEVICE_FLAG(32u32); | |
15626 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15627 | pub const D3D11_CREATE_DEVICE_DEBUGGABLE: D3D11_CREATE_DEVICE_FLAG = D3D11_CREATE_DEVICE_FLAG(64u32); | |
15628 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15629 | pub const D3D11_CREATE_DEVICE_PREVENT_ALTERING_LAYER_SETTINGS_FROM_REGISTRY: D3D11_CREATE_DEVICE_FLAG = D3D11_CREATE_DEVICE_FLAG(128u32); | |
15630 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15631 | pub const D3D11_CREATE_DEVICE_DISABLE_GPU_TIMEOUT: D3D11_CREATE_DEVICE_FLAG = D3D11_CREATE_DEVICE_FLAG(256u32); | |
15632 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15633 | pub const D3D11_CREATE_DEVICE_VIDEO_SUPPORT: D3D11_CREATE_DEVICE_FLAG = D3D11_CREATE_DEVICE_FLAG(2048u32); | |
15634 | impl ::core::marker::Copy for D3D11_CREATE_DEVICE_FLAG {} | |
15635 | impl ::core::clone::Clone for D3D11_CREATE_DEVICE_FLAG { | |
15636 | fn clone(&self) -> Self { | |
15637 | *self | |
15638 | } | |
15639 | } | |
15640 | impl ::core::default::Default for D3D11_CREATE_DEVICE_FLAG { | |
15641 | fn default() -> Self { | |
15642 | Self(0) | |
15643 | } | |
15644 | } | |
15645 | impl ::windows::core::TypeKind for D3D11_CREATE_DEVICE_FLAG { | |
15646 | type TypeKind = ::windows::core::CopyType; | |
15647 | } | |
15648 | impl ::core::fmt::Debug for D3D11_CREATE_DEVICE_FLAG { | |
15649 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15650 | f.debug_tuple("D3D11_CREATE_DEVICE_FLAG").field(&self.0).finish() | |
15651 | } | |
15652 | } | |
15653 | impl D3D11_CREATE_DEVICE_FLAG { | |
15654 | pub const fn contains(&self, other: Self) -> bool { | |
15655 | self.0 & other.0 == other.0 | |
15656 | } | |
15657 | } | |
15658 | impl ::core::ops::BitOr for D3D11_CREATE_DEVICE_FLAG { | |
15659 | type Output = Self; | |
15660 | fn bitor(self, other: Self) -> Self { | |
15661 | Self(self.0 | other.0) | |
15662 | } | |
15663 | } | |
15664 | impl ::core::ops::BitAnd for D3D11_CREATE_DEVICE_FLAG { | |
15665 | type Output = Self; | |
15666 | fn bitand(self, other: Self) -> Self { | |
15667 | Self(self.0 & other.0) | |
15668 | } | |
15669 | } | |
15670 | impl ::core::ops::BitOrAssign for D3D11_CREATE_DEVICE_FLAG { | |
15671 | fn bitor_assign(&mut self, other: Self) { | |
15672 | self.0.bitor_assign(other.0) | |
15673 | } | |
15674 | } | |
15675 | impl ::core::ops::BitAndAssign for D3D11_CREATE_DEVICE_FLAG { | |
15676 | fn bitand_assign(&mut self, other: Self) { | |
15677 | self.0.bitand_assign(other.0) | |
15678 | } | |
15679 | } | |
15680 | impl ::core::ops::Not for D3D11_CREATE_DEVICE_FLAG { | |
15681 | type Output = Self; | |
15682 | fn not(self) -> Self { | |
15683 | Self(self.0.not()) | |
15684 | } | |
15685 | } | |
15686 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15687 | #[repr(transparent)] | |
15688 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15689 | pub struct D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS(pub i32); | |
15690 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15691 | pub const D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAG_NONE: D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS = D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS(0i32); | |
15692 | impl ::core::marker::Copy for D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS {} | |
15693 | impl ::core::clone::Clone for D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS { | |
15694 | fn clone(&self) -> Self { | |
15695 | *self | |
15696 | } | |
15697 | } | |
15698 | impl ::core::default::Default for D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS { | |
15699 | fn default() -> Self { | |
15700 | Self(0) | |
15701 | } | |
15702 | } | |
15703 | impl ::windows::core::TypeKind for D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS { | |
15704 | type TypeKind = ::windows::core::CopyType; | |
15705 | } | |
15706 | impl ::core::fmt::Debug for D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS { | |
15707 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15708 | f.debug_tuple("D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS").field(&self.0).finish() | |
15709 | } | |
15710 | } | |
15711 | impl D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS { | |
15712 | pub const fn contains(&self, other: Self) -> bool { | |
15713 | self.0 & other.0 == other.0 | |
15714 | } | |
15715 | } | |
15716 | impl ::core::ops::BitOr for D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS { | |
15717 | type Output = Self; | |
15718 | fn bitor(self, other: Self) -> Self { | |
15719 | Self(self.0 | other.0) | |
15720 | } | |
15721 | } | |
15722 | impl ::core::ops::BitAnd for D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS { | |
15723 | type Output = Self; | |
15724 | fn bitand(self, other: Self) -> Self { | |
15725 | Self(self.0 & other.0) | |
15726 | } | |
15727 | } | |
15728 | impl ::core::ops::BitOrAssign for D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS { | |
15729 | fn bitor_assign(&mut self, other: Self) { | |
15730 | self.0.bitor_assign(other.0) | |
15731 | } | |
15732 | } | |
15733 | impl ::core::ops::BitAndAssign for D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS { | |
15734 | fn bitand_assign(&mut self, other: Self) { | |
15735 | self.0.bitand_assign(other.0) | |
15736 | } | |
15737 | } | |
15738 | impl ::core::ops::Not for D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS { | |
15739 | type Output = Self; | |
15740 | fn not(self) -> Self { | |
15741 | Self(self.0.not()) | |
15742 | } | |
15743 | } | |
15744 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15745 | #[repr(transparent)] | |
15746 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15747 | pub struct D3D11_CRYPTO_SESSION_STATUS(pub i32); | |
15748 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15749 | pub const D3D11_CRYPTO_SESSION_STATUS_OK: D3D11_CRYPTO_SESSION_STATUS = D3D11_CRYPTO_SESSION_STATUS(0i32); | |
15750 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15751 | pub const D3D11_CRYPTO_SESSION_STATUS_KEY_LOST: D3D11_CRYPTO_SESSION_STATUS = D3D11_CRYPTO_SESSION_STATUS(1i32); | |
15752 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15753 | pub const D3D11_CRYPTO_SESSION_STATUS_KEY_AND_CONTENT_LOST: D3D11_CRYPTO_SESSION_STATUS = D3D11_CRYPTO_SESSION_STATUS(2i32); | |
15754 | impl ::core::marker::Copy for D3D11_CRYPTO_SESSION_STATUS {} | |
15755 | impl ::core::clone::Clone for D3D11_CRYPTO_SESSION_STATUS { | |
15756 | fn clone(&self) -> Self { | |
15757 | *self | |
15758 | } | |
15759 | } | |
15760 | impl ::core::default::Default for D3D11_CRYPTO_SESSION_STATUS { | |
15761 | fn default() -> Self { | |
15762 | Self(0) | |
15763 | } | |
15764 | } | |
15765 | impl ::windows::core::TypeKind for D3D11_CRYPTO_SESSION_STATUS { | |
15766 | type TypeKind = ::windows::core::CopyType; | |
15767 | } | |
15768 | impl ::core::fmt::Debug for D3D11_CRYPTO_SESSION_STATUS { | |
15769 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15770 | f.debug_tuple("D3D11_CRYPTO_SESSION_STATUS").field(&self.0).finish() | |
15771 | } | |
15772 | } | |
15773 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15774 | #[repr(transparent)] | |
15775 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15776 | pub struct D3D11_CULL_MODE(pub i32); | |
15777 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15778 | pub const D3D11_CULL_NONE: D3D11_CULL_MODE = D3D11_CULL_MODE(1i32); | |
15779 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15780 | pub const D3D11_CULL_FRONT: D3D11_CULL_MODE = D3D11_CULL_MODE(2i32); | |
15781 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15782 | pub const D3D11_CULL_BACK: D3D11_CULL_MODE = D3D11_CULL_MODE(3i32); | |
15783 | impl ::core::marker::Copy for D3D11_CULL_MODE {} | |
15784 | impl ::core::clone::Clone for D3D11_CULL_MODE { | |
15785 | fn clone(&self) -> Self { | |
15786 | *self | |
15787 | } | |
15788 | } | |
15789 | impl ::core::default::Default for D3D11_CULL_MODE { | |
15790 | fn default() -> Self { | |
15791 | Self(0) | |
15792 | } | |
15793 | } | |
15794 | impl ::windows::core::TypeKind for D3D11_CULL_MODE { | |
15795 | type TypeKind = ::windows::core::CopyType; | |
15796 | } | |
15797 | impl ::core::fmt::Debug for D3D11_CULL_MODE { | |
15798 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15799 | f.debug_tuple("D3D11_CULL_MODE").field(&self.0).finish() | |
15800 | } | |
15801 | } | |
15802 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15803 | #[repr(transparent)] | |
15804 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15805 | pub struct D3D11_DEPTH_WRITE_MASK(pub i32); | |
15806 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15807 | pub const D3D11_DEPTH_WRITE_MASK_ZERO: D3D11_DEPTH_WRITE_MASK = D3D11_DEPTH_WRITE_MASK(0i32); | |
15808 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15809 | pub const D3D11_DEPTH_WRITE_MASK_ALL: D3D11_DEPTH_WRITE_MASK = D3D11_DEPTH_WRITE_MASK(1i32); | |
15810 | impl ::core::marker::Copy for D3D11_DEPTH_WRITE_MASK {} | |
15811 | impl ::core::clone::Clone for D3D11_DEPTH_WRITE_MASK { | |
15812 | fn clone(&self) -> Self { | |
15813 | *self | |
15814 | } | |
15815 | } | |
15816 | impl ::core::default::Default for D3D11_DEPTH_WRITE_MASK { | |
15817 | fn default() -> Self { | |
15818 | Self(0) | |
15819 | } | |
15820 | } | |
15821 | impl ::windows::core::TypeKind for D3D11_DEPTH_WRITE_MASK { | |
15822 | type TypeKind = ::windows::core::CopyType; | |
15823 | } | |
15824 | impl ::core::fmt::Debug for D3D11_DEPTH_WRITE_MASK { | |
15825 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15826 | f.debug_tuple("D3D11_DEPTH_WRITE_MASK").field(&self.0).finish() | |
15827 | } | |
15828 | } | |
15829 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15830 | #[repr(transparent)] | |
15831 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15832 | pub struct D3D11_DEVICE_CONTEXT_TYPE(pub i32); | |
15833 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15834 | pub const D3D11_DEVICE_CONTEXT_IMMEDIATE: D3D11_DEVICE_CONTEXT_TYPE = D3D11_DEVICE_CONTEXT_TYPE(0i32); | |
15835 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15836 | pub const D3D11_DEVICE_CONTEXT_DEFERRED: D3D11_DEVICE_CONTEXT_TYPE = D3D11_DEVICE_CONTEXT_TYPE(1i32); | |
15837 | impl ::core::marker::Copy for D3D11_DEVICE_CONTEXT_TYPE {} | |
15838 | impl ::core::clone::Clone for D3D11_DEVICE_CONTEXT_TYPE { | |
15839 | fn clone(&self) -> Self { | |
15840 | *self | |
15841 | } | |
15842 | } | |
15843 | impl ::core::default::Default for D3D11_DEVICE_CONTEXT_TYPE { | |
15844 | fn default() -> Self { | |
15845 | Self(0) | |
15846 | } | |
15847 | } | |
15848 | impl ::windows::core::TypeKind for D3D11_DEVICE_CONTEXT_TYPE { | |
15849 | type TypeKind = ::windows::core::CopyType; | |
15850 | } | |
15851 | impl ::core::fmt::Debug for D3D11_DEVICE_CONTEXT_TYPE { | |
15852 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15853 | f.debug_tuple("D3D11_DEVICE_CONTEXT_TYPE").field(&self.0).finish() | |
15854 | } | |
15855 | } | |
15856 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15857 | #[repr(transparent)] | |
15858 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15859 | pub struct D3D11_DSV_DIMENSION(pub i32); | |
15860 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15861 | pub const D3D11_DSV_DIMENSION_UNKNOWN: D3D11_DSV_DIMENSION = D3D11_DSV_DIMENSION(0i32); | |
15862 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15863 | pub const D3D11_DSV_DIMENSION_TEXTURE1D: D3D11_DSV_DIMENSION = D3D11_DSV_DIMENSION(1i32); | |
15864 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15865 | pub const D3D11_DSV_DIMENSION_TEXTURE1DARRAY: D3D11_DSV_DIMENSION = D3D11_DSV_DIMENSION(2i32); | |
15866 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15867 | pub const D3D11_DSV_DIMENSION_TEXTURE2D: D3D11_DSV_DIMENSION = D3D11_DSV_DIMENSION(3i32); | |
15868 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15869 | pub const D3D11_DSV_DIMENSION_TEXTURE2DARRAY: D3D11_DSV_DIMENSION = D3D11_DSV_DIMENSION(4i32); | |
15870 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15871 | pub const D3D11_DSV_DIMENSION_TEXTURE2DMS: D3D11_DSV_DIMENSION = D3D11_DSV_DIMENSION(5i32); | |
15872 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15873 | pub const D3D11_DSV_DIMENSION_TEXTURE2DMSARRAY: D3D11_DSV_DIMENSION = D3D11_DSV_DIMENSION(6i32); | |
15874 | impl ::core::marker::Copy for D3D11_DSV_DIMENSION {} | |
15875 | impl ::core::clone::Clone for D3D11_DSV_DIMENSION { | |
15876 | fn clone(&self) -> Self { | |
15877 | *self | |
15878 | } | |
15879 | } | |
15880 | impl ::core::default::Default for D3D11_DSV_DIMENSION { | |
15881 | fn default() -> Self { | |
15882 | Self(0) | |
15883 | } | |
15884 | } | |
15885 | impl ::windows::core::TypeKind for D3D11_DSV_DIMENSION { | |
15886 | type TypeKind = ::windows::core::CopyType; | |
15887 | } | |
15888 | impl ::core::fmt::Debug for D3D11_DSV_DIMENSION { | |
15889 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15890 | f.debug_tuple("D3D11_DSV_DIMENSION").field(&self.0).finish() | |
15891 | } | |
15892 | } | |
15893 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15894 | #[repr(transparent)] | |
15895 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15896 | pub struct D3D11_DSV_FLAG(pub i32); | |
15897 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15898 | pub const D3D11_DSV_READ_ONLY_DEPTH: D3D11_DSV_FLAG = D3D11_DSV_FLAG(1i32); | |
15899 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15900 | pub const D3D11_DSV_READ_ONLY_STENCIL: D3D11_DSV_FLAG = D3D11_DSV_FLAG(2i32); | |
15901 | impl ::core::marker::Copy for D3D11_DSV_FLAG {} | |
15902 | impl ::core::clone::Clone for D3D11_DSV_FLAG { | |
15903 | fn clone(&self) -> Self { | |
15904 | *self | |
15905 | } | |
15906 | } | |
15907 | impl ::core::default::Default for D3D11_DSV_FLAG { | |
15908 | fn default() -> Self { | |
15909 | Self(0) | |
15910 | } | |
15911 | } | |
15912 | impl ::windows::core::TypeKind for D3D11_DSV_FLAG { | |
15913 | type TypeKind = ::windows::core::CopyType; | |
15914 | } | |
15915 | impl ::core::fmt::Debug for D3D11_DSV_FLAG { | |
15916 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15917 | f.debug_tuple("D3D11_DSV_FLAG").field(&self.0).finish() | |
15918 | } | |
15919 | } | |
15920 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15921 | #[repr(transparent)] | |
15922 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15923 | pub struct D3D11_FEATURE(pub i32); | |
15924 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15925 | pub const D3D11_FEATURE_THREADING: D3D11_FEATURE = D3D11_FEATURE(0i32); | |
15926 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15927 | pub const D3D11_FEATURE_DOUBLES: D3D11_FEATURE = D3D11_FEATURE(1i32); | |
15928 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15929 | pub const D3D11_FEATURE_FORMAT_SUPPORT: D3D11_FEATURE = D3D11_FEATURE(2i32); | |
15930 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15931 | pub const D3D11_FEATURE_FORMAT_SUPPORT2: D3D11_FEATURE = D3D11_FEATURE(3i32); | |
15932 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15933 | pub const D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONS: D3D11_FEATURE = D3D11_FEATURE(4i32); | |
15934 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15935 | pub const D3D11_FEATURE_D3D11_OPTIONS: D3D11_FEATURE = D3D11_FEATURE(5i32); | |
15936 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15937 | pub const D3D11_FEATURE_ARCHITECTURE_INFO: D3D11_FEATURE = D3D11_FEATURE(6i32); | |
15938 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15939 | pub const D3D11_FEATURE_D3D9_OPTIONS: D3D11_FEATURE = D3D11_FEATURE(7i32); | |
15940 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15941 | pub const D3D11_FEATURE_SHADER_MIN_PRECISION_SUPPORT: D3D11_FEATURE = D3D11_FEATURE(8i32); | |
15942 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15943 | pub const D3D11_FEATURE_D3D9_SHADOW_SUPPORT: D3D11_FEATURE = D3D11_FEATURE(9i32); | |
15944 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15945 | pub const D3D11_FEATURE_D3D11_OPTIONS1: D3D11_FEATURE = D3D11_FEATURE(10i32); | |
15946 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15947 | pub const D3D11_FEATURE_D3D9_SIMPLE_INSTANCING_SUPPORT: D3D11_FEATURE = D3D11_FEATURE(11i32); | |
15948 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15949 | pub const D3D11_FEATURE_MARKER_SUPPORT: D3D11_FEATURE = D3D11_FEATURE(12i32); | |
15950 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15951 | pub const D3D11_FEATURE_D3D9_OPTIONS1: D3D11_FEATURE = D3D11_FEATURE(13i32); | |
15952 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15953 | pub const D3D11_FEATURE_D3D11_OPTIONS2: D3D11_FEATURE = D3D11_FEATURE(14i32); | |
15954 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15955 | pub const D3D11_FEATURE_D3D11_OPTIONS3: D3D11_FEATURE = D3D11_FEATURE(15i32); | |
15956 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15957 | pub const D3D11_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORT: D3D11_FEATURE = D3D11_FEATURE(16i32); | |
15958 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15959 | pub const D3D11_FEATURE_D3D11_OPTIONS4: D3D11_FEATURE = D3D11_FEATURE(17i32); | |
15960 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15961 | pub const D3D11_FEATURE_SHADER_CACHE: D3D11_FEATURE = D3D11_FEATURE(18i32); | |
15962 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15963 | pub const D3D11_FEATURE_D3D11_OPTIONS5: D3D11_FEATURE = D3D11_FEATURE(19i32); | |
15964 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15965 | pub const D3D11_FEATURE_DISPLAYABLE: D3D11_FEATURE = D3D11_FEATURE(20i32); | |
15966 | impl ::core::marker::Copy for D3D11_FEATURE {} | |
15967 | impl ::core::clone::Clone for D3D11_FEATURE { | |
15968 | fn clone(&self) -> Self { | |
15969 | *self | |
15970 | } | |
15971 | } | |
15972 | impl ::core::default::Default for D3D11_FEATURE { | |
15973 | fn default() -> Self { | |
15974 | Self(0) | |
15975 | } | |
15976 | } | |
15977 | impl ::windows::core::TypeKind for D3D11_FEATURE { | |
15978 | type TypeKind = ::windows::core::CopyType; | |
15979 | } | |
15980 | impl ::core::fmt::Debug for D3D11_FEATURE { | |
15981 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
15982 | f.debug_tuple("D3D11_FEATURE").field(&self.0).finish() | |
15983 | } | |
15984 | } | |
15985 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15986 | #[repr(transparent)] | |
15987 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
15988 | pub struct D3D11_FEATURE_VIDEO(pub i32); | |
15989 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
15990 | pub const D3D11_FEATURE_VIDEO_DECODER_HISTOGRAM: D3D11_FEATURE_VIDEO = D3D11_FEATURE_VIDEO(0i32); | |
15991 | impl ::core::marker::Copy for D3D11_FEATURE_VIDEO {} | |
15992 | impl ::core::clone::Clone for D3D11_FEATURE_VIDEO { | |
15993 | fn clone(&self) -> Self { | |
15994 | *self | |
15995 | } | |
15996 | } | |
15997 | impl ::core::default::Default for D3D11_FEATURE_VIDEO { | |
15998 | fn default() -> Self { | |
15999 | Self(0) | |
16000 | } | |
16001 | } | |
16002 | impl ::windows::core::TypeKind for D3D11_FEATURE_VIDEO { | |
16003 | type TypeKind = ::windows::core::CopyType; | |
16004 | } | |
16005 | impl ::core::fmt::Debug for D3D11_FEATURE_VIDEO { | |
16006 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
16007 | f.debug_tuple("D3D11_FEATURE_VIDEO").field(&self.0).finish() | |
16008 | } | |
16009 | } | |
16010 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16011 | #[repr(transparent)] | |
16012 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
16013 | pub struct D3D11_FENCE_FLAG(pub i32); | |
16014 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16015 | pub const D3D11_FENCE_FLAG_NONE: D3D11_FENCE_FLAG = D3D11_FENCE_FLAG(0i32); | |
16016 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16017 | pub const D3D11_FENCE_FLAG_SHARED: D3D11_FENCE_FLAG = D3D11_FENCE_FLAG(2i32); | |
16018 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16019 | pub const D3D11_FENCE_FLAG_SHARED_CROSS_ADAPTER: D3D11_FENCE_FLAG = D3D11_FENCE_FLAG(4i32); | |
16020 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16021 | pub const D3D11_FENCE_FLAG_NON_MONITORED: D3D11_FENCE_FLAG = D3D11_FENCE_FLAG(8i32); | |
16022 | impl ::core::marker::Copy for D3D11_FENCE_FLAG {} | |
16023 | impl ::core::clone::Clone for D3D11_FENCE_FLAG { | |
16024 | fn clone(&self) -> Self { | |
16025 | *self | |
16026 | } | |
16027 | } | |
16028 | impl ::core::default::Default for D3D11_FENCE_FLAG { | |
16029 | fn default() -> Self { | |
16030 | Self(0) | |
16031 | } | |
16032 | } | |
16033 | impl ::windows::core::TypeKind for D3D11_FENCE_FLAG { | |
16034 | type TypeKind = ::windows::core::CopyType; | |
16035 | } | |
16036 | impl ::core::fmt::Debug for D3D11_FENCE_FLAG { | |
16037 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
16038 | f.debug_tuple("D3D11_FENCE_FLAG").field(&self.0).finish() | |
16039 | } | |
16040 | } | |
16041 | impl D3D11_FENCE_FLAG { | |
16042 | pub const fn contains(&self, other: Self) -> bool { | |
16043 | self.0 & other.0 == other.0 | |
16044 | } | |
16045 | } | |
16046 | impl ::core::ops::BitOr for D3D11_FENCE_FLAG { | |
16047 | type Output = Self; | |
16048 | fn bitor(self, other: Self) -> Self { | |
16049 | Self(self.0 | other.0) | |
16050 | } | |
16051 | } | |
16052 | impl ::core::ops::BitAnd for D3D11_FENCE_FLAG { | |
16053 | type Output = Self; | |
16054 | fn bitand(self, other: Self) -> Self { | |
16055 | Self(self.0 & other.0) | |
16056 | } | |
16057 | } | |
16058 | impl ::core::ops::BitOrAssign for D3D11_FENCE_FLAG { | |
16059 | fn bitor_assign(&mut self, other: Self) { | |
16060 | self.0.bitor_assign(other.0) | |
16061 | } | |
16062 | } | |
16063 | impl ::core::ops::BitAndAssign for D3D11_FENCE_FLAG { | |
16064 | fn bitand_assign(&mut self, other: Self) { | |
16065 | self.0.bitand_assign(other.0) | |
16066 | } | |
16067 | } | |
16068 | impl ::core::ops::Not for D3D11_FENCE_FLAG { | |
16069 | type Output = Self; | |
16070 | fn not(self) -> Self { | |
16071 | Self(self.0.not()) | |
16072 | } | |
16073 | } | |
16074 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16075 | #[repr(transparent)] | |
16076 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
16077 | pub struct D3D11_FILL_MODE(pub i32); | |
16078 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16079 | pub const D3D11_FILL_WIREFRAME: D3D11_FILL_MODE = D3D11_FILL_MODE(2i32); | |
16080 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16081 | pub const D3D11_FILL_SOLID: D3D11_FILL_MODE = D3D11_FILL_MODE(3i32); | |
16082 | impl ::core::marker::Copy for D3D11_FILL_MODE {} | |
16083 | impl ::core::clone::Clone for D3D11_FILL_MODE { | |
16084 | fn clone(&self) -> Self { | |
16085 | *self | |
16086 | } | |
16087 | } | |
16088 | impl ::core::default::Default for D3D11_FILL_MODE { | |
16089 | fn default() -> Self { | |
16090 | Self(0) | |
16091 | } | |
16092 | } | |
16093 | impl ::windows::core::TypeKind for D3D11_FILL_MODE { | |
16094 | type TypeKind = ::windows::core::CopyType; | |
16095 | } | |
16096 | impl ::core::fmt::Debug for D3D11_FILL_MODE { | |
16097 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
16098 | f.debug_tuple("D3D11_FILL_MODE").field(&self.0).finish() | |
16099 | } | |
16100 | } | |
16101 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16102 | #[repr(transparent)] | |
16103 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
16104 | pub struct D3D11_FILTER(pub i32); | |
16105 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16106 | pub const D3D11_FILTER_MIN_MAG_MIP_POINT: D3D11_FILTER = D3D11_FILTER(0i32); | |
16107 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16108 | pub const D3D11_FILTER_MIN_MAG_POINT_MIP_LINEAR: D3D11_FILTER = D3D11_FILTER(1i32); | |
16109 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16110 | pub const D3D11_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT: D3D11_FILTER = D3D11_FILTER(4i32); | |
16111 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16112 | pub const D3D11_FILTER_MIN_POINT_MAG_MIP_LINEAR: D3D11_FILTER = D3D11_FILTER(5i32); | |
16113 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16114 | pub const D3D11_FILTER_MIN_LINEAR_MAG_MIP_POINT: D3D11_FILTER = D3D11_FILTER(16i32); | |
16115 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16116 | pub const D3D11_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR: D3D11_FILTER = D3D11_FILTER(17i32); | |
16117 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16118 | pub const D3D11_FILTER_MIN_MAG_LINEAR_MIP_POINT: D3D11_FILTER = D3D11_FILTER(20i32); | |
16119 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16120 | pub const D3D11_FILTER_MIN_MAG_MIP_LINEAR: D3D11_FILTER = D3D11_FILTER(21i32); | |
16121 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16122 | pub const D3D11_FILTER_ANISOTROPIC: D3D11_FILTER = D3D11_FILTER(85i32); | |
16123 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16124 | pub const D3D11_FILTER_COMPARISON_MIN_MAG_MIP_POINT: D3D11_FILTER = D3D11_FILTER(128i32); | |
16125 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16126 | pub const D3D11_FILTER_COMPARISON_MIN_MAG_POINT_MIP_LINEAR: D3D11_FILTER = D3D11_FILTER(129i32); | |
16127 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16128 | pub const D3D11_FILTER_COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT: D3D11_FILTER = D3D11_FILTER(132i32); | |
16129 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16130 | pub const D3D11_FILTER_COMPARISON_MIN_POINT_MAG_MIP_LINEAR: D3D11_FILTER = D3D11_FILTER(133i32); | |
16131 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16132 | pub const D3D11_FILTER_COMPARISON_MIN_LINEAR_MAG_MIP_POINT: D3D11_FILTER = D3D11_FILTER(144i32); | |
16133 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16134 | pub const D3D11_FILTER_COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR: D3D11_FILTER = D3D11_FILTER(145i32); | |
16135 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16136 | pub const D3D11_FILTER_COMPARISON_MIN_MAG_LINEAR_MIP_POINT: D3D11_FILTER = D3D11_FILTER(148i32); | |
16137 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16138 | pub const D3D11_FILTER_COMPARISON_MIN_MAG_MIP_LINEAR: D3D11_FILTER = D3D11_FILTER(149i32); | |
16139 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16140 | pub const D3D11_FILTER_COMPARISON_ANISOTROPIC: D3D11_FILTER = D3D11_FILTER(213i32); | |
16141 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16142 | pub const D3D11_FILTER_MINIMUM_MIN_MAG_MIP_POINT: D3D11_FILTER = D3D11_FILTER(256i32); | |
16143 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16144 | pub const D3D11_FILTER_MINIMUM_MIN_MAG_POINT_MIP_LINEAR: D3D11_FILTER = D3D11_FILTER(257i32); | |
16145 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16146 | pub const D3D11_FILTER_MINIMUM_MIN_POINT_MAG_LINEAR_MIP_POINT: D3D11_FILTER = D3D11_FILTER(260i32); | |
16147 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16148 | pub const D3D11_FILTER_MINIMUM_MIN_POINT_MAG_MIP_LINEAR: D3D11_FILTER = D3D11_FILTER(261i32); | |
16149 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16150 | pub const D3D11_FILTER_MINIMUM_MIN_LINEAR_MAG_MIP_POINT: D3D11_FILTER = D3D11_FILTER(272i32); | |
16151 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16152 | pub const D3D11_FILTER_MINIMUM_MIN_LINEAR_MAG_POINT_MIP_LINEAR: D3D11_FILTER = D3D11_FILTER(273i32); | |
16153 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16154 | pub const D3D11_FILTER_MINIMUM_MIN_MAG_LINEAR_MIP_POINT: D3D11_FILTER = D3D11_FILTER(276i32); | |
16155 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16156 | pub const D3D11_FILTER_MINIMUM_MIN_MAG_MIP_LINEAR: D3D11_FILTER = D3D11_FILTER(277i32); | |
16157 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16158 | pub const D3D11_FILTER_MINIMUM_ANISOTROPIC: D3D11_FILTER = D3D11_FILTER(341i32); | |
16159 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16160 | pub const D3D11_FILTER_MAXIMUM_MIN_MAG_MIP_POINT: D3D11_FILTER = D3D11_FILTER(384i32); | |
16161 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16162 | pub const D3D11_FILTER_MAXIMUM_MIN_MAG_POINT_MIP_LINEAR: D3D11_FILTER = D3D11_FILTER(385i32); | |
16163 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16164 | pub const D3D11_FILTER_MAXIMUM_MIN_POINT_MAG_LINEAR_MIP_POINT: D3D11_FILTER = D3D11_FILTER(388i32); | |
16165 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16166 | pub const D3D11_FILTER_MAXIMUM_MIN_POINT_MAG_MIP_LINEAR: D3D11_FILTER = D3D11_FILTER(389i32); | |
16167 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16168 | pub const D3D11_FILTER_MAXIMUM_MIN_LINEAR_MAG_MIP_POINT: D3D11_FILTER = D3D11_FILTER(400i32); | |
16169 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16170 | pub const D3D11_FILTER_MAXIMUM_MIN_LINEAR_MAG_POINT_MIP_LINEAR: D3D11_FILTER = D3D11_FILTER(401i32); | |
16171 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16172 | pub const D3D11_FILTER_MAXIMUM_MIN_MAG_LINEAR_MIP_POINT: D3D11_FILTER = D3D11_FILTER(404i32); | |
16173 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16174 | pub const D3D11_FILTER_MAXIMUM_MIN_MAG_MIP_LINEAR: D3D11_FILTER = D3D11_FILTER(405i32); | |
16175 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16176 | pub const D3D11_FILTER_MAXIMUM_ANISOTROPIC: D3D11_FILTER = D3D11_FILTER(469i32); | |
16177 | impl ::core::marker::Copy for D3D11_FILTER {} | |
16178 | impl ::core::clone::Clone for D3D11_FILTER { | |
16179 | fn clone(&self) -> Self { | |
16180 | *self | |
16181 | } | |
16182 | } | |
16183 | impl ::core::default::Default for D3D11_FILTER { | |
16184 | fn default() -> Self { | |
16185 | Self(0) | |
16186 | } | |
16187 | } | |
16188 | impl ::windows::core::TypeKind for D3D11_FILTER { | |
16189 | type TypeKind = ::windows::core::CopyType; | |
16190 | } | |
16191 | impl ::core::fmt::Debug for D3D11_FILTER { | |
16192 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
16193 | f.debug_tuple("D3D11_FILTER").field(&self.0).finish() | |
16194 | } | |
16195 | } | |
16196 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16197 | #[repr(transparent)] | |
16198 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
16199 | pub struct D3D11_FILTER_REDUCTION_TYPE(pub i32); | |
16200 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16201 | pub const D3D11_FILTER_REDUCTION_TYPE_STANDARD: D3D11_FILTER_REDUCTION_TYPE = D3D11_FILTER_REDUCTION_TYPE(0i32); | |
16202 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16203 | pub const D3D11_FILTER_REDUCTION_TYPE_COMPARISON: D3D11_FILTER_REDUCTION_TYPE = D3D11_FILTER_REDUCTION_TYPE(1i32); | |
16204 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16205 | pub const D3D11_FILTER_REDUCTION_TYPE_MINIMUM: D3D11_FILTER_REDUCTION_TYPE = D3D11_FILTER_REDUCTION_TYPE(2i32); | |
16206 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16207 | pub const D3D11_FILTER_REDUCTION_TYPE_MAXIMUM: D3D11_FILTER_REDUCTION_TYPE = D3D11_FILTER_REDUCTION_TYPE(3i32); | |
16208 | impl ::core::marker::Copy for D3D11_FILTER_REDUCTION_TYPE {} | |
16209 | impl ::core::clone::Clone for D3D11_FILTER_REDUCTION_TYPE { | |
16210 | fn clone(&self) -> Self { | |
16211 | *self | |
16212 | } | |
16213 | } | |
16214 | impl ::core::default::Default for D3D11_FILTER_REDUCTION_TYPE { | |
16215 | fn default() -> Self { | |
16216 | Self(0) | |
16217 | } | |
16218 | } | |
16219 | impl ::windows::core::TypeKind for D3D11_FILTER_REDUCTION_TYPE { | |
16220 | type TypeKind = ::windows::core::CopyType; | |
16221 | } | |
16222 | impl ::core::fmt::Debug for D3D11_FILTER_REDUCTION_TYPE { | |
16223 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
16224 | f.debug_tuple("D3D11_FILTER_REDUCTION_TYPE").field(&self.0).finish() | |
16225 | } | |
16226 | } | |
16227 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16228 | #[repr(transparent)] | |
16229 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
16230 | pub struct D3D11_FILTER_TYPE(pub i32); | |
16231 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16232 | pub const D3D11_FILTER_TYPE_POINT: D3D11_FILTER_TYPE = D3D11_FILTER_TYPE(0i32); | |
16233 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16234 | pub const D3D11_FILTER_TYPE_LINEAR: D3D11_FILTER_TYPE = D3D11_FILTER_TYPE(1i32); | |
16235 | impl ::core::marker::Copy for D3D11_FILTER_TYPE {} | |
16236 | impl ::core::clone::Clone for D3D11_FILTER_TYPE { | |
16237 | fn clone(&self) -> Self { | |
16238 | *self | |
16239 | } | |
16240 | } | |
16241 | impl ::core::default::Default for D3D11_FILTER_TYPE { | |
16242 | fn default() -> Self { | |
16243 | Self(0) | |
16244 | } | |
16245 | } | |
16246 | impl ::windows::core::TypeKind for D3D11_FILTER_TYPE { | |
16247 | type TypeKind = ::windows::core::CopyType; | |
16248 | } | |
16249 | impl ::core::fmt::Debug for D3D11_FILTER_TYPE { | |
16250 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
16251 | f.debug_tuple("D3D11_FILTER_TYPE").field(&self.0).finish() | |
16252 | } | |
16253 | } | |
16254 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16255 | #[repr(transparent)] | |
16256 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
16257 | pub struct D3D11_FORMAT_SUPPORT(pub i32); | |
16258 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16259 | pub const D3D11_FORMAT_SUPPORT_BUFFER: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(1i32); | |
16260 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16261 | pub const D3D11_FORMAT_SUPPORT_IA_VERTEX_BUFFER: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(2i32); | |
16262 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16263 | pub const D3D11_FORMAT_SUPPORT_IA_INDEX_BUFFER: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(4i32); | |
16264 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16265 | pub const D3D11_FORMAT_SUPPORT_SO_BUFFER: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(8i32); | |
16266 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16267 | pub const D3D11_FORMAT_SUPPORT_TEXTURE1D: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(16i32); | |
16268 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16269 | pub const D3D11_FORMAT_SUPPORT_TEXTURE2D: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(32i32); | |
16270 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16271 | pub const D3D11_FORMAT_SUPPORT_TEXTURE3D: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(64i32); | |
16272 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16273 | pub const D3D11_FORMAT_SUPPORT_TEXTURECUBE: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(128i32); | |
16274 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16275 | pub const D3D11_FORMAT_SUPPORT_SHADER_LOAD: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(256i32); | |
16276 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16277 | pub const D3D11_FORMAT_SUPPORT_SHADER_SAMPLE: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(512i32); | |
16278 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16279 | pub const D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_COMPARISON: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(1024i32); | |
16280 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16281 | pub const D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_MONO_TEXT: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(2048i32); | |
16282 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16283 | pub const D3D11_FORMAT_SUPPORT_MIP: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(4096i32); | |
16284 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16285 | pub const D3D11_FORMAT_SUPPORT_MIP_AUTOGEN: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(8192i32); | |
16286 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16287 | pub const D3D11_FORMAT_SUPPORT_RENDER_TARGET: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(16384i32); | |
16288 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16289 | pub const D3D11_FORMAT_SUPPORT_BLENDABLE: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(32768i32); | |
16290 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16291 | pub const D3D11_FORMAT_SUPPORT_DEPTH_STENCIL: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(65536i32); | |
16292 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16293 | pub const D3D11_FORMAT_SUPPORT_CPU_LOCKABLE: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(131072i32); | |
16294 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16295 | pub const D3D11_FORMAT_SUPPORT_MULTISAMPLE_RESOLVE: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(262144i32); | |
16296 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16297 | pub const D3D11_FORMAT_SUPPORT_DISPLAY: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(524288i32); | |
16298 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16299 | pub const D3D11_FORMAT_SUPPORT_CAST_WITHIN_BIT_LAYOUT: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(1048576i32); | |
16300 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16301 | pub const D3D11_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(2097152i32); | |
16302 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16303 | pub const D3D11_FORMAT_SUPPORT_MULTISAMPLE_LOAD: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(4194304i32); | |
16304 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16305 | pub const D3D11_FORMAT_SUPPORT_SHADER_GATHER: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(8388608i32); | |
16306 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16307 | pub const D3D11_FORMAT_SUPPORT_BACK_BUFFER_CAST: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(16777216i32); | |
16308 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16309 | pub const D3D11_FORMAT_SUPPORT_TYPED_UNORDERED_ACCESS_VIEW: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(33554432i32); | |
16310 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16311 | pub const D3D11_FORMAT_SUPPORT_SHADER_GATHER_COMPARISON: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(67108864i32); | |
16312 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16313 | pub const D3D11_FORMAT_SUPPORT_DECODER_OUTPUT: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(134217728i32); | |
16314 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16315 | pub const D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_OUTPUT: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(268435456i32); | |
16316 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16317 | pub const D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_INPUT: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(536870912i32); | |
16318 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16319 | pub const D3D11_FORMAT_SUPPORT_VIDEO_ENCODER: D3D11_FORMAT_SUPPORT = D3D11_FORMAT_SUPPORT(1073741824i32); | |
16320 | impl ::core::marker::Copy for D3D11_FORMAT_SUPPORT {} | |
16321 | impl ::core::clone::Clone for D3D11_FORMAT_SUPPORT { | |
16322 | fn clone(&self) -> Self { | |
16323 | *self | |
16324 | } | |
16325 | } | |
16326 | impl ::core::default::Default for D3D11_FORMAT_SUPPORT { | |
16327 | fn default() -> Self { | |
16328 | Self(0) | |
16329 | } | |
16330 | } | |
16331 | impl ::windows::core::TypeKind for D3D11_FORMAT_SUPPORT { | |
16332 | type TypeKind = ::windows::core::CopyType; | |
16333 | } | |
16334 | impl ::core::fmt::Debug for D3D11_FORMAT_SUPPORT { | |
16335 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
16336 | f.debug_tuple("D3D11_FORMAT_SUPPORT").field(&self.0).finish() | |
16337 | } | |
16338 | } | |
16339 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16340 | #[repr(transparent)] | |
16341 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
16342 | pub struct D3D11_FORMAT_SUPPORT2(pub i32); | |
16343 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16344 | pub const D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_ADD: D3D11_FORMAT_SUPPORT2 = D3D11_FORMAT_SUPPORT2(1i32); | |
16345 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16346 | pub const D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPS: D3D11_FORMAT_SUPPORT2 = D3D11_FORMAT_SUPPORT2(2i32); | |
16347 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16348 | pub const D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_COMPARE_STORE_OR_COMPARE_EXCHANGE: D3D11_FORMAT_SUPPORT2 = D3D11_FORMAT_SUPPORT2(4i32); | |
16349 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16350 | pub const D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_EXCHANGE: D3D11_FORMAT_SUPPORT2 = D3D11_FORMAT_SUPPORT2(8i32); | |
16351 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16352 | pub const D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_SIGNED_MIN_OR_MAX: D3D11_FORMAT_SUPPORT2 = D3D11_FORMAT_SUPPORT2(16i32); | |
16353 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16354 | pub const D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_UNSIGNED_MIN_OR_MAX: D3D11_FORMAT_SUPPORT2 = D3D11_FORMAT_SUPPORT2(32i32); | |
16355 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16356 | pub const D3D11_FORMAT_SUPPORT2_UAV_TYPED_LOAD: D3D11_FORMAT_SUPPORT2 = D3D11_FORMAT_SUPPORT2(64i32); | |
16357 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16358 | pub const D3D11_FORMAT_SUPPORT2_UAV_TYPED_STORE: D3D11_FORMAT_SUPPORT2 = D3D11_FORMAT_SUPPORT2(128i32); | |
16359 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16360 | pub const D3D11_FORMAT_SUPPORT2_OUTPUT_MERGER_LOGIC_OP: D3D11_FORMAT_SUPPORT2 = D3D11_FORMAT_SUPPORT2(256i32); | |
16361 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16362 | pub const D3D11_FORMAT_SUPPORT2_TILED: D3D11_FORMAT_SUPPORT2 = D3D11_FORMAT_SUPPORT2(512i32); | |
16363 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16364 | pub const D3D11_FORMAT_SUPPORT2_SHAREABLE: D3D11_FORMAT_SUPPORT2 = D3D11_FORMAT_SUPPORT2(1024i32); | |
16365 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16366 | pub const D3D11_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY: D3D11_FORMAT_SUPPORT2 = D3D11_FORMAT_SUPPORT2(16384i32); | |
16367 | impl ::core::marker::Copy for D3D11_FORMAT_SUPPORT2 {} | |
16368 | impl ::core::clone::Clone for D3D11_FORMAT_SUPPORT2 { | |
16369 | fn clone(&self) -> Self { | |
16370 | *self | |
16371 | } | |
16372 | } | |
16373 | impl ::core::default::Default for D3D11_FORMAT_SUPPORT2 { | |
16374 | fn default() -> Self { | |
16375 | Self(0) | |
16376 | } | |
16377 | } | |
16378 | impl ::windows::core::TypeKind for D3D11_FORMAT_SUPPORT2 { | |
16379 | type TypeKind = ::windows::core::CopyType; | |
16380 | } | |
16381 | impl ::core::fmt::Debug for D3D11_FORMAT_SUPPORT2 { | |
16382 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
16383 | f.debug_tuple("D3D11_FORMAT_SUPPORT2").field(&self.0).finish() | |
16384 | } | |
16385 | } | |
16386 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16387 | #[repr(transparent)] | |
16388 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
16389 | pub struct D3D11_INPUT_CLASSIFICATION(pub i32); | |
16390 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16391 | pub const D3D11_INPUT_PER_VERTEX_DATA: D3D11_INPUT_CLASSIFICATION = D3D11_INPUT_CLASSIFICATION(0i32); | |
16392 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16393 | pub const D3D11_INPUT_PER_INSTANCE_DATA: D3D11_INPUT_CLASSIFICATION = D3D11_INPUT_CLASSIFICATION(1i32); | |
16394 | impl ::core::marker::Copy for D3D11_INPUT_CLASSIFICATION {} | |
16395 | impl ::core::clone::Clone for D3D11_INPUT_CLASSIFICATION { | |
16396 | fn clone(&self) -> Self { | |
16397 | *self | |
16398 | } | |
16399 | } | |
16400 | impl ::core::default::Default for D3D11_INPUT_CLASSIFICATION { | |
16401 | fn default() -> Self { | |
16402 | Self(0) | |
16403 | } | |
16404 | } | |
16405 | impl ::windows::core::TypeKind for D3D11_INPUT_CLASSIFICATION { | |
16406 | type TypeKind = ::windows::core::CopyType; | |
16407 | } | |
16408 | impl ::core::fmt::Debug for D3D11_INPUT_CLASSIFICATION { | |
16409 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
16410 | f.debug_tuple("D3D11_INPUT_CLASSIFICATION").field(&self.0).finish() | |
16411 | } | |
16412 | } | |
16413 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16414 | #[repr(transparent)] | |
16415 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
16416 | pub struct D3D11_LOGIC_OP(pub i32); | |
16417 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16418 | pub const D3D11_LOGIC_OP_CLEAR: D3D11_LOGIC_OP = D3D11_LOGIC_OP(0i32); | |
16419 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16420 | pub const D3D11_LOGIC_OP_SET: D3D11_LOGIC_OP = D3D11_LOGIC_OP(1i32); | |
16421 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16422 | pub const D3D11_LOGIC_OP_COPY: D3D11_LOGIC_OP = D3D11_LOGIC_OP(2i32); | |
16423 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16424 | pub const D3D11_LOGIC_OP_COPY_INVERTED: D3D11_LOGIC_OP = D3D11_LOGIC_OP(3i32); | |
16425 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16426 | pub const D3D11_LOGIC_OP_NOOP: D3D11_LOGIC_OP = D3D11_LOGIC_OP(4i32); | |
16427 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16428 | pub const D3D11_LOGIC_OP_INVERT: D3D11_LOGIC_OP = D3D11_LOGIC_OP(5i32); | |
16429 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16430 | pub const D3D11_LOGIC_OP_AND: D3D11_LOGIC_OP = D3D11_LOGIC_OP(6i32); | |
16431 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16432 | pub const D3D11_LOGIC_OP_NAND: D3D11_LOGIC_OP = D3D11_LOGIC_OP(7i32); | |
16433 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16434 | pub const D3D11_LOGIC_OP_OR: D3D11_LOGIC_OP = D3D11_LOGIC_OP(8i32); | |
16435 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16436 | pub const D3D11_LOGIC_OP_NOR: D3D11_LOGIC_OP = D3D11_LOGIC_OP(9i32); | |
16437 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16438 | pub const D3D11_LOGIC_OP_XOR: D3D11_LOGIC_OP = D3D11_LOGIC_OP(10i32); | |
16439 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16440 | pub const D3D11_LOGIC_OP_EQUIV: D3D11_LOGIC_OP = D3D11_LOGIC_OP(11i32); | |
16441 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16442 | pub const D3D11_LOGIC_OP_AND_REVERSE: D3D11_LOGIC_OP = D3D11_LOGIC_OP(12i32); | |
16443 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16444 | pub const D3D11_LOGIC_OP_AND_INVERTED: D3D11_LOGIC_OP = D3D11_LOGIC_OP(13i32); | |
16445 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16446 | pub const D3D11_LOGIC_OP_OR_REVERSE: D3D11_LOGIC_OP = D3D11_LOGIC_OP(14i32); | |
16447 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16448 | pub const D3D11_LOGIC_OP_OR_INVERTED: D3D11_LOGIC_OP = D3D11_LOGIC_OP(15i32); | |
16449 | impl ::core::marker::Copy for D3D11_LOGIC_OP {} | |
16450 | impl ::core::clone::Clone for D3D11_LOGIC_OP { | |
16451 | fn clone(&self) -> Self { | |
16452 | *self | |
16453 | } | |
16454 | } | |
16455 | impl ::core::default::Default for D3D11_LOGIC_OP { | |
16456 | fn default() -> Self { | |
16457 | Self(0) | |
16458 | } | |
16459 | } | |
16460 | impl ::windows::core::TypeKind for D3D11_LOGIC_OP { | |
16461 | type TypeKind = ::windows::core::CopyType; | |
16462 | } | |
16463 | impl ::core::fmt::Debug for D3D11_LOGIC_OP { | |
16464 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
16465 | f.debug_tuple("D3D11_LOGIC_OP").field(&self.0).finish() | |
16466 | } | |
16467 | } | |
16468 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16469 | #[repr(transparent)] | |
16470 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
16471 | pub struct D3D11_MAP(pub i32); | |
16472 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16473 | pub const D3D11_MAP_READ: D3D11_MAP = D3D11_MAP(1i32); | |
16474 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16475 | pub const D3D11_MAP_WRITE: D3D11_MAP = D3D11_MAP(2i32); | |
16476 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16477 | pub const D3D11_MAP_READ_WRITE: D3D11_MAP = D3D11_MAP(3i32); | |
16478 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16479 | pub const D3D11_MAP_WRITE_DISCARD: D3D11_MAP = D3D11_MAP(4i32); | |
16480 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16481 | pub const D3D11_MAP_WRITE_NO_OVERWRITE: D3D11_MAP = D3D11_MAP(5i32); | |
16482 | impl ::core::marker::Copy for D3D11_MAP {} | |
16483 | impl ::core::clone::Clone for D3D11_MAP { | |
16484 | fn clone(&self) -> Self { | |
16485 | *self | |
16486 | } | |
16487 | } | |
16488 | impl ::core::default::Default for D3D11_MAP { | |
16489 | fn default() -> Self { | |
16490 | Self(0) | |
16491 | } | |
16492 | } | |
16493 | impl ::windows::core::TypeKind for D3D11_MAP { | |
16494 | type TypeKind = ::windows::core::CopyType; | |
16495 | } | |
16496 | impl ::core::fmt::Debug for D3D11_MAP { | |
16497 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
16498 | f.debug_tuple("D3D11_MAP").field(&self.0).finish() | |
16499 | } | |
16500 | } | |
16501 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16502 | #[repr(transparent)] | |
16503 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
16504 | pub struct D3D11_MAP_FLAG(pub i32); | |
16505 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16506 | pub const D3D11_MAP_FLAG_DO_NOT_WAIT: D3D11_MAP_FLAG = D3D11_MAP_FLAG(1048576i32); | |
16507 | impl ::core::marker::Copy for D3D11_MAP_FLAG {} | |
16508 | impl ::core::clone::Clone for D3D11_MAP_FLAG { | |
16509 | fn clone(&self) -> Self { | |
16510 | *self | |
16511 | } | |
16512 | } | |
16513 | impl ::core::default::Default for D3D11_MAP_FLAG { | |
16514 | fn default() -> Self { | |
16515 | Self(0) | |
16516 | } | |
16517 | } | |
16518 | impl ::windows::core::TypeKind for D3D11_MAP_FLAG { | |
16519 | type TypeKind = ::windows::core::CopyType; | |
16520 | } | |
16521 | impl ::core::fmt::Debug for D3D11_MAP_FLAG { | |
16522 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
16523 | f.debug_tuple("D3D11_MAP_FLAG").field(&self.0).finish() | |
16524 | } | |
16525 | } | |
16526 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16527 | #[repr(transparent)] | |
16528 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
16529 | pub struct D3D11_MESSAGE_CATEGORY(pub i32); | |
16530 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16531 | pub const D3D11_MESSAGE_CATEGORY_APPLICATION_DEFINED: D3D11_MESSAGE_CATEGORY = D3D11_MESSAGE_CATEGORY(0i32); | |
16532 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16533 | pub const D3D11_MESSAGE_CATEGORY_MISCELLANEOUS: D3D11_MESSAGE_CATEGORY = D3D11_MESSAGE_CATEGORY(1i32); | |
16534 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16535 | pub const D3D11_MESSAGE_CATEGORY_INITIALIZATION: D3D11_MESSAGE_CATEGORY = D3D11_MESSAGE_CATEGORY(2i32); | |
16536 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16537 | pub const D3D11_MESSAGE_CATEGORY_CLEANUP: D3D11_MESSAGE_CATEGORY = D3D11_MESSAGE_CATEGORY(3i32); | |
16538 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16539 | pub const D3D11_MESSAGE_CATEGORY_COMPILATION: D3D11_MESSAGE_CATEGORY = D3D11_MESSAGE_CATEGORY(4i32); | |
16540 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16541 | pub const D3D11_MESSAGE_CATEGORY_STATE_CREATION: D3D11_MESSAGE_CATEGORY = D3D11_MESSAGE_CATEGORY(5i32); | |
16542 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16543 | pub const D3D11_MESSAGE_CATEGORY_STATE_SETTING: D3D11_MESSAGE_CATEGORY = D3D11_MESSAGE_CATEGORY(6i32); | |
16544 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16545 | pub const D3D11_MESSAGE_CATEGORY_STATE_GETTING: D3D11_MESSAGE_CATEGORY = D3D11_MESSAGE_CATEGORY(7i32); | |
16546 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16547 | pub const D3D11_MESSAGE_CATEGORY_RESOURCE_MANIPULATION: D3D11_MESSAGE_CATEGORY = D3D11_MESSAGE_CATEGORY(8i32); | |
16548 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16549 | pub const D3D11_MESSAGE_CATEGORY_EXECUTION: D3D11_MESSAGE_CATEGORY = D3D11_MESSAGE_CATEGORY(9i32); | |
16550 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16551 | pub const D3D11_MESSAGE_CATEGORY_SHADER: D3D11_MESSAGE_CATEGORY = D3D11_MESSAGE_CATEGORY(10i32); | |
16552 | impl ::core::marker::Copy for D3D11_MESSAGE_CATEGORY {} | |
16553 | impl ::core::clone::Clone for D3D11_MESSAGE_CATEGORY { | |
16554 | fn clone(&self) -> Self { | |
16555 | *self | |
16556 | } | |
16557 | } | |
16558 | impl ::core::default::Default for D3D11_MESSAGE_CATEGORY { | |
16559 | fn default() -> Self { | |
16560 | Self(0) | |
16561 | } | |
16562 | } | |
16563 | impl ::windows::core::TypeKind for D3D11_MESSAGE_CATEGORY { | |
16564 | type TypeKind = ::windows::core::CopyType; | |
16565 | } | |
16566 | impl ::core::fmt::Debug for D3D11_MESSAGE_CATEGORY { | |
16567 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
16568 | f.debug_tuple("D3D11_MESSAGE_CATEGORY").field(&self.0).finish() | |
16569 | } | |
16570 | } | |
16571 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16572 | #[repr(transparent)] | |
16573 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
16574 | pub struct D3D11_MESSAGE_ID(pub i32); | |
16575 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16576 | pub const D3D11_MESSAGE_ID_UNKNOWN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(0i32); | |
16577 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16578 | pub const D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1i32); | |
16579 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16580 | pub const D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2i32); | |
16581 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16582 | pub const D3D11_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3i32); | |
16583 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16584 | pub const D3D11_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(4i32); | |
16585 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16586 | pub const D3D11_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(5i32); | |
16587 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16588 | pub const D3D11_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(6i32); | |
16589 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16590 | pub const D3D11_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(7i32); | |
16591 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16592 | pub const D3D11_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(8i32); | |
16593 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16594 | pub const D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETS_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(9i32); | |
16595 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16596 | pub const D3D11_MESSAGE_ID_DEVICE_SOSETTARGETS_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(10i32); | |
16597 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16598 | pub const D3D11_MESSAGE_ID_STRING_FROM_APPLICATION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(11i32); | |
16599 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16600 | pub const D3D11_MESSAGE_ID_CORRUPTED_THIS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(12i32); | |
16601 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16602 | pub const D3D11_MESSAGE_ID_CORRUPTED_PARAMETER1: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(13i32); | |
16603 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16604 | pub const D3D11_MESSAGE_ID_CORRUPTED_PARAMETER2: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(14i32); | |
16605 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16606 | pub const D3D11_MESSAGE_ID_CORRUPTED_PARAMETER3: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(15i32); | |
16607 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16608 | pub const D3D11_MESSAGE_ID_CORRUPTED_PARAMETER4: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(16i32); | |
16609 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16610 | pub const D3D11_MESSAGE_ID_CORRUPTED_PARAMETER5: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(17i32); | |
16611 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16612 | pub const D3D11_MESSAGE_ID_CORRUPTED_PARAMETER6: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(18i32); | |
16613 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16614 | pub const D3D11_MESSAGE_ID_CORRUPTED_PARAMETER7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(19i32); | |
16615 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16616 | pub const D3D11_MESSAGE_ID_CORRUPTED_PARAMETER8: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(20i32); | |
16617 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16618 | pub const D3D11_MESSAGE_ID_CORRUPTED_PARAMETER9: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(21i32); | |
16619 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16620 | pub const D3D11_MESSAGE_ID_CORRUPTED_PARAMETER10: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(22i32); | |
16621 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16622 | pub const D3D11_MESSAGE_ID_CORRUPTED_PARAMETER11: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(23i32); | |
16623 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16624 | pub const D3D11_MESSAGE_ID_CORRUPTED_PARAMETER12: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(24i32); | |
16625 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16626 | pub const D3D11_MESSAGE_ID_CORRUPTED_PARAMETER13: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(25i32); | |
16627 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16628 | pub const D3D11_MESSAGE_ID_CORRUPTED_PARAMETER14: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(26i32); | |
16629 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16630 | pub const D3D11_MESSAGE_ID_CORRUPTED_PARAMETER15: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(27i32); | |
16631 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16632 | pub const D3D11_MESSAGE_ID_CORRUPTED_MULTITHREADING: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(28i32); | |
16633 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16634 | pub const D3D11_MESSAGE_ID_MESSAGE_REPORTING_OUTOFMEMORY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(29i32); | |
16635 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16636 | pub const D3D11_MESSAGE_ID_IASETINPUTLAYOUT_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(30i32); | |
16637 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16638 | pub const D3D11_MESSAGE_ID_IASETVERTEXBUFFERS_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(31i32); | |
16639 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16640 | pub const D3D11_MESSAGE_ID_IASETINDEXBUFFER_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(32i32); | |
16641 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16642 | pub const D3D11_MESSAGE_ID_VSSETSHADER_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(33i32); | |
16643 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16644 | pub const D3D11_MESSAGE_ID_VSSETSHADERRESOURCES_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(34i32); | |
16645 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16646 | pub const D3D11_MESSAGE_ID_VSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(35i32); | |
16647 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16648 | pub const D3D11_MESSAGE_ID_VSSETSAMPLERS_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(36i32); | |
16649 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16650 | pub const D3D11_MESSAGE_ID_GSSETSHADER_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(37i32); | |
16651 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16652 | pub const D3D11_MESSAGE_ID_GSSETSHADERRESOURCES_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(38i32); | |
16653 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16654 | pub const D3D11_MESSAGE_ID_GSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(39i32); | |
16655 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16656 | pub const D3D11_MESSAGE_ID_GSSETSAMPLERS_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(40i32); | |
16657 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16658 | pub const D3D11_MESSAGE_ID_SOSETTARGETS_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(41i32); | |
16659 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16660 | pub const D3D11_MESSAGE_ID_PSSETSHADER_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(42i32); | |
16661 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16662 | pub const D3D11_MESSAGE_ID_PSSETSHADERRESOURCES_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(43i32); | |
16663 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16664 | pub const D3D11_MESSAGE_ID_PSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(44i32); | |
16665 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16666 | pub const D3D11_MESSAGE_ID_PSSETSAMPLERS_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(45i32); | |
16667 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16668 | pub const D3D11_MESSAGE_ID_RSSETSTATE_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(46i32); | |
16669 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16670 | pub const D3D11_MESSAGE_ID_OMSETBLENDSTATE_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(47i32); | |
16671 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16672 | pub const D3D11_MESSAGE_ID_OMSETDEPTHSTENCILSTATE_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(48i32); | |
16673 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16674 | pub const D3D11_MESSAGE_ID_OMSETRENDERTARGETS_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(49i32); | |
16675 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16676 | pub const D3D11_MESSAGE_ID_SETPREDICATION_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(50i32); | |
16677 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16678 | pub const D3D11_MESSAGE_ID_GETPRIVATEDATA_MOREDATA: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(51i32); | |
16679 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16680 | pub const D3D11_MESSAGE_ID_SETPRIVATEDATA_INVALIDFREEDATA: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(52i32); | |
16681 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16682 | pub const D3D11_MESSAGE_ID_SETPRIVATEDATA_INVALIDIUNKNOWN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(53i32); | |
16683 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16684 | pub const D3D11_MESSAGE_ID_SETPRIVATEDATA_INVALIDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(54i32); | |
16685 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16686 | pub const D3D11_MESSAGE_ID_SETPRIVATEDATA_CHANGINGPARAMS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(55i32); | |
16687 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16688 | pub const D3D11_MESSAGE_ID_SETPRIVATEDATA_OUTOFMEMORY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(56i32); | |
16689 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16690 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(57i32); | |
16691 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16692 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDSAMPLES: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(58i32); | |
16693 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16694 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDUSAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(59i32); | |
16695 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16696 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDBINDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(60i32); | |
16697 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16698 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDCPUACCESSFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(61i32); | |
16699 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16700 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDMISCFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(62i32); | |
16701 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16702 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDCPUACCESSFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(63i32); | |
16703 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16704 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDBINDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(64i32); | |
16705 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16706 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDINITIALDATA: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(65i32); | |
16707 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16708 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDDIMENSIONS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(66i32); | |
16709 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16710 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDMIPLEVELS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(67i32); | |
16711 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16712 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDMISCFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(68i32); | |
16713 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16714 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDARG_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(69i32); | |
16715 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16716 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(70i32); | |
16717 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16718 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_NULLDESC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(71i32); | |
16719 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16720 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDCONSTANTBUFFERBINDINGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(72i32); | |
16721 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16722 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_LARGEALLOCATION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(73i32); | |
16723 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16724 | pub const D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(74i32); | |
16725 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16726 | pub const D3D11_MESSAGE_ID_CREATETEXTURE1D_UNSUPPORTEDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(75i32); | |
16727 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16728 | pub const D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDSAMPLES: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(76i32); | |
16729 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16730 | pub const D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDUSAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(77i32); | |
16731 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16732 | pub const D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDBINDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(78i32); | |
16733 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16734 | pub const D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDCPUACCESSFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(79i32); | |
16735 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16736 | pub const D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDMISCFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(80i32); | |
16737 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16738 | pub const D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDCPUACCESSFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(81i32); | |
16739 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16740 | pub const D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDBINDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(82i32); | |
16741 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16742 | pub const D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDINITIALDATA: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(83i32); | |
16743 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16744 | pub const D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDDIMENSIONS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(84i32); | |
16745 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16746 | pub const D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDMIPLEVELS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(85i32); | |
16747 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16748 | pub const D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDMISCFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(86i32); | |
16749 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16750 | pub const D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDARG_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(87i32); | |
16751 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16752 | pub const D3D11_MESSAGE_ID_CREATETEXTURE1D_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(88i32); | |
16753 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16754 | pub const D3D11_MESSAGE_ID_CREATETEXTURE1D_NULLDESC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(89i32); | |
16755 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16756 | pub const D3D11_MESSAGE_ID_CREATETEXTURE1D_LARGEALLOCATION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(90i32); | |
16757 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16758 | pub const D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(91i32); | |
16759 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16760 | pub const D3D11_MESSAGE_ID_CREATETEXTURE2D_UNSUPPORTEDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(92i32); | |
16761 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16762 | pub const D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDSAMPLES: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(93i32); | |
16763 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16764 | pub const D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDUSAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(94i32); | |
16765 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16766 | pub const D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDBINDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(95i32); | |
16767 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16768 | pub const D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDCPUACCESSFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(96i32); | |
16769 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16770 | pub const D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDMISCFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(97i32); | |
16771 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16772 | pub const D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDCPUACCESSFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(98i32); | |
16773 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16774 | pub const D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDBINDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(99i32); | |
16775 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16776 | pub const D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDINITIALDATA: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(100i32); | |
16777 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16778 | pub const D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDDIMENSIONS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(101i32); | |
16779 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16780 | pub const D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDMIPLEVELS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(102i32); | |
16781 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16782 | pub const D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDMISCFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(103i32); | |
16783 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16784 | pub const D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDARG_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(104i32); | |
16785 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16786 | pub const D3D11_MESSAGE_ID_CREATETEXTURE2D_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(105i32); | |
16787 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16788 | pub const D3D11_MESSAGE_ID_CREATETEXTURE2D_NULLDESC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(106i32); | |
16789 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16790 | pub const D3D11_MESSAGE_ID_CREATETEXTURE2D_LARGEALLOCATION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(107i32); | |
16791 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16792 | pub const D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(108i32); | |
16793 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16794 | pub const D3D11_MESSAGE_ID_CREATETEXTURE3D_UNSUPPORTEDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(109i32); | |
16795 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16796 | pub const D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDSAMPLES: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(110i32); | |
16797 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16798 | pub const D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDUSAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(111i32); | |
16799 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16800 | pub const D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDBINDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(112i32); | |
16801 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16802 | pub const D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDCPUACCESSFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(113i32); | |
16803 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16804 | pub const D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDMISCFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(114i32); | |
16805 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16806 | pub const D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDCPUACCESSFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(115i32); | |
16807 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16808 | pub const D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDBINDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(116i32); | |
16809 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16810 | pub const D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDINITIALDATA: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(117i32); | |
16811 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16812 | pub const D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDDIMENSIONS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(118i32); | |
16813 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16814 | pub const D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDMIPLEVELS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(119i32); | |
16815 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16816 | pub const D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDMISCFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(120i32); | |
16817 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16818 | pub const D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDARG_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(121i32); | |
16819 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16820 | pub const D3D11_MESSAGE_ID_CREATETEXTURE3D_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(122i32); | |
16821 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16822 | pub const D3D11_MESSAGE_ID_CREATETEXTURE3D_NULLDESC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(123i32); | |
16823 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16824 | pub const D3D11_MESSAGE_ID_CREATETEXTURE3D_LARGEALLOCATION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(124i32); | |
16825 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16826 | pub const D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_UNRECOGNIZEDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(125i32); | |
16827 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16828 | pub const D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDESC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(126i32); | |
16829 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16830 | pub const D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(127i32); | |
16831 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16832 | pub const D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDIMENSIONS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(128i32); | |
16833 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16834 | pub const D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(129i32); | |
16835 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16836 | pub const D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_TOOMANYOBJECTS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(130i32); | |
16837 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16838 | pub const D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDARG_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(131i32); | |
16839 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16840 | pub const D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(132i32); | |
16841 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16842 | pub const D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_UNRECOGNIZEDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(133i32); | |
16843 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16844 | pub const D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_UNSUPPORTEDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(134i32); | |
16845 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16846 | pub const D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDESC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(135i32); | |
16847 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16848 | pub const D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(136i32); | |
16849 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16850 | pub const D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDIMENSIONS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(137i32); | |
16851 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16852 | pub const D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(138i32); | |
16853 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16854 | pub const D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_TOOMANYOBJECTS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(139i32); | |
16855 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16856 | pub const D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDARG_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(140i32); | |
16857 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16858 | pub const D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(141i32); | |
16859 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16860 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_UNRECOGNIZEDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(142i32); | |
16861 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16862 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDESC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(143i32); | |
16863 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16864 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(144i32); | |
16865 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16866 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDIMENSIONS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(145i32); | |
16867 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16868 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(146i32); | |
16869 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16870 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_TOOMANYOBJECTS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(147i32); | |
16871 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16872 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDARG_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(148i32); | |
16873 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16874 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(149i32); | |
16875 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16876 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_OUTOFMEMORY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(150i32); | |
16877 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16878 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_TOOMANYELEMENTS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(151i32); | |
16879 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16880 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(152i32); | |
16881 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16882 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INCOMPATIBLEFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(153i32); | |
16883 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16884 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(154i32); | |
16885 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16886 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDINPUTSLOTCLASS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(155i32); | |
16887 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16888 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_STEPRATESLOTCLASSMISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(156i32); | |
16889 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16890 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOTCLASSCHANGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(157i32); | |
16891 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16892 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSTEPRATECHANGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(158i32); | |
16893 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16894 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDALIGNMENT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(159i32); | |
16895 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16896 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_DUPLICATESEMANTIC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(160i32); | |
16897 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16898 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_UNPARSEABLEINPUTSIGNATURE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(161i32); | |
16899 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16900 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_NULLSEMANTIC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(162i32); | |
16901 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16902 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_MISSINGELEMENT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(163i32); | |
16903 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16904 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_NULLDESC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(164i32); | |
16905 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16906 | pub const D3D11_MESSAGE_ID_CREATEVERTEXSHADER_OUTOFMEMORY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(165i32); | |
16907 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16908 | pub const D3D11_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERBYTECODE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(166i32); | |
16909 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16910 | pub const D3D11_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(167i32); | |
16911 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16912 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_OUTOFMEMORY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(168i32); | |
16913 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16914 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERBYTECODE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(169i32); | |
16915 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16916 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(170i32); | |
16917 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16918 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTOFMEMORY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(171i32); | |
16919 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16920 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERBYTECODE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(172i32); | |
16921 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16922 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(173i32); | |
16923 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16924 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMENTRIES: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(174i32); | |
16925 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16926 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSTREAMSTRIDEUNUSED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(175i32); | |
16927 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16928 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDDECL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(176i32); | |
16929 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16930 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_EXPECTEDDECL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(177i32); | |
16931 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16932 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSLOT0EXPECTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(178i32); | |
16933 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16934 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSLOT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(179i32); | |
16935 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16936 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_ONLYONEELEMENTPERSLOT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(180i32); | |
16937 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16938 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCOMPONENTCOUNT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(181i32); | |
16939 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16940 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTARTCOMPONENTANDCOMPONENTCOUNT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(182i32); | |
16941 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16942 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDGAPDEFINITION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(183i32); | |
16943 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16944 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_REPEATEDOUTPUT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(184i32); | |
16945 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16946 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSTREAMSTRIDE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(185i32); | |
16947 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16948 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGSEMANTIC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(186i32); | |
16949 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16950 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MASKMISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(187i32); | |
16951 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16952 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_CANTHAVEONLYGAPS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(188i32); | |
16953 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16954 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DECLTOOCOMPLEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(189i32); | |
16955 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16956 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGOUTPUTSIGNATURE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(190i32); | |
16957 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16958 | pub const D3D11_MESSAGE_ID_CREATEPIXELSHADER_OUTOFMEMORY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(191i32); | |
16959 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16960 | pub const D3D11_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERBYTECODE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(192i32); | |
16961 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16962 | pub const D3D11_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(193i32); | |
16963 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16964 | pub const D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFILLMODE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(194i32); | |
16965 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16966 | pub const D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDCULLMODE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(195i32); | |
16967 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16968 | pub const D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDDEPTHBIASCLAMP: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(196i32); | |
16969 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16970 | pub const D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDSLOPESCALEDDEPTHBIAS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(197i32); | |
16971 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16972 | pub const D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_TOOMANYOBJECTS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(198i32); | |
16973 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16974 | pub const D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_NULLDESC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(199i32); | |
16975 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16976 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHWRITEMASK: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(200i32); | |
16977 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16978 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHFUNC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(201i32); | |
16979 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16980 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFAILOP: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(202i32); | |
16981 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16982 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILZFAILOP: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(203i32); | |
16983 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16984 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILPASSOP: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(204i32); | |
16985 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16986 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFUNC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(205i32); | |
16987 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16988 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFAILOP: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(206i32); | |
16989 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16990 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILZFAILOP: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(207i32); | |
16991 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16992 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILPASSOP: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(208i32); | |
16993 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16994 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFUNC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(209i32); | |
16995 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16996 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_TOOMANYOBJECTS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(210i32); | |
16997 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
16998 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_NULLDESC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(211i32); | |
16999 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17000 | pub const D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLEND: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(212i32); | |
17001 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17002 | pub const D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLEND: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(213i32); | |
17003 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17004 | pub const D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOP: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(214i32); | |
17005 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17006 | pub const D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLENDALPHA: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(215i32); | |
17007 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17008 | pub const D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLENDALPHA: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(216i32); | |
17009 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17010 | pub const D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOPALPHA: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(217i32); | |
17011 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17012 | pub const D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDRENDERTARGETWRITEMASK: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(218i32); | |
17013 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17014 | pub const D3D11_MESSAGE_ID_CREATEBLENDSTATE_TOOMANYOBJECTS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(219i32); | |
17015 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17016 | pub const D3D11_MESSAGE_ID_CREATEBLENDSTATE_NULLDESC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(220i32); | |
17017 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17018 | pub const D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDFILTER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(221i32); | |
17019 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17020 | pub const D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSU: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(222i32); | |
17021 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17022 | pub const D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSV: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(223i32); | |
17023 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17024 | pub const D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(224i32); | |
17025 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17026 | pub const D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMIPLODBIAS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(225i32); | |
17027 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17028 | pub const D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXANISOTROPY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(226i32); | |
17029 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17030 | pub const D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDCOMPARISONFUNC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(227i32); | |
17031 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17032 | pub const D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMINLOD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(228i32); | |
17033 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17034 | pub const D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXLOD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(229i32); | |
17035 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17036 | pub const D3D11_MESSAGE_ID_CREATESAMPLERSTATE_TOOMANYOBJECTS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(230i32); | |
17037 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17038 | pub const D3D11_MESSAGE_ID_CREATESAMPLERSTATE_NULLDESC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(231i32); | |
17039 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17040 | pub const D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDQUERY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(232i32); | |
17041 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17042 | pub const D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDMISCFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(233i32); | |
17043 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17044 | pub const D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_UNEXPECTEDMISCFLAG: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(234i32); | |
17045 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17046 | pub const D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_NULLDESC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(235i32); | |
17047 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17048 | pub const D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNRECOGNIZED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(236i32); | |
17049 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17050 | pub const D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNDEFINED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(237i32); | |
17051 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17052 | pub const D3D11_MESSAGE_ID_IASETVERTEXBUFFERS_INVALIDBUFFER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(238i32); | |
17053 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17054 | pub const D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_OFFSET_TOO_LARGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(239i32); | |
17055 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17056 | pub const D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_BUFFERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(240i32); | |
17057 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17058 | pub const D3D11_MESSAGE_ID_IASETINDEXBUFFER_INVALIDBUFFER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(241i32); | |
17059 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17060 | pub const D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_FORMAT_INVALID: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(242i32); | |
17061 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17062 | pub const D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_TOO_LARGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(243i32); | |
17063 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17064 | pub const D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_UNALIGNED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(244i32); | |
17065 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17066 | pub const D3D11_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_VIEWS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(245i32); | |
17067 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17068 | pub const D3D11_MESSAGE_ID_VSSETCONSTANTBUFFERS_INVALIDBUFFER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(246i32); | |
17069 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17070 | pub const D3D11_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_BUFFERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(247i32); | |
17071 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17072 | pub const D3D11_MESSAGE_ID_DEVICE_VSSETSAMPLERS_SAMPLERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(248i32); | |
17073 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17074 | pub const D3D11_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_VIEWS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(249i32); | |
17075 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17076 | pub const D3D11_MESSAGE_ID_GSSETCONSTANTBUFFERS_INVALIDBUFFER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(250i32); | |
17077 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17078 | pub const D3D11_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_BUFFERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(251i32); | |
17079 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17080 | pub const D3D11_MESSAGE_ID_DEVICE_GSSETSAMPLERS_SAMPLERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(252i32); | |
17081 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17082 | pub const D3D11_MESSAGE_ID_SOSETTARGETS_INVALIDBUFFER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(253i32); | |
17083 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17084 | pub const D3D11_MESSAGE_ID_DEVICE_SOSETTARGETS_OFFSET_UNALIGNED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(254i32); | |
17085 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17086 | pub const D3D11_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_VIEWS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(255i32); | |
17087 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17088 | pub const D3D11_MESSAGE_ID_PSSETCONSTANTBUFFERS_INVALIDBUFFER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(256i32); | |
17089 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17090 | pub const D3D11_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_BUFFERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(257i32); | |
17091 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17092 | pub const D3D11_MESSAGE_ID_DEVICE_PSSETSAMPLERS_SAMPLERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(258i32); | |
17093 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17094 | pub const D3D11_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_INVALIDVIEWPORT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(259i32); | |
17095 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17096 | pub const D3D11_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_INVALIDSCISSOR: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(260i32); | |
17097 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17098 | pub const D3D11_MESSAGE_ID_CLEARRENDERTARGETVIEW_DENORMFLUSH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(261i32); | |
17099 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17100 | pub const D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_DENORMFLUSH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(262i32); | |
17101 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17102 | pub const D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_INVALID: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(263i32); | |
17103 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17104 | pub const D3D11_MESSAGE_ID_DEVICE_IAGETVERTEXBUFFERS_BUFFERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(264i32); | |
17105 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17106 | pub const D3D11_MESSAGE_ID_DEVICE_VSGETSHADERRESOURCES_VIEWS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(265i32); | |
17107 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17108 | pub const D3D11_MESSAGE_ID_DEVICE_VSGETCONSTANTBUFFERS_BUFFERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(266i32); | |
17109 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17110 | pub const D3D11_MESSAGE_ID_DEVICE_VSGETSAMPLERS_SAMPLERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(267i32); | |
17111 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17112 | pub const D3D11_MESSAGE_ID_DEVICE_GSGETSHADERRESOURCES_VIEWS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(268i32); | |
17113 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17114 | pub const D3D11_MESSAGE_ID_DEVICE_GSGETCONSTANTBUFFERS_BUFFERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(269i32); | |
17115 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17116 | pub const D3D11_MESSAGE_ID_DEVICE_GSGETSAMPLERS_SAMPLERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(270i32); | |
17117 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17118 | pub const D3D11_MESSAGE_ID_DEVICE_SOGETTARGETS_BUFFERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(271i32); | |
17119 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17120 | pub const D3D11_MESSAGE_ID_DEVICE_PSGETSHADERRESOURCES_VIEWS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(272i32); | |
17121 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17122 | pub const D3D11_MESSAGE_ID_DEVICE_PSGETCONSTANTBUFFERS_BUFFERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(273i32); | |
17123 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17124 | pub const D3D11_MESSAGE_ID_DEVICE_PSGETSAMPLERS_SAMPLERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(274i32); | |
17125 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17126 | pub const D3D11_MESSAGE_ID_DEVICE_RSGETVIEWPORTS_VIEWPORTS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(275i32); | |
17127 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17128 | pub const D3D11_MESSAGE_ID_DEVICE_RSGETSCISSORRECTS_RECTS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(276i32); | |
17129 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17130 | pub const D3D11_MESSAGE_ID_DEVICE_GENERATEMIPS_RESOURCE_INVALID: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(277i32); | |
17131 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17132 | pub const D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSUBRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(278i32); | |
17133 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17134 | pub const D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESUBRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(279i32); | |
17135 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17136 | pub const D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCEBOX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(280i32); | |
17137 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17138 | pub const D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(281i32); | |
17139 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17140 | pub const D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(282i32); | |
17141 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17142 | pub const D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(283i32); | |
17143 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17144 | pub const D3D11_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(284i32); | |
17145 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17146 | pub const D3D11_MESSAGE_ID_COPYRESOURCE_INVALIDDESTINATIONSTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(285i32); | |
17147 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17148 | pub const D3D11_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCESTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(286i32); | |
17149 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17150 | pub const D3D11_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSUBRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(287i32); | |
17151 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17152 | pub const D3D11_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONBOX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(288i32); | |
17153 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17154 | pub const D3D11_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(289i32); | |
17155 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17156 | pub const D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_INVALID: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(290i32); | |
17157 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17158 | pub const D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_SUBRESOURCE_INVALID: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(291i32); | |
17159 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17160 | pub const D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_INVALID: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(292i32); | |
17161 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17162 | pub const D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_SUBRESOURCE_INVALID: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(293i32); | |
17163 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17164 | pub const D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_FORMAT_INVALID: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(294i32); | |
17165 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17166 | pub const D3D11_MESSAGE_ID_BUFFER_MAP_INVALIDMAPTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(295i32); | |
17167 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17168 | pub const D3D11_MESSAGE_ID_BUFFER_MAP_INVALIDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(296i32); | |
17169 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17170 | pub const D3D11_MESSAGE_ID_BUFFER_MAP_ALREADYMAPPED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(297i32); | |
17171 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17172 | pub const D3D11_MESSAGE_ID_BUFFER_MAP_DEVICEREMOVED_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(298i32); | |
17173 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17174 | pub const D3D11_MESSAGE_ID_BUFFER_UNMAP_NOTMAPPED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(299i32); | |
17175 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17176 | pub const D3D11_MESSAGE_ID_TEXTURE1D_MAP_INVALIDMAPTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(300i32); | |
17177 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17178 | pub const D3D11_MESSAGE_ID_TEXTURE1D_MAP_INVALIDSUBRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(301i32); | |
17179 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17180 | pub const D3D11_MESSAGE_ID_TEXTURE1D_MAP_INVALIDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(302i32); | |
17181 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17182 | pub const D3D11_MESSAGE_ID_TEXTURE1D_MAP_ALREADYMAPPED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(303i32); | |
17183 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17184 | pub const D3D11_MESSAGE_ID_TEXTURE1D_MAP_DEVICEREMOVED_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(304i32); | |
17185 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17186 | pub const D3D11_MESSAGE_ID_TEXTURE1D_UNMAP_INVALIDSUBRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(305i32); | |
17187 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17188 | pub const D3D11_MESSAGE_ID_TEXTURE1D_UNMAP_NOTMAPPED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(306i32); | |
17189 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17190 | pub const D3D11_MESSAGE_ID_TEXTURE2D_MAP_INVALIDMAPTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(307i32); | |
17191 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17192 | pub const D3D11_MESSAGE_ID_TEXTURE2D_MAP_INVALIDSUBRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(308i32); | |
17193 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17194 | pub const D3D11_MESSAGE_ID_TEXTURE2D_MAP_INVALIDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(309i32); | |
17195 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17196 | pub const D3D11_MESSAGE_ID_TEXTURE2D_MAP_ALREADYMAPPED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(310i32); | |
17197 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17198 | pub const D3D11_MESSAGE_ID_TEXTURE2D_MAP_DEVICEREMOVED_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(311i32); | |
17199 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17200 | pub const D3D11_MESSAGE_ID_TEXTURE2D_UNMAP_INVALIDSUBRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(312i32); | |
17201 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17202 | pub const D3D11_MESSAGE_ID_TEXTURE2D_UNMAP_NOTMAPPED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(313i32); | |
17203 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17204 | pub const D3D11_MESSAGE_ID_TEXTURE3D_MAP_INVALIDMAPTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(314i32); | |
17205 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17206 | pub const D3D11_MESSAGE_ID_TEXTURE3D_MAP_INVALIDSUBRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(315i32); | |
17207 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17208 | pub const D3D11_MESSAGE_ID_TEXTURE3D_MAP_INVALIDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(316i32); | |
17209 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17210 | pub const D3D11_MESSAGE_ID_TEXTURE3D_MAP_ALREADYMAPPED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(317i32); | |
17211 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17212 | pub const D3D11_MESSAGE_ID_TEXTURE3D_MAP_DEVICEREMOVED_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(318i32); | |
17213 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17214 | pub const D3D11_MESSAGE_ID_TEXTURE3D_UNMAP_INVALIDSUBRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(319i32); | |
17215 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17216 | pub const D3D11_MESSAGE_ID_TEXTURE3D_UNMAP_NOTMAPPED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(320i32); | |
17217 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17218 | pub const D3D11_MESSAGE_ID_CHECKFORMATSUPPORT_FORMAT_DEPRECATED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(321i32); | |
17219 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17220 | pub const D3D11_MESSAGE_ID_CHECKMULTISAMPLEQUALITYLEVELS_FORMAT_DEPRECATED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(322i32); | |
17221 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17222 | pub const D3D11_MESSAGE_ID_SETEXCEPTIONMODE_UNRECOGNIZEDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(323i32); | |
17223 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17224 | pub const D3D11_MESSAGE_ID_SETEXCEPTIONMODE_INVALIDARG_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(324i32); | |
17225 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17226 | pub const D3D11_MESSAGE_ID_SETEXCEPTIONMODE_DEVICEREMOVED_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(325i32); | |
17227 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17228 | pub const D3D11_MESSAGE_ID_REF_SIMULATING_INFINITELY_FAST_HARDWARE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(326i32); | |
17229 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17230 | pub const D3D11_MESSAGE_ID_REF_THREADING_MODE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(327i32); | |
17231 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17232 | pub const D3D11_MESSAGE_ID_REF_UMDRIVER_EXCEPTION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(328i32); | |
17233 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17234 | pub const D3D11_MESSAGE_ID_REF_KMDRIVER_EXCEPTION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(329i32); | |
17235 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17236 | pub const D3D11_MESSAGE_ID_REF_HARDWARE_EXCEPTION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(330i32); | |
17237 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17238 | pub const D3D11_MESSAGE_ID_REF_ACCESSING_INDEXABLE_TEMP_OUT_OF_RANGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(331i32); | |
17239 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17240 | pub const D3D11_MESSAGE_ID_REF_PROBLEM_PARSING_SHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(332i32); | |
17241 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17242 | pub const D3D11_MESSAGE_ID_REF_OUT_OF_MEMORY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(333i32); | |
17243 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17244 | pub const D3D11_MESSAGE_ID_REF_INFO: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(334i32); | |
17245 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17246 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEXPOS_OVERFLOW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(335i32); | |
17247 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17248 | pub const D3D11_MESSAGE_ID_DEVICE_DRAWINDEXED_INDEXPOS_OVERFLOW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(336i32); | |
17249 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17250 | pub const D3D11_MESSAGE_ID_DEVICE_DRAWINSTANCED_VERTEXPOS_OVERFLOW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(337i32); | |
17251 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17252 | pub const D3D11_MESSAGE_ID_DEVICE_DRAWINSTANCED_INSTANCEPOS_OVERFLOW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(338i32); | |
17253 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17254 | pub const D3D11_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INSTANCEPOS_OVERFLOW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(339i32); | |
17255 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17256 | pub const D3D11_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INDEXPOS_OVERFLOW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(340i32); | |
17257 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17258 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_SHADER_NOT_SET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(341i32); | |
17259 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17260 | pub const D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(342i32); | |
17261 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17262 | pub const D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERINDEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(343i32); | |
17263 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17264 | pub const D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_COMPONENTTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(344i32); | |
17265 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17266 | pub const D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERMASK: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(345i32); | |
17267 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17268 | pub const D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SYSTEMVALUE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(346i32); | |
17269 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17270 | pub const D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_NEVERWRITTEN_ALWAYSREADS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(347i32); | |
17271 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17272 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_NOT_SET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(348i32); | |
17273 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17274 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_INPUTLAYOUT_NOT_SET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(349i32); | |
17275 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17276 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_NOT_SET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(350i32); | |
17277 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17278 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_TOO_SMALL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(351i32); | |
17279 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17280 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_SAMPLER_NOT_SET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(352i32); | |
17281 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17282 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_SHADERRESOURCEVIEW_NOT_SET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(353i32); | |
17283 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17284 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_VIEW_DIMENSION_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(354i32); | |
17285 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17286 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_STRIDE_TOO_SMALL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(355i32); | |
17287 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17288 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_TOO_SMALL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(356i32); | |
17289 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17290 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_NOT_SET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(357i32); | |
17291 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17292 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_FORMAT_INVALID: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(358i32); | |
17293 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17294 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(359i32); | |
17295 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17296 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_GS_INPUT_PRIMITIVE_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(360i32); | |
17297 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17298 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_RETURN_TYPE_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(361i32); | |
17299 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17300 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_POSITION_NOT_PRESENT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(362i32); | |
17301 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17302 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_NOT_SET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(363i32); | |
17303 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17304 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_BOUND_RESOURCE_MAPPED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(364i32); | |
17305 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17306 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_PRIMITIVETOPOLOGY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(365i32); | |
17307 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17308 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_OFFSET_UNALIGNED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(366i32); | |
17309 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17310 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_STRIDE_UNALIGNED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(367i32); | |
17311 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17312 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_OFFSET_UNALIGNED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(368i32); | |
17313 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17314 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_OFFSET_UNALIGNED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(369i32); | |
17315 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17316 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_LD_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(370i32); | |
17317 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17318 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(371i32); | |
17319 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17320 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_C_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(372i32); | |
17321 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17322 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_MULTISAMPLE_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(373i32); | |
17323 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17324 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_SO_TARGETS_BOUND_WITHOUT_SOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(374i32); | |
17325 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17326 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_SO_STRIDE_LARGER_THAN_BUFFER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(375i32); | |
17327 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17328 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_BLENDING: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(376i32); | |
17329 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17330 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_OM_DUAL_SOURCE_BLENDING_CAN_ONLY_HAVE_RENDER_TARGET_0: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(377i32); | |
17331 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17332 | pub const D3D11_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_AT_FAULT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(378i32); | |
17333 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17334 | pub const D3D11_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_POSSIBLY_AT_FAULT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(379i32); | |
17335 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17336 | pub const D3D11_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_NOT_AT_FAULT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(380i32); | |
17337 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17338 | pub const D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_INVALIDARG_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(381i32); | |
17339 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17340 | pub const D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(382i32); | |
17341 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17342 | pub const D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_BADINTERFACE_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(383i32); | |
17343 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17344 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_VIEWPORT_NOT_SET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(384i32); | |
17345 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17346 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_TRAILING_DIGIT_IN_SEMANTIC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(385i32); | |
17347 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17348 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_TRAILING_DIGIT_IN_SEMANTIC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(386i32); | |
17349 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17350 | pub const D3D11_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_DENORMFLUSH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(387i32); | |
17351 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17352 | pub const D3D11_MESSAGE_ID_OMSETRENDERTARGETS_INVALIDVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(388i32); | |
17353 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17354 | pub const D3D11_MESSAGE_ID_DEVICE_SETTEXTFILTERSIZE_INVALIDDIMENSIONS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(389i32); | |
17355 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17356 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_SAMPLER_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(390i32); | |
17357 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17358 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_TYPE_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(391i32); | |
17359 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17360 | pub const D3D11_MESSAGE_ID_BLENDSTATE_GETDESC_LEGACY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(392i32); | |
17361 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17362 | pub const D3D11_MESSAGE_ID_SHADERRESOURCEVIEW_GETDESC_LEGACY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(393i32); | |
17363 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17364 | pub const D3D11_MESSAGE_ID_CREATEQUERY_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(394i32); | |
17365 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17366 | pub const D3D11_MESSAGE_ID_CREATEPREDICATE_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(395i32); | |
17367 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17368 | pub const D3D11_MESSAGE_ID_CREATECOUNTER_OUTOFRANGE_COUNTER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(396i32); | |
17369 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17370 | pub const D3D11_MESSAGE_ID_CREATECOUNTER_SIMULTANEOUS_ACTIVE_COUNTERS_EXHAUSTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(397i32); | |
17371 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17372 | pub const D3D11_MESSAGE_ID_CREATECOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(398i32); | |
17373 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17374 | pub const D3D11_MESSAGE_ID_CREATECOUNTER_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(399i32); | |
17375 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17376 | pub const D3D11_MESSAGE_ID_CREATECOUNTER_NONEXCLUSIVE_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(400i32); | |
17377 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17378 | pub const D3D11_MESSAGE_ID_CREATECOUNTER_NULLDESC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(401i32); | |
17379 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17380 | pub const D3D11_MESSAGE_ID_CHECKCOUNTER_OUTOFRANGE_COUNTER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(402i32); | |
17381 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17382 | pub const D3D11_MESSAGE_ID_CHECKCOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(403i32); | |
17383 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17384 | pub const D3D11_MESSAGE_ID_SETPREDICATION_INVALID_PREDICATE_STATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(404i32); | |
17385 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17386 | pub const D3D11_MESSAGE_ID_QUERY_BEGIN_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(405i32); | |
17387 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17388 | pub const D3D11_MESSAGE_ID_PREDICATE_BEGIN_DURING_PREDICATION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(406i32); | |
17389 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17390 | pub const D3D11_MESSAGE_ID_QUERY_BEGIN_DUPLICATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(407i32); | |
17391 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17392 | pub const D3D11_MESSAGE_ID_QUERY_BEGIN_ABANDONING_PREVIOUS_RESULTS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(408i32); | |
17393 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17394 | pub const D3D11_MESSAGE_ID_PREDICATE_END_DURING_PREDICATION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(409i32); | |
17395 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17396 | pub const D3D11_MESSAGE_ID_QUERY_END_ABANDONING_PREVIOUS_RESULTS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(410i32); | |
17397 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17398 | pub const D3D11_MESSAGE_ID_QUERY_END_WITHOUT_BEGIN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(411i32); | |
17399 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17400 | pub const D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_DATASIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(412i32); | |
17401 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17402 | pub const D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_FLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(413i32); | |
17403 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17404 | pub const D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_CALL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(414i32); | |
17405 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17406 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_PS_OUTPUT_TYPE_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(415i32); | |
17407 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17408 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_GATHER_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(416i32); | |
17409 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17410 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_USE_OF_CENTER_MULTISAMPLE_PATTERN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(417i32); | |
17411 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17412 | pub const D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_STRIDE_TOO_LARGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(418i32); | |
17413 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17414 | pub const D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_INVALIDRANGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(419i32); | |
17415 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17416 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_EMPTY_LAYOUT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(420i32); | |
17417 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17418 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_SAMPLE_COUNT_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(421i32); | |
17419 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17420 | pub const D3D11_MESSAGE_ID_LIVE_OBJECT_SUMMARY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(422i32); | |
17421 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17422 | pub const D3D11_MESSAGE_ID_LIVE_BUFFER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(423i32); | |
17423 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17424 | pub const D3D11_MESSAGE_ID_LIVE_TEXTURE1D: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(424i32); | |
17425 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17426 | pub const D3D11_MESSAGE_ID_LIVE_TEXTURE2D: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(425i32); | |
17427 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17428 | pub const D3D11_MESSAGE_ID_LIVE_TEXTURE3D: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(426i32); | |
17429 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17430 | pub const D3D11_MESSAGE_ID_LIVE_SHADERRESOURCEVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(427i32); | |
17431 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17432 | pub const D3D11_MESSAGE_ID_LIVE_RENDERTARGETVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(428i32); | |
17433 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17434 | pub const D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(429i32); | |
17435 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17436 | pub const D3D11_MESSAGE_ID_LIVE_VERTEXSHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(430i32); | |
17437 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17438 | pub const D3D11_MESSAGE_ID_LIVE_GEOMETRYSHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(431i32); | |
17439 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17440 | pub const D3D11_MESSAGE_ID_LIVE_PIXELSHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(432i32); | |
17441 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17442 | pub const D3D11_MESSAGE_ID_LIVE_INPUTLAYOUT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(433i32); | |
17443 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17444 | pub const D3D11_MESSAGE_ID_LIVE_SAMPLER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(434i32); | |
17445 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17446 | pub const D3D11_MESSAGE_ID_LIVE_BLENDSTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(435i32); | |
17447 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17448 | pub const D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILSTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(436i32); | |
17449 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17450 | pub const D3D11_MESSAGE_ID_LIVE_RASTERIZERSTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(437i32); | |
17451 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17452 | pub const D3D11_MESSAGE_ID_LIVE_QUERY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(438i32); | |
17453 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17454 | pub const D3D11_MESSAGE_ID_LIVE_PREDICATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(439i32); | |
17455 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17456 | pub const D3D11_MESSAGE_ID_LIVE_COUNTER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(440i32); | |
17457 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17458 | pub const D3D11_MESSAGE_ID_LIVE_DEVICE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(441i32); | |
17459 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17460 | pub const D3D11_MESSAGE_ID_LIVE_SWAPCHAIN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(442i32); | |
17461 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17462 | pub const D3D11_MESSAGE_ID_D3D10_MESSAGES_END: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(443i32); | |
17463 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17464 | pub const D3D11_MESSAGE_ID_D3D10L9_MESSAGES_START: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048576i32); | |
17465 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17466 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_STENCIL_NO_TWO_SIDED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048577i32); | |
17467 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17468 | pub const D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_DepthBiasClamp_NOT_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048578i32); | |
17469 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17470 | pub const D3D11_MESSAGE_ID_CREATESAMPLERSTATE_NO_COMPARISON_SUPPORT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048579i32); | |
17471 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17472 | pub const D3D11_MESSAGE_ID_CREATESAMPLERSTATE_EXCESSIVE_ANISOTROPY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048580i32); | |
17473 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17474 | pub const D3D11_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_OUT_OF_RANGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048581i32); | |
17475 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17476 | pub const D3D11_MESSAGE_ID_VSSETSAMPLERS_NOT_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048582i32); | |
17477 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17478 | pub const D3D11_MESSAGE_ID_VSSETSAMPLERS_TOO_MANY_SAMPLERS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048583i32); | |
17479 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17480 | pub const D3D11_MESSAGE_ID_PSSETSAMPLERS_TOO_MANY_SAMPLERS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048584i32); | |
17481 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17482 | pub const D3D11_MESSAGE_ID_CREATERESOURCE_NO_ARRAYS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048585i32); | |
17483 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17484 | pub const D3D11_MESSAGE_ID_CREATERESOURCE_NO_VB_AND_IB_BIND: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048586i32); | |
17485 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17486 | pub const D3D11_MESSAGE_ID_CREATERESOURCE_NO_TEXTURE_1D: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048587i32); | |
17487 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17488 | pub const D3D11_MESSAGE_ID_CREATERESOURCE_DIMENSION_OUT_OF_RANGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048588i32); | |
17489 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17490 | pub const D3D11_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_SHADER_RESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048589i32); | |
17491 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17492 | pub const D3D11_MESSAGE_ID_OMSETRENDERTARGETS_TOO_MANY_RENDER_TARGETS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048590i32); | |
17493 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17494 | pub const D3D11_MESSAGE_ID_OMSETRENDERTARGETS_NO_DIFFERING_BIT_DEPTHS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048591i32); | |
17495 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17496 | pub const D3D11_MESSAGE_ID_IASETVERTEXBUFFERS_BAD_BUFFER_INDEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048592i32); | |
17497 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17498 | pub const D3D11_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_TOO_MANY_VIEWPORTS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048593i32); | |
17499 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17500 | pub const D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_ADJACENCY_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048594i32); | |
17501 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17502 | pub const D3D11_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_TOO_MANY_SCISSORS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048595i32); | |
17503 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17504 | pub const D3D11_MESSAGE_ID_COPYRESOURCE_ONLY_TEXTURE_2D_WITHIN_GPU_MEMORY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048596i32); | |
17505 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17506 | pub const D3D11_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_3D_READBACK: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048597i32); | |
17507 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17508 | pub const D3D11_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_ONLY_READBACK: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048598i32); | |
17509 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17510 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_UNSUPPORTED_FORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048599i32); | |
17511 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17512 | pub const D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_ALPHA_TO_COVERAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048600i32); | |
17513 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17514 | pub const D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_DepthClipEnable_MUST_BE_TRUE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048601i32); | |
17515 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17516 | pub const D3D11_MESSAGE_ID_DRAWINDEXED_STARTINDEXLOCATION_MUST_BE_POSITIVE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048602i32); | |
17517 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17518 | pub const D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_MUST_USE_LOWEST_LOD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048603i32); | |
17519 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17520 | pub const D3D11_MESSAGE_ID_CREATESAMPLERSTATE_MINLOD_MUST_NOT_BE_FRACTIONAL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048604i32); | |
17521 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17522 | pub const D3D11_MESSAGE_ID_CREATESAMPLERSTATE_MAXLOD_MUST_BE_FLT_MAX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048605i32); | |
17523 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17524 | pub const D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_FIRSTARRAYSLICE_MUST_BE_ZERO: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048606i32); | |
17525 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17526 | pub const D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_CUBES_MUST_HAVE_6_SIDES: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048607i32); | |
17527 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17528 | pub const D3D11_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_RENDER_TARGET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048608i32); | |
17529 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17530 | pub const D3D11_MESSAGE_ID_CREATERESOURCE_NO_DWORD_INDEX_BUFFER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048609i32); | |
17531 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17532 | pub const D3D11_MESSAGE_ID_CREATERESOURCE_MSAA_PRECLUDES_SHADER_RESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048610i32); | |
17533 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17534 | pub const D3D11_MESSAGE_ID_CREATERESOURCE_PRESENTATION_PRECLUDES_SHADER_RESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048611i32); | |
17535 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17536 | pub const D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_BLEND_ENABLE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048612i32); | |
17537 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17538 | pub const D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_WRITE_MASKS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048613i32); | |
17539 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17540 | pub const D3D11_MESSAGE_ID_CREATERESOURCE_NO_STREAM_OUT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048614i32); | |
17541 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17542 | pub const D3D11_MESSAGE_ID_CREATERESOURCE_ONLY_VB_IB_FOR_BUFFERS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048615i32); | |
17543 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17544 | pub const D3D11_MESSAGE_ID_CREATERESOURCE_NO_AUTOGEN_FOR_VOLUMES: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048616i32); | |
17545 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17546 | pub const D3D11_MESSAGE_ID_CREATERESOURCE_DXGI_FORMAT_R8G8B8A8_CANNOT_BE_SHARED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048617i32); | |
17547 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17548 | pub const D3D11_MESSAGE_ID_VSSHADERRESOURCES_NOT_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048618i32); | |
17549 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17550 | pub const D3D11_MESSAGE_ID_GEOMETRY_SHADER_NOT_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048619i32); | |
17551 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17552 | pub const D3D11_MESSAGE_ID_STREAM_OUT_NOT_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048620i32); | |
17553 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17554 | pub const D3D11_MESSAGE_ID_TEXT_FILTER_NOT_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048621i32); | |
17555 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17556 | pub const D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_SEPARATE_ALPHA_BLEND: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048622i32); | |
17557 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17558 | pub const D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_MRT_BLEND: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048623i32); | |
17559 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17560 | pub const D3D11_MESSAGE_ID_CREATEBLENDSTATE_OPERATION_NOT_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048624i32); | |
17561 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17562 | pub const D3D11_MESSAGE_ID_CREATESAMPLERSTATE_NO_MIRRORONCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048625i32); | |
17563 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17564 | pub const D3D11_MESSAGE_ID_DRAWINSTANCED_NOT_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048626i32); | |
17565 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17566 | pub const D3D11_MESSAGE_ID_DRAWINDEXEDINSTANCED_NOT_SUPPORTED_BELOW_9_3: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048627i32); | |
17567 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17568 | pub const D3D11_MESSAGE_ID_DRAWINDEXED_POINTLIST_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048628i32); | |
17569 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17570 | pub const D3D11_MESSAGE_ID_SETBLENDSTATE_SAMPLE_MASK_CANNOT_BE_ZERO: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048629i32); | |
17571 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17572 | pub const D3D11_MESSAGE_ID_CREATERESOURCE_DIMENSION_EXCEEDS_FEATURE_LEVEL_DEFINITION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048630i32); | |
17573 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17574 | pub const D3D11_MESSAGE_ID_CREATERESOURCE_ONLY_SINGLE_MIP_LEVEL_DEPTH_STENCIL_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048631i32); | |
17575 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17576 | pub const D3D11_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_NEGATIVESCISSOR: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048632i32); | |
17577 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17578 | pub const D3D11_MESSAGE_ID_SLOT_ZERO_MUST_BE_D3D10_INPUT_PER_VERTEX_DATA: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048633i32); | |
17579 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17580 | pub const D3D11_MESSAGE_ID_CREATERESOURCE_NON_POW_2_MIPMAP: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048634i32); | |
17581 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17582 | pub const D3D11_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_NOT_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048635i32); | |
17583 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17584 | pub const D3D11_MESSAGE_ID_OMSETRENDERTARGETS_NO_SRGB_MRT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048636i32); | |
17585 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17586 | pub const D3D11_MESSAGE_ID_COPYRESOURCE_NO_3D_MISMATCHED_UPDATES: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048637i32); | |
17587 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17588 | pub const D3D11_MESSAGE_ID_D3D10L9_MESSAGES_END: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(1048638i32); | |
17589 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17590 | pub const D3D11_MESSAGE_ID_D3D11_MESSAGES_START: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097152i32); | |
17591 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17592 | pub const D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097153i32); | |
17593 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17594 | pub const D3D11_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDCLASSLINKAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097154i32); | |
17595 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17596 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDCLASSLINKAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097155i32); | |
17597 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17598 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMSTREAMS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097156i32); | |
17599 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17600 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTREAMTORASTERIZER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097157i32); | |
17601 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17602 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDSTREAMS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097158i32); | |
17603 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17604 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCLASSLINKAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097159i32); | |
17605 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17606 | pub const D3D11_MESSAGE_ID_CREATEPIXELSHADER_INVALIDCLASSLINKAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097160i32); | |
17607 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17608 | pub const D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_INVALID_COMMANDLISTFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097161i32); | |
17609 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17610 | pub const D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_SINGLETHREADED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097162i32); | |
17611 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17612 | pub const D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_INVALIDARG_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097163i32); | |
17613 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17614 | pub const D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_INVALID_CALL_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097164i32); | |
17615 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17616 | pub const D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097165i32); | |
17617 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17618 | pub const D3D11_MESSAGE_ID_FINISHDISPLAYLIST_ONIMMEDIATECONTEXT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097166i32); | |
17619 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17620 | pub const D3D11_MESSAGE_ID_FINISHDISPLAYLIST_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097167i32); | |
17621 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17622 | pub const D3D11_MESSAGE_ID_FINISHDISPLAYLIST_INVALID_CALL_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097168i32); | |
17623 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17624 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097169i32); | |
17625 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17626 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDENTRIES: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097170i32); | |
17627 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17628 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDSTRIDES: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097171i32); | |
17629 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17630 | pub const D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMSTRIDES: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097172i32); | |
17631 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17632 | pub const D3D11_MESSAGE_ID_DEVICE_HSSETSHADERRESOURCES_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097173i32); | |
17633 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17634 | pub const D3D11_MESSAGE_ID_DEVICE_HSSETCONSTANTBUFFERS_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097174i32); | |
17635 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17636 | pub const D3D11_MESSAGE_ID_HSSETSHADERRESOURCES_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097175i32); | |
17637 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17638 | pub const D3D11_MESSAGE_ID_HSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097176i32); | |
17639 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17640 | pub const D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDCALL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097177i32); | |
17641 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17642 | pub const D3D11_MESSAGE_ID_CREATEHULLSHADER_OUTOFMEMORY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097178i32); | |
17643 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17644 | pub const D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDSHADERBYTECODE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097179i32); | |
17645 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17646 | pub const D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDSHADERTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097180i32); | |
17647 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17648 | pub const D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDCLASSLINKAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097181i32); | |
17649 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17650 | pub const D3D11_MESSAGE_ID_DEVICE_HSSETSHADERRESOURCES_VIEWS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097182i32); | |
17651 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17652 | pub const D3D11_MESSAGE_ID_HSSETCONSTANTBUFFERS_INVALIDBUFFER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097183i32); | |
17653 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17654 | pub const D3D11_MESSAGE_ID_DEVICE_HSSETCONSTANTBUFFERS_BUFFERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097184i32); | |
17655 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17656 | pub const D3D11_MESSAGE_ID_DEVICE_HSSETSAMPLERS_SAMPLERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097185i32); | |
17657 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17658 | pub const D3D11_MESSAGE_ID_DEVICE_HSGETSHADERRESOURCES_VIEWS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097186i32); | |
17659 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17660 | pub const D3D11_MESSAGE_ID_DEVICE_HSGETCONSTANTBUFFERS_BUFFERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097187i32); | |
17661 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17662 | pub const D3D11_MESSAGE_ID_DEVICE_HSGETSAMPLERS_SAMPLERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097188i32); | |
17663 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17664 | pub const D3D11_MESSAGE_ID_DEVICE_DSSETSHADERRESOURCES_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097189i32); | |
17665 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17666 | pub const D3D11_MESSAGE_ID_DEVICE_DSSETCONSTANTBUFFERS_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097190i32); | |
17667 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17668 | pub const D3D11_MESSAGE_ID_DSSETSHADERRESOURCES_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097191i32); | |
17669 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17670 | pub const D3D11_MESSAGE_ID_DSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097192i32); | |
17671 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17672 | pub const D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDCALL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097193i32); | |
17673 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17674 | pub const D3D11_MESSAGE_ID_CREATEDOMAINSHADER_OUTOFMEMORY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097194i32); | |
17675 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17676 | pub const D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDSHADERBYTECODE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097195i32); | |
17677 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17678 | pub const D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDSHADERTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097196i32); | |
17679 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17680 | pub const D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDCLASSLINKAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097197i32); | |
17681 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17682 | pub const D3D11_MESSAGE_ID_DEVICE_DSSETSHADERRESOURCES_VIEWS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097198i32); | |
17683 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17684 | pub const D3D11_MESSAGE_ID_DSSETCONSTANTBUFFERS_INVALIDBUFFER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097199i32); | |
17685 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17686 | pub const D3D11_MESSAGE_ID_DEVICE_DSSETCONSTANTBUFFERS_BUFFERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097200i32); | |
17687 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17688 | pub const D3D11_MESSAGE_ID_DEVICE_DSSETSAMPLERS_SAMPLERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097201i32); | |
17689 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17690 | pub const D3D11_MESSAGE_ID_DEVICE_DSGETSHADERRESOURCES_VIEWS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097202i32); | |
17691 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17692 | pub const D3D11_MESSAGE_ID_DEVICE_DSGETCONSTANTBUFFERS_BUFFERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097203i32); | |
17693 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17694 | pub const D3D11_MESSAGE_ID_DEVICE_DSGETSAMPLERS_SAMPLERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097204i32); | |
17695 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17696 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_HS_XOR_DS_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097205i32); | |
17697 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17698 | pub const D3D11_MESSAGE_ID_DEFERRED_CONTEXT_REMOVAL_PROCESS_AT_FAULT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097206i32); | |
17699 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17700 | pub const D3D11_MESSAGE_ID_DEVICE_DRAWINDIRECT_INVALID_ARG_BUFFER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097207i32); | |
17701 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17702 | pub const D3D11_MESSAGE_ID_DEVICE_DRAWINDIRECT_OFFSET_UNALIGNED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097208i32); | |
17703 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17704 | pub const D3D11_MESSAGE_ID_DEVICE_DRAWINDIRECT_OFFSET_OVERFLOW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097209i32); | |
17705 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17706 | pub const D3D11_MESSAGE_ID_RESOURCE_MAP_INVALIDMAPTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097210i32); | |
17707 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17708 | pub const D3D11_MESSAGE_ID_RESOURCE_MAP_INVALIDSUBRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097211i32); | |
17709 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17710 | pub const D3D11_MESSAGE_ID_RESOURCE_MAP_INVALIDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097212i32); | |
17711 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17712 | pub const D3D11_MESSAGE_ID_RESOURCE_MAP_ALREADYMAPPED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097213i32); | |
17713 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17714 | pub const D3D11_MESSAGE_ID_RESOURCE_MAP_DEVICEREMOVED_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097214i32); | |
17715 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17716 | pub const D3D11_MESSAGE_ID_RESOURCE_MAP_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097215i32); | |
17717 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17718 | pub const D3D11_MESSAGE_ID_RESOURCE_MAP_WITHOUT_INITIAL_DISCARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097216i32); | |
17719 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17720 | pub const D3D11_MESSAGE_ID_RESOURCE_UNMAP_INVALIDSUBRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097217i32); | |
17721 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17722 | pub const D3D11_MESSAGE_ID_RESOURCE_UNMAP_NOTMAPPED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097218i32); | |
17723 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17724 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_RASTERIZING_CONTROL_POINTS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097219i32); | |
17725 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17726 | pub const D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097220i32); | |
17727 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17728 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_HS_DS_SIGNATURE_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097221i32); | |
17729 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17730 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_HULL_SHADER_INPUT_TOPOLOGY_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097222i32); | |
17731 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17732 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_HS_DS_CONTROL_POINT_COUNT_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097223i32); | |
17733 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17734 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_HS_DS_TESSELLATOR_DOMAIN_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097224i32); | |
17735 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17736 | pub const D3D11_MESSAGE_ID_CREATE_CONTEXT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097225i32); | |
17737 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17738 | pub const D3D11_MESSAGE_ID_LIVE_CONTEXT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097226i32); | |
17739 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17740 | pub const D3D11_MESSAGE_ID_DESTROY_CONTEXT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097227i32); | |
17741 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17742 | pub const D3D11_MESSAGE_ID_CREATE_BUFFER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097228i32); | |
17743 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17744 | pub const D3D11_MESSAGE_ID_LIVE_BUFFER_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097229i32); | |
17745 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17746 | pub const D3D11_MESSAGE_ID_DESTROY_BUFFER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097230i32); | |
17747 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17748 | pub const D3D11_MESSAGE_ID_CREATE_TEXTURE1D: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097231i32); | |
17749 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17750 | pub const D3D11_MESSAGE_ID_LIVE_TEXTURE1D_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097232i32); | |
17751 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17752 | pub const D3D11_MESSAGE_ID_DESTROY_TEXTURE1D: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097233i32); | |
17753 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17754 | pub const D3D11_MESSAGE_ID_CREATE_TEXTURE2D: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097234i32); | |
17755 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17756 | pub const D3D11_MESSAGE_ID_LIVE_TEXTURE2D_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097235i32); | |
17757 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17758 | pub const D3D11_MESSAGE_ID_DESTROY_TEXTURE2D: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097236i32); | |
17759 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17760 | pub const D3D11_MESSAGE_ID_CREATE_TEXTURE3D: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097237i32); | |
17761 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17762 | pub const D3D11_MESSAGE_ID_LIVE_TEXTURE3D_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097238i32); | |
17763 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17764 | pub const D3D11_MESSAGE_ID_DESTROY_TEXTURE3D: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097239i32); | |
17765 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17766 | pub const D3D11_MESSAGE_ID_CREATE_SHADERRESOURCEVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097240i32); | |
17767 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17768 | pub const D3D11_MESSAGE_ID_LIVE_SHADERRESOURCEVIEW_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097241i32); | |
17769 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17770 | pub const D3D11_MESSAGE_ID_DESTROY_SHADERRESOURCEVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097242i32); | |
17771 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17772 | pub const D3D11_MESSAGE_ID_CREATE_RENDERTARGETVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097243i32); | |
17773 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17774 | pub const D3D11_MESSAGE_ID_LIVE_RENDERTARGETVIEW_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097244i32); | |
17775 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17776 | pub const D3D11_MESSAGE_ID_DESTROY_RENDERTARGETVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097245i32); | |
17777 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17778 | pub const D3D11_MESSAGE_ID_CREATE_DEPTHSTENCILVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097246i32); | |
17779 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17780 | pub const D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILVIEW_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097247i32); | |
17781 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17782 | pub const D3D11_MESSAGE_ID_DESTROY_DEPTHSTENCILVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097248i32); | |
17783 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17784 | pub const D3D11_MESSAGE_ID_CREATE_VERTEXSHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097249i32); | |
17785 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17786 | pub const D3D11_MESSAGE_ID_LIVE_VERTEXSHADER_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097250i32); | |
17787 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17788 | pub const D3D11_MESSAGE_ID_DESTROY_VERTEXSHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097251i32); | |
17789 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17790 | pub const D3D11_MESSAGE_ID_CREATE_HULLSHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097252i32); | |
17791 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17792 | pub const D3D11_MESSAGE_ID_LIVE_HULLSHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097253i32); | |
17793 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17794 | pub const D3D11_MESSAGE_ID_DESTROY_HULLSHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097254i32); | |
17795 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17796 | pub const D3D11_MESSAGE_ID_CREATE_DOMAINSHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097255i32); | |
17797 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17798 | pub const D3D11_MESSAGE_ID_LIVE_DOMAINSHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097256i32); | |
17799 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17800 | pub const D3D11_MESSAGE_ID_DESTROY_DOMAINSHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097257i32); | |
17801 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17802 | pub const D3D11_MESSAGE_ID_CREATE_GEOMETRYSHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097258i32); | |
17803 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17804 | pub const D3D11_MESSAGE_ID_LIVE_GEOMETRYSHADER_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097259i32); | |
17805 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17806 | pub const D3D11_MESSAGE_ID_DESTROY_GEOMETRYSHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097260i32); | |
17807 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17808 | pub const D3D11_MESSAGE_ID_CREATE_PIXELSHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097261i32); | |
17809 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17810 | pub const D3D11_MESSAGE_ID_LIVE_PIXELSHADER_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097262i32); | |
17811 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17812 | pub const D3D11_MESSAGE_ID_DESTROY_PIXELSHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097263i32); | |
17813 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17814 | pub const D3D11_MESSAGE_ID_CREATE_INPUTLAYOUT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097264i32); | |
17815 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17816 | pub const D3D11_MESSAGE_ID_LIVE_INPUTLAYOUT_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097265i32); | |
17817 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17818 | pub const D3D11_MESSAGE_ID_DESTROY_INPUTLAYOUT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097266i32); | |
17819 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17820 | pub const D3D11_MESSAGE_ID_CREATE_SAMPLER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097267i32); | |
17821 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17822 | pub const D3D11_MESSAGE_ID_LIVE_SAMPLER_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097268i32); | |
17823 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17824 | pub const D3D11_MESSAGE_ID_DESTROY_SAMPLER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097269i32); | |
17825 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17826 | pub const D3D11_MESSAGE_ID_CREATE_BLENDSTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097270i32); | |
17827 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17828 | pub const D3D11_MESSAGE_ID_LIVE_BLENDSTATE_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097271i32); | |
17829 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17830 | pub const D3D11_MESSAGE_ID_DESTROY_BLENDSTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097272i32); | |
17831 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17832 | pub const D3D11_MESSAGE_ID_CREATE_DEPTHSTENCILSTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097273i32); | |
17833 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17834 | pub const D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILSTATE_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097274i32); | |
17835 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17836 | pub const D3D11_MESSAGE_ID_DESTROY_DEPTHSTENCILSTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097275i32); | |
17837 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17838 | pub const D3D11_MESSAGE_ID_CREATE_RASTERIZERSTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097276i32); | |
17839 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17840 | pub const D3D11_MESSAGE_ID_LIVE_RASTERIZERSTATE_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097277i32); | |
17841 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17842 | pub const D3D11_MESSAGE_ID_DESTROY_RASTERIZERSTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097278i32); | |
17843 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17844 | pub const D3D11_MESSAGE_ID_CREATE_QUERY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097279i32); | |
17845 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17846 | pub const D3D11_MESSAGE_ID_LIVE_QUERY_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097280i32); | |
17847 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17848 | pub const D3D11_MESSAGE_ID_DESTROY_QUERY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097281i32); | |
17849 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17850 | pub const D3D11_MESSAGE_ID_CREATE_PREDICATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097282i32); | |
17851 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17852 | pub const D3D11_MESSAGE_ID_LIVE_PREDICATE_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097283i32); | |
17853 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17854 | pub const D3D11_MESSAGE_ID_DESTROY_PREDICATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097284i32); | |
17855 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17856 | pub const D3D11_MESSAGE_ID_CREATE_COUNTER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097285i32); | |
17857 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17858 | pub const D3D11_MESSAGE_ID_DESTROY_COUNTER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097286i32); | |
17859 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17860 | pub const D3D11_MESSAGE_ID_CREATE_COMMANDLIST: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097287i32); | |
17861 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17862 | pub const D3D11_MESSAGE_ID_LIVE_COMMANDLIST: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097288i32); | |
17863 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17864 | pub const D3D11_MESSAGE_ID_DESTROY_COMMANDLIST: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097289i32); | |
17865 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17866 | pub const D3D11_MESSAGE_ID_CREATE_CLASSINSTANCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097290i32); | |
17867 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17868 | pub const D3D11_MESSAGE_ID_LIVE_CLASSINSTANCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097291i32); | |
17869 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17870 | pub const D3D11_MESSAGE_ID_DESTROY_CLASSINSTANCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097292i32); | |
17871 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17872 | pub const D3D11_MESSAGE_ID_CREATE_CLASSLINKAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097293i32); | |
17873 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17874 | pub const D3D11_MESSAGE_ID_LIVE_CLASSLINKAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097294i32); | |
17875 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17876 | pub const D3D11_MESSAGE_ID_DESTROY_CLASSLINKAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097295i32); | |
17877 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17878 | pub const D3D11_MESSAGE_ID_LIVE_DEVICE_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097296i32); | |
17879 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17880 | pub const D3D11_MESSAGE_ID_LIVE_OBJECT_SUMMARY_WIN7: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097297i32); | |
17881 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17882 | pub const D3D11_MESSAGE_ID_CREATE_COMPUTESHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097298i32); | |
17883 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17884 | pub const D3D11_MESSAGE_ID_LIVE_COMPUTESHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097299i32); | |
17885 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17886 | pub const D3D11_MESSAGE_ID_DESTROY_COMPUTESHADER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097300i32); | |
17887 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17888 | pub const D3D11_MESSAGE_ID_CREATE_UNORDEREDACCESSVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097301i32); | |
17889 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17890 | pub const D3D11_MESSAGE_ID_LIVE_UNORDEREDACCESSVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097302i32); | |
17891 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17892 | pub const D3D11_MESSAGE_ID_DESTROY_UNORDEREDACCESSVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097303i32); | |
17893 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17894 | pub const D3D11_MESSAGE_ID_DEVICE_SETSHADER_INTERFACES_FEATURELEVEL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097304i32); | |
17895 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17896 | pub const D3D11_MESSAGE_ID_DEVICE_SETSHADER_INTERFACE_COUNT_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097305i32); | |
17897 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17898 | pub const D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097306i32); | |
17899 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17900 | pub const D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE_INDEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097307i32); | |
17901 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17902 | pub const D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE_TYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097308i32); | |
17903 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17904 | pub const D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE_DATA: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097309i32); | |
17905 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17906 | pub const D3D11_MESSAGE_ID_DEVICE_SETSHADER_UNBOUND_INSTANCE_DATA: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097310i32); | |
17907 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17908 | pub const D3D11_MESSAGE_ID_DEVICE_SETSHADER_INSTANCE_DATA_BINDINGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097311i32); | |
17909 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17910 | pub const D3D11_MESSAGE_ID_DEVICE_CREATESHADER_CLASSLINKAGE_FULL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097312i32); | |
17911 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17912 | pub const D3D11_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_UNRECOGNIZED_FEATURE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097313i32); | |
17913 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17914 | pub const D3D11_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_MISMATCHED_DATA_SIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097314i32); | |
17915 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17916 | pub const D3D11_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_INVALIDARG_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097315i32); | |
17917 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17918 | pub const D3D11_MESSAGE_ID_DEVICE_CSSETSHADERRESOURCES_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097316i32); | |
17919 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17920 | pub const D3D11_MESSAGE_ID_DEVICE_CSSETCONSTANTBUFFERS_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097317i32); | |
17921 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17922 | pub const D3D11_MESSAGE_ID_CSSETSHADERRESOURCES_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097318i32); | |
17923 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17924 | pub const D3D11_MESSAGE_ID_CSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097319i32); | |
17925 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17926 | pub const D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDCALL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097320i32); | |
17927 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17928 | pub const D3D11_MESSAGE_ID_CREATECOMPUTESHADER_OUTOFMEMORY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097321i32); | |
17929 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17930 | pub const D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDSHADERBYTECODE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097322i32); | |
17931 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17932 | pub const D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDSHADERTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097323i32); | |
17933 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17934 | pub const D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDCLASSLINKAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097324i32); | |
17935 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17936 | pub const D3D11_MESSAGE_ID_DEVICE_CSSETSHADERRESOURCES_VIEWS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097325i32); | |
17937 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17938 | pub const D3D11_MESSAGE_ID_CSSETCONSTANTBUFFERS_INVALIDBUFFER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097326i32); | |
17939 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17940 | pub const D3D11_MESSAGE_ID_DEVICE_CSSETCONSTANTBUFFERS_BUFFERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097327i32); | |
17941 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17942 | pub const D3D11_MESSAGE_ID_DEVICE_CSSETSAMPLERS_SAMPLERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097328i32); | |
17943 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17944 | pub const D3D11_MESSAGE_ID_DEVICE_CSGETSHADERRESOURCES_VIEWS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097329i32); | |
17945 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17946 | pub const D3D11_MESSAGE_ID_DEVICE_CSGETCONSTANTBUFFERS_BUFFERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097330i32); | |
17947 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17948 | pub const D3D11_MESSAGE_ID_DEVICE_CSGETSAMPLERS_SAMPLERS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097331i32); | |
17949 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17950 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_DOUBLEFLOATOPSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097332i32); | |
17951 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17952 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_DOUBLEFLOATOPSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097333i32); | |
17953 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17954 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_DOUBLEFLOATOPSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097334i32); | |
17955 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17956 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_DOUBLEFLOATOPSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097335i32); | |
17957 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17958 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DOUBLEFLOATOPSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097336i32); | |
17959 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17960 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_DOUBLEFLOATOPSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097337i32); | |
17961 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17962 | pub const D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_DOUBLEFLOATOPSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097338i32); | |
17963 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17964 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDSTRUCTURESTRIDE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097339i32); | |
17965 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17966 | pub const D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097340i32); | |
17967 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17968 | pub const D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097341i32); | |
17969 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17970 | pub const D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDESC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097342i32); | |
17971 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17972 | pub const D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097343i32); | |
17973 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17974 | pub const D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDIMENSIONS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097344i32); | |
17975 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17976 | pub const D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_UNRECOGNIZEDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097345i32); | |
17977 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17978 | pub const D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097346i32); | |
17979 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17980 | pub const D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_OVERLAPPING_OLD_SLOTS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097347i32); | |
17981 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17982 | pub const D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_NO_OP: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097348i32); | |
17983 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17984 | pub const D3D11_MESSAGE_ID_CSSETUNORDEREDACCESSVIEWS_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097349i32); | |
17985 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17986 | pub const D3D11_MESSAGE_ID_PSSETUNORDEREDACCESSVIEWS_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097350i32); | |
17987 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17988 | pub const D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDARG_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097351i32); | |
17989 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17990 | pub const D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097352i32); | |
17991 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17992 | pub const D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_TOOMANYOBJECTS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097353i32); | |
17993 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17994 | pub const D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097354i32); | |
17995 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17996 | pub const D3D11_MESSAGE_ID_CLEARUNORDEREDACCESSVIEW_DENORMFLUSH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097355i32); | |
17997 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
17998 | pub const D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSS_VIEWS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097356i32); | |
17999 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18000 | pub const D3D11_MESSAGE_ID_DEVICE_CSGETUNORDEREDACCESSS_VIEWS_EMPTY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097357i32); | |
18001 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18002 | pub const D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097358i32); | |
18003 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18004 | pub const D3D11_MESSAGE_ID_CREATESHADERRESESOURCEVIEW_TOOMANYOBJECTS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097359i32); | |
18005 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18006 | pub const D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_INVALID_ARG_BUFFER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097360i32); | |
18007 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18008 | pub const D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_OFFSET_UNALIGNED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097361i32); | |
18009 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18010 | pub const D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_OFFSET_OVERFLOW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097362i32); | |
18011 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18012 | pub const D3D11_MESSAGE_ID_DEVICE_SETRESOURCEMINLOD_INVALIDCONTEXT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097363i32); | |
18013 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18014 | pub const D3D11_MESSAGE_ID_DEVICE_SETRESOURCEMINLOD_INVALIDRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097364i32); | |
18015 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18016 | pub const D3D11_MESSAGE_ID_DEVICE_SETRESOURCEMINLOD_INVALIDMINLOD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097365i32); | |
18017 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18018 | pub const D3D11_MESSAGE_ID_DEVICE_GETRESOURCEMINLOD_INVALIDCONTEXT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097366i32); | |
18019 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18020 | pub const D3D11_MESSAGE_ID_DEVICE_GETRESOURCEMINLOD_INVALIDRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097367i32); | |
18021 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18022 | pub const D3D11_MESSAGE_ID_OMSETDEPTHSTENCIL_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097368i32); | |
18023 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18024 | pub const D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_DEPTH_READONLY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097369i32); | |
18025 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18026 | pub const D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_STENCIL_READONLY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097370i32); | |
18027 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18028 | pub const D3D11_MESSAGE_ID_CHECKFEATURESUPPORT_FORMAT_DEPRECATED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097371i32); | |
18029 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18030 | pub const D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_RETURN_TYPE_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097372i32); | |
18031 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18032 | pub const D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_NOT_SET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097373i32); | |
18033 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18034 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_UNORDEREDACCESSVIEW_RENDERTARGETVIEW_OVERLAP: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097374i32); | |
18035 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18036 | pub const D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_DIMENSION_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097375i32); | |
18037 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18038 | pub const D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_APPEND_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097376i32); | |
18039 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18040 | pub const D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMICS_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097377i32); | |
18041 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18042 | pub const D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_STRUCTURE_STRIDE_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097378i32); | |
18043 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18044 | pub const D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_BUFFER_TYPE_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097379i32); | |
18045 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18046 | pub const D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_RAW_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097380i32); | |
18047 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18048 | pub const D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_FORMAT_LD_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097381i32); | |
18049 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18050 | pub const D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_FORMAT_STORE_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097382i32); | |
18051 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18052 | pub const D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_ADD_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097383i32); | |
18053 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18054 | pub const D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_BITWISE_OPS_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097384i32); | |
18055 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18056 | pub const D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_CMPSTORE_CMPEXCHANGE_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097385i32); | |
18057 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18058 | pub const D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_EXCHANGE_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097386i32); | |
18059 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18060 | pub const D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_SIGNED_MINMAX_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097387i32); | |
18061 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18062 | pub const D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_UNSIGNED_MINMAX_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097388i32); | |
18063 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18064 | pub const D3D11_MESSAGE_ID_DEVICE_DISPATCH_BOUND_RESOURCE_MAPPED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097389i32); | |
18065 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18066 | pub const D3D11_MESSAGE_ID_DEVICE_DISPATCH_THREADGROUPCOUNT_OVERFLOW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097390i32); | |
18067 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18068 | pub const D3D11_MESSAGE_ID_DEVICE_DISPATCH_THREADGROUPCOUNT_ZERO: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097391i32); | |
18069 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18070 | pub const D3D11_MESSAGE_ID_DEVICE_SHADERRESOURCEVIEW_STRUCTURE_STRIDE_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097392i32); | |
18071 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18072 | pub const D3D11_MESSAGE_ID_DEVICE_SHADERRESOURCEVIEW_BUFFER_TYPE_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097393i32); | |
18073 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18074 | pub const D3D11_MESSAGE_ID_DEVICE_SHADERRESOURCEVIEW_RAW_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097394i32); | |
18075 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18076 | pub const D3D11_MESSAGE_ID_DEVICE_DISPATCH_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097395i32); | |
18077 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18078 | pub const D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097396i32); | |
18079 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18080 | pub const D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_INVALIDOFFSET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097397i32); | |
18081 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18082 | pub const D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_LARGEOFFSET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097398i32); | |
18083 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18084 | pub const D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_INVALIDDESTINATIONSTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097399i32); | |
18085 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18086 | pub const D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_INVALIDSOURCESTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097400i32); | |
18087 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18088 | pub const D3D11_MESSAGE_ID_CHECKFORMATSUPPORT_FORMAT_NOT_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097401i32); | |
18089 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18090 | pub const D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_INVALIDVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097402i32); | |
18091 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18092 | pub const D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_INVALIDOFFSET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097403i32); | |
18093 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18094 | pub const D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_TOOMANYVIEWS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097404i32); | |
18095 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18096 | pub const D3D11_MESSAGE_ID_CLEARUNORDEREDACCESSVIEWFLOAT_INVALIDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097405i32); | |
18097 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18098 | pub const D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_COUNTER_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097406i32); | |
18099 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18100 | pub const D3D11_MESSAGE_ID_REF_WARNING: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097407i32); | |
18101 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18102 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_PIXEL_SHADER_WITHOUT_RTV_OR_DSV: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097408i32); | |
18103 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18104 | pub const D3D11_MESSAGE_ID_SHADER_ABORT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097409i32); | |
18105 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18106 | pub const D3D11_MESSAGE_ID_SHADER_MESSAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097410i32); | |
18107 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18108 | pub const D3D11_MESSAGE_ID_SHADER_ERROR: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097411i32); | |
18109 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18110 | pub const D3D11_MESSAGE_ID_OFFERRESOURCES_INVALIDRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097412i32); | |
18111 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18112 | pub const D3D11_MESSAGE_ID_HSSETSAMPLERS_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097413i32); | |
18113 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18114 | pub const D3D11_MESSAGE_ID_DSSETSAMPLERS_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097414i32); | |
18115 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18116 | pub const D3D11_MESSAGE_ID_CSSETSAMPLERS_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097415i32); | |
18117 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18118 | pub const D3D11_MESSAGE_ID_HSSETSHADER_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097416i32); | |
18119 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18120 | pub const D3D11_MESSAGE_ID_DSSETSHADER_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097417i32); | |
18121 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18122 | pub const D3D11_MESSAGE_ID_CSSETSHADER_UNBINDDELETINGOBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097418i32); | |
18123 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18124 | pub const D3D11_MESSAGE_ID_ENQUEUESETEVENT_INVALIDARG_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097419i32); | |
18125 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18126 | pub const D3D11_MESSAGE_ID_ENQUEUESETEVENT_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097420i32); | |
18127 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18128 | pub const D3D11_MESSAGE_ID_ENQUEUESETEVENT_ACCESSDENIED_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097421i32); | |
18129 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18130 | pub const D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_NUMUAVS_INVALIDRANGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097422i32); | |
18131 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18132 | pub const D3D11_MESSAGE_ID_USE_OF_ZERO_REFCOUNT_OBJECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097423i32); | |
18133 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18134 | pub const D3D11_MESSAGE_ID_D3D11_MESSAGES_END: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(2097424i32); | |
18135 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18136 | pub const D3D11_MESSAGE_ID_D3D11_1_MESSAGES_START: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145728i32); | |
18137 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18138 | pub const D3D11_MESSAGE_ID_CREATE_VIDEODECODER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145729i32); | |
18139 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18140 | pub const D3D11_MESSAGE_ID_CREATE_VIDEOPROCESSORENUM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145730i32); | |
18141 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18142 | pub const D3D11_MESSAGE_ID_CREATE_VIDEOPROCESSOR: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145731i32); | |
18143 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18144 | pub const D3D11_MESSAGE_ID_CREATE_DECODEROUTPUTVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145732i32); | |
18145 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18146 | pub const D3D11_MESSAGE_ID_CREATE_PROCESSORINPUTVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145733i32); | |
18147 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18148 | pub const D3D11_MESSAGE_ID_CREATE_PROCESSOROUTPUTVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145734i32); | |
18149 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18150 | pub const D3D11_MESSAGE_ID_CREATE_DEVICECONTEXTSTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145735i32); | |
18151 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18152 | pub const D3D11_MESSAGE_ID_LIVE_VIDEODECODER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145736i32); | |
18153 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18154 | pub const D3D11_MESSAGE_ID_LIVE_VIDEOPROCESSORENUM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145737i32); | |
18155 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18156 | pub const D3D11_MESSAGE_ID_LIVE_VIDEOPROCESSOR: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145738i32); | |
18157 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18158 | pub const D3D11_MESSAGE_ID_LIVE_DECODEROUTPUTVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145739i32); | |
18159 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18160 | pub const D3D11_MESSAGE_ID_LIVE_PROCESSORINPUTVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145740i32); | |
18161 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18162 | pub const D3D11_MESSAGE_ID_LIVE_PROCESSOROUTPUTVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145741i32); | |
18163 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18164 | pub const D3D11_MESSAGE_ID_LIVE_DEVICECONTEXTSTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145742i32); | |
18165 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18166 | pub const D3D11_MESSAGE_ID_DESTROY_VIDEODECODER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145743i32); | |
18167 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18168 | pub const D3D11_MESSAGE_ID_DESTROY_VIDEOPROCESSORENUM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145744i32); | |
18169 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18170 | pub const D3D11_MESSAGE_ID_DESTROY_VIDEOPROCESSOR: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145745i32); | |
18171 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18172 | pub const D3D11_MESSAGE_ID_DESTROY_DECODEROUTPUTVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145746i32); | |
18173 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18174 | pub const D3D11_MESSAGE_ID_DESTROY_PROCESSORINPUTVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145747i32); | |
18175 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18176 | pub const D3D11_MESSAGE_ID_DESTROY_PROCESSOROUTPUTVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145748i32); | |
18177 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18178 | pub const D3D11_MESSAGE_ID_DESTROY_DEVICECONTEXTSTATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145749i32); | |
18179 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18180 | pub const D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_INVALIDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145750i32); | |
18181 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18182 | pub const D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_INVALIDFEATURELEVEL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145751i32); | |
18183 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18184 | pub const D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_FEATURELEVELS_NOT_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145752i32); | |
18185 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18186 | pub const D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_INVALIDREFIID: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145753i32); | |
18187 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18188 | pub const D3D11_MESSAGE_ID_DEVICE_DISCARDVIEW_INVALIDVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145754i32); | |
18189 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18190 | pub const D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION1_INVALIDCOPYFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145755i32); | |
18191 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18192 | pub const D3D11_MESSAGE_ID_UPDATESUBRESOURCE1_INVALIDCOPYFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145756i32); | |
18193 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18194 | pub const D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFORCEDSAMPLECOUNT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145757i32); | |
18195 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18196 | pub const D3D11_MESSAGE_ID_CREATEVIDEODECODER_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145758i32); | |
18197 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18198 | pub const D3D11_MESSAGE_ID_CREATEVIDEODECODER_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145759i32); | |
18199 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18200 | pub const D3D11_MESSAGE_ID_CREATEVIDEODECODER_INVALIDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145760i32); | |
18201 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18202 | pub const D3D11_MESSAGE_ID_CREATEVIDEODECODER_ZEROWIDTHHEIGHT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145761i32); | |
18203 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18204 | pub const D3D11_MESSAGE_ID_CREATEVIDEODECODER_DRIVER_INVALIDBUFFERSIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145762i32); | |
18205 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18206 | pub const D3D11_MESSAGE_ID_CREATEVIDEODECODER_DRIVER_INVALIDBUFFERUSAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145763i32); | |
18207 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18208 | pub const D3D11_MESSAGE_ID_GETVIDEODECODERPROFILECOUNT_OUTOFMEMORY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145764i32); | |
18209 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18210 | pub const D3D11_MESSAGE_ID_GETVIDEODECODERPROFILE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145765i32); | |
18211 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18212 | pub const D3D11_MESSAGE_ID_GETVIDEODECODERPROFILE_INVALIDINDEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145766i32); | |
18213 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18214 | pub const D3D11_MESSAGE_ID_GETVIDEODECODERPROFILE_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145767i32); | |
18215 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18216 | pub const D3D11_MESSAGE_ID_CHECKVIDEODECODERFORMAT_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145768i32); | |
18217 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18218 | pub const D3D11_MESSAGE_ID_CHECKVIDEODECODERFORMAT_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145769i32); | |
18219 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18220 | pub const D3D11_MESSAGE_ID_GETVIDEODECODERCONFIGCOUNT_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145770i32); | |
18221 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18222 | pub const D3D11_MESSAGE_ID_GETVIDEODECODERCONFIGCOUNT_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145771i32); | |
18223 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18224 | pub const D3D11_MESSAGE_ID_GETVIDEODECODERCONFIG_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145772i32); | |
18225 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18226 | pub const D3D11_MESSAGE_ID_GETVIDEODECODERCONFIG_INVALIDINDEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145773i32); | |
18227 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18228 | pub const D3D11_MESSAGE_ID_GETVIDEODECODERCONFIG_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145774i32); | |
18229 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18230 | pub const D3D11_MESSAGE_ID_GETDECODERCREATIONPARAMS_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145775i32); | |
18231 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18232 | pub const D3D11_MESSAGE_ID_GETDECODERDRIVERHANDLE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145776i32); | |
18233 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18234 | pub const D3D11_MESSAGE_ID_GETDECODERBUFFER_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145777i32); | |
18235 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18236 | pub const D3D11_MESSAGE_ID_GETDECODERBUFFER_INVALIDBUFFER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145778i32); | |
18237 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18238 | pub const D3D11_MESSAGE_ID_GETDECODERBUFFER_INVALIDTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145779i32); | |
18239 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18240 | pub const D3D11_MESSAGE_ID_GETDECODERBUFFER_LOCKED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145780i32); | |
18241 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18242 | pub const D3D11_MESSAGE_ID_RELEASEDECODERBUFFER_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145781i32); | |
18243 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18244 | pub const D3D11_MESSAGE_ID_RELEASEDECODERBUFFER_INVALIDTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145782i32); | |
18245 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18246 | pub const D3D11_MESSAGE_ID_RELEASEDECODERBUFFER_NOTLOCKED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145783i32); | |
18247 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18248 | pub const D3D11_MESSAGE_ID_DECODERBEGINFRAME_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145784i32); | |
18249 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18250 | pub const D3D11_MESSAGE_ID_DECODERBEGINFRAME_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145785i32); | |
18251 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18252 | pub const D3D11_MESSAGE_ID_DECODERENDFRAME_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145786i32); | |
18253 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18254 | pub const D3D11_MESSAGE_ID_SUBMITDECODERBUFFERS_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145787i32); | |
18255 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18256 | pub const D3D11_MESSAGE_ID_SUBMITDECODERBUFFERS_INVALIDTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145788i32); | |
18257 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18258 | pub const D3D11_MESSAGE_ID_DECODEREXTENSION_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145789i32); | |
18259 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18260 | pub const D3D11_MESSAGE_ID_DECODEREXTENSION_INVALIDRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145790i32); | |
18261 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18262 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145791i32); | |
18263 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18264 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145792i32); | |
18265 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18266 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDFRAMEFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145793i32); | |
18267 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18268 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDUSAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145794i32); | |
18269 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18270 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDINPUTFRAMERATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145795i32); | |
18271 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18272 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDOUTPUTFRAMERATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145796i32); | |
18273 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18274 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDWIDTHHEIGHT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145797i32); | |
18275 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18276 | pub const D3D11_MESSAGE_ID_GETVIDEOPROCESSORCONTENTDESC_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145798i32); | |
18277 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18278 | pub const D3D11_MESSAGE_ID_CHECKVIDEOPROCESSORFORMAT_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145799i32); | |
18279 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18280 | pub const D3D11_MESSAGE_ID_GETVIDEOPROCESSORCAPS_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145800i32); | |
18281 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18282 | pub const D3D11_MESSAGE_ID_GETVIDEOPROCESSORRATECONVERSIONCAPS_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145801i32); | |
18283 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18284 | pub const D3D11_MESSAGE_ID_GETVIDEOPROCESSORRATECONVERSIONCAPS_INVALIDINDEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145802i32); | |
18285 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18286 | pub const D3D11_MESSAGE_ID_GETVIDEOPROCESSORCUSTOMRATE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145803i32); | |
18287 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18288 | pub const D3D11_MESSAGE_ID_GETVIDEOPROCESSORCUSTOMRATE_INVALIDINDEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145804i32); | |
18289 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18290 | pub const D3D11_MESSAGE_ID_GETVIDEOPROCESSORFILTERRANGE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145805i32); | |
18291 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18292 | pub const D3D11_MESSAGE_ID_GETVIDEOPROCESSORFILTERRANGE_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145806i32); | |
18293 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18294 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOR_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145807i32); | |
18295 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18296 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOR_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145808i32); | |
18297 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18298 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTTARGETRECT_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145809i32); | |
18299 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18300 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTBACKGROUNDCOLOR_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145810i32); | |
18301 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18302 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTBACKGROUNDCOLOR_INVALIDALPHA: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145811i32); | |
18303 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18304 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCOLORSPACE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145812i32); | |
18305 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18306 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145813i32); | |
18307 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18308 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145814i32); | |
18309 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18310 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145815i32); | |
18311 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18312 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_INVALIDFILLMODE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145816i32); | |
18313 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18314 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCONSTRICTION_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145817i32); | |
18315 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18316 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTSTEREOMODE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145818i32); | |
18317 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18318 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTSTEREOMODE_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145819i32); | |
18319 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18320 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTEXTENSION_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145820i32); | |
18321 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18322 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTTARGETRECT_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145821i32); | |
18323 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18324 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTBACKGROUNDCOLOR_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145822i32); | |
18325 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18326 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTCOLORSPACE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145823i32); | |
18327 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18328 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTALPHAFILLMODE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145824i32); | |
18329 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18330 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTCONSTRICTION_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145825i32); | |
18331 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18332 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCONSTRICTION_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145826i32); | |
18333 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18334 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCONSTRICTION_INVALIDSIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145827i32); | |
18335 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18336 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTSTEREOMODE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145828i32); | |
18337 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18338 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTEXTENSION_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145829i32); | |
18339 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18340 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFRAMEFORMAT_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145830i32); | |
18341 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18342 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFRAMEFORMAT_INVALIDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145831i32); | |
18343 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18344 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFRAMEFORMAT_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145832i32); | |
18345 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18346 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMCOLORSPACE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145833i32); | |
18347 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18348 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMCOLORSPACE_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145834i32); | |
18349 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18350 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145835i32); | |
18351 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18352 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_INVALIDRATE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145836i32); | |
18353 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18354 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_INVALIDFLAG: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145837i32); | |
18355 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18356 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145838i32); | |
18357 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18358 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSOURCERECT_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145839i32); | |
18359 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18360 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSOURCERECT_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145840i32); | |
18361 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18362 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSOURCERECT_INVALIDRECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145841i32); | |
18363 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18364 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMDESTRECT_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145842i32); | |
18365 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18366 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMDESTRECT_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145843i32); | |
18367 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18368 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMDESTRECT_INVALIDRECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145844i32); | |
18369 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18370 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145845i32); | |
18371 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18372 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145846i32); | |
18373 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18374 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_INVALIDALPHA: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145847i32); | |
18375 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18376 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145848i32); | |
18377 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18378 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145849i32); | |
18379 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18380 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_INVALIDCOUNT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145850i32); | |
18381 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18382 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_INVALIDALPHA: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145851i32); | |
18383 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18384 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145852i32); | |
18385 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18386 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145853i32); | |
18387 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18388 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_INVALIDRATIO: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145854i32); | |
18389 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18390 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145855i32); | |
18391 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18392 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145856i32); | |
18393 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18394 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_INVALIDRANGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145857i32); | |
18395 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18396 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145858i32); | |
18397 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18398 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145859i32); | |
18399 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18400 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145860i32); | |
18401 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18402 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145861i32); | |
18403 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18404 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_FLIPUNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145862i32); | |
18405 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18406 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_MONOOFFSETUNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145863i32); | |
18407 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18408 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_FORMATUNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145864i32); | |
18409 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18410 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_INVALIDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145865i32); | |
18411 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18412 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMAUTOPROCESSINGMODE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145866i32); | |
18413 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18414 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMAUTOPROCESSINGMODE_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145867i32); | |
18415 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18416 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145868i32); | |
18417 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18418 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145869i32); | |
18419 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18420 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_INVALIDFILTER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145870i32); | |
18421 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18422 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145871i32); | |
18423 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18424 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_INVALIDLEVEL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145872i32); | |
18425 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18426 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMEXTENSION_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145873i32); | |
18427 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18428 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMEXTENSION_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145874i32); | |
18429 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18430 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMFRAMEFORMAT_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145875i32); | |
18431 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18432 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMCOLORSPACE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145876i32); | |
18433 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18434 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMOUTPUTRATE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145877i32); | |
18435 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18436 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMSOURCERECT_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145878i32); | |
18437 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18438 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMDESTRECT_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145879i32); | |
18439 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18440 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMALPHA_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145880i32); | |
18441 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18442 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMPALETTE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145881i32); | |
18443 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18444 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMPIXELASPECTRATIO_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145882i32); | |
18445 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18446 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMLUMAKEY_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145883i32); | |
18447 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18448 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMSTEREOFORMAT_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145884i32); | |
18449 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18450 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMAUTOPROCESSINGMODE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145885i32); | |
18451 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18452 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMFILTER_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145886i32); | |
18453 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18454 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMEXTENSION_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145887i32); | |
18455 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18456 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMEXTENSION_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145888i32); | |
18457 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18458 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145889i32); | |
18459 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18460 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDSTREAMCOUNT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145890i32); | |
18461 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18462 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_TARGETRECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145891i32); | |
18463 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18464 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDOUTPUT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145892i32); | |
18465 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18466 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDPASTFRAMES: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145893i32); | |
18467 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18468 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDFUTUREFRAMES: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145894i32); | |
18469 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18470 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDSOURCERECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145895i32); | |
18471 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18472 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDDESTRECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145896i32); | |
18473 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18474 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDINPUTRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145897i32); | |
18475 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18476 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDARRAYSIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145898i32); | |
18477 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18478 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDARRAY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145899i32); | |
18479 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18480 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_RIGHTEXPECTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145900i32); | |
18481 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18482 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_RIGHTNOTEXPECTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145901i32); | |
18483 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18484 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_STEREONOTENABLED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145902i32); | |
18485 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18486 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDRIGHTRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145903i32); | |
18487 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18488 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_NOSTEREOSTREAMS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145904i32); | |
18489 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18490 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INPUTHAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145905i32); | |
18491 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18492 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_OUTPUTHAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145906i32); | |
18493 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18494 | pub const D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145907i32); | |
18495 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18496 | pub const D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145908i32); | |
18497 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18498 | pub const D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145909i32); | |
18499 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18500 | pub const D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDBIND: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145910i32); | |
18501 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18502 | pub const D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_UNSUPPORTEDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145911i32); | |
18503 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18504 | pub const D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDMIP: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145912i32); | |
18505 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18506 | pub const D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_UNSUPPORTEMIP: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145913i32); | |
18507 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18508 | pub const D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDARRAYSIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145914i32); | |
18509 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18510 | pub const D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDARRAY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145915i32); | |
18511 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18512 | pub const D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDDIMENSION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145916i32); | |
18513 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18514 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145917i32); | |
18515 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18516 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145918i32); | |
18517 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18518 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145919i32); | |
18519 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18520 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDBIND: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145920i32); | |
18521 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18522 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDMISC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145921i32); | |
18523 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18524 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDUSAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145922i32); | |
18525 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18526 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145923i32); | |
18527 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18528 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDFOURCC: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145924i32); | |
18529 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18530 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDMIP: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145925i32); | |
18531 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18532 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_UNSUPPORTEDMIP: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145926i32); | |
18533 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18534 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDARRAYSIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145927i32); | |
18535 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18536 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDARRAY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145928i32); | |
18537 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18538 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDDIMENSION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145929i32); | |
18539 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18540 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145930i32); | |
18541 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18542 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145931i32); | |
18543 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18544 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145932i32); | |
18545 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18546 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDBIND: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145933i32); | |
18547 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18548 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145934i32); | |
18549 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18550 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDMIP: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145935i32); | |
18551 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18552 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_UNSUPPORTEDMIP: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145936i32); | |
18553 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18554 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_UNSUPPORTEDARRAY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145937i32); | |
18555 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18556 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDARRAY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145938i32); | |
18557 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18558 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDDIMENSION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145939i32); | |
18559 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18560 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_USE_OF_FORCED_SAMPLE_COUNT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145940i32); | |
18561 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18562 | pub const D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDLOGICOPS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145941i32); | |
18563 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18564 | pub const D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDARRAYWITHDECODER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145942i32); | |
18565 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18566 | pub const D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDARRAYWITHDECODER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145943i32); | |
18567 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18568 | pub const D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDARRAYWITHDECODER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145944i32); | |
18569 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18570 | pub const D3D11_MESSAGE_ID_DEVICE_LOCKEDOUT_INTERFACE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145945i32); | |
18571 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18572 | pub const D3D11_MESSAGE_ID_REF_WARNING_ATOMIC_INCONSISTENT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145946i32); | |
18573 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18574 | pub const D3D11_MESSAGE_ID_REF_WARNING_READING_UNINITIALIZED_RESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145947i32); | |
18575 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18576 | pub const D3D11_MESSAGE_ID_REF_WARNING_RAW_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145948i32); | |
18577 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18578 | pub const D3D11_MESSAGE_ID_REF_WARNING_WAR_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145949i32); | |
18579 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18580 | pub const D3D11_MESSAGE_ID_REF_WARNING_WAW_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145950i32); | |
18581 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18582 | pub const D3D11_MESSAGE_ID_CREATECRYPTOSESSION_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145951i32); | |
18583 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18584 | pub const D3D11_MESSAGE_ID_CREATECRYPTOSESSION_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145952i32); | |
18585 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18586 | pub const D3D11_MESSAGE_ID_GETCRYPTOTYPE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145953i32); | |
18587 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18588 | pub const D3D11_MESSAGE_ID_GETDECODERPROFILE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145954i32); | |
18589 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18590 | pub const D3D11_MESSAGE_ID_GETCRYPTOSESSIONCERTIFICATESIZE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145955i32); | |
18591 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18592 | pub const D3D11_MESSAGE_ID_GETCRYPTOSESSIONCERTIFICATE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145956i32); | |
18593 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18594 | pub const D3D11_MESSAGE_ID_GETCRYPTOSESSIONCERTIFICATE_WRONGSIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145957i32); | |
18595 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18596 | pub const D3D11_MESSAGE_ID_GETCRYPTOSESSIONHANDLE_WRONGSIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145958i32); | |
18597 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18598 | pub const D3D11_MESSAGE_ID_NEGOTIATECRPYTOSESSIONKEYEXCHANGE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145959i32); | |
18599 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18600 | pub const D3D11_MESSAGE_ID_ENCRYPTIONBLT_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145960i32); | |
18601 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18602 | pub const D3D11_MESSAGE_ID_ENCRYPTIONBLT_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145961i32); | |
18603 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18604 | pub const D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_WRONGDEVICE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145962i32); | |
18605 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18606 | pub const D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_WRONGDEVICE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145963i32); | |
18607 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18608 | pub const D3D11_MESSAGE_ID_ENCRYPTIONBLT_FORMAT_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145964i32); | |
18609 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18610 | pub const D3D11_MESSAGE_ID_ENCRYPTIONBLT_SIZE_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145965i32); | |
18611 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18612 | pub const D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_MULTISAMPLED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145966i32); | |
18613 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18614 | pub const D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_NOT_STAGING: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145967i32); | |
18615 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18616 | pub const D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_MAPPED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145968i32); | |
18617 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18618 | pub const D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_MAPPED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145969i32); | |
18619 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18620 | pub const D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_OFFERED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145970i32); | |
18621 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18622 | pub const D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_OFFERED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145971i32); | |
18623 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18624 | pub const D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_CONTENT_UNDEFINED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145972i32); | |
18625 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18626 | pub const D3D11_MESSAGE_ID_DECRYPTIONBLT_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145973i32); | |
18627 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18628 | pub const D3D11_MESSAGE_ID_DECRYPTIONBLT_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145974i32); | |
18629 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18630 | pub const D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_WRONGDEVICE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145975i32); | |
18631 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18632 | pub const D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_WRONGDEVICE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145976i32); | |
18633 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18634 | pub const D3D11_MESSAGE_ID_DECRYPTIONBLT_FORMAT_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145977i32); | |
18635 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18636 | pub const D3D11_MESSAGE_ID_DECRYPTIONBLT_SIZE_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145978i32); | |
18637 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18638 | pub const D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_MULTISAMPLED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145979i32); | |
18639 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18640 | pub const D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_NOT_STAGING: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145980i32); | |
18641 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18642 | pub const D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_NOT_RENDER_TARGET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145981i32); | |
18643 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18644 | pub const D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_MAPPED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145982i32); | |
18645 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18646 | pub const D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_MAPPED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145983i32); | |
18647 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18648 | pub const D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_OFFERED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145984i32); | |
18649 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18650 | pub const D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_OFFERED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145985i32); | |
18651 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18652 | pub const D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_CONTENT_UNDEFINED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145986i32); | |
18653 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18654 | pub const D3D11_MESSAGE_ID_STARTSESSIONKEYREFRESH_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145987i32); | |
18655 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18656 | pub const D3D11_MESSAGE_ID_STARTSESSIONKEYREFRESH_INVALIDSIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145988i32); | |
18657 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18658 | pub const D3D11_MESSAGE_ID_FINISHSESSIONKEYREFRESH_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145989i32); | |
18659 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18660 | pub const D3D11_MESSAGE_ID_GETENCRYPTIONBLTKEY_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145990i32); | |
18661 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18662 | pub const D3D11_MESSAGE_ID_GETENCRYPTIONBLTKEY_INVALIDSIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145991i32); | |
18663 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18664 | pub const D3D11_MESSAGE_ID_GETCONTENTPROTECTIONCAPS_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145992i32); | |
18665 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18666 | pub const D3D11_MESSAGE_ID_CHECKCRYPTOKEYEXCHANGE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145993i32); | |
18667 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18668 | pub const D3D11_MESSAGE_ID_CHECKCRYPTOKEYEXCHANGE_INVALIDINDEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145994i32); | |
18669 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18670 | pub const D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145995i32); | |
18671 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18672 | pub const D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145996i32); | |
18673 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18674 | pub const D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_INVALIDTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145997i32); | |
18675 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18676 | pub const D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_OUTOFMEMORY_RETURN: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145998i32); | |
18677 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18678 | pub const D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATESIZE_INVALIDCHANNEL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3145999i32); | |
18679 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18680 | pub const D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATESIZE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146000i32); | |
18681 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18682 | pub const D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATE_INVALIDCHANNEL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146001i32); | |
18683 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18684 | pub const D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146002i32); | |
18685 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18686 | pub const D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATE_WRONGSIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146003i32); | |
18687 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18688 | pub const D3D11_MESSAGE_ID_NEGOTIATEAUTHENTICATEDCHANNELKEYEXCHANGE_INVALIDCHANNEL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146004i32); | |
18689 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18690 | pub const D3D11_MESSAGE_ID_NEGOTIATEAUTHENTICATEDCHANNELKEYEXCHANGE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146005i32); | |
18691 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18692 | pub const D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146006i32); | |
18693 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18694 | pub const D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_WRONGCHANNEL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146007i32); | |
18695 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18696 | pub const D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_UNSUPPORTEDQUERY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146008i32); | |
18697 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18698 | pub const D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_WRONGSIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146009i32); | |
18699 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18700 | pub const D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_INVALIDPROCESSINDEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146010i32); | |
18701 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18702 | pub const D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146011i32); | |
18703 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18704 | pub const D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_WRONGCHANNEL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146012i32); | |
18705 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18706 | pub const D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_UNSUPPORTEDCONFIGURE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146013i32); | |
18707 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18708 | pub const D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_WRONGSIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146014i32); | |
18709 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18710 | pub const D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_INVALIDPROCESSIDTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146015i32); | |
18711 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18712 | pub const D3D11_MESSAGE_ID_VSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146016i32); | |
18713 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18714 | pub const D3D11_MESSAGE_ID_DSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146017i32); | |
18715 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18716 | pub const D3D11_MESSAGE_ID_HSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146018i32); | |
18717 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18718 | pub const D3D11_MESSAGE_ID_GSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146019i32); | |
18719 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18720 | pub const D3D11_MESSAGE_ID_PSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146020i32); | |
18721 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18722 | pub const D3D11_MESSAGE_ID_CSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146021i32); | |
18723 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18724 | pub const D3D11_MESSAGE_ID_NEGOTIATECRPYTOSESSIONKEYEXCHANGE_INVALIDSIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146022i32); | |
18725 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18726 | pub const D3D11_MESSAGE_ID_NEGOTIATEAUTHENTICATEDCHANNELKEYEXCHANGE_INVALIDSIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146023i32); | |
18727 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18728 | pub const D3D11_MESSAGE_ID_OFFERRESOURCES_INVALIDPRIORITY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146024i32); | |
18729 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18730 | pub const D3D11_MESSAGE_ID_GETCRYPTOSESSIONHANDLE_OUTOFMEMORY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146025i32); | |
18731 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18732 | pub const D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146026i32); | |
18733 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18734 | pub const D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_INVALIDTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146027i32); | |
18735 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18736 | pub const D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_INVALIDBIND: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146028i32); | |
18737 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18738 | pub const D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_INVALIDARRAY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146029i32); | |
18739 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18740 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146030i32); | |
18741 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18742 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146031i32); | |
18743 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18744 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_INVALID: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146032i32); | |
18745 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18746 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146033i32); | |
18747 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18748 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMROTATION_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146034i32); | |
18749 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18750 | pub const D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_INVALIDVIEW: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146035i32); | |
18751 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18752 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_DOUBLEEXTENSIONSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146036i32); | |
18753 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18754 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_SHADEREXTENSIONSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146037i32); | |
18755 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18756 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_DOUBLEEXTENSIONSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146038i32); | |
18757 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18758 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_SHADEREXTENSIONSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146039i32); | |
18759 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18760 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_DOUBLEEXTENSIONSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146040i32); | |
18761 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18762 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_SHADEREXTENSIONSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146041i32); | |
18763 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18764 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_DOUBLEEXTENSIONSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146042i32); | |
18765 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18766 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_SHADEREXTENSIONSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146043i32); | |
18767 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18768 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DOUBLEEXTENSIONSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146044i32); | |
18769 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18770 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_SHADEREXTENSIONSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146045i32); | |
18771 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18772 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_DOUBLEEXTENSIONSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146046i32); | |
18773 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18774 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_SHADEREXTENSIONSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146047i32); | |
18775 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18776 | pub const D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_DOUBLEEXTENSIONSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146048i32); | |
18777 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18778 | pub const D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_SHADEREXTENSIONSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146049i32); | |
18779 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18780 | pub const D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_MINPRECISION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146050i32); | |
18781 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18782 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146051i32); | |
18783 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18784 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146052i32); | |
18785 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18786 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_UAVSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146053i32); | |
18787 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18788 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_UAVSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146054i32); | |
18789 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18790 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_UAVSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146055i32); | |
18791 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18792 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_UAVSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146056i32); | |
18793 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18794 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UAVSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146057i32); | |
18795 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18796 | pub const D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_UAVSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146058i32); | |
18797 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18798 | pub const D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_UAVSNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146059i32); | |
18799 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18800 | pub const D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_INVALIDOFFSET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146060i32); | |
18801 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18802 | pub const D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_TOOMANYVIEWS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146061i32); | |
18803 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18804 | pub const D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_NOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146062i32); | |
18805 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18806 | pub const D3D11_MESSAGE_ID_SWAPDEVICECONTEXTSTATE_NOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146063i32); | |
18807 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18808 | pub const D3D11_MESSAGE_ID_UPDATESUBRESOURCE_PREFERUPDATESUBRESOURCE1: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146064i32); | |
18809 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18810 | pub const D3D11_MESSAGE_ID_GETDC_INACCESSIBLE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146065i32); | |
18811 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18812 | pub const D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_INVALIDRECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146066i32); | |
18813 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18814 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_SAMPLE_MASK_IGNORED_ON_FL9: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146067i32); | |
18815 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18816 | pub const D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE1_NOT_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146068i32); | |
18817 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18818 | pub const D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_BY_NAME_NOT_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146069i32); | |
18819 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18820 | pub const D3D11_MESSAGE_ID_ENQUEUESETEVENT_NOT_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146070i32); | |
18821 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18822 | pub const D3D11_MESSAGE_ID_OFFERRELEASE_NOT_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146071i32); | |
18823 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18824 | pub const D3D11_MESSAGE_ID_OFFERRESOURCES_INACCESSIBLE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146072i32); | |
18825 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18826 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDMSAA: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146073i32); | |
18827 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18828 | pub const D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDMSAA: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146074i32); | |
18829 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18830 | pub const D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_INVALIDSOURCERECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146075i32); | |
18831 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18832 | pub const D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_EMPTYRECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146076i32); | |
18833 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18834 | pub const D3D11_MESSAGE_ID_UPDATESUBRESOURCE_EMPTYDESTBOX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146077i32); | |
18835 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18836 | pub const D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_EMPTYSOURCEBOX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146078i32); | |
18837 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18838 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_LOGIC_OPS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146079i32); | |
18839 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18840 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_DEPTHSTENCILVIEW_NOT_SET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146080i32); | |
18841 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18842 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_RENDERTARGETVIEW_NOT_SET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146081i32); | |
18843 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18844 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_RENDERTARGETVIEW_NOT_SET_DUE_TO_FLIP_PRESENT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146082i32); | |
18845 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18846 | pub const D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_NOT_SET_DUE_TO_FLIP_PRESENT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146083i32); | |
18847 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18848 | pub const D3D11_MESSAGE_ID_GETDATAFORNEWHARDWAREKEY_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146084i32); | |
18849 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18850 | pub const D3D11_MESSAGE_ID_CHECKCRYPTOSESSIONSTATUS_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146085i32); | |
18851 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18852 | pub const D3D11_MESSAGE_ID_GETCRYPTOSESSIONPRIVATEDATASIZE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146086i32); | |
18853 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18854 | pub const D3D11_MESSAGE_ID_GETVIDEODECODERCAPS_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146087i32); | |
18855 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18856 | pub const D3D11_MESSAGE_ID_GETVIDEODECODERCAPS_ZEROWIDTHHEIGHT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146088i32); | |
18857 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18858 | pub const D3D11_MESSAGE_ID_CHECKVIDEODECODERDOWNSAMPLING_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146089i32); | |
18859 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18860 | pub const D3D11_MESSAGE_ID_CHECKVIDEODECODERDOWNSAMPLING_INVALIDCOLORSPACE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146090i32); | |
18861 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18862 | pub const D3D11_MESSAGE_ID_CHECKVIDEODECODERDOWNSAMPLING_ZEROWIDTHHEIGHT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146091i32); | |
18863 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18864 | pub const D3D11_MESSAGE_ID_VIDEODECODERENABLEDOWNSAMPLING_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146092i32); | |
18865 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18866 | pub const D3D11_MESSAGE_ID_VIDEODECODERENABLEDOWNSAMPLING_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146093i32); | |
18867 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18868 | pub const D3D11_MESSAGE_ID_VIDEODECODERUPDATEDOWNSAMPLING_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146094i32); | |
18869 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18870 | pub const D3D11_MESSAGE_ID_VIDEODECODERUPDATEDOWNSAMPLING_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146095i32); | |
18871 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18872 | pub const D3D11_MESSAGE_ID_CHECKVIDEOPROCESSORFORMATCONVERSION_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146096i32); | |
18873 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18874 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCOLORSPACE1_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146097i32); | |
18875 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18876 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTCOLORSPACE1_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146098i32); | |
18877 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18878 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMCOLORSPACE1_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146099i32); | |
18879 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18880 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMCOLORSPACE1_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146100i32); | |
18881 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18882 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMMIRROR_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146101i32); | |
18883 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18884 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMMIRROR_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146102i32); | |
18885 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18886 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMMIRROR_UNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146103i32); | |
18887 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18888 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMCOLORSPACE1_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146104i32); | |
18889 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18890 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMMIRROR_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146105i32); | |
18891 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18892 | pub const D3D11_MESSAGE_ID_RECOMMENDVIDEODECODERDOWNSAMPLING_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146106i32); | |
18893 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18894 | pub const D3D11_MESSAGE_ID_RECOMMENDVIDEODECODERDOWNSAMPLING_INVALIDCOLORSPACE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146107i32); | |
18895 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18896 | pub const D3D11_MESSAGE_ID_RECOMMENDVIDEODECODERDOWNSAMPLING_ZEROWIDTHHEIGHT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146108i32); | |
18897 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18898 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTSHADERUSAGE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146109i32); | |
18899 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18900 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTSHADERUSAGE_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146110i32); | |
18901 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18902 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETBEHAVIORHINTS_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146111i32); | |
18903 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18904 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETBEHAVIORHINTS_INVALIDSTREAMCOUNT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146112i32); | |
18905 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18906 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETBEHAVIORHINTS_TARGETRECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146113i32); | |
18907 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18908 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETBEHAVIORHINTS_INVALIDSOURCERECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146114i32); | |
18909 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18910 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETBEHAVIORHINTS_INVALIDDESTRECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146115i32); | |
18911 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18912 | pub const D3D11_MESSAGE_ID_GETCRYPTOSESSIONPRIVATEDATASIZE_INVALID_KEY_EXCHANGE_TYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146116i32); | |
18913 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18914 | pub const D3D11_MESSAGE_ID_D3D11_1_MESSAGES_END: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146117i32); | |
18915 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18916 | pub const D3D11_MESSAGE_ID_D3D11_2_MESSAGES_START: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146118i32); | |
18917 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18918 | pub const D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDUSAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146119i32); | |
18919 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18920 | pub const D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDUSAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146120i32); | |
18921 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18922 | pub const D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDUSAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146121i32); | |
18923 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18924 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_LEVEL9_STEPRATE_NOT_1: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146122i32); | |
18925 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18926 | pub const D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_LEVEL9_INSTANCING_NOT_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146123i32); | |
18927 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18928 | pub const D3D11_MESSAGE_ID_UPDATETILEMAPPINGS_INVALID_PARAMETER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146124i32); | |
18929 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18930 | pub const D3D11_MESSAGE_ID_COPYTILEMAPPINGS_INVALID_PARAMETER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146125i32); | |
18931 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18932 | pub const D3D11_MESSAGE_ID_COPYTILES_INVALID_PARAMETER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146126i32); | |
18933 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18934 | pub const D3D11_MESSAGE_ID_UPDATETILES_INVALID_PARAMETER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146127i32); | |
18935 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18936 | pub const D3D11_MESSAGE_ID_RESIZETILEPOOL_INVALID_PARAMETER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146128i32); | |
18937 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18938 | pub const D3D11_MESSAGE_ID_TILEDRESOURCEBARRIER_INVALID_PARAMETER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146129i32); | |
18939 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18940 | pub const D3D11_MESSAGE_ID_NULL_TILE_MAPPING_ACCESS_WARNING: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146130i32); | |
18941 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18942 | pub const D3D11_MESSAGE_ID_NULL_TILE_MAPPING_ACCESS_ERROR: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146131i32); | |
18943 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18944 | pub const D3D11_MESSAGE_ID_DIRTY_TILE_MAPPING_ACCESS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146132i32); | |
18945 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18946 | pub const D3D11_MESSAGE_ID_DUPLICATE_TILE_MAPPINGS_IN_COVERED_AREA: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146133i32); | |
18947 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18948 | pub const D3D11_MESSAGE_ID_TILE_MAPPINGS_IN_COVERED_AREA_DUPLICATED_OUTSIDE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146134i32); | |
18949 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18950 | pub const D3D11_MESSAGE_ID_TILE_MAPPINGS_SHARED_BETWEEN_INCOMPATIBLE_RESOURCES: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146135i32); | |
18951 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18952 | pub const D3D11_MESSAGE_ID_TILE_MAPPINGS_SHARED_BETWEEN_INPUT_AND_OUTPUT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146136i32); | |
18953 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18954 | pub const D3D11_MESSAGE_ID_CHECKMULTISAMPLEQUALITYLEVELS_INVALIDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146137i32); | |
18955 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18956 | pub const D3D11_MESSAGE_ID_GETRESOURCETILING_NONTILED_RESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146138i32); | |
18957 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18958 | pub const D3D11_MESSAGE_ID_RESIZETILEPOOL_SHRINK_WITH_MAPPINGS_STILL_DEFINED_PAST_END: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146139i32); | |
18959 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18960 | pub const D3D11_MESSAGE_ID_NEED_TO_CALL_TILEDRESOURCEBARRIER: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146140i32); | |
18961 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18962 | pub const D3D11_MESSAGE_ID_CREATEDEVICE_INVALIDARGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146141i32); | |
18963 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18964 | pub const D3D11_MESSAGE_ID_CREATEDEVICE_WARNING: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146142i32); | |
18965 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18966 | pub const D3D11_MESSAGE_ID_CLEARUNORDEREDACCESSVIEWUINT_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146143i32); | |
18967 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18968 | pub const D3D11_MESSAGE_ID_CLEARUNORDEREDACCESSVIEWFLOAT_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146144i32); | |
18969 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18970 | pub const D3D11_MESSAGE_ID_TILED_RESOURCE_TIER_1_BUFFER_TEXTURE_MISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146145i32); | |
18971 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18972 | pub const D3D11_MESSAGE_ID_CREATE_CRYPTOSESSION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146146i32); | |
18973 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18974 | pub const D3D11_MESSAGE_ID_CREATE_AUTHENTICATEDCHANNEL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146147i32); | |
18975 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18976 | pub const D3D11_MESSAGE_ID_LIVE_CRYPTOSESSION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146148i32); | |
18977 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18978 | pub const D3D11_MESSAGE_ID_LIVE_AUTHENTICATEDCHANNEL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146149i32); | |
18979 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18980 | pub const D3D11_MESSAGE_ID_DESTROY_CRYPTOSESSION: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146150i32); | |
18981 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18982 | pub const D3D11_MESSAGE_ID_DESTROY_AUTHENTICATEDCHANNEL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146151i32); | |
18983 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18984 | pub const D3D11_MESSAGE_ID_D3D11_2_MESSAGES_END: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146152i32); | |
18985 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18986 | pub const D3D11_MESSAGE_ID_D3D11_3_MESSAGES_START: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146153i32); | |
18987 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18988 | pub const D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALID_CONSERVATIVERASTERMODE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146154i32); | |
18989 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18990 | pub const D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_SYSTEMVALUE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146155i32); | |
18991 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18992 | pub const D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDCONTEXTTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146156i32); | |
18993 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18994 | pub const D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_DECODENOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146157i32); | |
18995 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18996 | pub const D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_ENCODENOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146158i32); | |
18997 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
18998 | pub const D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDPLANEINDEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146159i32); | |
18999 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19000 | pub const D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDVIDEOPLANEINDEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146160i32); | |
19001 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19002 | pub const D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_AMBIGUOUSVIDEOPLANEINDEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146161i32); | |
19003 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19004 | pub const D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDPLANEINDEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146162i32); | |
19005 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19006 | pub const D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDVIDEOPLANEINDEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146163i32); | |
19007 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19008 | pub const D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_AMBIGUOUSVIDEOPLANEINDEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146164i32); | |
19009 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19010 | pub const D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDPLANEINDEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146165i32); | |
19011 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19012 | pub const D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDVIDEOPLANEINDEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146166i32); | |
19013 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19014 | pub const D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_AMBIGUOUSVIDEOPLANEINDEX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146167i32); | |
19015 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19016 | pub const D3D11_MESSAGE_ID_JPEGDECODE_INVALIDSCANDATAOFFSET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146168i32); | |
19017 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19018 | pub const D3D11_MESSAGE_ID_JPEGDECODE_NOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146169i32); | |
19019 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19020 | pub const D3D11_MESSAGE_ID_JPEGDECODE_DIMENSIONSTOOLARGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146170i32); | |
19021 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19022 | pub const D3D11_MESSAGE_ID_JPEGDECODE_INVALIDCOMPONENTS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146171i32); | |
19023 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19024 | pub const D3D11_MESSAGE_ID_JPEGDECODE_DESTINATIONNOT2D: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146172i32); | |
19025 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19026 | pub const D3D11_MESSAGE_ID_JPEGDECODE_TILEDRESOURCESUNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146173i32); | |
19027 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19028 | pub const D3D11_MESSAGE_ID_JPEGDECODE_GUARDRECTSUNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146174i32); | |
19029 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19030 | pub const D3D11_MESSAGE_ID_JPEGDECODE_FORMATUNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146175i32); | |
19031 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19032 | pub const D3D11_MESSAGE_ID_JPEGDECODE_INVALIDSUBRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146176i32); | |
19033 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19034 | pub const D3D11_MESSAGE_ID_JPEGDECODE_INVALIDMIPLEVEL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146177i32); | |
19035 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19036 | pub const D3D11_MESSAGE_ID_JPEGDECODE_EMPTYDESTBOX: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146178i32); | |
19037 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19038 | pub const D3D11_MESSAGE_ID_JPEGDECODE_DESTBOXNOT2D: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146179i32); | |
19039 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19040 | pub const D3D11_MESSAGE_ID_JPEGDECODE_DESTBOXNOTSUB: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146180i32); | |
19041 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19042 | pub const D3D11_MESSAGE_ID_JPEGDECODE_DESTBOXESINTERSECT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146181i32); | |
19043 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19044 | pub const D3D11_MESSAGE_ID_JPEGDECODE_XSUBSAMPLEMISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146182i32); | |
19045 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19046 | pub const D3D11_MESSAGE_ID_JPEGDECODE_YSUBSAMPLEMISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146183i32); | |
19047 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19048 | pub const D3D11_MESSAGE_ID_JPEGDECODE_XSUBSAMPLEODD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146184i32); | |
19049 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19050 | pub const D3D11_MESSAGE_ID_JPEGDECODE_YSUBSAMPLEODD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146185i32); | |
19051 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19052 | pub const D3D11_MESSAGE_ID_JPEGDECODE_OUTPUTDIMENSIONSTOOLARGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146186i32); | |
19053 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19054 | pub const D3D11_MESSAGE_ID_JPEGDECODE_NONPOW2SCALEUNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146187i32); | |
19055 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19056 | pub const D3D11_MESSAGE_ID_JPEGDECODE_FRACTIONALDOWNSCALETOLARGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146188i32); | |
19057 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19058 | pub const D3D11_MESSAGE_ID_JPEGDECODE_CHROMASIZEMISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146189i32); | |
19059 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19060 | pub const D3D11_MESSAGE_ID_JPEGDECODE_LUMACHROMASIZEMISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146190i32); | |
19061 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19062 | pub const D3D11_MESSAGE_ID_JPEGDECODE_INVALIDNUMDESTINATIONS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146191i32); | |
19063 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19064 | pub const D3D11_MESSAGE_ID_JPEGDECODE_SUBBOXUNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146192i32); | |
19065 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19066 | pub const D3D11_MESSAGE_ID_JPEGDECODE_1DESTUNSUPPORTEDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146193i32); | |
19067 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19068 | pub const D3D11_MESSAGE_ID_JPEGDECODE_3DESTUNSUPPORTEDFORMAT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146194i32); | |
19069 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19070 | pub const D3D11_MESSAGE_ID_JPEGDECODE_SCALEUNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146195i32); | |
19071 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19072 | pub const D3D11_MESSAGE_ID_JPEGDECODE_INVALIDSOURCESIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146196i32); | |
19073 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19074 | pub const D3D11_MESSAGE_ID_JPEGDECODE_INVALIDCOPYFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146197i32); | |
19075 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19076 | pub const D3D11_MESSAGE_ID_JPEGDECODE_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146198i32); | |
19077 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19078 | pub const D3D11_MESSAGE_ID_JPEGDECODE_UNSUPPORTEDSRCBUFFERUSAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146199i32); | |
19079 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19080 | pub const D3D11_MESSAGE_ID_JPEGDECODE_UNSUPPORTEDSRCBUFFERMISCFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146200i32); | |
19081 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19082 | pub const D3D11_MESSAGE_ID_JPEGDECODE_UNSUPPORTEDDSTTEXTUREUSAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146201i32); | |
19083 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19084 | pub const D3D11_MESSAGE_ID_JPEGDECODE_BACKBUFFERNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146202i32); | |
19085 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19086 | pub const D3D11_MESSAGE_ID_JPEGDECODE_UNSUPPRTEDCOPYFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146203i32); | |
19087 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19088 | pub const D3D11_MESSAGE_ID_JPEGENCODE_NOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146204i32); | |
19089 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19090 | pub const D3D11_MESSAGE_ID_JPEGENCODE_INVALIDSCANDATAOFFSET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146205i32); | |
19091 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19092 | pub const D3D11_MESSAGE_ID_JPEGENCODE_INVALIDCOMPONENTS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146206i32); | |
19093 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19094 | pub const D3D11_MESSAGE_ID_JPEGENCODE_SOURCENOT2D: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146207i32); | |
19095 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19096 | pub const D3D11_MESSAGE_ID_JPEGENCODE_TILEDRESOURCESUNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146208i32); | |
19097 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19098 | pub const D3D11_MESSAGE_ID_JPEGENCODE_GUARDRECTSUNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146209i32); | |
19099 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19100 | pub const D3D11_MESSAGE_ID_JPEGENCODE_XSUBSAMPLEMISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146210i32); | |
19101 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19102 | pub const D3D11_MESSAGE_ID_JPEGENCODE_YSUBSAMPLEMISMATCH: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146211i32); | |
19103 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19104 | pub const D3D11_MESSAGE_ID_JPEGENCODE_FORMATUNSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146212i32); | |
19105 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19106 | pub const D3D11_MESSAGE_ID_JPEGENCODE_INVALIDSUBRESOURCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146213i32); | |
19107 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19108 | pub const D3D11_MESSAGE_ID_JPEGENCODE_INVALIDMIPLEVEL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146214i32); | |
19109 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19110 | pub const D3D11_MESSAGE_ID_JPEGENCODE_DIMENSIONSTOOLARGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146215i32); | |
19111 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19112 | pub const D3D11_MESSAGE_ID_JPEGENCODE_HAZARD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146216i32); | |
19113 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19114 | pub const D3D11_MESSAGE_ID_JPEGENCODE_UNSUPPORTEDDSTBUFFERUSAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146217i32); | |
19115 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19116 | pub const D3D11_MESSAGE_ID_JPEGENCODE_UNSUPPORTEDDSTBUFFERMISCFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146218i32); | |
19117 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19118 | pub const D3D11_MESSAGE_ID_JPEGENCODE_UNSUPPORTEDSRCTEXTUREUSAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146219i32); | |
19119 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19120 | pub const D3D11_MESSAGE_ID_JPEGENCODE_BACKBUFFERNOTSUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146220i32); | |
19121 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19122 | pub const D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_UNSUPPORTEDCONTEXTTTYPEFORQUERY: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146221i32); | |
19123 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19124 | pub const D3D11_MESSAGE_ID_FLUSH1_INVALIDCONTEXTTYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146222i32); | |
19125 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19126 | pub const D3D11_MESSAGE_ID_DEVICE_SETHARDWAREPROTECTION_INVALIDCONTEXT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146223i32); | |
19127 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19128 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTHDRMETADATA_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146224i32); | |
19129 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19130 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTHDRMETADATA_INVALIDSIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146225i32); | |
19131 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19132 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTHDRMETADATA_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146226i32); | |
19133 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19134 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTHDRMETADATA_INVALIDSIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146227i32); | |
19135 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19136 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMHDRMETADATA_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146228i32); | |
19137 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19138 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMHDRMETADATA_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146229i32); | |
19139 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19140 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMHDRMETADATA_INVALIDSIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146230i32); | |
19141 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19142 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMHDRMETADATA_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146231i32); | |
19143 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19144 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMHDRMETADATA_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146232i32); | |
19145 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19146 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMHDRMETADATA_INVALIDSIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146233i32); | |
19147 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19148 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMFRAMEFORMAT_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146234i32); | |
19149 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19150 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMCOLORSPACE_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146235i32); | |
19151 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19152 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMOUTPUTRATE_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146236i32); | |
19153 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19154 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMSOURCERECT_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146237i32); | |
19155 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19156 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMDESTRECT_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146238i32); | |
19157 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19158 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMALPHA_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146239i32); | |
19159 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19160 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMPALETTE_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146240i32); | |
19161 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19162 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMPIXELASPECTRATIO_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146241i32); | |
19163 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19164 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMLUMAKEY_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146242i32); | |
19165 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19166 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMSTEREOFORMAT_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146243i32); | |
19167 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19168 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMAUTOPROCESSINGMODE_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146244i32); | |
19169 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19170 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMFILTER_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146245i32); | |
19171 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19172 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMROTATION_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146246i32); | |
19173 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19174 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMCOLORSPACE1_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146247i32); | |
19175 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19176 | pub const D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMMIRROR_INVALIDSTREAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146248i32); | |
19177 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19178 | pub const D3D11_MESSAGE_ID_CREATE_FENCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146249i32); | |
19179 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19180 | pub const D3D11_MESSAGE_ID_LIVE_FENCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146250i32); | |
19181 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19182 | pub const D3D11_MESSAGE_ID_DESTROY_FENCE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146251i32); | |
19183 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19184 | pub const D3D11_MESSAGE_ID_CREATE_SYNCHRONIZEDCHANNEL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146252i32); | |
19185 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19186 | pub const D3D11_MESSAGE_ID_LIVE_SYNCHRONIZEDCHANNEL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146253i32); | |
19187 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19188 | pub const D3D11_MESSAGE_ID_DESTROY_SYNCHRONIZEDCHANNEL: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146254i32); | |
19189 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19190 | pub const D3D11_MESSAGE_ID_CREATEFENCE_INVALIDFLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146255i32); | |
19191 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19192 | pub const D3D11_MESSAGE_ID_D3D11_3_MESSAGES_END: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146256i32); | |
19193 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19194 | pub const D3D11_MESSAGE_ID_D3D11_5_MESSAGES_START: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146257i32); | |
19195 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19196 | pub const D3D11_MESSAGE_ID_NEGOTIATECRYPTOSESSIONKEYEXCHANGEMT_INVALIDKEYEXCHANGETYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146258i32); | |
19197 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19198 | pub const D3D11_MESSAGE_ID_NEGOTIATECRYPTOSESSIONKEYEXCHANGEMT_NOT_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146259i32); | |
19199 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19200 | pub const D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_COMPONENT_COUNT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146260i32); | |
19201 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19202 | pub const D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_COMPONENT: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146261i32); | |
19203 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19204 | pub const D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_SIZE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146262i32); | |
19205 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19206 | pub const D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_USAGE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146263i32); | |
19207 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19208 | pub const D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_MISC_FLAGS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146264i32); | |
19209 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19210 | pub const D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_OFFSET: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146265i32); | |
19211 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19212 | pub const D3D11_MESSAGE_ID_CREATE_TRACKEDWORKLOAD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146266i32); | |
19213 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19214 | pub const D3D11_MESSAGE_ID_LIVE_TRACKEDWORKLOAD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146267i32); | |
19215 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19216 | pub const D3D11_MESSAGE_ID_DESTROY_TRACKEDWORKLOAD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146268i32); | |
19217 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19218 | pub const D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_NULLPARAM: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146269i32); | |
19219 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19220 | pub const D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_INVALID_MAX_INSTANCES: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146270i32); | |
19221 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19222 | pub const D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_INVALID_DEADLINE_TYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146271i32); | |
19223 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19224 | pub const D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_INVALID_ENGINE_TYPE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146272i32); | |
19225 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19226 | pub const D3D11_MESSAGE_ID_MULTIPLE_TRACKED_WORKLOADS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146273i32); | |
19227 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19228 | pub const D3D11_MESSAGE_ID_MULTIPLE_TRACKED_WORKLOAD_PAIRS: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146274i32); | |
19229 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19230 | pub const D3D11_MESSAGE_ID_INCOMPLETE_TRACKED_WORKLOAD_PAIR: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146275i32); | |
19231 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19232 | pub const D3D11_MESSAGE_ID_OUT_OF_ORDER_TRACKED_WORKLOAD_PAIR: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146276i32); | |
19233 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19234 | pub const D3D11_MESSAGE_ID_CANNOT_ADD_TRACKED_WORKLOAD: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146277i32); | |
19235 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19236 | pub const D3D11_MESSAGE_ID_TRACKED_WORKLOAD_NOT_SUPPORTED: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146278i32); | |
19237 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19238 | pub const D3D11_MESSAGE_ID_TRACKED_WORKLOAD_ENGINE_TYPE_NOT_FOUND: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146279i32); | |
19239 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19240 | pub const D3D11_MESSAGE_ID_NO_TRACKED_WORKLOAD_SLOT_AVAILABLE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146280i32); | |
19241 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19242 | pub const D3D11_MESSAGE_ID_END_TRACKED_WORKLOAD_INVALID_ARG: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146281i32); | |
19243 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19244 | pub const D3D11_MESSAGE_ID_TRACKED_WORKLOAD_DISJOINT_FAILURE: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146282i32); | |
19245 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19246 | pub const D3D11_MESSAGE_ID_D3D11_5_MESSAGES_END: D3D11_MESSAGE_ID = D3D11_MESSAGE_ID(3146283i32); | |
19247 | impl ::core::marker::Copy for D3D11_MESSAGE_ID {} | |
19248 | impl ::core::clone::Clone for D3D11_MESSAGE_ID { | |
19249 | fn clone(&self) -> Self { | |
19250 | *self | |
19251 | } | |
19252 | } | |
19253 | impl ::core::default::Default for D3D11_MESSAGE_ID { | |
19254 | fn default() -> Self { | |
19255 | Self(0) | |
19256 | } | |
19257 | } | |
19258 | impl ::windows::core::TypeKind for D3D11_MESSAGE_ID { | |
19259 | type TypeKind = ::windows::core::CopyType; | |
19260 | } | |
19261 | impl ::core::fmt::Debug for D3D11_MESSAGE_ID { | |
19262 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19263 | f.debug_tuple("D3D11_MESSAGE_ID").field(&self.0).finish() | |
19264 | } | |
19265 | } | |
19266 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19267 | #[repr(transparent)] | |
19268 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19269 | pub struct D3D11_MESSAGE_SEVERITY(pub i32); | |
19270 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19271 | pub const D3D11_MESSAGE_SEVERITY_CORRUPTION: D3D11_MESSAGE_SEVERITY = D3D11_MESSAGE_SEVERITY(0i32); | |
19272 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19273 | pub const D3D11_MESSAGE_SEVERITY_ERROR: D3D11_MESSAGE_SEVERITY = D3D11_MESSAGE_SEVERITY(1i32); | |
19274 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19275 | pub const D3D11_MESSAGE_SEVERITY_WARNING: D3D11_MESSAGE_SEVERITY = D3D11_MESSAGE_SEVERITY(2i32); | |
19276 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19277 | pub const D3D11_MESSAGE_SEVERITY_INFO: D3D11_MESSAGE_SEVERITY = D3D11_MESSAGE_SEVERITY(3i32); | |
19278 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19279 | pub const D3D11_MESSAGE_SEVERITY_MESSAGE: D3D11_MESSAGE_SEVERITY = D3D11_MESSAGE_SEVERITY(4i32); | |
19280 | impl ::core::marker::Copy for D3D11_MESSAGE_SEVERITY {} | |
19281 | impl ::core::clone::Clone for D3D11_MESSAGE_SEVERITY { | |
19282 | fn clone(&self) -> Self { | |
19283 | *self | |
19284 | } | |
19285 | } | |
19286 | impl ::core::default::Default for D3D11_MESSAGE_SEVERITY { | |
19287 | fn default() -> Self { | |
19288 | Self(0) | |
19289 | } | |
19290 | } | |
19291 | impl ::windows::core::TypeKind for D3D11_MESSAGE_SEVERITY { | |
19292 | type TypeKind = ::windows::core::CopyType; | |
19293 | } | |
19294 | impl ::core::fmt::Debug for D3D11_MESSAGE_SEVERITY { | |
19295 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19296 | f.debug_tuple("D3D11_MESSAGE_SEVERITY").field(&self.0).finish() | |
19297 | } | |
19298 | } | |
19299 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19300 | #[repr(transparent)] | |
19301 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19302 | pub struct D3D11_QUERY(pub i32); | |
19303 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19304 | pub const D3D11_QUERY_EVENT: D3D11_QUERY = D3D11_QUERY(0i32); | |
19305 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19306 | pub const D3D11_QUERY_OCCLUSION: D3D11_QUERY = D3D11_QUERY(1i32); | |
19307 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19308 | pub const D3D11_QUERY_TIMESTAMP: D3D11_QUERY = D3D11_QUERY(2i32); | |
19309 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19310 | pub const D3D11_QUERY_TIMESTAMP_DISJOINT: D3D11_QUERY = D3D11_QUERY(3i32); | |
19311 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19312 | pub const D3D11_QUERY_PIPELINE_STATISTICS: D3D11_QUERY = D3D11_QUERY(4i32); | |
19313 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19314 | pub const D3D11_QUERY_OCCLUSION_PREDICATE: D3D11_QUERY = D3D11_QUERY(5i32); | |
19315 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19316 | pub const D3D11_QUERY_SO_STATISTICS: D3D11_QUERY = D3D11_QUERY(6i32); | |
19317 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19318 | pub const D3D11_QUERY_SO_OVERFLOW_PREDICATE: D3D11_QUERY = D3D11_QUERY(7i32); | |
19319 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19320 | pub const D3D11_QUERY_SO_STATISTICS_STREAM0: D3D11_QUERY = D3D11_QUERY(8i32); | |
19321 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19322 | pub const D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM0: D3D11_QUERY = D3D11_QUERY(9i32); | |
19323 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19324 | pub const D3D11_QUERY_SO_STATISTICS_STREAM1: D3D11_QUERY = D3D11_QUERY(10i32); | |
19325 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19326 | pub const D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM1: D3D11_QUERY = D3D11_QUERY(11i32); | |
19327 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19328 | pub const D3D11_QUERY_SO_STATISTICS_STREAM2: D3D11_QUERY = D3D11_QUERY(12i32); | |
19329 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19330 | pub const D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM2: D3D11_QUERY = D3D11_QUERY(13i32); | |
19331 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19332 | pub const D3D11_QUERY_SO_STATISTICS_STREAM3: D3D11_QUERY = D3D11_QUERY(14i32); | |
19333 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19334 | pub const D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM3: D3D11_QUERY = D3D11_QUERY(15i32); | |
19335 | impl ::core::marker::Copy for D3D11_QUERY {} | |
19336 | impl ::core::clone::Clone for D3D11_QUERY { | |
19337 | fn clone(&self) -> Self { | |
19338 | *self | |
19339 | } | |
19340 | } | |
19341 | impl ::core::default::Default for D3D11_QUERY { | |
19342 | fn default() -> Self { | |
19343 | Self(0) | |
19344 | } | |
19345 | } | |
19346 | impl ::windows::core::TypeKind for D3D11_QUERY { | |
19347 | type TypeKind = ::windows::core::CopyType; | |
19348 | } | |
19349 | impl ::core::fmt::Debug for D3D11_QUERY { | |
19350 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19351 | f.debug_tuple("D3D11_QUERY").field(&self.0).finish() | |
19352 | } | |
19353 | } | |
19354 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19355 | #[repr(transparent)] | |
19356 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19357 | pub struct D3D11_QUERY_MISC_FLAG(pub i32); | |
19358 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19359 | pub const D3D11_QUERY_MISC_PREDICATEHINT: D3D11_QUERY_MISC_FLAG = D3D11_QUERY_MISC_FLAG(1i32); | |
19360 | impl ::core::marker::Copy for D3D11_QUERY_MISC_FLAG {} | |
19361 | impl ::core::clone::Clone for D3D11_QUERY_MISC_FLAG { | |
19362 | fn clone(&self) -> Self { | |
19363 | *self | |
19364 | } | |
19365 | } | |
19366 | impl ::core::default::Default for D3D11_QUERY_MISC_FLAG { | |
19367 | fn default() -> Self { | |
19368 | Self(0) | |
19369 | } | |
19370 | } | |
19371 | impl ::windows::core::TypeKind for D3D11_QUERY_MISC_FLAG { | |
19372 | type TypeKind = ::windows::core::CopyType; | |
19373 | } | |
19374 | impl ::core::fmt::Debug for D3D11_QUERY_MISC_FLAG { | |
19375 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19376 | f.debug_tuple("D3D11_QUERY_MISC_FLAG").field(&self.0).finish() | |
19377 | } | |
19378 | } | |
19379 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19380 | #[repr(transparent)] | |
19381 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19382 | pub struct D3D11_RAISE_FLAG(pub i32); | |
19383 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19384 | pub const D3D11_RAISE_FLAG_DRIVER_INTERNAL_ERROR: D3D11_RAISE_FLAG = D3D11_RAISE_FLAG(1i32); | |
19385 | impl ::core::marker::Copy for D3D11_RAISE_FLAG {} | |
19386 | impl ::core::clone::Clone for D3D11_RAISE_FLAG { | |
19387 | fn clone(&self) -> Self { | |
19388 | *self | |
19389 | } | |
19390 | } | |
19391 | impl ::core::default::Default for D3D11_RAISE_FLAG { | |
19392 | fn default() -> Self { | |
19393 | Self(0) | |
19394 | } | |
19395 | } | |
19396 | impl ::windows::core::TypeKind for D3D11_RAISE_FLAG { | |
19397 | type TypeKind = ::windows::core::CopyType; | |
19398 | } | |
19399 | impl ::core::fmt::Debug for D3D11_RAISE_FLAG { | |
19400 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19401 | f.debug_tuple("D3D11_RAISE_FLAG").field(&self.0).finish() | |
19402 | } | |
19403 | } | |
19404 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19405 | #[repr(transparent)] | |
19406 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19407 | pub struct D3D11_RESOURCE_DIMENSION(pub i32); | |
19408 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19409 | pub const D3D11_RESOURCE_DIMENSION_UNKNOWN: D3D11_RESOURCE_DIMENSION = D3D11_RESOURCE_DIMENSION(0i32); | |
19410 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19411 | pub const D3D11_RESOURCE_DIMENSION_BUFFER: D3D11_RESOURCE_DIMENSION = D3D11_RESOURCE_DIMENSION(1i32); | |
19412 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19413 | pub const D3D11_RESOURCE_DIMENSION_TEXTURE1D: D3D11_RESOURCE_DIMENSION = D3D11_RESOURCE_DIMENSION(2i32); | |
19414 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19415 | pub const D3D11_RESOURCE_DIMENSION_TEXTURE2D: D3D11_RESOURCE_DIMENSION = D3D11_RESOURCE_DIMENSION(3i32); | |
19416 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19417 | pub const D3D11_RESOURCE_DIMENSION_TEXTURE3D: D3D11_RESOURCE_DIMENSION = D3D11_RESOURCE_DIMENSION(4i32); | |
19418 | impl ::core::marker::Copy for D3D11_RESOURCE_DIMENSION {} | |
19419 | impl ::core::clone::Clone for D3D11_RESOURCE_DIMENSION { | |
19420 | fn clone(&self) -> Self { | |
19421 | *self | |
19422 | } | |
19423 | } | |
19424 | impl ::core::default::Default for D3D11_RESOURCE_DIMENSION { | |
19425 | fn default() -> Self { | |
19426 | Self(0) | |
19427 | } | |
19428 | } | |
19429 | impl ::windows::core::TypeKind for D3D11_RESOURCE_DIMENSION { | |
19430 | type TypeKind = ::windows::core::CopyType; | |
19431 | } | |
19432 | impl ::core::fmt::Debug for D3D11_RESOURCE_DIMENSION { | |
19433 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19434 | f.debug_tuple("D3D11_RESOURCE_DIMENSION").field(&self.0).finish() | |
19435 | } | |
19436 | } | |
19437 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19438 | #[repr(transparent)] | |
19439 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19440 | pub struct D3D11_RESOURCE_MISC_FLAG(pub i32); | |
19441 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19442 | pub const D3D11_RESOURCE_MISC_GENERATE_MIPS: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(1i32); | |
19443 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19444 | pub const D3D11_RESOURCE_MISC_SHARED: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(2i32); | |
19445 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19446 | pub const D3D11_RESOURCE_MISC_TEXTURECUBE: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(4i32); | |
19447 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19448 | pub const D3D11_RESOURCE_MISC_DRAWINDIRECT_ARGS: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(16i32); | |
19449 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19450 | pub const D3D11_RESOURCE_MISC_BUFFER_ALLOW_RAW_VIEWS: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(32i32); | |
19451 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19452 | pub const D3D11_RESOURCE_MISC_BUFFER_STRUCTURED: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(64i32); | |
19453 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19454 | pub const D3D11_RESOURCE_MISC_RESOURCE_CLAMP: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(128i32); | |
19455 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19456 | pub const D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(256i32); | |
19457 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19458 | pub const D3D11_RESOURCE_MISC_GDI_COMPATIBLE: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(512i32); | |
19459 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19460 | pub const D3D11_RESOURCE_MISC_SHARED_NTHANDLE: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(2048i32); | |
19461 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19462 | pub const D3D11_RESOURCE_MISC_RESTRICTED_CONTENT: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(4096i32); | |
19463 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19464 | pub const D3D11_RESOURCE_MISC_RESTRICT_SHARED_RESOURCE: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(8192i32); | |
19465 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19466 | pub const D3D11_RESOURCE_MISC_RESTRICT_SHARED_RESOURCE_DRIVER: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(16384i32); | |
19467 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19468 | pub const D3D11_RESOURCE_MISC_GUARDED: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(32768i32); | |
19469 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19470 | pub const D3D11_RESOURCE_MISC_TILE_POOL: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(131072i32); | |
19471 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19472 | pub const D3D11_RESOURCE_MISC_TILED: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(262144i32); | |
19473 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19474 | pub const D3D11_RESOURCE_MISC_HW_PROTECTED: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(524288i32); | |
19475 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19476 | pub const D3D11_RESOURCE_MISC_SHARED_DISPLAYABLE: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(1048576i32); | |
19477 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19478 | pub const D3D11_RESOURCE_MISC_SHARED_EXCLUSIVE_WRITER: D3D11_RESOURCE_MISC_FLAG = D3D11_RESOURCE_MISC_FLAG(2097152i32); | |
19479 | impl ::core::marker::Copy for D3D11_RESOURCE_MISC_FLAG {} | |
19480 | impl ::core::clone::Clone for D3D11_RESOURCE_MISC_FLAG { | |
19481 | fn clone(&self) -> Self { | |
19482 | *self | |
19483 | } | |
19484 | } | |
19485 | impl ::core::default::Default for D3D11_RESOURCE_MISC_FLAG { | |
19486 | fn default() -> Self { | |
19487 | Self(0) | |
19488 | } | |
19489 | } | |
19490 | impl ::windows::core::TypeKind for D3D11_RESOURCE_MISC_FLAG { | |
19491 | type TypeKind = ::windows::core::CopyType; | |
19492 | } | |
19493 | impl ::core::fmt::Debug for D3D11_RESOURCE_MISC_FLAG { | |
19494 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19495 | f.debug_tuple("D3D11_RESOURCE_MISC_FLAG").field(&self.0).finish() | |
19496 | } | |
19497 | } | |
19498 | impl D3D11_RESOURCE_MISC_FLAG { | |
19499 | pub const fn contains(&self, other: Self) -> bool { | |
19500 | self.0 & other.0 == other.0 | |
19501 | } | |
19502 | } | |
19503 | impl ::core::ops::BitOr for D3D11_RESOURCE_MISC_FLAG { | |
19504 | type Output = Self; | |
19505 | fn bitor(self, other: Self) -> Self { | |
19506 | Self(self.0 | other.0) | |
19507 | } | |
19508 | } | |
19509 | impl ::core::ops::BitAnd for D3D11_RESOURCE_MISC_FLAG { | |
19510 | type Output = Self; | |
19511 | fn bitand(self, other: Self) -> Self { | |
19512 | Self(self.0 & other.0) | |
19513 | } | |
19514 | } | |
19515 | impl ::core::ops::BitOrAssign for D3D11_RESOURCE_MISC_FLAG { | |
19516 | fn bitor_assign(&mut self, other: Self) { | |
19517 | self.0.bitor_assign(other.0) | |
19518 | } | |
19519 | } | |
19520 | impl ::core::ops::BitAndAssign for D3D11_RESOURCE_MISC_FLAG { | |
19521 | fn bitand_assign(&mut self, other: Self) { | |
19522 | self.0.bitand_assign(other.0) | |
19523 | } | |
19524 | } | |
19525 | impl ::core::ops::Not for D3D11_RESOURCE_MISC_FLAG { | |
19526 | type Output = Self; | |
19527 | fn not(self) -> Self { | |
19528 | Self(self.0.not()) | |
19529 | } | |
19530 | } | |
19531 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19532 | #[repr(transparent)] | |
19533 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19534 | pub struct D3D11_RLDO_FLAGS(pub i32); | |
19535 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19536 | pub const D3D11_RLDO_SUMMARY: D3D11_RLDO_FLAGS = D3D11_RLDO_FLAGS(1i32); | |
19537 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19538 | pub const D3D11_RLDO_DETAIL: D3D11_RLDO_FLAGS = D3D11_RLDO_FLAGS(2i32); | |
19539 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19540 | pub const D3D11_RLDO_IGNORE_INTERNAL: D3D11_RLDO_FLAGS = D3D11_RLDO_FLAGS(4i32); | |
19541 | impl ::core::marker::Copy for D3D11_RLDO_FLAGS {} | |
19542 | impl ::core::clone::Clone for D3D11_RLDO_FLAGS { | |
19543 | fn clone(&self) -> Self { | |
19544 | *self | |
19545 | } | |
19546 | } | |
19547 | impl ::core::default::Default for D3D11_RLDO_FLAGS { | |
19548 | fn default() -> Self { | |
19549 | Self(0) | |
19550 | } | |
19551 | } | |
19552 | impl ::windows::core::TypeKind for D3D11_RLDO_FLAGS { | |
19553 | type TypeKind = ::windows::core::CopyType; | |
19554 | } | |
19555 | impl ::core::fmt::Debug for D3D11_RLDO_FLAGS { | |
19556 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19557 | f.debug_tuple("D3D11_RLDO_FLAGS").field(&self.0).finish() | |
19558 | } | |
19559 | } | |
19560 | impl D3D11_RLDO_FLAGS { | |
19561 | pub const fn contains(&self, other: Self) -> bool { | |
19562 | self.0 & other.0 == other.0 | |
19563 | } | |
19564 | } | |
19565 | impl ::core::ops::BitOr for D3D11_RLDO_FLAGS { | |
19566 | type Output = Self; | |
19567 | fn bitor(self, other: Self) -> Self { | |
19568 | Self(self.0 | other.0) | |
19569 | } | |
19570 | } | |
19571 | impl ::core::ops::BitAnd for D3D11_RLDO_FLAGS { | |
19572 | type Output = Self; | |
19573 | fn bitand(self, other: Self) -> Self { | |
19574 | Self(self.0 & other.0) | |
19575 | } | |
19576 | } | |
19577 | impl ::core::ops::BitOrAssign for D3D11_RLDO_FLAGS { | |
19578 | fn bitor_assign(&mut self, other: Self) { | |
19579 | self.0.bitor_assign(other.0) | |
19580 | } | |
19581 | } | |
19582 | impl ::core::ops::BitAndAssign for D3D11_RLDO_FLAGS { | |
19583 | fn bitand_assign(&mut self, other: Self) { | |
19584 | self.0.bitand_assign(other.0) | |
19585 | } | |
19586 | } | |
19587 | impl ::core::ops::Not for D3D11_RLDO_FLAGS { | |
19588 | type Output = Self; | |
19589 | fn not(self) -> Self { | |
19590 | Self(self.0.not()) | |
19591 | } | |
19592 | } | |
19593 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19594 | #[repr(transparent)] | |
19595 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19596 | pub struct D3D11_RTV_DIMENSION(pub i32); | |
19597 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19598 | pub const D3D11_RTV_DIMENSION_UNKNOWN: D3D11_RTV_DIMENSION = D3D11_RTV_DIMENSION(0i32); | |
19599 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19600 | pub const D3D11_RTV_DIMENSION_BUFFER: D3D11_RTV_DIMENSION = D3D11_RTV_DIMENSION(1i32); | |
19601 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19602 | pub const D3D11_RTV_DIMENSION_TEXTURE1D: D3D11_RTV_DIMENSION = D3D11_RTV_DIMENSION(2i32); | |
19603 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19604 | pub const D3D11_RTV_DIMENSION_TEXTURE1DARRAY: D3D11_RTV_DIMENSION = D3D11_RTV_DIMENSION(3i32); | |
19605 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19606 | pub const D3D11_RTV_DIMENSION_TEXTURE2D: D3D11_RTV_DIMENSION = D3D11_RTV_DIMENSION(4i32); | |
19607 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19608 | pub const D3D11_RTV_DIMENSION_TEXTURE2DARRAY: D3D11_RTV_DIMENSION = D3D11_RTV_DIMENSION(5i32); | |
19609 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19610 | pub const D3D11_RTV_DIMENSION_TEXTURE2DMS: D3D11_RTV_DIMENSION = D3D11_RTV_DIMENSION(6i32); | |
19611 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19612 | pub const D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY: D3D11_RTV_DIMENSION = D3D11_RTV_DIMENSION(7i32); | |
19613 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19614 | pub const D3D11_RTV_DIMENSION_TEXTURE3D: D3D11_RTV_DIMENSION = D3D11_RTV_DIMENSION(8i32); | |
19615 | impl ::core::marker::Copy for D3D11_RTV_DIMENSION {} | |
19616 | impl ::core::clone::Clone for D3D11_RTV_DIMENSION { | |
19617 | fn clone(&self) -> Self { | |
19618 | *self | |
19619 | } | |
19620 | } | |
19621 | impl ::core::default::Default for D3D11_RTV_DIMENSION { | |
19622 | fn default() -> Self { | |
19623 | Self(0) | |
19624 | } | |
19625 | } | |
19626 | impl ::windows::core::TypeKind for D3D11_RTV_DIMENSION { | |
19627 | type TypeKind = ::windows::core::CopyType; | |
19628 | } | |
19629 | impl ::core::fmt::Debug for D3D11_RTV_DIMENSION { | |
19630 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19631 | f.debug_tuple("D3D11_RTV_DIMENSION").field(&self.0).finish() | |
19632 | } | |
19633 | } | |
19634 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19635 | #[repr(transparent)] | |
19636 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19637 | pub struct D3D11_SHADER_CACHE_SUPPORT_FLAGS(pub i32); | |
19638 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19639 | pub const D3D11_SHADER_CACHE_SUPPORT_NONE: D3D11_SHADER_CACHE_SUPPORT_FLAGS = D3D11_SHADER_CACHE_SUPPORT_FLAGS(0i32); | |
19640 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19641 | pub const D3D11_SHADER_CACHE_SUPPORT_AUTOMATIC_INPROC_CACHE: D3D11_SHADER_CACHE_SUPPORT_FLAGS = D3D11_SHADER_CACHE_SUPPORT_FLAGS(1i32); | |
19642 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19643 | pub const D3D11_SHADER_CACHE_SUPPORT_AUTOMATIC_DISK_CACHE: D3D11_SHADER_CACHE_SUPPORT_FLAGS = D3D11_SHADER_CACHE_SUPPORT_FLAGS(2i32); | |
19644 | impl ::core::marker::Copy for D3D11_SHADER_CACHE_SUPPORT_FLAGS {} | |
19645 | impl ::core::clone::Clone for D3D11_SHADER_CACHE_SUPPORT_FLAGS { | |
19646 | fn clone(&self) -> Self { | |
19647 | *self | |
19648 | } | |
19649 | } | |
19650 | impl ::core::default::Default for D3D11_SHADER_CACHE_SUPPORT_FLAGS { | |
19651 | fn default() -> Self { | |
19652 | Self(0) | |
19653 | } | |
19654 | } | |
19655 | impl ::windows::core::TypeKind for D3D11_SHADER_CACHE_SUPPORT_FLAGS { | |
19656 | type TypeKind = ::windows::core::CopyType; | |
19657 | } | |
19658 | impl ::core::fmt::Debug for D3D11_SHADER_CACHE_SUPPORT_FLAGS { | |
19659 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19660 | f.debug_tuple("D3D11_SHADER_CACHE_SUPPORT_FLAGS").field(&self.0).finish() | |
19661 | } | |
19662 | } | |
19663 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19664 | #[repr(transparent)] | |
19665 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19666 | pub struct D3D11_SHADER_MIN_PRECISION_SUPPORT(pub i32); | |
19667 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19668 | pub const D3D11_SHADER_MIN_PRECISION_10_BIT: D3D11_SHADER_MIN_PRECISION_SUPPORT = D3D11_SHADER_MIN_PRECISION_SUPPORT(1i32); | |
19669 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19670 | pub const D3D11_SHADER_MIN_PRECISION_16_BIT: D3D11_SHADER_MIN_PRECISION_SUPPORT = D3D11_SHADER_MIN_PRECISION_SUPPORT(2i32); | |
19671 | impl ::core::marker::Copy for D3D11_SHADER_MIN_PRECISION_SUPPORT {} | |
19672 | impl ::core::clone::Clone for D3D11_SHADER_MIN_PRECISION_SUPPORT { | |
19673 | fn clone(&self) -> Self { | |
19674 | *self | |
19675 | } | |
19676 | } | |
19677 | impl ::core::default::Default for D3D11_SHADER_MIN_PRECISION_SUPPORT { | |
19678 | fn default() -> Self { | |
19679 | Self(0) | |
19680 | } | |
19681 | } | |
19682 | impl ::windows::core::TypeKind for D3D11_SHADER_MIN_PRECISION_SUPPORT { | |
19683 | type TypeKind = ::windows::core::CopyType; | |
19684 | } | |
19685 | impl ::core::fmt::Debug for D3D11_SHADER_MIN_PRECISION_SUPPORT { | |
19686 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19687 | f.debug_tuple("D3D11_SHADER_MIN_PRECISION_SUPPORT").field(&self.0).finish() | |
19688 | } | |
19689 | } | |
19690 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19691 | #[repr(transparent)] | |
19692 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19693 | pub struct D3D11_SHADER_TRACKING_OPTIONS(pub i32); | |
19694 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19695 | pub const D3D11_SHADER_TRACKING_OPTION_IGNORE: D3D11_SHADER_TRACKING_OPTIONS = D3D11_SHADER_TRACKING_OPTIONS(0i32); | |
19696 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19697 | pub const D3D11_SHADER_TRACKING_OPTION_TRACK_UNINITIALIZED: D3D11_SHADER_TRACKING_OPTIONS = D3D11_SHADER_TRACKING_OPTIONS(1i32); | |
19698 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19699 | pub const D3D11_SHADER_TRACKING_OPTION_TRACK_RAW: D3D11_SHADER_TRACKING_OPTIONS = D3D11_SHADER_TRACKING_OPTIONS(2i32); | |
19700 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19701 | pub const D3D11_SHADER_TRACKING_OPTION_TRACK_WAR: D3D11_SHADER_TRACKING_OPTIONS = D3D11_SHADER_TRACKING_OPTIONS(4i32); | |
19702 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19703 | pub const D3D11_SHADER_TRACKING_OPTION_TRACK_WAW: D3D11_SHADER_TRACKING_OPTIONS = D3D11_SHADER_TRACKING_OPTIONS(8i32); | |
19704 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19705 | pub const D3D11_SHADER_TRACKING_OPTION_ALLOW_SAME: D3D11_SHADER_TRACKING_OPTIONS = D3D11_SHADER_TRACKING_OPTIONS(16i32); | |
19706 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19707 | pub const D3D11_SHADER_TRACKING_OPTION_TRACK_ATOMIC_CONSISTENCY: D3D11_SHADER_TRACKING_OPTIONS = D3D11_SHADER_TRACKING_OPTIONS(32i32); | |
19708 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19709 | pub const D3D11_SHADER_TRACKING_OPTION_TRACK_RAW_ACROSS_THREADGROUPS: D3D11_SHADER_TRACKING_OPTIONS = D3D11_SHADER_TRACKING_OPTIONS(64i32); | |
19710 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19711 | pub const D3D11_SHADER_TRACKING_OPTION_TRACK_WAR_ACROSS_THREADGROUPS: D3D11_SHADER_TRACKING_OPTIONS = D3D11_SHADER_TRACKING_OPTIONS(128i32); | |
19712 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19713 | pub const D3D11_SHADER_TRACKING_OPTION_TRACK_WAW_ACROSS_THREADGROUPS: D3D11_SHADER_TRACKING_OPTIONS = D3D11_SHADER_TRACKING_OPTIONS(256i32); | |
19714 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19715 | pub const D3D11_SHADER_TRACKING_OPTION_TRACK_ATOMIC_CONSISTENCY_ACROSS_THREADGROUPS: D3D11_SHADER_TRACKING_OPTIONS = D3D11_SHADER_TRACKING_OPTIONS(512i32); | |
19716 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19717 | pub const D3D11_SHADER_TRACKING_OPTION_UAV_SPECIFIC_FLAGS: D3D11_SHADER_TRACKING_OPTIONS = D3D11_SHADER_TRACKING_OPTIONS(960i32); | |
19718 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19719 | pub const D3D11_SHADER_TRACKING_OPTION_ALL_HAZARDS: D3D11_SHADER_TRACKING_OPTIONS = D3D11_SHADER_TRACKING_OPTIONS(1006i32); | |
19720 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19721 | pub const D3D11_SHADER_TRACKING_OPTION_ALL_HAZARDS_ALLOWING_SAME: D3D11_SHADER_TRACKING_OPTIONS = D3D11_SHADER_TRACKING_OPTIONS(1022i32); | |
19722 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19723 | pub const D3D11_SHADER_TRACKING_OPTION_ALL_OPTIONS: D3D11_SHADER_TRACKING_OPTIONS = D3D11_SHADER_TRACKING_OPTIONS(1023i32); | |
19724 | impl ::core::marker::Copy for D3D11_SHADER_TRACKING_OPTIONS {} | |
19725 | impl ::core::clone::Clone for D3D11_SHADER_TRACKING_OPTIONS { | |
19726 | fn clone(&self) -> Self { | |
19727 | *self | |
19728 | } | |
19729 | } | |
19730 | impl ::core::default::Default for D3D11_SHADER_TRACKING_OPTIONS { | |
19731 | fn default() -> Self { | |
19732 | Self(0) | |
19733 | } | |
19734 | } | |
19735 | impl ::windows::core::TypeKind for D3D11_SHADER_TRACKING_OPTIONS { | |
19736 | type TypeKind = ::windows::core::CopyType; | |
19737 | } | |
19738 | impl ::core::fmt::Debug for D3D11_SHADER_TRACKING_OPTIONS { | |
19739 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19740 | f.debug_tuple("D3D11_SHADER_TRACKING_OPTIONS").field(&self.0).finish() | |
19741 | } | |
19742 | } | |
19743 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19744 | #[repr(transparent)] | |
19745 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19746 | pub struct D3D11_SHADER_TRACKING_RESOURCE_TYPE(pub i32); | |
19747 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19748 | pub const D3D11_SHADER_TRACKING_RESOURCE_TYPE_NONE: D3D11_SHADER_TRACKING_RESOURCE_TYPE = D3D11_SHADER_TRACKING_RESOURCE_TYPE(0i32); | |
19749 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19750 | pub const D3D11_SHADER_TRACKING_RESOURCE_TYPE_UAV_DEVICEMEMORY: D3D11_SHADER_TRACKING_RESOURCE_TYPE = D3D11_SHADER_TRACKING_RESOURCE_TYPE(1i32); | |
19751 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19752 | pub const D3D11_SHADER_TRACKING_RESOURCE_TYPE_NON_UAV_DEVICEMEMORY: D3D11_SHADER_TRACKING_RESOURCE_TYPE = D3D11_SHADER_TRACKING_RESOURCE_TYPE(2i32); | |
19753 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19754 | pub const D3D11_SHADER_TRACKING_RESOURCE_TYPE_ALL_DEVICEMEMORY: D3D11_SHADER_TRACKING_RESOURCE_TYPE = D3D11_SHADER_TRACKING_RESOURCE_TYPE(3i32); | |
19755 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19756 | pub const D3D11_SHADER_TRACKING_RESOURCE_TYPE_GROUPSHARED_MEMORY: D3D11_SHADER_TRACKING_RESOURCE_TYPE = D3D11_SHADER_TRACKING_RESOURCE_TYPE(4i32); | |
19757 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19758 | pub const D3D11_SHADER_TRACKING_RESOURCE_TYPE_ALL_SHARED_MEMORY: D3D11_SHADER_TRACKING_RESOURCE_TYPE = D3D11_SHADER_TRACKING_RESOURCE_TYPE(5i32); | |
19759 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19760 | pub const D3D11_SHADER_TRACKING_RESOURCE_TYPE_GROUPSHARED_NON_UAV: D3D11_SHADER_TRACKING_RESOURCE_TYPE = D3D11_SHADER_TRACKING_RESOURCE_TYPE(6i32); | |
19761 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19762 | pub const D3D11_SHADER_TRACKING_RESOURCE_TYPE_ALL: D3D11_SHADER_TRACKING_RESOURCE_TYPE = D3D11_SHADER_TRACKING_RESOURCE_TYPE(7i32); | |
19763 | impl ::core::marker::Copy for D3D11_SHADER_TRACKING_RESOURCE_TYPE {} | |
19764 | impl ::core::clone::Clone for D3D11_SHADER_TRACKING_RESOURCE_TYPE { | |
19765 | fn clone(&self) -> Self { | |
19766 | *self | |
19767 | } | |
19768 | } | |
19769 | impl ::core::default::Default for D3D11_SHADER_TRACKING_RESOURCE_TYPE { | |
19770 | fn default() -> Self { | |
19771 | Self(0) | |
19772 | } | |
19773 | } | |
19774 | impl ::windows::core::TypeKind for D3D11_SHADER_TRACKING_RESOURCE_TYPE { | |
19775 | type TypeKind = ::windows::core::CopyType; | |
19776 | } | |
19777 | impl ::core::fmt::Debug for D3D11_SHADER_TRACKING_RESOURCE_TYPE { | |
19778 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19779 | f.debug_tuple("D3D11_SHADER_TRACKING_RESOURCE_TYPE").field(&self.0).finish() | |
19780 | } | |
19781 | } | |
19782 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19783 | #[repr(transparent)] | |
19784 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19785 | pub struct D3D11_SHADER_TYPE(pub i32); | |
19786 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19787 | pub const D3D11_VERTEX_SHADER: D3D11_SHADER_TYPE = D3D11_SHADER_TYPE(1i32); | |
19788 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19789 | pub const D3D11_HULL_SHADER: D3D11_SHADER_TYPE = D3D11_SHADER_TYPE(2i32); | |
19790 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19791 | pub const D3D11_DOMAIN_SHADER: D3D11_SHADER_TYPE = D3D11_SHADER_TYPE(3i32); | |
19792 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19793 | pub const D3D11_GEOMETRY_SHADER: D3D11_SHADER_TYPE = D3D11_SHADER_TYPE(4i32); | |
19794 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19795 | pub const D3D11_PIXEL_SHADER: D3D11_SHADER_TYPE = D3D11_SHADER_TYPE(5i32); | |
19796 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19797 | pub const D3D11_COMPUTE_SHADER: D3D11_SHADER_TYPE = D3D11_SHADER_TYPE(6i32); | |
19798 | impl ::core::marker::Copy for D3D11_SHADER_TYPE {} | |
19799 | impl ::core::clone::Clone for D3D11_SHADER_TYPE { | |
19800 | fn clone(&self) -> Self { | |
19801 | *self | |
19802 | } | |
19803 | } | |
19804 | impl ::core::default::Default for D3D11_SHADER_TYPE { | |
19805 | fn default() -> Self { | |
19806 | Self(0) | |
19807 | } | |
19808 | } | |
19809 | impl ::windows::core::TypeKind for D3D11_SHADER_TYPE { | |
19810 | type TypeKind = ::windows::core::CopyType; | |
19811 | } | |
19812 | impl ::core::fmt::Debug for D3D11_SHADER_TYPE { | |
19813 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19814 | f.debug_tuple("D3D11_SHADER_TYPE").field(&self.0).finish() | |
19815 | } | |
19816 | } | |
19817 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19818 | #[repr(transparent)] | |
19819 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19820 | pub struct D3D11_SHADER_VERSION_TYPE(pub i32); | |
19821 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19822 | pub const D3D11_SHVER_PIXEL_SHADER: D3D11_SHADER_VERSION_TYPE = D3D11_SHADER_VERSION_TYPE(0i32); | |
19823 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19824 | pub const D3D11_SHVER_VERTEX_SHADER: D3D11_SHADER_VERSION_TYPE = D3D11_SHADER_VERSION_TYPE(1i32); | |
19825 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19826 | pub const D3D11_SHVER_GEOMETRY_SHADER: D3D11_SHADER_VERSION_TYPE = D3D11_SHADER_VERSION_TYPE(2i32); | |
19827 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19828 | pub const D3D11_SHVER_HULL_SHADER: D3D11_SHADER_VERSION_TYPE = D3D11_SHADER_VERSION_TYPE(3i32); | |
19829 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19830 | pub const D3D11_SHVER_DOMAIN_SHADER: D3D11_SHADER_VERSION_TYPE = D3D11_SHADER_VERSION_TYPE(4i32); | |
19831 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19832 | pub const D3D11_SHVER_COMPUTE_SHADER: D3D11_SHADER_VERSION_TYPE = D3D11_SHADER_VERSION_TYPE(5i32); | |
19833 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19834 | pub const D3D11_SHVER_RESERVED0: D3D11_SHADER_VERSION_TYPE = D3D11_SHADER_VERSION_TYPE(65520i32); | |
19835 | impl ::core::marker::Copy for D3D11_SHADER_VERSION_TYPE {} | |
19836 | impl ::core::clone::Clone for D3D11_SHADER_VERSION_TYPE { | |
19837 | fn clone(&self) -> Self { | |
19838 | *self | |
19839 | } | |
19840 | } | |
19841 | impl ::core::default::Default for D3D11_SHADER_VERSION_TYPE { | |
19842 | fn default() -> Self { | |
19843 | Self(0) | |
19844 | } | |
19845 | } | |
19846 | impl ::windows::core::TypeKind for D3D11_SHADER_VERSION_TYPE { | |
19847 | type TypeKind = ::windows::core::CopyType; | |
19848 | } | |
19849 | impl ::core::fmt::Debug for D3D11_SHADER_VERSION_TYPE { | |
19850 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19851 | f.debug_tuple("D3D11_SHADER_VERSION_TYPE").field(&self.0).finish() | |
19852 | } | |
19853 | } | |
19854 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19855 | #[repr(transparent)] | |
19856 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19857 | pub struct D3D11_SHARED_RESOURCE_TIER(pub i32); | |
19858 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19859 | pub const D3D11_SHARED_RESOURCE_TIER_0: D3D11_SHARED_RESOURCE_TIER = D3D11_SHARED_RESOURCE_TIER(0i32); | |
19860 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19861 | pub const D3D11_SHARED_RESOURCE_TIER_1: D3D11_SHARED_RESOURCE_TIER = D3D11_SHARED_RESOURCE_TIER(1i32); | |
19862 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19863 | pub const D3D11_SHARED_RESOURCE_TIER_2: D3D11_SHARED_RESOURCE_TIER = D3D11_SHARED_RESOURCE_TIER(2i32); | |
19864 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19865 | pub const D3D11_SHARED_RESOURCE_TIER_3: D3D11_SHARED_RESOURCE_TIER = D3D11_SHARED_RESOURCE_TIER(3i32); | |
19866 | impl ::core::marker::Copy for D3D11_SHARED_RESOURCE_TIER {} | |
19867 | impl ::core::clone::Clone for D3D11_SHARED_RESOURCE_TIER { | |
19868 | fn clone(&self) -> Self { | |
19869 | *self | |
19870 | } | |
19871 | } | |
19872 | impl ::core::default::Default for D3D11_SHARED_RESOURCE_TIER { | |
19873 | fn default() -> Self { | |
19874 | Self(0) | |
19875 | } | |
19876 | } | |
19877 | impl ::windows::core::TypeKind for D3D11_SHARED_RESOURCE_TIER { | |
19878 | type TypeKind = ::windows::core::CopyType; | |
19879 | } | |
19880 | impl ::core::fmt::Debug for D3D11_SHARED_RESOURCE_TIER { | |
19881 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19882 | f.debug_tuple("D3D11_SHARED_RESOURCE_TIER").field(&self.0).finish() | |
19883 | } | |
19884 | } | |
19885 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19886 | #[repr(transparent)] | |
19887 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19888 | pub struct D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS(pub i32); | |
19889 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19890 | pub const D3D11_STANDARD_MULTISAMPLE_PATTERN: D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS = D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS(-1i32); | |
19891 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19892 | pub const D3D11_CENTER_MULTISAMPLE_PATTERN: D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS = D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS(-2i32); | |
19893 | impl ::core::marker::Copy for D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS {} | |
19894 | impl ::core::clone::Clone for D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS { | |
19895 | fn clone(&self) -> Self { | |
19896 | *self | |
19897 | } | |
19898 | } | |
19899 | impl ::core::default::Default for D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS { | |
19900 | fn default() -> Self { | |
19901 | Self(0) | |
19902 | } | |
19903 | } | |
19904 | impl ::windows::core::TypeKind for D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS { | |
19905 | type TypeKind = ::windows::core::CopyType; | |
19906 | } | |
19907 | impl ::core::fmt::Debug for D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS { | |
19908 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19909 | f.debug_tuple("D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS").field(&self.0).finish() | |
19910 | } | |
19911 | } | |
19912 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19913 | #[repr(transparent)] | |
19914 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19915 | pub struct D3D11_STENCIL_OP(pub i32); | |
19916 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19917 | pub const D3D11_STENCIL_OP_KEEP: D3D11_STENCIL_OP = D3D11_STENCIL_OP(1i32); | |
19918 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19919 | pub const D3D11_STENCIL_OP_ZERO: D3D11_STENCIL_OP = D3D11_STENCIL_OP(2i32); | |
19920 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19921 | pub const D3D11_STENCIL_OP_REPLACE: D3D11_STENCIL_OP = D3D11_STENCIL_OP(3i32); | |
19922 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19923 | pub const D3D11_STENCIL_OP_INCR_SAT: D3D11_STENCIL_OP = D3D11_STENCIL_OP(4i32); | |
19924 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19925 | pub const D3D11_STENCIL_OP_DECR_SAT: D3D11_STENCIL_OP = D3D11_STENCIL_OP(5i32); | |
19926 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19927 | pub const D3D11_STENCIL_OP_INVERT: D3D11_STENCIL_OP = D3D11_STENCIL_OP(6i32); | |
19928 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19929 | pub const D3D11_STENCIL_OP_INCR: D3D11_STENCIL_OP = D3D11_STENCIL_OP(7i32); | |
19930 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19931 | pub const D3D11_STENCIL_OP_DECR: D3D11_STENCIL_OP = D3D11_STENCIL_OP(8i32); | |
19932 | impl ::core::marker::Copy for D3D11_STENCIL_OP {} | |
19933 | impl ::core::clone::Clone for D3D11_STENCIL_OP { | |
19934 | fn clone(&self) -> Self { | |
19935 | *self | |
19936 | } | |
19937 | } | |
19938 | impl ::core::default::Default for D3D11_STENCIL_OP { | |
19939 | fn default() -> Self { | |
19940 | Self(0) | |
19941 | } | |
19942 | } | |
19943 | impl ::windows::core::TypeKind for D3D11_STENCIL_OP { | |
19944 | type TypeKind = ::windows::core::CopyType; | |
19945 | } | |
19946 | impl ::core::fmt::Debug for D3D11_STENCIL_OP { | |
19947 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19948 | f.debug_tuple("D3D11_STENCIL_OP").field(&self.0).finish() | |
19949 | } | |
19950 | } | |
19951 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19952 | #[repr(transparent)] | |
19953 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19954 | pub struct D3D11_TEXTURECUBE_FACE(pub i32); | |
19955 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19956 | pub const D3D11_TEXTURECUBE_FACE_POSITIVE_X: D3D11_TEXTURECUBE_FACE = D3D11_TEXTURECUBE_FACE(0i32); | |
19957 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19958 | pub const D3D11_TEXTURECUBE_FACE_NEGATIVE_X: D3D11_TEXTURECUBE_FACE = D3D11_TEXTURECUBE_FACE(1i32); | |
19959 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19960 | pub const D3D11_TEXTURECUBE_FACE_POSITIVE_Y: D3D11_TEXTURECUBE_FACE = D3D11_TEXTURECUBE_FACE(2i32); | |
19961 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19962 | pub const D3D11_TEXTURECUBE_FACE_NEGATIVE_Y: D3D11_TEXTURECUBE_FACE = D3D11_TEXTURECUBE_FACE(3i32); | |
19963 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19964 | pub const D3D11_TEXTURECUBE_FACE_POSITIVE_Z: D3D11_TEXTURECUBE_FACE = D3D11_TEXTURECUBE_FACE(4i32); | |
19965 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19966 | pub const D3D11_TEXTURECUBE_FACE_NEGATIVE_Z: D3D11_TEXTURECUBE_FACE = D3D11_TEXTURECUBE_FACE(5i32); | |
19967 | impl ::core::marker::Copy for D3D11_TEXTURECUBE_FACE {} | |
19968 | impl ::core::clone::Clone for D3D11_TEXTURECUBE_FACE { | |
19969 | fn clone(&self) -> Self { | |
19970 | *self | |
19971 | } | |
19972 | } | |
19973 | impl ::core::default::Default for D3D11_TEXTURECUBE_FACE { | |
19974 | fn default() -> Self { | |
19975 | Self(0) | |
19976 | } | |
19977 | } | |
19978 | impl ::windows::core::TypeKind for D3D11_TEXTURECUBE_FACE { | |
19979 | type TypeKind = ::windows::core::CopyType; | |
19980 | } | |
19981 | impl ::core::fmt::Debug for D3D11_TEXTURECUBE_FACE { | |
19982 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
19983 | f.debug_tuple("D3D11_TEXTURECUBE_FACE").field(&self.0).finish() | |
19984 | } | |
19985 | } | |
19986 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19987 | #[repr(transparent)] | |
19988 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
19989 | pub struct D3D11_TEXTURE_ADDRESS_MODE(pub i32); | |
19990 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19991 | pub const D3D11_TEXTURE_ADDRESS_WRAP: D3D11_TEXTURE_ADDRESS_MODE = D3D11_TEXTURE_ADDRESS_MODE(1i32); | |
19992 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19993 | pub const D3D11_TEXTURE_ADDRESS_MIRROR: D3D11_TEXTURE_ADDRESS_MODE = D3D11_TEXTURE_ADDRESS_MODE(2i32); | |
19994 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19995 | pub const D3D11_TEXTURE_ADDRESS_CLAMP: D3D11_TEXTURE_ADDRESS_MODE = D3D11_TEXTURE_ADDRESS_MODE(3i32); | |
19996 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19997 | pub const D3D11_TEXTURE_ADDRESS_BORDER: D3D11_TEXTURE_ADDRESS_MODE = D3D11_TEXTURE_ADDRESS_MODE(4i32); | |
19998 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
19999 | pub const D3D11_TEXTURE_ADDRESS_MIRROR_ONCE: D3D11_TEXTURE_ADDRESS_MODE = D3D11_TEXTURE_ADDRESS_MODE(5i32); | |
20000 | impl ::core::marker::Copy for D3D11_TEXTURE_ADDRESS_MODE {} | |
20001 | impl ::core::clone::Clone for D3D11_TEXTURE_ADDRESS_MODE { | |
20002 | fn clone(&self) -> Self { | |
20003 | *self | |
20004 | } | |
20005 | } | |
20006 | impl ::core::default::Default for D3D11_TEXTURE_ADDRESS_MODE { | |
20007 | fn default() -> Self { | |
20008 | Self(0) | |
20009 | } | |
20010 | } | |
20011 | impl ::windows::core::TypeKind for D3D11_TEXTURE_ADDRESS_MODE { | |
20012 | type TypeKind = ::windows::core::CopyType; | |
20013 | } | |
20014 | impl ::core::fmt::Debug for D3D11_TEXTURE_ADDRESS_MODE { | |
20015 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20016 | f.debug_tuple("D3D11_TEXTURE_ADDRESS_MODE").field(&self.0).finish() | |
20017 | } | |
20018 | } | |
20019 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20020 | #[repr(transparent)] | |
20021 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20022 | pub struct D3D11_TEXTURE_LAYOUT(pub i32); | |
20023 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20024 | pub const D3D11_TEXTURE_LAYOUT_UNDEFINED: D3D11_TEXTURE_LAYOUT = D3D11_TEXTURE_LAYOUT(0i32); | |
20025 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20026 | pub const D3D11_TEXTURE_LAYOUT_ROW_MAJOR: D3D11_TEXTURE_LAYOUT = D3D11_TEXTURE_LAYOUT(1i32); | |
20027 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20028 | pub const D3D11_TEXTURE_LAYOUT_64K_STANDARD_SWIZZLE: D3D11_TEXTURE_LAYOUT = D3D11_TEXTURE_LAYOUT(2i32); | |
20029 | impl ::core::marker::Copy for D3D11_TEXTURE_LAYOUT {} | |
20030 | impl ::core::clone::Clone for D3D11_TEXTURE_LAYOUT { | |
20031 | fn clone(&self) -> Self { | |
20032 | *self | |
20033 | } | |
20034 | } | |
20035 | impl ::core::default::Default for D3D11_TEXTURE_LAYOUT { | |
20036 | fn default() -> Self { | |
20037 | Self(0) | |
20038 | } | |
20039 | } | |
20040 | impl ::windows::core::TypeKind for D3D11_TEXTURE_LAYOUT { | |
20041 | type TypeKind = ::windows::core::CopyType; | |
20042 | } | |
20043 | impl ::core::fmt::Debug for D3D11_TEXTURE_LAYOUT { | |
20044 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20045 | f.debug_tuple("D3D11_TEXTURE_LAYOUT").field(&self.0).finish() | |
20046 | } | |
20047 | } | |
20048 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20049 | #[repr(transparent)] | |
20050 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20051 | pub struct D3D11_TILED_RESOURCES_TIER(pub i32); | |
20052 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20053 | pub const D3D11_TILED_RESOURCES_NOT_SUPPORTED: D3D11_TILED_RESOURCES_TIER = D3D11_TILED_RESOURCES_TIER(0i32); | |
20054 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20055 | pub const D3D11_TILED_RESOURCES_TIER_1: D3D11_TILED_RESOURCES_TIER = D3D11_TILED_RESOURCES_TIER(1i32); | |
20056 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20057 | pub const D3D11_TILED_RESOURCES_TIER_2: D3D11_TILED_RESOURCES_TIER = D3D11_TILED_RESOURCES_TIER(2i32); | |
20058 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20059 | pub const D3D11_TILED_RESOURCES_TIER_3: D3D11_TILED_RESOURCES_TIER = D3D11_TILED_RESOURCES_TIER(3i32); | |
20060 | impl ::core::marker::Copy for D3D11_TILED_RESOURCES_TIER {} | |
20061 | impl ::core::clone::Clone for D3D11_TILED_RESOURCES_TIER { | |
20062 | fn clone(&self) -> Self { | |
20063 | *self | |
20064 | } | |
20065 | } | |
20066 | impl ::core::default::Default for D3D11_TILED_RESOURCES_TIER { | |
20067 | fn default() -> Self { | |
20068 | Self(0) | |
20069 | } | |
20070 | } | |
20071 | impl ::windows::core::TypeKind for D3D11_TILED_RESOURCES_TIER { | |
20072 | type TypeKind = ::windows::core::CopyType; | |
20073 | } | |
20074 | impl ::core::fmt::Debug for D3D11_TILED_RESOURCES_TIER { | |
20075 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20076 | f.debug_tuple("D3D11_TILED_RESOURCES_TIER").field(&self.0).finish() | |
20077 | } | |
20078 | } | |
20079 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20080 | #[repr(transparent)] | |
20081 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20082 | pub struct D3D11_TILE_COPY_FLAG(pub i32); | |
20083 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20084 | pub const D3D11_TILE_COPY_NO_OVERWRITE: D3D11_TILE_COPY_FLAG = D3D11_TILE_COPY_FLAG(1i32); | |
20085 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20086 | pub const D3D11_TILE_COPY_LINEAR_BUFFER_TO_SWIZZLED_TILED_RESOURCE: D3D11_TILE_COPY_FLAG = D3D11_TILE_COPY_FLAG(2i32); | |
20087 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20088 | pub const D3D11_TILE_COPY_SWIZZLED_TILED_RESOURCE_TO_LINEAR_BUFFER: D3D11_TILE_COPY_FLAG = D3D11_TILE_COPY_FLAG(4i32); | |
20089 | impl ::core::marker::Copy for D3D11_TILE_COPY_FLAG {} | |
20090 | impl ::core::clone::Clone for D3D11_TILE_COPY_FLAG { | |
20091 | fn clone(&self) -> Self { | |
20092 | *self | |
20093 | } | |
20094 | } | |
20095 | impl ::core::default::Default for D3D11_TILE_COPY_FLAG { | |
20096 | fn default() -> Self { | |
20097 | Self(0) | |
20098 | } | |
20099 | } | |
20100 | impl ::windows::core::TypeKind for D3D11_TILE_COPY_FLAG { | |
20101 | type TypeKind = ::windows::core::CopyType; | |
20102 | } | |
20103 | impl ::core::fmt::Debug for D3D11_TILE_COPY_FLAG { | |
20104 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20105 | f.debug_tuple("D3D11_TILE_COPY_FLAG").field(&self.0).finish() | |
20106 | } | |
20107 | } | |
20108 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20109 | #[repr(transparent)] | |
20110 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20111 | pub struct D3D11_TILE_MAPPING_FLAG(pub i32); | |
20112 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20113 | pub const D3D11_TILE_MAPPING_NO_OVERWRITE: D3D11_TILE_MAPPING_FLAG = D3D11_TILE_MAPPING_FLAG(1i32); | |
20114 | impl ::core::marker::Copy for D3D11_TILE_MAPPING_FLAG {} | |
20115 | impl ::core::clone::Clone for D3D11_TILE_MAPPING_FLAG { | |
20116 | fn clone(&self) -> Self { | |
20117 | *self | |
20118 | } | |
20119 | } | |
20120 | impl ::core::default::Default for D3D11_TILE_MAPPING_FLAG { | |
20121 | fn default() -> Self { | |
20122 | Self(0) | |
20123 | } | |
20124 | } | |
20125 | impl ::windows::core::TypeKind for D3D11_TILE_MAPPING_FLAG { | |
20126 | type TypeKind = ::windows::core::CopyType; | |
20127 | } | |
20128 | impl ::core::fmt::Debug for D3D11_TILE_MAPPING_FLAG { | |
20129 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20130 | f.debug_tuple("D3D11_TILE_MAPPING_FLAG").field(&self.0).finish() | |
20131 | } | |
20132 | } | |
20133 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20134 | #[repr(transparent)] | |
20135 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20136 | pub struct D3D11_TILE_RANGE_FLAG(pub i32); | |
20137 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20138 | pub const D3D11_TILE_RANGE_NULL: D3D11_TILE_RANGE_FLAG = D3D11_TILE_RANGE_FLAG(1i32); | |
20139 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20140 | pub const D3D11_TILE_RANGE_SKIP: D3D11_TILE_RANGE_FLAG = D3D11_TILE_RANGE_FLAG(2i32); | |
20141 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20142 | pub const D3D11_TILE_RANGE_REUSE_SINGLE_TILE: D3D11_TILE_RANGE_FLAG = D3D11_TILE_RANGE_FLAG(4i32); | |
20143 | impl ::core::marker::Copy for D3D11_TILE_RANGE_FLAG {} | |
20144 | impl ::core::clone::Clone for D3D11_TILE_RANGE_FLAG { | |
20145 | fn clone(&self) -> Self { | |
20146 | *self | |
20147 | } | |
20148 | } | |
20149 | impl ::core::default::Default for D3D11_TILE_RANGE_FLAG { | |
20150 | fn default() -> Self { | |
20151 | Self(0) | |
20152 | } | |
20153 | } | |
20154 | impl ::windows::core::TypeKind for D3D11_TILE_RANGE_FLAG { | |
20155 | type TypeKind = ::windows::core::CopyType; | |
20156 | } | |
20157 | impl ::core::fmt::Debug for D3D11_TILE_RANGE_FLAG { | |
20158 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20159 | f.debug_tuple("D3D11_TILE_RANGE_FLAG").field(&self.0).finish() | |
20160 | } | |
20161 | } | |
20162 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20163 | #[repr(transparent)] | |
20164 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20165 | pub struct D3D11_TRACE_GS_INPUT_PRIMITIVE(pub i32); | |
20166 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20167 | pub const D3D11_TRACE_GS_INPUT_PRIMITIVE_UNDEFINED: D3D11_TRACE_GS_INPUT_PRIMITIVE = D3D11_TRACE_GS_INPUT_PRIMITIVE(0i32); | |
20168 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20169 | pub const D3D11_TRACE_GS_INPUT_PRIMITIVE_POINT: D3D11_TRACE_GS_INPUT_PRIMITIVE = D3D11_TRACE_GS_INPUT_PRIMITIVE(1i32); | |
20170 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20171 | pub const D3D11_TRACE_GS_INPUT_PRIMITIVE_LINE: D3D11_TRACE_GS_INPUT_PRIMITIVE = D3D11_TRACE_GS_INPUT_PRIMITIVE(2i32); | |
20172 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20173 | pub const D3D11_TRACE_GS_INPUT_PRIMITIVE_TRIANGLE: D3D11_TRACE_GS_INPUT_PRIMITIVE = D3D11_TRACE_GS_INPUT_PRIMITIVE(3i32); | |
20174 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20175 | pub const D3D11_TRACE_GS_INPUT_PRIMITIVE_LINE_ADJ: D3D11_TRACE_GS_INPUT_PRIMITIVE = D3D11_TRACE_GS_INPUT_PRIMITIVE(6i32); | |
20176 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20177 | pub const D3D11_TRACE_GS_INPUT_PRIMITIVE_TRIANGLE_ADJ: D3D11_TRACE_GS_INPUT_PRIMITIVE = D3D11_TRACE_GS_INPUT_PRIMITIVE(7i32); | |
20178 | impl ::core::marker::Copy for D3D11_TRACE_GS_INPUT_PRIMITIVE {} | |
20179 | impl ::core::clone::Clone for D3D11_TRACE_GS_INPUT_PRIMITIVE { | |
20180 | fn clone(&self) -> Self { | |
20181 | *self | |
20182 | } | |
20183 | } | |
20184 | impl ::core::default::Default for D3D11_TRACE_GS_INPUT_PRIMITIVE { | |
20185 | fn default() -> Self { | |
20186 | Self(0) | |
20187 | } | |
20188 | } | |
20189 | impl ::windows::core::TypeKind for D3D11_TRACE_GS_INPUT_PRIMITIVE { | |
20190 | type TypeKind = ::windows::core::CopyType; | |
20191 | } | |
20192 | impl ::core::fmt::Debug for D3D11_TRACE_GS_INPUT_PRIMITIVE { | |
20193 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20194 | f.debug_tuple("D3D11_TRACE_GS_INPUT_PRIMITIVE").field(&self.0).finish() | |
20195 | } | |
20196 | } | |
20197 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20198 | #[repr(transparent)] | |
20199 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20200 | pub struct D3D11_TRACE_REGISTER_TYPE(pub i32); | |
20201 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20202 | pub const D3D11_TRACE_OUTPUT_NULL_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(0i32); | |
20203 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20204 | pub const D3D11_TRACE_INPUT_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(1i32); | |
20205 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20206 | pub const D3D11_TRACE_INPUT_PRIMITIVE_ID_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(2i32); | |
20207 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20208 | pub const D3D11_TRACE_IMMEDIATE_CONSTANT_BUFFER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(3i32); | |
20209 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20210 | pub const D3D11_TRACE_TEMP_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(4i32); | |
20211 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20212 | pub const D3D11_TRACE_INDEXABLE_TEMP_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(5i32); | |
20213 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20214 | pub const D3D11_TRACE_OUTPUT_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(6i32); | |
20215 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20216 | pub const D3D11_TRACE_OUTPUT_DEPTH_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(7i32); | |
20217 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20218 | pub const D3D11_TRACE_CONSTANT_BUFFER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(8i32); | |
20219 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20220 | pub const D3D11_TRACE_IMMEDIATE32: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(9i32); | |
20221 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20222 | pub const D3D11_TRACE_SAMPLER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(10i32); | |
20223 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20224 | pub const D3D11_TRACE_RESOURCE: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(11i32); | |
20225 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20226 | pub const D3D11_TRACE_RASTERIZER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(12i32); | |
20227 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20228 | pub const D3D11_TRACE_OUTPUT_COVERAGE_MASK: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(13i32); | |
20229 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20230 | pub const D3D11_TRACE_STREAM: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(14i32); | |
20231 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20232 | pub const D3D11_TRACE_THIS_POINTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(15i32); | |
20233 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20234 | pub const D3D11_TRACE_OUTPUT_CONTROL_POINT_ID_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(16i32); | |
20235 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20236 | pub const D3D11_TRACE_INPUT_FORK_INSTANCE_ID_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(17i32); | |
20237 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20238 | pub const D3D11_TRACE_INPUT_JOIN_INSTANCE_ID_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(18i32); | |
20239 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20240 | pub const D3D11_TRACE_INPUT_CONTROL_POINT_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(19i32); | |
20241 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20242 | pub const D3D11_TRACE_OUTPUT_CONTROL_POINT_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(20i32); | |
20243 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20244 | pub const D3D11_TRACE_INPUT_PATCH_CONSTANT_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(21i32); | |
20245 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20246 | pub const D3D11_TRACE_INPUT_DOMAIN_POINT_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(22i32); | |
20247 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20248 | pub const D3D11_TRACE_UNORDERED_ACCESS_VIEW: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(23i32); | |
20249 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20250 | pub const D3D11_TRACE_THREAD_GROUP_SHARED_MEMORY: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(24i32); | |
20251 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20252 | pub const D3D11_TRACE_INPUT_THREAD_ID_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(25i32); | |
20253 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20254 | pub const D3D11_TRACE_INPUT_THREAD_GROUP_ID_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(26i32); | |
20255 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20256 | pub const D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(27i32); | |
20257 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20258 | pub const D3D11_TRACE_INPUT_COVERAGE_MASK_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(28i32); | |
20259 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20260 | pub const D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_FLATTENED_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(29i32); | |
20261 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20262 | pub const D3D11_TRACE_INPUT_GS_INSTANCE_ID_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(30i32); | |
20263 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20264 | pub const D3D11_TRACE_OUTPUT_DEPTH_GREATER_EQUAL_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(31i32); | |
20265 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20266 | pub const D3D11_TRACE_OUTPUT_DEPTH_LESS_EQUAL_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(32i32); | |
20267 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20268 | pub const D3D11_TRACE_IMMEDIATE64: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(33i32); | |
20269 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20270 | pub const D3D11_TRACE_INPUT_CYCLE_COUNTER_REGISTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(34i32); | |
20271 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20272 | pub const D3D11_TRACE_INTERFACE_POINTER: D3D11_TRACE_REGISTER_TYPE = D3D11_TRACE_REGISTER_TYPE(35i32); | |
20273 | impl ::core::marker::Copy for D3D11_TRACE_REGISTER_TYPE {} | |
20274 | impl ::core::clone::Clone for D3D11_TRACE_REGISTER_TYPE { | |
20275 | fn clone(&self) -> Self { | |
20276 | *self | |
20277 | } | |
20278 | } | |
20279 | impl ::core::default::Default for D3D11_TRACE_REGISTER_TYPE { | |
20280 | fn default() -> Self { | |
20281 | Self(0) | |
20282 | } | |
20283 | } | |
20284 | impl ::windows::core::TypeKind for D3D11_TRACE_REGISTER_TYPE { | |
20285 | type TypeKind = ::windows::core::CopyType; | |
20286 | } | |
20287 | impl ::core::fmt::Debug for D3D11_TRACE_REGISTER_TYPE { | |
20288 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20289 | f.debug_tuple("D3D11_TRACE_REGISTER_TYPE").field(&self.0).finish() | |
20290 | } | |
20291 | } | |
20292 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20293 | #[repr(transparent)] | |
20294 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20295 | pub struct D3D11_UAV_DIMENSION(pub i32); | |
20296 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20297 | pub const D3D11_UAV_DIMENSION_UNKNOWN: D3D11_UAV_DIMENSION = D3D11_UAV_DIMENSION(0i32); | |
20298 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20299 | pub const D3D11_UAV_DIMENSION_BUFFER: D3D11_UAV_DIMENSION = D3D11_UAV_DIMENSION(1i32); | |
20300 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20301 | pub const D3D11_UAV_DIMENSION_TEXTURE1D: D3D11_UAV_DIMENSION = D3D11_UAV_DIMENSION(2i32); | |
20302 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20303 | pub const D3D11_UAV_DIMENSION_TEXTURE1DARRAY: D3D11_UAV_DIMENSION = D3D11_UAV_DIMENSION(3i32); | |
20304 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20305 | pub const D3D11_UAV_DIMENSION_TEXTURE2D: D3D11_UAV_DIMENSION = D3D11_UAV_DIMENSION(4i32); | |
20306 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20307 | pub const D3D11_UAV_DIMENSION_TEXTURE2DARRAY: D3D11_UAV_DIMENSION = D3D11_UAV_DIMENSION(5i32); | |
20308 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20309 | pub const D3D11_UAV_DIMENSION_TEXTURE3D: D3D11_UAV_DIMENSION = D3D11_UAV_DIMENSION(8i32); | |
20310 | impl ::core::marker::Copy for D3D11_UAV_DIMENSION {} | |
20311 | impl ::core::clone::Clone for D3D11_UAV_DIMENSION { | |
20312 | fn clone(&self) -> Self { | |
20313 | *self | |
20314 | } | |
20315 | } | |
20316 | impl ::core::default::Default for D3D11_UAV_DIMENSION { | |
20317 | fn default() -> Self { | |
20318 | Self(0) | |
20319 | } | |
20320 | } | |
20321 | impl ::windows::core::TypeKind for D3D11_UAV_DIMENSION { | |
20322 | type TypeKind = ::windows::core::CopyType; | |
20323 | } | |
20324 | impl ::core::fmt::Debug for D3D11_UAV_DIMENSION { | |
20325 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20326 | f.debug_tuple("D3D11_UAV_DIMENSION").field(&self.0).finish() | |
20327 | } | |
20328 | } | |
20329 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20330 | #[repr(transparent)] | |
20331 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20332 | pub struct D3D11_USAGE(pub i32); | |
20333 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20334 | pub const D3D11_USAGE_DEFAULT: D3D11_USAGE = D3D11_USAGE(0i32); | |
20335 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20336 | pub const D3D11_USAGE_IMMUTABLE: D3D11_USAGE = D3D11_USAGE(1i32); | |
20337 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20338 | pub const D3D11_USAGE_DYNAMIC: D3D11_USAGE = D3D11_USAGE(2i32); | |
20339 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20340 | pub const D3D11_USAGE_STAGING: D3D11_USAGE = D3D11_USAGE(3i32); | |
20341 | impl ::core::marker::Copy for D3D11_USAGE {} | |
20342 | impl ::core::clone::Clone for D3D11_USAGE { | |
20343 | fn clone(&self) -> Self { | |
20344 | *self | |
20345 | } | |
20346 | } | |
20347 | impl ::core::default::Default for D3D11_USAGE { | |
20348 | fn default() -> Self { | |
20349 | Self(0) | |
20350 | } | |
20351 | } | |
20352 | impl ::windows::core::TypeKind for D3D11_USAGE { | |
20353 | type TypeKind = ::windows::core::CopyType; | |
20354 | } | |
20355 | impl ::core::fmt::Debug for D3D11_USAGE { | |
20356 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20357 | f.debug_tuple("D3D11_USAGE").field(&self.0).finish() | |
20358 | } | |
20359 | } | |
20360 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20361 | #[repr(transparent)] | |
20362 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20363 | pub struct D3D11_VDOV_DIMENSION(pub i32); | |
20364 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20365 | pub const D3D11_VDOV_DIMENSION_UNKNOWN: D3D11_VDOV_DIMENSION = D3D11_VDOV_DIMENSION(0i32); | |
20366 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20367 | pub const D3D11_VDOV_DIMENSION_TEXTURE2D: D3D11_VDOV_DIMENSION = D3D11_VDOV_DIMENSION(1i32); | |
20368 | impl ::core::marker::Copy for D3D11_VDOV_DIMENSION {} | |
20369 | impl ::core::clone::Clone for D3D11_VDOV_DIMENSION { | |
20370 | fn clone(&self) -> Self { | |
20371 | *self | |
20372 | } | |
20373 | } | |
20374 | impl ::core::default::Default for D3D11_VDOV_DIMENSION { | |
20375 | fn default() -> Self { | |
20376 | Self(0) | |
20377 | } | |
20378 | } | |
20379 | impl ::windows::core::TypeKind for D3D11_VDOV_DIMENSION { | |
20380 | type TypeKind = ::windows::core::CopyType; | |
20381 | } | |
20382 | impl ::core::fmt::Debug for D3D11_VDOV_DIMENSION { | |
20383 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20384 | f.debug_tuple("D3D11_VDOV_DIMENSION").field(&self.0).finish() | |
20385 | } | |
20386 | } | |
20387 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20388 | #[repr(transparent)] | |
20389 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20390 | pub struct D3D11_VIDEO_DECODER_BUFFER_TYPE(pub i32); | |
20391 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20392 | pub const D3D11_VIDEO_DECODER_BUFFER_PICTURE_PARAMETERS: D3D11_VIDEO_DECODER_BUFFER_TYPE = D3D11_VIDEO_DECODER_BUFFER_TYPE(0i32); | |
20393 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20394 | pub const D3D11_VIDEO_DECODER_BUFFER_MACROBLOCK_CONTROL: D3D11_VIDEO_DECODER_BUFFER_TYPE = D3D11_VIDEO_DECODER_BUFFER_TYPE(1i32); | |
20395 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20396 | pub const D3D11_VIDEO_DECODER_BUFFER_RESIDUAL_DIFFERENCE: D3D11_VIDEO_DECODER_BUFFER_TYPE = D3D11_VIDEO_DECODER_BUFFER_TYPE(2i32); | |
20397 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20398 | pub const D3D11_VIDEO_DECODER_BUFFER_DEBLOCKING_CONTROL: D3D11_VIDEO_DECODER_BUFFER_TYPE = D3D11_VIDEO_DECODER_BUFFER_TYPE(3i32); | |
20399 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20400 | pub const D3D11_VIDEO_DECODER_BUFFER_INVERSE_QUANTIZATION_MATRIX: D3D11_VIDEO_DECODER_BUFFER_TYPE = D3D11_VIDEO_DECODER_BUFFER_TYPE(4i32); | |
20401 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20402 | pub const D3D11_VIDEO_DECODER_BUFFER_SLICE_CONTROL: D3D11_VIDEO_DECODER_BUFFER_TYPE = D3D11_VIDEO_DECODER_BUFFER_TYPE(5i32); | |
20403 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20404 | pub const D3D11_VIDEO_DECODER_BUFFER_BITSTREAM: D3D11_VIDEO_DECODER_BUFFER_TYPE = D3D11_VIDEO_DECODER_BUFFER_TYPE(6i32); | |
20405 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20406 | pub const D3D11_VIDEO_DECODER_BUFFER_MOTION_VECTOR: D3D11_VIDEO_DECODER_BUFFER_TYPE = D3D11_VIDEO_DECODER_BUFFER_TYPE(7i32); | |
20407 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20408 | pub const D3D11_VIDEO_DECODER_BUFFER_FILM_GRAIN: D3D11_VIDEO_DECODER_BUFFER_TYPE = D3D11_VIDEO_DECODER_BUFFER_TYPE(8i32); | |
20409 | impl ::core::marker::Copy for D3D11_VIDEO_DECODER_BUFFER_TYPE {} | |
20410 | impl ::core::clone::Clone for D3D11_VIDEO_DECODER_BUFFER_TYPE { | |
20411 | fn clone(&self) -> Self { | |
20412 | *self | |
20413 | } | |
20414 | } | |
20415 | impl ::core::default::Default for D3D11_VIDEO_DECODER_BUFFER_TYPE { | |
20416 | fn default() -> Self { | |
20417 | Self(0) | |
20418 | } | |
20419 | } | |
20420 | impl ::windows::core::TypeKind for D3D11_VIDEO_DECODER_BUFFER_TYPE { | |
20421 | type TypeKind = ::windows::core::CopyType; | |
20422 | } | |
20423 | impl ::core::fmt::Debug for D3D11_VIDEO_DECODER_BUFFER_TYPE { | |
20424 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20425 | f.debug_tuple("D3D11_VIDEO_DECODER_BUFFER_TYPE").field(&self.0).finish() | |
20426 | } | |
20427 | } | |
20428 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20429 | #[repr(transparent)] | |
20430 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20431 | pub struct D3D11_VIDEO_DECODER_CAPS(pub i32); | |
20432 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20433 | pub const D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE: D3D11_VIDEO_DECODER_CAPS = D3D11_VIDEO_DECODER_CAPS(1i32); | |
20434 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20435 | pub const D3D11_VIDEO_DECODER_CAPS_NON_REAL_TIME: D3D11_VIDEO_DECODER_CAPS = D3D11_VIDEO_DECODER_CAPS(2i32); | |
20436 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20437 | pub const D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE_DYNAMIC: D3D11_VIDEO_DECODER_CAPS = D3D11_VIDEO_DECODER_CAPS(4i32); | |
20438 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20439 | pub const D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE_REQUIRED: D3D11_VIDEO_DECODER_CAPS = D3D11_VIDEO_DECODER_CAPS(8i32); | |
20440 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20441 | pub const D3D11_VIDEO_DECODER_CAPS_UNSUPPORTED: D3D11_VIDEO_DECODER_CAPS = D3D11_VIDEO_DECODER_CAPS(16i32); | |
20442 | impl ::core::marker::Copy for D3D11_VIDEO_DECODER_CAPS {} | |
20443 | impl ::core::clone::Clone for D3D11_VIDEO_DECODER_CAPS { | |
20444 | fn clone(&self) -> Self { | |
20445 | *self | |
20446 | } | |
20447 | } | |
20448 | impl ::core::default::Default for D3D11_VIDEO_DECODER_CAPS { | |
20449 | fn default() -> Self { | |
20450 | Self(0) | |
20451 | } | |
20452 | } | |
20453 | impl ::windows::core::TypeKind for D3D11_VIDEO_DECODER_CAPS { | |
20454 | type TypeKind = ::windows::core::CopyType; | |
20455 | } | |
20456 | impl ::core::fmt::Debug for D3D11_VIDEO_DECODER_CAPS { | |
20457 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20458 | f.debug_tuple("D3D11_VIDEO_DECODER_CAPS").field(&self.0).finish() | |
20459 | } | |
20460 | } | |
20461 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20462 | #[repr(transparent)] | |
20463 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20464 | pub struct D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT(pub i32); | |
20465 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20466 | pub const D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_Y: D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT = D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT(0i32); | |
20467 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20468 | pub const D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_U: D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT = D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT(1i32); | |
20469 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20470 | pub const D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_V: D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT = D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT(2i32); | |
20471 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20472 | pub const D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_R: D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT = D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT(0i32); | |
20473 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20474 | pub const D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_G: D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT = D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT(1i32); | |
20475 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20476 | pub const D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_B: D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT = D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT(2i32); | |
20477 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20478 | pub const D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_A: D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT = D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT(3i32); | |
20479 | impl ::core::marker::Copy for D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT {} | |
20480 | impl ::core::clone::Clone for D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT { | |
20481 | fn clone(&self) -> Self { | |
20482 | *self | |
20483 | } | |
20484 | } | |
20485 | impl ::core::default::Default for D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT { | |
20486 | fn default() -> Self { | |
20487 | Self(0) | |
20488 | } | |
20489 | } | |
20490 | impl ::windows::core::TypeKind for D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT { | |
20491 | type TypeKind = ::windows::core::CopyType; | |
20492 | } | |
20493 | impl ::core::fmt::Debug for D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT { | |
20494 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20495 | f.debug_tuple("D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT").field(&self.0).finish() | |
20496 | } | |
20497 | } | |
20498 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20499 | #[repr(transparent)] | |
20500 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20501 | pub struct D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS(pub i32); | |
20502 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20503 | pub const D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_NONE: D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS = D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS(0i32); | |
20504 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20505 | pub const D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_Y: D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS = D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS(1i32); | |
20506 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20507 | pub const D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_U: D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS = D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS(2i32); | |
20508 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20509 | pub const D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_V: D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS = D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS(4i32); | |
20510 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20511 | pub const D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_R: D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS = D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS(1i32); | |
20512 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20513 | pub const D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_G: D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS = D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS(2i32); | |
20514 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20515 | pub const D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_B: D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS = D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS(4i32); | |
20516 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20517 | pub const D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_A: D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS = D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS(8i32); | |
20518 | impl ::core::marker::Copy for D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS {} | |
20519 | impl ::core::clone::Clone for D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS { | |
20520 | fn clone(&self) -> Self { | |
20521 | *self | |
20522 | } | |
20523 | } | |
20524 | impl ::core::default::Default for D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS { | |
20525 | fn default() -> Self { | |
20526 | Self(0) | |
20527 | } | |
20528 | } | |
20529 | impl ::windows::core::TypeKind for D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS { | |
20530 | type TypeKind = ::windows::core::CopyType; | |
20531 | } | |
20532 | impl ::core::fmt::Debug for D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS { | |
20533 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20534 | f.debug_tuple("D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS").field(&self.0).finish() | |
20535 | } | |
20536 | } | |
20537 | impl D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS { | |
20538 | pub const fn contains(&self, other: Self) -> bool { | |
20539 | self.0 & other.0 == other.0 | |
20540 | } | |
20541 | } | |
20542 | impl ::core::ops::BitOr for D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS { | |
20543 | type Output = Self; | |
20544 | fn bitor(self, other: Self) -> Self { | |
20545 | Self(self.0 | other.0) | |
20546 | } | |
20547 | } | |
20548 | impl ::core::ops::BitAnd for D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS { | |
20549 | type Output = Self; | |
20550 | fn bitand(self, other: Self) -> Self { | |
20551 | Self(self.0 & other.0) | |
20552 | } | |
20553 | } | |
20554 | impl ::core::ops::BitOrAssign for D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS { | |
20555 | fn bitor_assign(&mut self, other: Self) { | |
20556 | self.0.bitor_assign(other.0) | |
20557 | } | |
20558 | } | |
20559 | impl ::core::ops::BitAndAssign for D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS { | |
20560 | fn bitand_assign(&mut self, other: Self) { | |
20561 | self.0.bitand_assign(other.0) | |
20562 | } | |
20563 | } | |
20564 | impl ::core::ops::Not for D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS { | |
20565 | type Output = Self; | |
20566 | fn not(self) -> Self { | |
20567 | Self(self.0.not()) | |
20568 | } | |
20569 | } | |
20570 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20571 | #[repr(transparent)] | |
20572 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20573 | pub struct D3D11_VIDEO_FRAME_FORMAT(pub i32); | |
20574 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20575 | pub const D3D11_VIDEO_FRAME_FORMAT_PROGRESSIVE: D3D11_VIDEO_FRAME_FORMAT = D3D11_VIDEO_FRAME_FORMAT(0i32); | |
20576 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20577 | pub const D3D11_VIDEO_FRAME_FORMAT_INTERLACED_TOP_FIELD_FIRST: D3D11_VIDEO_FRAME_FORMAT = D3D11_VIDEO_FRAME_FORMAT(1i32); | |
20578 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20579 | pub const D3D11_VIDEO_FRAME_FORMAT_INTERLACED_BOTTOM_FIELD_FIRST: D3D11_VIDEO_FRAME_FORMAT = D3D11_VIDEO_FRAME_FORMAT(2i32); | |
20580 | impl ::core::marker::Copy for D3D11_VIDEO_FRAME_FORMAT {} | |
20581 | impl ::core::clone::Clone for D3D11_VIDEO_FRAME_FORMAT { | |
20582 | fn clone(&self) -> Self { | |
20583 | *self | |
20584 | } | |
20585 | } | |
20586 | impl ::core::default::Default for D3D11_VIDEO_FRAME_FORMAT { | |
20587 | fn default() -> Self { | |
20588 | Self(0) | |
20589 | } | |
20590 | } | |
20591 | impl ::windows::core::TypeKind for D3D11_VIDEO_FRAME_FORMAT { | |
20592 | type TypeKind = ::windows::core::CopyType; | |
20593 | } | |
20594 | impl ::core::fmt::Debug for D3D11_VIDEO_FRAME_FORMAT { | |
20595 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20596 | f.debug_tuple("D3D11_VIDEO_FRAME_FORMAT").field(&self.0).finish() | |
20597 | } | |
20598 | } | |
20599 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20600 | #[repr(transparent)] | |
20601 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20602 | pub struct D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE(pub i32); | |
20603 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20604 | pub const D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_OPAQUE: D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE = D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE(0i32); | |
20605 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20606 | pub const D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_BACKGROUND: D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE = D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE(1i32); | |
20607 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20608 | pub const D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_DESTINATION: D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE = D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE(2i32); | |
20609 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20610 | pub const D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_SOURCE_STREAM: D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE = D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE(3i32); | |
20611 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE {} | |
20612 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE { | |
20613 | fn clone(&self) -> Self { | |
20614 | *self | |
20615 | } | |
20616 | } | |
20617 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE { | |
20618 | fn default() -> Self { | |
20619 | Self(0) | |
20620 | } | |
20621 | } | |
20622 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE { | |
20623 | type TypeKind = ::windows::core::CopyType; | |
20624 | } | |
20625 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE { | |
20626 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20627 | f.debug_tuple("D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE").field(&self.0).finish() | |
20628 | } | |
20629 | } | |
20630 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20631 | #[repr(transparent)] | |
20632 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20633 | pub struct D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS(pub i32); | |
20634 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20635 | pub const D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_DENOISE: D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS = D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS(1i32); | |
20636 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20637 | pub const D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_DERINGING: D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS = D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS(2i32); | |
20638 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20639 | pub const D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_EDGE_ENHANCEMENT: D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS = D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS(4i32); | |
20640 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20641 | pub const D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_COLOR_CORRECTION: D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS = D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS(8i32); | |
20642 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20643 | pub const D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_FLESH_TONE_MAPPING: D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS = D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS(16i32); | |
20644 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20645 | pub const D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_IMAGE_STABILIZATION: D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS = D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS(32i32); | |
20646 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20647 | pub const D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_SUPER_RESOLUTION: D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS = D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS(64i32); | |
20648 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20649 | pub const D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_ANAMORPHIC_SCALING: D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS = D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS(128i32); | |
20650 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS {} | |
20651 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS { | |
20652 | fn clone(&self) -> Self { | |
20653 | *self | |
20654 | } | |
20655 | } | |
20656 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS { | |
20657 | fn default() -> Self { | |
20658 | Self(0) | |
20659 | } | |
20660 | } | |
20661 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS { | |
20662 | type TypeKind = ::windows::core::CopyType; | |
20663 | } | |
20664 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS { | |
20665 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20666 | f.debug_tuple("D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS").field(&self.0).finish() | |
20667 | } | |
20668 | } | |
20669 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20670 | #[repr(transparent)] | |
20671 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20672 | pub struct D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS(pub i32); | |
20673 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20674 | pub const D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_ROTATION: D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS = D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS(1i32); | |
20675 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20676 | pub const D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_RESIZE: D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS = D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS(2i32); | |
20677 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20678 | pub const D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_COLOR_SPACE_CONVERSION: D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS = D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS(4i32); | |
20679 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20680 | pub const D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_TRIPLE_BUFFER_OUTPUT: D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS = D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS(8i32); | |
20681 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS {} | |
20682 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS { | |
20683 | fn clone(&self) -> Self { | |
20684 | *self | |
20685 | } | |
20686 | } | |
20687 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS { | |
20688 | fn default() -> Self { | |
20689 | Self(0) | |
20690 | } | |
20691 | } | |
20692 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS { | |
20693 | type TypeKind = ::windows::core::CopyType; | |
20694 | } | |
20695 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS { | |
20696 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20697 | f.debug_tuple("D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS").field(&self.0).finish() | |
20698 | } | |
20699 | } | |
20700 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20701 | #[repr(transparent)] | |
20702 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20703 | pub struct D3D11_VIDEO_PROCESSOR_DEVICE_CAPS(pub i32); | |
20704 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20705 | pub const D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_LINEAR_SPACE: D3D11_VIDEO_PROCESSOR_DEVICE_CAPS = D3D11_VIDEO_PROCESSOR_DEVICE_CAPS(1i32); | |
20706 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20707 | pub const D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_xvYCC: D3D11_VIDEO_PROCESSOR_DEVICE_CAPS = D3D11_VIDEO_PROCESSOR_DEVICE_CAPS(2i32); | |
20708 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20709 | pub const D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_RGB_RANGE_CONVERSION: D3D11_VIDEO_PROCESSOR_DEVICE_CAPS = D3D11_VIDEO_PROCESSOR_DEVICE_CAPS(4i32); | |
20710 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20711 | pub const D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_YCbCr_MATRIX_CONVERSION: D3D11_VIDEO_PROCESSOR_DEVICE_CAPS = D3D11_VIDEO_PROCESSOR_DEVICE_CAPS(8i32); | |
20712 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20713 | pub const D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_NOMINAL_RANGE: D3D11_VIDEO_PROCESSOR_DEVICE_CAPS = D3D11_VIDEO_PROCESSOR_DEVICE_CAPS(16i32); | |
20714 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_DEVICE_CAPS {} | |
20715 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_DEVICE_CAPS { | |
20716 | fn clone(&self) -> Self { | |
20717 | *self | |
20718 | } | |
20719 | } | |
20720 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_DEVICE_CAPS { | |
20721 | fn default() -> Self { | |
20722 | Self(0) | |
20723 | } | |
20724 | } | |
20725 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_DEVICE_CAPS { | |
20726 | type TypeKind = ::windows::core::CopyType; | |
20727 | } | |
20728 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_DEVICE_CAPS { | |
20729 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20730 | f.debug_tuple("D3D11_VIDEO_PROCESSOR_DEVICE_CAPS").field(&self.0).finish() | |
20731 | } | |
20732 | } | |
20733 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20734 | #[repr(transparent)] | |
20735 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20736 | pub struct D3D11_VIDEO_PROCESSOR_FEATURE_CAPS(pub i32); | |
20737 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20738 | pub const D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_ALPHA_FILL: D3D11_VIDEO_PROCESSOR_FEATURE_CAPS = D3D11_VIDEO_PROCESSOR_FEATURE_CAPS(1i32); | |
20739 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20740 | pub const D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_CONSTRICTION: D3D11_VIDEO_PROCESSOR_FEATURE_CAPS = D3D11_VIDEO_PROCESSOR_FEATURE_CAPS(2i32); | |
20741 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20742 | pub const D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_LUMA_KEY: D3D11_VIDEO_PROCESSOR_FEATURE_CAPS = D3D11_VIDEO_PROCESSOR_FEATURE_CAPS(4i32); | |
20743 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20744 | pub const D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_ALPHA_PALETTE: D3D11_VIDEO_PROCESSOR_FEATURE_CAPS = D3D11_VIDEO_PROCESSOR_FEATURE_CAPS(8i32); | |
20745 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20746 | pub const D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_LEGACY: D3D11_VIDEO_PROCESSOR_FEATURE_CAPS = D3D11_VIDEO_PROCESSOR_FEATURE_CAPS(16i32); | |
20747 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20748 | pub const D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_STEREO: D3D11_VIDEO_PROCESSOR_FEATURE_CAPS = D3D11_VIDEO_PROCESSOR_FEATURE_CAPS(32i32); | |
20749 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20750 | pub const D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_ROTATION: D3D11_VIDEO_PROCESSOR_FEATURE_CAPS = D3D11_VIDEO_PROCESSOR_FEATURE_CAPS(64i32); | |
20751 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20752 | pub const D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_ALPHA_STREAM: D3D11_VIDEO_PROCESSOR_FEATURE_CAPS = D3D11_VIDEO_PROCESSOR_FEATURE_CAPS(128i32); | |
20753 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20754 | pub const D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_PIXEL_ASPECT_RATIO: D3D11_VIDEO_PROCESSOR_FEATURE_CAPS = D3D11_VIDEO_PROCESSOR_FEATURE_CAPS(256i32); | |
20755 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20756 | pub const D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_MIRROR: D3D11_VIDEO_PROCESSOR_FEATURE_CAPS = D3D11_VIDEO_PROCESSOR_FEATURE_CAPS(512i32); | |
20757 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20758 | pub const D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_SHADER_USAGE: D3D11_VIDEO_PROCESSOR_FEATURE_CAPS = D3D11_VIDEO_PROCESSOR_FEATURE_CAPS(1024i32); | |
20759 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20760 | pub const D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_METADATA_HDR10: D3D11_VIDEO_PROCESSOR_FEATURE_CAPS = D3D11_VIDEO_PROCESSOR_FEATURE_CAPS(2048i32); | |
20761 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_FEATURE_CAPS {} | |
20762 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_FEATURE_CAPS { | |
20763 | fn clone(&self) -> Self { | |
20764 | *self | |
20765 | } | |
20766 | } | |
20767 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_FEATURE_CAPS { | |
20768 | fn default() -> Self { | |
20769 | Self(0) | |
20770 | } | |
20771 | } | |
20772 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_FEATURE_CAPS { | |
20773 | type TypeKind = ::windows::core::CopyType; | |
20774 | } | |
20775 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_FEATURE_CAPS { | |
20776 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20777 | f.debug_tuple("D3D11_VIDEO_PROCESSOR_FEATURE_CAPS").field(&self.0).finish() | |
20778 | } | |
20779 | } | |
20780 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20781 | #[repr(transparent)] | |
20782 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20783 | pub struct D3D11_VIDEO_PROCESSOR_FILTER(pub i32); | |
20784 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20785 | pub const D3D11_VIDEO_PROCESSOR_FILTER_BRIGHTNESS: D3D11_VIDEO_PROCESSOR_FILTER = D3D11_VIDEO_PROCESSOR_FILTER(0i32); | |
20786 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20787 | pub const D3D11_VIDEO_PROCESSOR_FILTER_CONTRAST: D3D11_VIDEO_PROCESSOR_FILTER = D3D11_VIDEO_PROCESSOR_FILTER(1i32); | |
20788 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20789 | pub const D3D11_VIDEO_PROCESSOR_FILTER_HUE: D3D11_VIDEO_PROCESSOR_FILTER = D3D11_VIDEO_PROCESSOR_FILTER(2i32); | |
20790 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20791 | pub const D3D11_VIDEO_PROCESSOR_FILTER_SATURATION: D3D11_VIDEO_PROCESSOR_FILTER = D3D11_VIDEO_PROCESSOR_FILTER(3i32); | |
20792 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20793 | pub const D3D11_VIDEO_PROCESSOR_FILTER_NOISE_REDUCTION: D3D11_VIDEO_PROCESSOR_FILTER = D3D11_VIDEO_PROCESSOR_FILTER(4i32); | |
20794 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20795 | pub const D3D11_VIDEO_PROCESSOR_FILTER_EDGE_ENHANCEMENT: D3D11_VIDEO_PROCESSOR_FILTER = D3D11_VIDEO_PROCESSOR_FILTER(5i32); | |
20796 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20797 | pub const D3D11_VIDEO_PROCESSOR_FILTER_ANAMORPHIC_SCALING: D3D11_VIDEO_PROCESSOR_FILTER = D3D11_VIDEO_PROCESSOR_FILTER(6i32); | |
20798 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20799 | pub const D3D11_VIDEO_PROCESSOR_FILTER_STEREO_ADJUSTMENT: D3D11_VIDEO_PROCESSOR_FILTER = D3D11_VIDEO_PROCESSOR_FILTER(7i32); | |
20800 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_FILTER {} | |
20801 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_FILTER { | |
20802 | fn clone(&self) -> Self { | |
20803 | *self | |
20804 | } | |
20805 | } | |
20806 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_FILTER { | |
20807 | fn default() -> Self { | |
20808 | Self(0) | |
20809 | } | |
20810 | } | |
20811 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_FILTER { | |
20812 | type TypeKind = ::windows::core::CopyType; | |
20813 | } | |
20814 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_FILTER { | |
20815 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20816 | f.debug_tuple("D3D11_VIDEO_PROCESSOR_FILTER").field(&self.0).finish() | |
20817 | } | |
20818 | } | |
20819 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20820 | #[repr(transparent)] | |
20821 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20822 | pub struct D3D11_VIDEO_PROCESSOR_FILTER_CAPS(pub i32); | |
20823 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20824 | pub const D3D11_VIDEO_PROCESSOR_FILTER_CAPS_BRIGHTNESS: D3D11_VIDEO_PROCESSOR_FILTER_CAPS = D3D11_VIDEO_PROCESSOR_FILTER_CAPS(1i32); | |
20825 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20826 | pub const D3D11_VIDEO_PROCESSOR_FILTER_CAPS_CONTRAST: D3D11_VIDEO_PROCESSOR_FILTER_CAPS = D3D11_VIDEO_PROCESSOR_FILTER_CAPS(2i32); | |
20827 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20828 | pub const D3D11_VIDEO_PROCESSOR_FILTER_CAPS_HUE: D3D11_VIDEO_PROCESSOR_FILTER_CAPS = D3D11_VIDEO_PROCESSOR_FILTER_CAPS(4i32); | |
20829 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20830 | pub const D3D11_VIDEO_PROCESSOR_FILTER_CAPS_SATURATION: D3D11_VIDEO_PROCESSOR_FILTER_CAPS = D3D11_VIDEO_PROCESSOR_FILTER_CAPS(8i32); | |
20831 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20832 | pub const D3D11_VIDEO_PROCESSOR_FILTER_CAPS_NOISE_REDUCTION: D3D11_VIDEO_PROCESSOR_FILTER_CAPS = D3D11_VIDEO_PROCESSOR_FILTER_CAPS(16i32); | |
20833 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20834 | pub const D3D11_VIDEO_PROCESSOR_FILTER_CAPS_EDGE_ENHANCEMENT: D3D11_VIDEO_PROCESSOR_FILTER_CAPS = D3D11_VIDEO_PROCESSOR_FILTER_CAPS(32i32); | |
20835 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20836 | pub const D3D11_VIDEO_PROCESSOR_FILTER_CAPS_ANAMORPHIC_SCALING: D3D11_VIDEO_PROCESSOR_FILTER_CAPS = D3D11_VIDEO_PROCESSOR_FILTER_CAPS(64i32); | |
20837 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20838 | pub const D3D11_VIDEO_PROCESSOR_FILTER_CAPS_STEREO_ADJUSTMENT: D3D11_VIDEO_PROCESSOR_FILTER_CAPS = D3D11_VIDEO_PROCESSOR_FILTER_CAPS(128i32); | |
20839 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_FILTER_CAPS {} | |
20840 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_FILTER_CAPS { | |
20841 | fn clone(&self) -> Self { | |
20842 | *self | |
20843 | } | |
20844 | } | |
20845 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_FILTER_CAPS { | |
20846 | fn default() -> Self { | |
20847 | Self(0) | |
20848 | } | |
20849 | } | |
20850 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_FILTER_CAPS { | |
20851 | type TypeKind = ::windows::core::CopyType; | |
20852 | } | |
20853 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_FILTER_CAPS { | |
20854 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20855 | f.debug_tuple("D3D11_VIDEO_PROCESSOR_FILTER_CAPS").field(&self.0).finish() | |
20856 | } | |
20857 | } | |
20858 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20859 | #[repr(transparent)] | |
20860 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20861 | pub struct D3D11_VIDEO_PROCESSOR_FORMAT_CAPS(pub i32); | |
20862 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20863 | pub const D3D11_VIDEO_PROCESSOR_FORMAT_CAPS_RGB_INTERLACED: D3D11_VIDEO_PROCESSOR_FORMAT_CAPS = D3D11_VIDEO_PROCESSOR_FORMAT_CAPS(1i32); | |
20864 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20865 | pub const D3D11_VIDEO_PROCESSOR_FORMAT_CAPS_RGB_PROCAMP: D3D11_VIDEO_PROCESSOR_FORMAT_CAPS = D3D11_VIDEO_PROCESSOR_FORMAT_CAPS(2i32); | |
20866 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20867 | pub const D3D11_VIDEO_PROCESSOR_FORMAT_CAPS_RGB_LUMA_KEY: D3D11_VIDEO_PROCESSOR_FORMAT_CAPS = D3D11_VIDEO_PROCESSOR_FORMAT_CAPS(4i32); | |
20868 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20869 | pub const D3D11_VIDEO_PROCESSOR_FORMAT_CAPS_PALETTE_INTERLACED: D3D11_VIDEO_PROCESSOR_FORMAT_CAPS = D3D11_VIDEO_PROCESSOR_FORMAT_CAPS(8i32); | |
20870 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_FORMAT_CAPS {} | |
20871 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_FORMAT_CAPS { | |
20872 | fn clone(&self) -> Self { | |
20873 | *self | |
20874 | } | |
20875 | } | |
20876 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_FORMAT_CAPS { | |
20877 | fn default() -> Self { | |
20878 | Self(0) | |
20879 | } | |
20880 | } | |
20881 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_FORMAT_CAPS { | |
20882 | type TypeKind = ::windows::core::CopyType; | |
20883 | } | |
20884 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_FORMAT_CAPS { | |
20885 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20886 | f.debug_tuple("D3D11_VIDEO_PROCESSOR_FORMAT_CAPS").field(&self.0).finish() | |
20887 | } | |
20888 | } | |
20889 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20890 | #[repr(transparent)] | |
20891 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20892 | pub struct D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT(pub i32); | |
20893 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20894 | pub const D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_INPUT: D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT = D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT(1i32); | |
20895 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20896 | pub const D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_OUTPUT: D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT = D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT(2i32); | |
20897 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT {} | |
20898 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT { | |
20899 | fn clone(&self) -> Self { | |
20900 | *self | |
20901 | } | |
20902 | } | |
20903 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT { | |
20904 | fn default() -> Self { | |
20905 | Self(0) | |
20906 | } | |
20907 | } | |
20908 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT { | |
20909 | type TypeKind = ::windows::core::CopyType; | |
20910 | } | |
20911 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT { | |
20912 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20913 | f.debug_tuple("D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT").field(&self.0).finish() | |
20914 | } | |
20915 | } | |
20916 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20917 | #[repr(transparent)] | |
20918 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20919 | pub struct D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS(pub i32); | |
20920 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20921 | pub const D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_32: D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS = D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS(1i32); | |
20922 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20923 | pub const D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_22: D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS = D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS(2i32); | |
20924 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20925 | pub const D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_2224: D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS = D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS(4i32); | |
20926 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20927 | pub const D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_2332: D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS = D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS(8i32); | |
20928 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20929 | pub const D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_32322: D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS = D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS(16i32); | |
20930 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20931 | pub const D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_55: D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS = D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS(32i32); | |
20932 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20933 | pub const D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_64: D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS = D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS(64i32); | |
20934 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20935 | pub const D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_87: D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS = D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS(128i32); | |
20936 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20937 | pub const D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_222222222223: D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS = D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS(256i32); | |
20938 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20939 | pub const D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_OTHER: D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS = D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS(-2147483648i32); | |
20940 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS {} | |
20941 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS { | |
20942 | fn clone(&self) -> Self { | |
20943 | *self | |
20944 | } | |
20945 | } | |
20946 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS { | |
20947 | fn default() -> Self { | |
20948 | Self(0) | |
20949 | } | |
20950 | } | |
20951 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS { | |
20952 | type TypeKind = ::windows::core::CopyType; | |
20953 | } | |
20954 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS { | |
20955 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20956 | f.debug_tuple("D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS").field(&self.0).finish() | |
20957 | } | |
20958 | } | |
20959 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20960 | #[repr(transparent)] | |
20961 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20962 | pub struct D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE(pub i32); | |
20963 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20964 | pub const D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE_UNDEFINED: D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE = D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE(0i32); | |
20965 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20966 | pub const D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE_16_235: D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE = D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE(1i32); | |
20967 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20968 | pub const D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE_0_255: D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE = D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE(2i32); | |
20969 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE {} | |
20970 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE { | |
20971 | fn clone(&self) -> Self { | |
20972 | *self | |
20973 | } | |
20974 | } | |
20975 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE { | |
20976 | fn default() -> Self { | |
20977 | Self(0) | |
20978 | } | |
20979 | } | |
20980 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE { | |
20981 | type TypeKind = ::windows::core::CopyType; | |
20982 | } | |
20983 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE { | |
20984 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
20985 | f.debug_tuple("D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE").field(&self.0).finish() | |
20986 | } | |
20987 | } | |
20988 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20989 | #[repr(transparent)] | |
20990 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
20991 | pub struct D3D11_VIDEO_PROCESSOR_OUTPUT_RATE(pub i32); | |
20992 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20993 | pub const D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_NORMAL: D3D11_VIDEO_PROCESSOR_OUTPUT_RATE = D3D11_VIDEO_PROCESSOR_OUTPUT_RATE(0i32); | |
20994 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20995 | pub const D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_HALF: D3D11_VIDEO_PROCESSOR_OUTPUT_RATE = D3D11_VIDEO_PROCESSOR_OUTPUT_RATE(1i32); | |
20996 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
20997 | pub const D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_CUSTOM: D3D11_VIDEO_PROCESSOR_OUTPUT_RATE = D3D11_VIDEO_PROCESSOR_OUTPUT_RATE(2i32); | |
20998 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_OUTPUT_RATE {} | |
20999 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_OUTPUT_RATE { | |
21000 | fn clone(&self) -> Self { | |
21001 | *self | |
21002 | } | |
21003 | } | |
21004 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_OUTPUT_RATE { | |
21005 | fn default() -> Self { | |
21006 | Self(0) | |
21007 | } | |
21008 | } | |
21009 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_OUTPUT_RATE { | |
21010 | type TypeKind = ::windows::core::CopyType; | |
21011 | } | |
21012 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_OUTPUT_RATE { | |
21013 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21014 | f.debug_tuple("D3D11_VIDEO_PROCESSOR_OUTPUT_RATE").field(&self.0).finish() | |
21015 | } | |
21016 | } | |
21017 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21018 | #[repr(transparent)] | |
21019 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
21020 | pub struct D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS(pub i32); | |
21021 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21022 | pub const D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_BLEND: D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS = D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS(1i32); | |
21023 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21024 | pub const D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_BOB: D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS = D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS(2i32); | |
21025 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21026 | pub const D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_ADAPTIVE: D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS = D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS(4i32); | |
21027 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21028 | pub const D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_MOTION_COMPENSATION: D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS = D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS(8i32); | |
21029 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21030 | pub const D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_INVERSE_TELECINE: D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS = D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS(16i32); | |
21031 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21032 | pub const D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_FRAME_RATE_CONVERSION: D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS = D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS(32i32); | |
21033 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS {} | |
21034 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS { | |
21035 | fn clone(&self) -> Self { | |
21036 | *self | |
21037 | } | |
21038 | } | |
21039 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS { | |
21040 | fn default() -> Self { | |
21041 | Self(0) | |
21042 | } | |
21043 | } | |
21044 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS { | |
21045 | type TypeKind = ::windows::core::CopyType; | |
21046 | } | |
21047 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS { | |
21048 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21049 | f.debug_tuple("D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS").field(&self.0).finish() | |
21050 | } | |
21051 | } | |
21052 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21053 | #[repr(transparent)] | |
21054 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
21055 | pub struct D3D11_VIDEO_PROCESSOR_ROTATION(pub i32); | |
21056 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21057 | pub const D3D11_VIDEO_PROCESSOR_ROTATION_IDENTITY: D3D11_VIDEO_PROCESSOR_ROTATION = D3D11_VIDEO_PROCESSOR_ROTATION(0i32); | |
21058 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21059 | pub const D3D11_VIDEO_PROCESSOR_ROTATION_90: D3D11_VIDEO_PROCESSOR_ROTATION = D3D11_VIDEO_PROCESSOR_ROTATION(1i32); | |
21060 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21061 | pub const D3D11_VIDEO_PROCESSOR_ROTATION_180: D3D11_VIDEO_PROCESSOR_ROTATION = D3D11_VIDEO_PROCESSOR_ROTATION(2i32); | |
21062 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21063 | pub const D3D11_VIDEO_PROCESSOR_ROTATION_270: D3D11_VIDEO_PROCESSOR_ROTATION = D3D11_VIDEO_PROCESSOR_ROTATION(3i32); | |
21064 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_ROTATION {} | |
21065 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_ROTATION { | |
21066 | fn clone(&self) -> Self { | |
21067 | *self | |
21068 | } | |
21069 | } | |
21070 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_ROTATION { | |
21071 | fn default() -> Self { | |
21072 | Self(0) | |
21073 | } | |
21074 | } | |
21075 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_ROTATION { | |
21076 | type TypeKind = ::windows::core::CopyType; | |
21077 | } | |
21078 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_ROTATION { | |
21079 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21080 | f.debug_tuple("D3D11_VIDEO_PROCESSOR_ROTATION").field(&self.0).finish() | |
21081 | } | |
21082 | } | |
21083 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21084 | #[repr(transparent)] | |
21085 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
21086 | pub struct D3D11_VIDEO_PROCESSOR_STEREO_CAPS(pub i32); | |
21087 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21088 | pub const D3D11_VIDEO_PROCESSOR_STEREO_CAPS_MONO_OFFSET: D3D11_VIDEO_PROCESSOR_STEREO_CAPS = D3D11_VIDEO_PROCESSOR_STEREO_CAPS(1i32); | |
21089 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21090 | pub const D3D11_VIDEO_PROCESSOR_STEREO_CAPS_ROW_INTERLEAVED: D3D11_VIDEO_PROCESSOR_STEREO_CAPS = D3D11_VIDEO_PROCESSOR_STEREO_CAPS(2i32); | |
21091 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21092 | pub const D3D11_VIDEO_PROCESSOR_STEREO_CAPS_COLUMN_INTERLEAVED: D3D11_VIDEO_PROCESSOR_STEREO_CAPS = D3D11_VIDEO_PROCESSOR_STEREO_CAPS(4i32); | |
21093 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21094 | pub const D3D11_VIDEO_PROCESSOR_STEREO_CAPS_CHECKERBOARD: D3D11_VIDEO_PROCESSOR_STEREO_CAPS = D3D11_VIDEO_PROCESSOR_STEREO_CAPS(8i32); | |
21095 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21096 | pub const D3D11_VIDEO_PROCESSOR_STEREO_CAPS_FLIP_MODE: D3D11_VIDEO_PROCESSOR_STEREO_CAPS = D3D11_VIDEO_PROCESSOR_STEREO_CAPS(16i32); | |
21097 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_STEREO_CAPS {} | |
21098 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_STEREO_CAPS { | |
21099 | fn clone(&self) -> Self { | |
21100 | *self | |
21101 | } | |
21102 | } | |
21103 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_STEREO_CAPS { | |
21104 | fn default() -> Self { | |
21105 | Self(0) | |
21106 | } | |
21107 | } | |
21108 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_STEREO_CAPS { | |
21109 | type TypeKind = ::windows::core::CopyType; | |
21110 | } | |
21111 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_STEREO_CAPS { | |
21112 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21113 | f.debug_tuple("D3D11_VIDEO_PROCESSOR_STEREO_CAPS").field(&self.0).finish() | |
21114 | } | |
21115 | } | |
21116 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21117 | #[repr(transparent)] | |
21118 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
21119 | pub struct D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE(pub i32); | |
21120 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21121 | pub const D3D11_VIDEO_PROCESSOR_STEREO_FLIP_NONE: D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE = D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE(0i32); | |
21122 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21123 | pub const D3D11_VIDEO_PROCESSOR_STEREO_FLIP_FRAME0: D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE = D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE(1i32); | |
21124 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21125 | pub const D3D11_VIDEO_PROCESSOR_STEREO_FLIP_FRAME1: D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE = D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE(2i32); | |
21126 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE {} | |
21127 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE { | |
21128 | fn clone(&self) -> Self { | |
21129 | *self | |
21130 | } | |
21131 | } | |
21132 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE { | |
21133 | fn default() -> Self { | |
21134 | Self(0) | |
21135 | } | |
21136 | } | |
21137 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE { | |
21138 | type TypeKind = ::windows::core::CopyType; | |
21139 | } | |
21140 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE { | |
21141 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21142 | f.debug_tuple("D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE").field(&self.0).finish() | |
21143 | } | |
21144 | } | |
21145 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21146 | #[repr(transparent)] | |
21147 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
21148 | pub struct D3D11_VIDEO_PROCESSOR_STEREO_FORMAT(pub i32); | |
21149 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21150 | pub const D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_MONO: D3D11_VIDEO_PROCESSOR_STEREO_FORMAT = D3D11_VIDEO_PROCESSOR_STEREO_FORMAT(0i32); | |
21151 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21152 | pub const D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_HORIZONTAL: D3D11_VIDEO_PROCESSOR_STEREO_FORMAT = D3D11_VIDEO_PROCESSOR_STEREO_FORMAT(1i32); | |
21153 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21154 | pub const D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_VERTICAL: D3D11_VIDEO_PROCESSOR_STEREO_FORMAT = D3D11_VIDEO_PROCESSOR_STEREO_FORMAT(2i32); | |
21155 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21156 | pub const D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_SEPARATE: D3D11_VIDEO_PROCESSOR_STEREO_FORMAT = D3D11_VIDEO_PROCESSOR_STEREO_FORMAT(3i32); | |
21157 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21158 | pub const D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_MONO_OFFSET: D3D11_VIDEO_PROCESSOR_STEREO_FORMAT = D3D11_VIDEO_PROCESSOR_STEREO_FORMAT(4i32); | |
21159 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21160 | pub const D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_ROW_INTERLEAVED: D3D11_VIDEO_PROCESSOR_STEREO_FORMAT = D3D11_VIDEO_PROCESSOR_STEREO_FORMAT(5i32); | |
21161 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21162 | pub const D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_COLUMN_INTERLEAVED: D3D11_VIDEO_PROCESSOR_STEREO_FORMAT = D3D11_VIDEO_PROCESSOR_STEREO_FORMAT(6i32); | |
21163 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21164 | pub const D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_CHECKERBOARD: D3D11_VIDEO_PROCESSOR_STEREO_FORMAT = D3D11_VIDEO_PROCESSOR_STEREO_FORMAT(7i32); | |
21165 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_STEREO_FORMAT {} | |
21166 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_STEREO_FORMAT { | |
21167 | fn clone(&self) -> Self { | |
21168 | *self | |
21169 | } | |
21170 | } | |
21171 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_STEREO_FORMAT { | |
21172 | fn default() -> Self { | |
21173 | Self(0) | |
21174 | } | |
21175 | } | |
21176 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_STEREO_FORMAT { | |
21177 | type TypeKind = ::windows::core::CopyType; | |
21178 | } | |
21179 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_STEREO_FORMAT { | |
21180 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21181 | f.debug_tuple("D3D11_VIDEO_PROCESSOR_STEREO_FORMAT").field(&self.0).finish() | |
21182 | } | |
21183 | } | |
21184 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21185 | #[repr(transparent)] | |
21186 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
21187 | pub struct D3D11_VIDEO_USAGE(pub i32); | |
21188 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21189 | pub const D3D11_VIDEO_USAGE_PLAYBACK_NORMAL: D3D11_VIDEO_USAGE = D3D11_VIDEO_USAGE(0i32); | |
21190 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21191 | pub const D3D11_VIDEO_USAGE_OPTIMAL_SPEED: D3D11_VIDEO_USAGE = D3D11_VIDEO_USAGE(1i32); | |
21192 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21193 | pub const D3D11_VIDEO_USAGE_OPTIMAL_QUALITY: D3D11_VIDEO_USAGE = D3D11_VIDEO_USAGE(2i32); | |
21194 | impl ::core::marker::Copy for D3D11_VIDEO_USAGE {} | |
21195 | impl ::core::clone::Clone for D3D11_VIDEO_USAGE { | |
21196 | fn clone(&self) -> Self { | |
21197 | *self | |
21198 | } | |
21199 | } | |
21200 | impl ::core::default::Default for D3D11_VIDEO_USAGE { | |
21201 | fn default() -> Self { | |
21202 | Self(0) | |
21203 | } | |
21204 | } | |
21205 | impl ::windows::core::TypeKind for D3D11_VIDEO_USAGE { | |
21206 | type TypeKind = ::windows::core::CopyType; | |
21207 | } | |
21208 | impl ::core::fmt::Debug for D3D11_VIDEO_USAGE { | |
21209 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21210 | f.debug_tuple("D3D11_VIDEO_USAGE").field(&self.0).finish() | |
21211 | } | |
21212 | } | |
21213 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21214 | #[repr(transparent)] | |
21215 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
21216 | pub struct D3D11_VPIV_DIMENSION(pub i32); | |
21217 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21218 | pub const D3D11_VPIV_DIMENSION_UNKNOWN: D3D11_VPIV_DIMENSION = D3D11_VPIV_DIMENSION(0i32); | |
21219 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21220 | pub const D3D11_VPIV_DIMENSION_TEXTURE2D: D3D11_VPIV_DIMENSION = D3D11_VPIV_DIMENSION(1i32); | |
21221 | impl ::core::marker::Copy for D3D11_VPIV_DIMENSION {} | |
21222 | impl ::core::clone::Clone for D3D11_VPIV_DIMENSION { | |
21223 | fn clone(&self) -> Self { | |
21224 | *self | |
21225 | } | |
21226 | } | |
21227 | impl ::core::default::Default for D3D11_VPIV_DIMENSION { | |
21228 | fn default() -> Self { | |
21229 | Self(0) | |
21230 | } | |
21231 | } | |
21232 | impl ::windows::core::TypeKind for D3D11_VPIV_DIMENSION { | |
21233 | type TypeKind = ::windows::core::CopyType; | |
21234 | } | |
21235 | impl ::core::fmt::Debug for D3D11_VPIV_DIMENSION { | |
21236 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21237 | f.debug_tuple("D3D11_VPIV_DIMENSION").field(&self.0).finish() | |
21238 | } | |
21239 | } | |
21240 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21241 | #[repr(transparent)] | |
21242 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
21243 | pub struct D3D11_VPOV_DIMENSION(pub i32); | |
21244 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21245 | pub const D3D11_VPOV_DIMENSION_UNKNOWN: D3D11_VPOV_DIMENSION = D3D11_VPOV_DIMENSION(0i32); | |
21246 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21247 | pub const D3D11_VPOV_DIMENSION_TEXTURE2D: D3D11_VPOV_DIMENSION = D3D11_VPOV_DIMENSION(1i32); | |
21248 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21249 | pub const D3D11_VPOV_DIMENSION_TEXTURE2DARRAY: D3D11_VPOV_DIMENSION = D3D11_VPOV_DIMENSION(2i32); | |
21250 | impl ::core::marker::Copy for D3D11_VPOV_DIMENSION {} | |
21251 | impl ::core::clone::Clone for D3D11_VPOV_DIMENSION { | |
21252 | fn clone(&self) -> Self { | |
21253 | *self | |
21254 | } | |
21255 | } | |
21256 | impl ::core::default::Default for D3D11_VPOV_DIMENSION { | |
21257 | fn default() -> Self { | |
21258 | Self(0) | |
21259 | } | |
21260 | } | |
21261 | impl ::windows::core::TypeKind for D3D11_VPOV_DIMENSION { | |
21262 | type TypeKind = ::windows::core::CopyType; | |
21263 | } | |
21264 | impl ::core::fmt::Debug for D3D11_VPOV_DIMENSION { | |
21265 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21266 | f.debug_tuple("D3D11_VPOV_DIMENSION").field(&self.0).finish() | |
21267 | } | |
21268 | } | |
21269 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21270 | #[repr(transparent)] | |
21271 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
21272 | pub struct D3DX11_FFT_CREATE_FLAG(pub i32); | |
21273 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21274 | pub const D3DX11_FFT_CREATE_FLAG_NO_PRECOMPUTE_BUFFERS: D3DX11_FFT_CREATE_FLAG = D3DX11_FFT_CREATE_FLAG(1i32); | |
21275 | impl ::core::marker::Copy for D3DX11_FFT_CREATE_FLAG {} | |
21276 | impl ::core::clone::Clone for D3DX11_FFT_CREATE_FLAG { | |
21277 | fn clone(&self) -> Self { | |
21278 | *self | |
21279 | } | |
21280 | } | |
21281 | impl ::core::default::Default for D3DX11_FFT_CREATE_FLAG { | |
21282 | fn default() -> Self { | |
21283 | Self(0) | |
21284 | } | |
21285 | } | |
21286 | impl ::windows::core::TypeKind for D3DX11_FFT_CREATE_FLAG { | |
21287 | type TypeKind = ::windows::core::CopyType; | |
21288 | } | |
21289 | impl ::core::fmt::Debug for D3DX11_FFT_CREATE_FLAG { | |
21290 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21291 | f.debug_tuple("D3DX11_FFT_CREATE_FLAG").field(&self.0).finish() | |
21292 | } | |
21293 | } | |
21294 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21295 | #[repr(transparent)] | |
21296 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
21297 | pub struct D3DX11_FFT_DATA_TYPE(pub i32); | |
21298 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21299 | pub const D3DX11_FFT_DATA_TYPE_REAL: D3DX11_FFT_DATA_TYPE = D3DX11_FFT_DATA_TYPE(0i32); | |
21300 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21301 | pub const D3DX11_FFT_DATA_TYPE_COMPLEX: D3DX11_FFT_DATA_TYPE = D3DX11_FFT_DATA_TYPE(1i32); | |
21302 | impl ::core::marker::Copy for D3DX11_FFT_DATA_TYPE {} | |
21303 | impl ::core::clone::Clone for D3DX11_FFT_DATA_TYPE { | |
21304 | fn clone(&self) -> Self { | |
21305 | *self | |
21306 | } | |
21307 | } | |
21308 | impl ::core::default::Default for D3DX11_FFT_DATA_TYPE { | |
21309 | fn default() -> Self { | |
21310 | Self(0) | |
21311 | } | |
21312 | } | |
21313 | impl ::windows::core::TypeKind for D3DX11_FFT_DATA_TYPE { | |
21314 | type TypeKind = ::windows::core::CopyType; | |
21315 | } | |
21316 | impl ::core::fmt::Debug for D3DX11_FFT_DATA_TYPE { | |
21317 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21318 | f.debug_tuple("D3DX11_FFT_DATA_TYPE").field(&self.0).finish() | |
21319 | } | |
21320 | } | |
21321 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21322 | #[repr(transparent)] | |
21323 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
21324 | pub struct D3DX11_FFT_DIM_MASK(pub i32); | |
21325 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21326 | pub const D3DX11_FFT_DIM_MASK_1D: D3DX11_FFT_DIM_MASK = D3DX11_FFT_DIM_MASK(1i32); | |
21327 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21328 | pub const D3DX11_FFT_DIM_MASK_2D: D3DX11_FFT_DIM_MASK = D3DX11_FFT_DIM_MASK(3i32); | |
21329 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21330 | pub const D3DX11_FFT_DIM_MASK_3D: D3DX11_FFT_DIM_MASK = D3DX11_FFT_DIM_MASK(7i32); | |
21331 | impl ::core::marker::Copy for D3DX11_FFT_DIM_MASK {} | |
21332 | impl ::core::clone::Clone for D3DX11_FFT_DIM_MASK { | |
21333 | fn clone(&self) -> Self { | |
21334 | *self | |
21335 | } | |
21336 | } | |
21337 | impl ::core::default::Default for D3DX11_FFT_DIM_MASK { | |
21338 | fn default() -> Self { | |
21339 | Self(0) | |
21340 | } | |
21341 | } | |
21342 | impl ::windows::core::TypeKind for D3DX11_FFT_DIM_MASK { | |
21343 | type TypeKind = ::windows::core::CopyType; | |
21344 | } | |
21345 | impl ::core::fmt::Debug for D3DX11_FFT_DIM_MASK { | |
21346 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21347 | f.debug_tuple("D3DX11_FFT_DIM_MASK").field(&self.0).finish() | |
21348 | } | |
21349 | } | |
21350 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21351 | #[repr(transparent)] | |
21352 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
21353 | pub struct D3DX11_SCAN_DATA_TYPE(pub i32); | |
21354 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21355 | pub const D3DX11_SCAN_DATA_TYPE_FLOAT: D3DX11_SCAN_DATA_TYPE = D3DX11_SCAN_DATA_TYPE(1i32); | |
21356 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21357 | pub const D3DX11_SCAN_DATA_TYPE_INT: D3DX11_SCAN_DATA_TYPE = D3DX11_SCAN_DATA_TYPE(2i32); | |
21358 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21359 | pub const D3DX11_SCAN_DATA_TYPE_UINT: D3DX11_SCAN_DATA_TYPE = D3DX11_SCAN_DATA_TYPE(3i32); | |
21360 | impl ::core::marker::Copy for D3DX11_SCAN_DATA_TYPE {} | |
21361 | impl ::core::clone::Clone for D3DX11_SCAN_DATA_TYPE { | |
21362 | fn clone(&self) -> Self { | |
21363 | *self | |
21364 | } | |
21365 | } | |
21366 | impl ::core::default::Default for D3DX11_SCAN_DATA_TYPE { | |
21367 | fn default() -> Self { | |
21368 | Self(0) | |
21369 | } | |
21370 | } | |
21371 | impl ::windows::core::TypeKind for D3DX11_SCAN_DATA_TYPE { | |
21372 | type TypeKind = ::windows::core::CopyType; | |
21373 | } | |
21374 | impl ::core::fmt::Debug for D3DX11_SCAN_DATA_TYPE { | |
21375 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21376 | f.debug_tuple("D3DX11_SCAN_DATA_TYPE").field(&self.0).finish() | |
21377 | } | |
21378 | } | |
21379 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21380 | #[repr(transparent)] | |
21381 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
21382 | pub struct D3DX11_SCAN_DIRECTION(pub i32); | |
21383 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21384 | pub const D3DX11_SCAN_DIRECTION_FORWARD: D3DX11_SCAN_DIRECTION = D3DX11_SCAN_DIRECTION(1i32); | |
21385 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21386 | pub const D3DX11_SCAN_DIRECTION_BACKWARD: D3DX11_SCAN_DIRECTION = D3DX11_SCAN_DIRECTION(2i32); | |
21387 | impl ::core::marker::Copy for D3DX11_SCAN_DIRECTION {} | |
21388 | impl ::core::clone::Clone for D3DX11_SCAN_DIRECTION { | |
21389 | fn clone(&self) -> Self { | |
21390 | *self | |
21391 | } | |
21392 | } | |
21393 | impl ::core::default::Default for D3DX11_SCAN_DIRECTION { | |
21394 | fn default() -> Self { | |
21395 | Self(0) | |
21396 | } | |
21397 | } | |
21398 | impl ::windows::core::TypeKind for D3DX11_SCAN_DIRECTION { | |
21399 | type TypeKind = ::windows::core::CopyType; | |
21400 | } | |
21401 | impl ::core::fmt::Debug for D3DX11_SCAN_DIRECTION { | |
21402 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21403 | f.debug_tuple("D3DX11_SCAN_DIRECTION").field(&self.0).finish() | |
21404 | } | |
21405 | } | |
21406 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21407 | #[repr(transparent)] | |
21408 | #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] | |
21409 | pub struct D3DX11_SCAN_OPCODE(pub i32); | |
21410 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21411 | pub const D3DX11_SCAN_OPCODE_ADD: D3DX11_SCAN_OPCODE = D3DX11_SCAN_OPCODE(1i32); | |
21412 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21413 | pub const D3DX11_SCAN_OPCODE_MIN: D3DX11_SCAN_OPCODE = D3DX11_SCAN_OPCODE(2i32); | |
21414 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21415 | pub const D3DX11_SCAN_OPCODE_MAX: D3DX11_SCAN_OPCODE = D3DX11_SCAN_OPCODE(3i32); | |
21416 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21417 | pub const D3DX11_SCAN_OPCODE_MUL: D3DX11_SCAN_OPCODE = D3DX11_SCAN_OPCODE(4i32); | |
21418 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21419 | pub const D3DX11_SCAN_OPCODE_AND: D3DX11_SCAN_OPCODE = D3DX11_SCAN_OPCODE(5i32); | |
21420 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21421 | pub const D3DX11_SCAN_OPCODE_OR: D3DX11_SCAN_OPCODE = D3DX11_SCAN_OPCODE(6i32); | |
21422 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21423 | pub const D3DX11_SCAN_OPCODE_XOR: D3DX11_SCAN_OPCODE = D3DX11_SCAN_OPCODE(7i32); | |
21424 | impl ::core::marker::Copy for D3DX11_SCAN_OPCODE {} | |
21425 | impl ::core::clone::Clone for D3DX11_SCAN_OPCODE { | |
21426 | fn clone(&self) -> Self { | |
21427 | *self | |
21428 | } | |
21429 | } | |
21430 | impl ::core::default::Default for D3DX11_SCAN_OPCODE { | |
21431 | fn default() -> Self { | |
21432 | Self(0) | |
21433 | } | |
21434 | } | |
21435 | impl ::windows::core::TypeKind for D3DX11_SCAN_OPCODE { | |
21436 | type TypeKind = ::windows::core::CopyType; | |
21437 | } | |
21438 | impl ::core::fmt::Debug for D3DX11_SCAN_OPCODE { | |
21439 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21440 | f.debug_tuple("D3DX11_SCAN_OPCODE").field(&self.0).finish() | |
21441 | } | |
21442 | } | |
21443 | #[repr(C)] | |
21444 | pub struct CD3D11_VIDEO_DEFAULT(pub u8); | |
21445 | #[repr(C)] | |
21446 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21447 | pub struct D3D11_AES_CTR_IV { | |
21448 | pub IV: u64, | |
21449 | pub Count: u64, | |
21450 | } | |
21451 | impl ::core::marker::Copy for D3D11_AES_CTR_IV {} | |
21452 | impl ::core::clone::Clone for D3D11_AES_CTR_IV { | |
21453 | fn clone(&self) -> Self { | |
21454 | *self | |
21455 | } | |
21456 | } | |
21457 | impl ::core::fmt::Debug for D3D11_AES_CTR_IV { | |
21458 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21459 | f.debug_struct("D3D11_AES_CTR_IV").field("IV", &self.IV).field("Count", &self.Count).finish() | |
21460 | } | |
21461 | } | |
21462 | impl ::windows::core::TypeKind for D3D11_AES_CTR_IV { | |
21463 | type TypeKind = ::windows::core::CopyType; | |
21464 | } | |
21465 | impl ::core::cmp::PartialEq for D3D11_AES_CTR_IV { | |
21466 | fn eq(&self, other: &Self) -> bool { | |
21467 | self.IV == other.IV && self.Count == other.Count | |
21468 | } | |
21469 | } | |
21470 | impl ::core::cmp::Eq for D3D11_AES_CTR_IV {} | |
21471 | impl ::core::default::Default for D3D11_AES_CTR_IV { | |
21472 | fn default() -> Self { | |
21473 | unsafe { ::core::mem::zeroed() } | |
21474 | } | |
21475 | } | |
21476 | #[repr(C)] | |
21477 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
21478 | #[cfg(feature = "Win32_Foundation")] | |
21479 | pub struct D3D11_AUTHENTICATED_CONFIGURE_ACCESSIBLE_ENCRYPTION_INPUT { | |
21480 | pub Parameters: D3D11_AUTHENTICATED_CONFIGURE_INPUT, | |
21481 | pub EncryptionGuid: ::windows::core::GUID, | |
21482 | } | |
21483 | #[cfg(feature = "Win32_Foundation")] | |
21484 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_CONFIGURE_ACCESSIBLE_ENCRYPTION_INPUT {} | |
21485 | #[cfg(feature = "Win32_Foundation")] | |
21486 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_CONFIGURE_ACCESSIBLE_ENCRYPTION_INPUT { | |
21487 | fn clone(&self) -> Self { | |
21488 | *self | |
21489 | } | |
21490 | } | |
21491 | #[cfg(feature = "Win32_Foundation")] | |
21492 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_CONFIGURE_ACCESSIBLE_ENCRYPTION_INPUT { | |
21493 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21494 | f.debug_struct("D3D11_AUTHENTICATED_CONFIGURE_ACCESSIBLE_ENCRYPTION_INPUT").field("Parameters", &self.Parameters).field("EncryptionGuid", &self.EncryptionGuid).finish() | |
21495 | } | |
21496 | } | |
21497 | #[cfg(feature = "Win32_Foundation")] | |
21498 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_CONFIGURE_ACCESSIBLE_ENCRYPTION_INPUT { | |
21499 | type TypeKind = ::windows::core::CopyType; | |
21500 | } | |
21501 | #[cfg(feature = "Win32_Foundation")] | |
21502 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_CONFIGURE_ACCESSIBLE_ENCRYPTION_INPUT { | |
21503 | fn eq(&self, other: &Self) -> bool { | |
21504 | self.Parameters == other.Parameters && self.EncryptionGuid == other.EncryptionGuid | |
21505 | } | |
21506 | } | |
21507 | #[cfg(feature = "Win32_Foundation")] | |
21508 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_CONFIGURE_ACCESSIBLE_ENCRYPTION_INPUT {} | |
21509 | #[cfg(feature = "Win32_Foundation")] | |
21510 | impl ::core::default::Default for D3D11_AUTHENTICATED_CONFIGURE_ACCESSIBLE_ENCRYPTION_INPUT { | |
21511 | fn default() -> Self { | |
21512 | unsafe { ::core::mem::zeroed() } | |
21513 | } | |
21514 | } | |
21515 | #[repr(C)] | |
21516 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
21517 | #[cfg(feature = "Win32_Foundation")] | |
21518 | pub struct D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION_INPUT { | |
21519 | pub Parameters: D3D11_AUTHENTICATED_CONFIGURE_INPUT, | |
21520 | pub DecoderHandle: super::super::Foundation::HANDLE, | |
21521 | pub CryptoSessionHandle: super::super::Foundation::HANDLE, | |
21522 | pub DeviceHandle: super::super::Foundation::HANDLE, | |
21523 | } | |
21524 | #[cfg(feature = "Win32_Foundation")] | |
21525 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION_INPUT {} | |
21526 | #[cfg(feature = "Win32_Foundation")] | |
21527 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION_INPUT { | |
21528 | fn clone(&self) -> Self { | |
21529 | *self | |
21530 | } | |
21531 | } | |
21532 | #[cfg(feature = "Win32_Foundation")] | |
21533 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION_INPUT { | |
21534 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21535 | f.debug_struct("D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION_INPUT").field("Parameters", &self.Parameters).field("DecoderHandle", &self.DecoderHandle).field("CryptoSessionHandle", &self.CryptoSessionHandle).field("DeviceHandle", &self.DeviceHandle).finish() | |
21536 | } | |
21537 | } | |
21538 | #[cfg(feature = "Win32_Foundation")] | |
21539 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION_INPUT { | |
21540 | type TypeKind = ::windows::core::CopyType; | |
21541 | } | |
21542 | #[cfg(feature = "Win32_Foundation")] | |
21543 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION_INPUT { | |
21544 | fn eq(&self, other: &Self) -> bool { | |
21545 | self.Parameters == other.Parameters && self.DecoderHandle == other.DecoderHandle && self.CryptoSessionHandle == other.CryptoSessionHandle && self.DeviceHandle == other.DeviceHandle | |
21546 | } | |
21547 | } | |
21548 | #[cfg(feature = "Win32_Foundation")] | |
21549 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION_INPUT {} | |
21550 | #[cfg(feature = "Win32_Foundation")] | |
21551 | impl ::core::default::Default for D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION_INPUT { | |
21552 | fn default() -> Self { | |
21553 | unsafe { ::core::mem::zeroed() } | |
21554 | } | |
21555 | } | |
21556 | #[repr(C)] | |
21557 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
21558 | #[cfg(feature = "Win32_Foundation")] | |
21559 | pub struct D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE_INPUT { | |
21560 | pub Parameters: D3D11_AUTHENTICATED_CONFIGURE_INPUT, | |
21561 | pub StartSequenceQuery: u32, | |
21562 | pub StartSequenceConfigure: u32, | |
21563 | } | |
21564 | #[cfg(feature = "Win32_Foundation")] | |
21565 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE_INPUT {} | |
21566 | #[cfg(feature = "Win32_Foundation")] | |
21567 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE_INPUT { | |
21568 | fn clone(&self) -> Self { | |
21569 | *self | |
21570 | } | |
21571 | } | |
21572 | #[cfg(feature = "Win32_Foundation")] | |
21573 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE_INPUT { | |
21574 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21575 | f.debug_struct("D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE_INPUT").field("Parameters", &self.Parameters).field("StartSequenceQuery", &self.StartSequenceQuery).field("StartSequenceConfigure", &self.StartSequenceConfigure).finish() | |
21576 | } | |
21577 | } | |
21578 | #[cfg(feature = "Win32_Foundation")] | |
21579 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE_INPUT { | |
21580 | type TypeKind = ::windows::core::CopyType; | |
21581 | } | |
21582 | #[cfg(feature = "Win32_Foundation")] | |
21583 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE_INPUT { | |
21584 | fn eq(&self, other: &Self) -> bool { | |
21585 | self.Parameters == other.Parameters && self.StartSequenceQuery == other.StartSequenceQuery && self.StartSequenceConfigure == other.StartSequenceConfigure | |
21586 | } | |
21587 | } | |
21588 | #[cfg(feature = "Win32_Foundation")] | |
21589 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE_INPUT {} | |
21590 | #[cfg(feature = "Win32_Foundation")] | |
21591 | impl ::core::default::Default for D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE_INPUT { | |
21592 | fn default() -> Self { | |
21593 | unsafe { ::core::mem::zeroed() } | |
21594 | } | |
21595 | } | |
21596 | #[repr(C)] | |
21597 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
21598 | #[cfg(feature = "Win32_Foundation")] | |
21599 | pub struct D3D11_AUTHENTICATED_CONFIGURE_INPUT { | |
21600 | pub omac: D3D11_OMAC, | |
21601 | pub ConfigureType: ::windows::core::GUID, | |
21602 | pub hChannel: super::super::Foundation::HANDLE, | |
21603 | pub SequenceNumber: u32, | |
21604 | } | |
21605 | #[cfg(feature = "Win32_Foundation")] | |
21606 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_CONFIGURE_INPUT {} | |
21607 | #[cfg(feature = "Win32_Foundation")] | |
21608 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_CONFIGURE_INPUT { | |
21609 | fn clone(&self) -> Self { | |
21610 | *self | |
21611 | } | |
21612 | } | |
21613 | #[cfg(feature = "Win32_Foundation")] | |
21614 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_CONFIGURE_INPUT { | |
21615 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21616 | f.debug_struct("D3D11_AUTHENTICATED_CONFIGURE_INPUT").field("omac", &self.omac).field("ConfigureType", &self.ConfigureType).field("hChannel", &self.hChannel).field("SequenceNumber", &self.SequenceNumber).finish() | |
21617 | } | |
21618 | } | |
21619 | #[cfg(feature = "Win32_Foundation")] | |
21620 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_CONFIGURE_INPUT { | |
21621 | type TypeKind = ::windows::core::CopyType; | |
21622 | } | |
21623 | #[cfg(feature = "Win32_Foundation")] | |
21624 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_CONFIGURE_INPUT { | |
21625 | fn eq(&self, other: &Self) -> bool { | |
21626 | self.omac == other.omac && self.ConfigureType == other.ConfigureType && self.hChannel == other.hChannel && self.SequenceNumber == other.SequenceNumber | |
21627 | } | |
21628 | } | |
21629 | #[cfg(feature = "Win32_Foundation")] | |
21630 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_CONFIGURE_INPUT {} | |
21631 | #[cfg(feature = "Win32_Foundation")] | |
21632 | impl ::core::default::Default for D3D11_AUTHENTICATED_CONFIGURE_INPUT { | |
21633 | fn default() -> Self { | |
21634 | unsafe { ::core::mem::zeroed() } | |
21635 | } | |
21636 | } | |
21637 | #[repr(C)] | |
21638 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
21639 | #[cfg(feature = "Win32_Foundation")] | |
21640 | pub struct D3D11_AUTHENTICATED_CONFIGURE_OUTPUT { | |
21641 | pub omac: D3D11_OMAC, | |
21642 | pub ConfigureType: ::windows::core::GUID, | |
21643 | pub hChannel: super::super::Foundation::HANDLE, | |
21644 | pub SequenceNumber: u32, | |
21645 | pub ReturnCode: ::windows::core::HRESULT, | |
21646 | } | |
21647 | #[cfg(feature = "Win32_Foundation")] | |
21648 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_CONFIGURE_OUTPUT {} | |
21649 | #[cfg(feature = "Win32_Foundation")] | |
21650 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_CONFIGURE_OUTPUT { | |
21651 | fn clone(&self) -> Self { | |
21652 | *self | |
21653 | } | |
21654 | } | |
21655 | #[cfg(feature = "Win32_Foundation")] | |
21656 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_CONFIGURE_OUTPUT { | |
21657 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21658 | f.debug_struct("D3D11_AUTHENTICATED_CONFIGURE_OUTPUT").field("omac", &self.omac).field("ConfigureType", &self.ConfigureType).field("hChannel", &self.hChannel).field("SequenceNumber", &self.SequenceNumber).field("ReturnCode", &self.ReturnCode).finish() | |
21659 | } | |
21660 | } | |
21661 | #[cfg(feature = "Win32_Foundation")] | |
21662 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_CONFIGURE_OUTPUT { | |
21663 | type TypeKind = ::windows::core::CopyType; | |
21664 | } | |
21665 | #[cfg(feature = "Win32_Foundation")] | |
21666 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_CONFIGURE_OUTPUT { | |
21667 | fn eq(&self, other: &Self) -> bool { | |
21668 | self.omac == other.omac && self.ConfigureType == other.ConfigureType && self.hChannel == other.hChannel && self.SequenceNumber == other.SequenceNumber && self.ReturnCode == other.ReturnCode | |
21669 | } | |
21670 | } | |
21671 | #[cfg(feature = "Win32_Foundation")] | |
21672 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_CONFIGURE_OUTPUT {} | |
21673 | #[cfg(feature = "Win32_Foundation")] | |
21674 | impl ::core::default::Default for D3D11_AUTHENTICATED_CONFIGURE_OUTPUT { | |
21675 | fn default() -> Self { | |
21676 | unsafe { ::core::mem::zeroed() } | |
21677 | } | |
21678 | } | |
21679 | #[repr(C)] | |
21680 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
21681 | #[cfg(feature = "Win32_Foundation")] | |
21682 | pub struct D3D11_AUTHENTICATED_CONFIGURE_PROTECTION_INPUT { | |
21683 | pub Parameters: D3D11_AUTHENTICATED_CONFIGURE_INPUT, | |
21684 | pub Protections: D3D11_AUTHENTICATED_PROTECTION_FLAGS, | |
21685 | } | |
21686 | #[cfg(feature = "Win32_Foundation")] | |
21687 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_CONFIGURE_PROTECTION_INPUT {} | |
21688 | #[cfg(feature = "Win32_Foundation")] | |
21689 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_CONFIGURE_PROTECTION_INPUT { | |
21690 | fn clone(&self) -> Self { | |
21691 | *self | |
21692 | } | |
21693 | } | |
21694 | #[cfg(feature = "Win32_Foundation")] | |
21695 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_CONFIGURE_PROTECTION_INPUT { | |
21696 | type TypeKind = ::windows::core::CopyType; | |
21697 | } | |
21698 | #[cfg(feature = "Win32_Foundation")] | |
21699 | impl ::core::default::Default for D3D11_AUTHENTICATED_CONFIGURE_PROTECTION_INPUT { | |
21700 | fn default() -> Self { | |
21701 | unsafe { ::core::mem::zeroed() } | |
21702 | } | |
21703 | } | |
21704 | #[repr(C)] | |
21705 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
21706 | #[cfg(feature = "Win32_Foundation")] | |
21707 | pub struct D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE_INPUT { | |
21708 | pub Parameters: D3D11_AUTHENTICATED_CONFIGURE_INPUT, | |
21709 | pub ProcessType: D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE, | |
21710 | pub ProcessHandle: super::super::Foundation::HANDLE, | |
21711 | pub AllowAccess: super::super::Foundation::BOOL, | |
21712 | } | |
21713 | #[cfg(feature = "Win32_Foundation")] | |
21714 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE_INPUT {} | |
21715 | #[cfg(feature = "Win32_Foundation")] | |
21716 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE_INPUT { | |
21717 | fn clone(&self) -> Self { | |
21718 | *self | |
21719 | } | |
21720 | } | |
21721 | #[cfg(feature = "Win32_Foundation")] | |
21722 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE_INPUT { | |
21723 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21724 | f.debug_struct("D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE_INPUT").field("Parameters", &self.Parameters).field("ProcessType", &self.ProcessType).field("ProcessHandle", &self.ProcessHandle).field("AllowAccess", &self.AllowAccess).finish() | |
21725 | } | |
21726 | } | |
21727 | #[cfg(feature = "Win32_Foundation")] | |
21728 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE_INPUT { | |
21729 | type TypeKind = ::windows::core::CopyType; | |
21730 | } | |
21731 | #[cfg(feature = "Win32_Foundation")] | |
21732 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE_INPUT { | |
21733 | fn eq(&self, other: &Self) -> bool { | |
21734 | self.Parameters == other.Parameters && self.ProcessType == other.ProcessType && self.ProcessHandle == other.ProcessHandle && self.AllowAccess == other.AllowAccess | |
21735 | } | |
21736 | } | |
21737 | #[cfg(feature = "Win32_Foundation")] | |
21738 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE_INPUT {} | |
21739 | #[cfg(feature = "Win32_Foundation")] | |
21740 | impl ::core::default::Default for D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE_INPUT { | |
21741 | fn default() -> Self { | |
21742 | unsafe { ::core::mem::zeroed() } | |
21743 | } | |
21744 | } | |
21745 | #[repr(C)] | |
21746 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21747 | pub union D3D11_AUTHENTICATED_PROTECTION_FLAGS { | |
21748 | pub Flags: D3D11_AUTHENTICATED_PROTECTION_FLAGS_0, | |
21749 | pub Value: u32, | |
21750 | } | |
21751 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_PROTECTION_FLAGS {} | |
21752 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_PROTECTION_FLAGS { | |
21753 | fn clone(&self) -> Self { | |
21754 | *self | |
21755 | } | |
21756 | } | |
21757 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_PROTECTION_FLAGS { | |
21758 | type TypeKind = ::windows::core::CopyType; | |
21759 | } | |
21760 | impl ::core::default::Default for D3D11_AUTHENTICATED_PROTECTION_FLAGS { | |
21761 | fn default() -> Self { | |
21762 | unsafe { ::core::mem::zeroed() } | |
21763 | } | |
21764 | } | |
21765 | #[repr(C)] | |
21766 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
21767 | pub struct D3D11_AUTHENTICATED_PROTECTION_FLAGS_0 { | |
21768 | pub _bitfield: u32, | |
21769 | } | |
21770 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_PROTECTION_FLAGS_0 {} | |
21771 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_PROTECTION_FLAGS_0 { | |
21772 | fn clone(&self) -> Self { | |
21773 | *self | |
21774 | } | |
21775 | } | |
21776 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_PROTECTION_FLAGS_0 { | |
21777 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21778 | f.debug_struct("D3D11_AUTHENTICATED_PROTECTION_FLAGS_0").field("_bitfield", &self._bitfield).finish() | |
21779 | } | |
21780 | } | |
21781 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_PROTECTION_FLAGS_0 { | |
21782 | type TypeKind = ::windows::core::CopyType; | |
21783 | } | |
21784 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_PROTECTION_FLAGS_0 { | |
21785 | fn eq(&self, other: &Self) -> bool { | |
21786 | self._bitfield == other._bitfield | |
21787 | } | |
21788 | } | |
21789 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_PROTECTION_FLAGS_0 {} | |
21790 | impl ::core::default::Default for D3D11_AUTHENTICATED_PROTECTION_FLAGS_0 { | |
21791 | fn default() -> Self { | |
21792 | unsafe { ::core::mem::zeroed() } | |
21793 | } | |
21794 | } | |
21795 | #[repr(C)] | |
21796 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
21797 | #[cfg(feature = "Win32_Foundation")] | |
21798 | pub struct D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_COUNT_OUTPUT { | |
21799 | pub Output: D3D11_AUTHENTICATED_QUERY_OUTPUT, | |
21800 | pub EncryptionGuidCount: u32, | |
21801 | } | |
21802 | #[cfg(feature = "Win32_Foundation")] | |
21803 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_COUNT_OUTPUT {} | |
21804 | #[cfg(feature = "Win32_Foundation")] | |
21805 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_COUNT_OUTPUT { | |
21806 | fn clone(&self) -> Self { | |
21807 | *self | |
21808 | } | |
21809 | } | |
21810 | #[cfg(feature = "Win32_Foundation")] | |
21811 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_COUNT_OUTPUT { | |
21812 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21813 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_COUNT_OUTPUT").field("Output", &self.Output).field("EncryptionGuidCount", &self.EncryptionGuidCount).finish() | |
21814 | } | |
21815 | } | |
21816 | #[cfg(feature = "Win32_Foundation")] | |
21817 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_COUNT_OUTPUT { | |
21818 | type TypeKind = ::windows::core::CopyType; | |
21819 | } | |
21820 | #[cfg(feature = "Win32_Foundation")] | |
21821 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_COUNT_OUTPUT { | |
21822 | fn eq(&self, other: &Self) -> bool { | |
21823 | self.Output == other.Output && self.EncryptionGuidCount == other.EncryptionGuidCount | |
21824 | } | |
21825 | } | |
21826 | #[cfg(feature = "Win32_Foundation")] | |
21827 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_COUNT_OUTPUT {} | |
21828 | #[cfg(feature = "Win32_Foundation")] | |
21829 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_COUNT_OUTPUT { | |
21830 | fn default() -> Self { | |
21831 | unsafe { ::core::mem::zeroed() } | |
21832 | } | |
21833 | } | |
21834 | #[repr(C)] | |
21835 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
21836 | #[cfg(feature = "Win32_Foundation")] | |
21837 | pub struct D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_INPUT { | |
21838 | pub Input: D3D11_AUTHENTICATED_QUERY_INPUT, | |
21839 | pub EncryptionGuidIndex: u32, | |
21840 | } | |
21841 | #[cfg(feature = "Win32_Foundation")] | |
21842 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_INPUT {} | |
21843 | #[cfg(feature = "Win32_Foundation")] | |
21844 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_INPUT { | |
21845 | fn clone(&self) -> Self { | |
21846 | *self | |
21847 | } | |
21848 | } | |
21849 | #[cfg(feature = "Win32_Foundation")] | |
21850 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_INPUT { | |
21851 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21852 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_INPUT").field("Input", &self.Input).field("EncryptionGuidIndex", &self.EncryptionGuidIndex).finish() | |
21853 | } | |
21854 | } | |
21855 | #[cfg(feature = "Win32_Foundation")] | |
21856 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_INPUT { | |
21857 | type TypeKind = ::windows::core::CopyType; | |
21858 | } | |
21859 | #[cfg(feature = "Win32_Foundation")] | |
21860 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_INPUT { | |
21861 | fn eq(&self, other: &Self) -> bool { | |
21862 | self.Input == other.Input && self.EncryptionGuidIndex == other.EncryptionGuidIndex | |
21863 | } | |
21864 | } | |
21865 | #[cfg(feature = "Win32_Foundation")] | |
21866 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_INPUT {} | |
21867 | #[cfg(feature = "Win32_Foundation")] | |
21868 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_INPUT { | |
21869 | fn default() -> Self { | |
21870 | unsafe { ::core::mem::zeroed() } | |
21871 | } | |
21872 | } | |
21873 | #[repr(C)] | |
21874 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
21875 | #[cfg(feature = "Win32_Foundation")] | |
21876 | pub struct D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_OUTPUT { | |
21877 | pub Output: D3D11_AUTHENTICATED_QUERY_OUTPUT, | |
21878 | pub EncryptionGuidIndex: u32, | |
21879 | pub EncryptionGuid: ::windows::core::GUID, | |
21880 | } | |
21881 | #[cfg(feature = "Win32_Foundation")] | |
21882 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_OUTPUT {} | |
21883 | #[cfg(feature = "Win32_Foundation")] | |
21884 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_OUTPUT { | |
21885 | fn clone(&self) -> Self { | |
21886 | *self | |
21887 | } | |
21888 | } | |
21889 | #[cfg(feature = "Win32_Foundation")] | |
21890 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_OUTPUT { | |
21891 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21892 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_OUTPUT").field("Output", &self.Output).field("EncryptionGuidIndex", &self.EncryptionGuidIndex).field("EncryptionGuid", &self.EncryptionGuid).finish() | |
21893 | } | |
21894 | } | |
21895 | #[cfg(feature = "Win32_Foundation")] | |
21896 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_OUTPUT { | |
21897 | type TypeKind = ::windows::core::CopyType; | |
21898 | } | |
21899 | #[cfg(feature = "Win32_Foundation")] | |
21900 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_OUTPUT { | |
21901 | fn eq(&self, other: &Self) -> bool { | |
21902 | self.Output == other.Output && self.EncryptionGuidIndex == other.EncryptionGuidIndex && self.EncryptionGuid == other.EncryptionGuid | |
21903 | } | |
21904 | } | |
21905 | #[cfg(feature = "Win32_Foundation")] | |
21906 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_OUTPUT {} | |
21907 | #[cfg(feature = "Win32_Foundation")] | |
21908 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_OUTPUT { | |
21909 | fn default() -> Self { | |
21910 | unsafe { ::core::mem::zeroed() } | |
21911 | } | |
21912 | } | |
21913 | #[repr(C)] | |
21914 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
21915 | #[cfg(feature = "Win32_Foundation")] | |
21916 | pub struct D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_OUTPUT { | |
21917 | pub Output: D3D11_AUTHENTICATED_QUERY_OUTPUT, | |
21918 | pub BusType: D3D11_BUS_TYPE, | |
21919 | pub AccessibleInContiguousBlocks: super::super::Foundation::BOOL, | |
21920 | pub AccessibleInNonContiguousBlocks: super::super::Foundation::BOOL, | |
21921 | } | |
21922 | #[cfg(feature = "Win32_Foundation")] | |
21923 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_OUTPUT {} | |
21924 | #[cfg(feature = "Win32_Foundation")] | |
21925 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_OUTPUT { | |
21926 | fn clone(&self) -> Self { | |
21927 | *self | |
21928 | } | |
21929 | } | |
21930 | #[cfg(feature = "Win32_Foundation")] | |
21931 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_OUTPUT { | |
21932 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21933 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_OUTPUT").field("Output", &self.Output).field("BusType", &self.BusType).field("AccessibleInContiguousBlocks", &self.AccessibleInContiguousBlocks).field("AccessibleInNonContiguousBlocks", &self.AccessibleInNonContiguousBlocks).finish() | |
21934 | } | |
21935 | } | |
21936 | #[cfg(feature = "Win32_Foundation")] | |
21937 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_OUTPUT { | |
21938 | type TypeKind = ::windows::core::CopyType; | |
21939 | } | |
21940 | #[cfg(feature = "Win32_Foundation")] | |
21941 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_OUTPUT { | |
21942 | fn eq(&self, other: &Self) -> bool { | |
21943 | self.Output == other.Output && self.BusType == other.BusType && self.AccessibleInContiguousBlocks == other.AccessibleInContiguousBlocks && self.AccessibleInNonContiguousBlocks == other.AccessibleInNonContiguousBlocks | |
21944 | } | |
21945 | } | |
21946 | #[cfg(feature = "Win32_Foundation")] | |
21947 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_OUTPUT {} | |
21948 | #[cfg(feature = "Win32_Foundation")] | |
21949 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_OUTPUT { | |
21950 | fn default() -> Self { | |
21951 | unsafe { ::core::mem::zeroed() } | |
21952 | } | |
21953 | } | |
21954 | #[repr(C)] | |
21955 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
21956 | #[cfg(feature = "Win32_Foundation")] | |
21957 | pub struct D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE_OUTPUT { | |
21958 | pub Output: D3D11_AUTHENTICATED_QUERY_OUTPUT, | |
21959 | pub ChannelType: D3D11_AUTHENTICATED_CHANNEL_TYPE, | |
21960 | } | |
21961 | #[cfg(feature = "Win32_Foundation")] | |
21962 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE_OUTPUT {} | |
21963 | #[cfg(feature = "Win32_Foundation")] | |
21964 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE_OUTPUT { | |
21965 | fn clone(&self) -> Self { | |
21966 | *self | |
21967 | } | |
21968 | } | |
21969 | #[cfg(feature = "Win32_Foundation")] | |
21970 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE_OUTPUT { | |
21971 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
21972 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE_OUTPUT").field("Output", &self.Output).field("ChannelType", &self.ChannelType).finish() | |
21973 | } | |
21974 | } | |
21975 | #[cfg(feature = "Win32_Foundation")] | |
21976 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE_OUTPUT { | |
21977 | type TypeKind = ::windows::core::CopyType; | |
21978 | } | |
21979 | #[cfg(feature = "Win32_Foundation")] | |
21980 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE_OUTPUT { | |
21981 | fn eq(&self, other: &Self) -> bool { | |
21982 | self.Output == other.Output && self.ChannelType == other.ChannelType | |
21983 | } | |
21984 | } | |
21985 | #[cfg(feature = "Win32_Foundation")] | |
21986 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE_OUTPUT {} | |
21987 | #[cfg(feature = "Win32_Foundation")] | |
21988 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE_OUTPUT { | |
21989 | fn default() -> Self { | |
21990 | unsafe { ::core::mem::zeroed() } | |
21991 | } | |
21992 | } | |
21993 | #[repr(C)] | |
21994 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
21995 | #[cfg(feature = "Win32_Foundation")] | |
21996 | pub struct D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_INPUT { | |
21997 | pub Input: D3D11_AUTHENTICATED_QUERY_INPUT, | |
21998 | pub DecoderHandle: super::super::Foundation::HANDLE, | |
21999 | } | |
22000 | #[cfg(feature = "Win32_Foundation")] | |
22001 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_INPUT {} | |
22002 | #[cfg(feature = "Win32_Foundation")] | |
22003 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_INPUT { | |
22004 | fn clone(&self) -> Self { | |
22005 | *self | |
22006 | } | |
22007 | } | |
22008 | #[cfg(feature = "Win32_Foundation")] | |
22009 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_INPUT { | |
22010 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22011 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_INPUT").field("Input", &self.Input).field("DecoderHandle", &self.DecoderHandle).finish() | |
22012 | } | |
22013 | } | |
22014 | #[cfg(feature = "Win32_Foundation")] | |
22015 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_INPUT { | |
22016 | type TypeKind = ::windows::core::CopyType; | |
22017 | } | |
22018 | #[cfg(feature = "Win32_Foundation")] | |
22019 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_INPUT { | |
22020 | fn eq(&self, other: &Self) -> bool { | |
22021 | self.Input == other.Input && self.DecoderHandle == other.DecoderHandle | |
22022 | } | |
22023 | } | |
22024 | #[cfg(feature = "Win32_Foundation")] | |
22025 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_INPUT {} | |
22026 | #[cfg(feature = "Win32_Foundation")] | |
22027 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_INPUT { | |
22028 | fn default() -> Self { | |
22029 | unsafe { ::core::mem::zeroed() } | |
22030 | } | |
22031 | } | |
22032 | #[repr(C)] | |
22033 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
22034 | #[cfg(feature = "Win32_Foundation")] | |
22035 | pub struct D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_OUTPUT { | |
22036 | pub Output: D3D11_AUTHENTICATED_QUERY_OUTPUT, | |
22037 | pub DecoderHandle: super::super::Foundation::HANDLE, | |
22038 | pub CryptoSessionHandle: super::super::Foundation::HANDLE, | |
22039 | pub DeviceHandle: super::super::Foundation::HANDLE, | |
22040 | } | |
22041 | #[cfg(feature = "Win32_Foundation")] | |
22042 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_OUTPUT {} | |
22043 | #[cfg(feature = "Win32_Foundation")] | |
22044 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_OUTPUT { | |
22045 | fn clone(&self) -> Self { | |
22046 | *self | |
22047 | } | |
22048 | } | |
22049 | #[cfg(feature = "Win32_Foundation")] | |
22050 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_OUTPUT { | |
22051 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22052 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_OUTPUT").field("Output", &self.Output).field("DecoderHandle", &self.DecoderHandle).field("CryptoSessionHandle", &self.CryptoSessionHandle).field("DeviceHandle", &self.DeviceHandle).finish() | |
22053 | } | |
22054 | } | |
22055 | #[cfg(feature = "Win32_Foundation")] | |
22056 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_OUTPUT { | |
22057 | type TypeKind = ::windows::core::CopyType; | |
22058 | } | |
22059 | #[cfg(feature = "Win32_Foundation")] | |
22060 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_OUTPUT { | |
22061 | fn eq(&self, other: &Self) -> bool { | |
22062 | self.Output == other.Output && self.DecoderHandle == other.DecoderHandle && self.CryptoSessionHandle == other.CryptoSessionHandle && self.DeviceHandle == other.DeviceHandle | |
22063 | } | |
22064 | } | |
22065 | #[cfg(feature = "Win32_Foundation")] | |
22066 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_OUTPUT {} | |
22067 | #[cfg(feature = "Win32_Foundation")] | |
22068 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_OUTPUT { | |
22069 | fn default() -> Self { | |
22070 | unsafe { ::core::mem::zeroed() } | |
22071 | } | |
22072 | } | |
22073 | #[repr(C)] | |
22074 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
22075 | #[cfg(feature = "Win32_Foundation")] | |
22076 | pub struct D3D11_AUTHENTICATED_QUERY_CURRENT_ACCESSIBILITY_ENCRYPTION_OUTPUT { | |
22077 | pub Output: D3D11_AUTHENTICATED_QUERY_OUTPUT, | |
22078 | pub EncryptionGuid: ::windows::core::GUID, | |
22079 | } | |
22080 | #[cfg(feature = "Win32_Foundation")] | |
22081 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_CURRENT_ACCESSIBILITY_ENCRYPTION_OUTPUT {} | |
22082 | #[cfg(feature = "Win32_Foundation")] | |
22083 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_CURRENT_ACCESSIBILITY_ENCRYPTION_OUTPUT { | |
22084 | fn clone(&self) -> Self { | |
22085 | *self | |
22086 | } | |
22087 | } | |
22088 | #[cfg(feature = "Win32_Foundation")] | |
22089 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_CURRENT_ACCESSIBILITY_ENCRYPTION_OUTPUT { | |
22090 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22091 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_CURRENT_ACCESSIBILITY_ENCRYPTION_OUTPUT").field("Output", &self.Output).field("EncryptionGuid", &self.EncryptionGuid).finish() | |
22092 | } | |
22093 | } | |
22094 | #[cfg(feature = "Win32_Foundation")] | |
22095 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_CURRENT_ACCESSIBILITY_ENCRYPTION_OUTPUT { | |
22096 | type TypeKind = ::windows::core::CopyType; | |
22097 | } | |
22098 | #[cfg(feature = "Win32_Foundation")] | |
22099 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_CURRENT_ACCESSIBILITY_ENCRYPTION_OUTPUT { | |
22100 | fn eq(&self, other: &Self) -> bool { | |
22101 | self.Output == other.Output && self.EncryptionGuid == other.EncryptionGuid | |
22102 | } | |
22103 | } | |
22104 | #[cfg(feature = "Win32_Foundation")] | |
22105 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_CURRENT_ACCESSIBILITY_ENCRYPTION_OUTPUT {} | |
22106 | #[cfg(feature = "Win32_Foundation")] | |
22107 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_CURRENT_ACCESSIBILITY_ENCRYPTION_OUTPUT { | |
22108 | fn default() -> Self { | |
22109 | unsafe { ::core::mem::zeroed() } | |
22110 | } | |
22111 | } | |
22112 | #[repr(C)] | |
22113 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
22114 | #[cfg(feature = "Win32_Foundation")] | |
22115 | pub struct D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE_OUTPUT { | |
22116 | pub Output: D3D11_AUTHENTICATED_QUERY_OUTPUT, | |
22117 | pub DeviceHandle: super::super::Foundation::HANDLE, | |
22118 | } | |
22119 | #[cfg(feature = "Win32_Foundation")] | |
22120 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE_OUTPUT {} | |
22121 | #[cfg(feature = "Win32_Foundation")] | |
22122 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE_OUTPUT { | |
22123 | fn clone(&self) -> Self { | |
22124 | *self | |
22125 | } | |
22126 | } | |
22127 | #[cfg(feature = "Win32_Foundation")] | |
22128 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE_OUTPUT { | |
22129 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22130 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE_OUTPUT").field("Output", &self.Output).field("DeviceHandle", &self.DeviceHandle).finish() | |
22131 | } | |
22132 | } | |
22133 | #[cfg(feature = "Win32_Foundation")] | |
22134 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE_OUTPUT { | |
22135 | type TypeKind = ::windows::core::CopyType; | |
22136 | } | |
22137 | #[cfg(feature = "Win32_Foundation")] | |
22138 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE_OUTPUT { | |
22139 | fn eq(&self, other: &Self) -> bool { | |
22140 | self.Output == other.Output && self.DeviceHandle == other.DeviceHandle | |
22141 | } | |
22142 | } | |
22143 | #[cfg(feature = "Win32_Foundation")] | |
22144 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE_OUTPUT {} | |
22145 | #[cfg(feature = "Win32_Foundation")] | |
22146 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE_OUTPUT { | |
22147 | fn default() -> Self { | |
22148 | unsafe { ::core::mem::zeroed() } | |
22149 | } | |
22150 | } | |
22151 | #[repr(C)] | |
22152 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
22153 | #[cfg(feature = "Win32_Foundation")] | |
22154 | pub struct D3D11_AUTHENTICATED_QUERY_INPUT { | |
22155 | pub QueryType: ::windows::core::GUID, | |
22156 | pub hChannel: super::super::Foundation::HANDLE, | |
22157 | pub SequenceNumber: u32, | |
22158 | } | |
22159 | #[cfg(feature = "Win32_Foundation")] | |
22160 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_INPUT {} | |
22161 | #[cfg(feature = "Win32_Foundation")] | |
22162 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_INPUT { | |
22163 | fn clone(&self) -> Self { | |
22164 | *self | |
22165 | } | |
22166 | } | |
22167 | #[cfg(feature = "Win32_Foundation")] | |
22168 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_INPUT { | |
22169 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22170 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_INPUT").field("QueryType", &self.QueryType).field("hChannel", &self.hChannel).field("SequenceNumber", &self.SequenceNumber).finish() | |
22171 | } | |
22172 | } | |
22173 | #[cfg(feature = "Win32_Foundation")] | |
22174 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_INPUT { | |
22175 | type TypeKind = ::windows::core::CopyType; | |
22176 | } | |
22177 | #[cfg(feature = "Win32_Foundation")] | |
22178 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_INPUT { | |
22179 | fn eq(&self, other: &Self) -> bool { | |
22180 | self.QueryType == other.QueryType && self.hChannel == other.hChannel && self.SequenceNumber == other.SequenceNumber | |
22181 | } | |
22182 | } | |
22183 | #[cfg(feature = "Win32_Foundation")] | |
22184 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_INPUT {} | |
22185 | #[cfg(feature = "Win32_Foundation")] | |
22186 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_INPUT { | |
22187 | fn default() -> Self { | |
22188 | unsafe { ::core::mem::zeroed() } | |
22189 | } | |
22190 | } | |
22191 | #[repr(C)] | |
22192 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
22193 | #[cfg(feature = "Win32_Foundation")] | |
22194 | pub struct D3D11_AUTHENTICATED_QUERY_OUTPUT { | |
22195 | pub omac: D3D11_OMAC, | |
22196 | pub QueryType: ::windows::core::GUID, | |
22197 | pub hChannel: super::super::Foundation::HANDLE, | |
22198 | pub SequenceNumber: u32, | |
22199 | pub ReturnCode: ::windows::core::HRESULT, | |
22200 | } | |
22201 | #[cfg(feature = "Win32_Foundation")] | |
22202 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_OUTPUT {} | |
22203 | #[cfg(feature = "Win32_Foundation")] | |
22204 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_OUTPUT { | |
22205 | fn clone(&self) -> Self { | |
22206 | *self | |
22207 | } | |
22208 | } | |
22209 | #[cfg(feature = "Win32_Foundation")] | |
22210 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_OUTPUT { | |
22211 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22212 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_OUTPUT").field("omac", &self.omac).field("QueryType", &self.QueryType).field("hChannel", &self.hChannel).field("SequenceNumber", &self.SequenceNumber).field("ReturnCode", &self.ReturnCode).finish() | |
22213 | } | |
22214 | } | |
22215 | #[cfg(feature = "Win32_Foundation")] | |
22216 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_OUTPUT { | |
22217 | type TypeKind = ::windows::core::CopyType; | |
22218 | } | |
22219 | #[cfg(feature = "Win32_Foundation")] | |
22220 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_OUTPUT { | |
22221 | fn eq(&self, other: &Self) -> bool { | |
22222 | self.omac == other.omac && self.QueryType == other.QueryType && self.hChannel == other.hChannel && self.SequenceNumber == other.SequenceNumber && self.ReturnCode == other.ReturnCode | |
22223 | } | |
22224 | } | |
22225 | #[cfg(feature = "Win32_Foundation")] | |
22226 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_OUTPUT {} | |
22227 | #[cfg(feature = "Win32_Foundation")] | |
22228 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_OUTPUT { | |
22229 | fn default() -> Self { | |
22230 | unsafe { ::core::mem::zeroed() } | |
22231 | } | |
22232 | } | |
22233 | #[repr(C)] | |
22234 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
22235 | #[cfg(feature = "Win32_Foundation")] | |
22236 | pub struct D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_INPUT { | |
22237 | pub Input: D3D11_AUTHENTICATED_QUERY_INPUT, | |
22238 | pub DeviceHandle: super::super::Foundation::HANDLE, | |
22239 | pub CryptoSessionHandle: super::super::Foundation::HANDLE, | |
22240 | } | |
22241 | #[cfg(feature = "Win32_Foundation")] | |
22242 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_INPUT {} | |
22243 | #[cfg(feature = "Win32_Foundation")] | |
22244 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_INPUT { | |
22245 | fn clone(&self) -> Self { | |
22246 | *self | |
22247 | } | |
22248 | } | |
22249 | #[cfg(feature = "Win32_Foundation")] | |
22250 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_INPUT { | |
22251 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22252 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_INPUT").field("Input", &self.Input).field("DeviceHandle", &self.DeviceHandle).field("CryptoSessionHandle", &self.CryptoSessionHandle).finish() | |
22253 | } | |
22254 | } | |
22255 | #[cfg(feature = "Win32_Foundation")] | |
22256 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_INPUT { | |
22257 | type TypeKind = ::windows::core::CopyType; | |
22258 | } | |
22259 | #[cfg(feature = "Win32_Foundation")] | |
22260 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_INPUT { | |
22261 | fn eq(&self, other: &Self) -> bool { | |
22262 | self.Input == other.Input && self.DeviceHandle == other.DeviceHandle && self.CryptoSessionHandle == other.CryptoSessionHandle | |
22263 | } | |
22264 | } | |
22265 | #[cfg(feature = "Win32_Foundation")] | |
22266 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_INPUT {} | |
22267 | #[cfg(feature = "Win32_Foundation")] | |
22268 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_INPUT { | |
22269 | fn default() -> Self { | |
22270 | unsafe { ::core::mem::zeroed() } | |
22271 | } | |
22272 | } | |
22273 | #[repr(C)] | |
22274 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
22275 | #[cfg(feature = "Win32_Foundation")] | |
22276 | pub struct D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_OUTPUT { | |
22277 | pub Output: D3D11_AUTHENTICATED_QUERY_OUTPUT, | |
22278 | pub DeviceHandle: super::super::Foundation::HANDLE, | |
22279 | pub CryptoSessionHandle: super::super::Foundation::HANDLE, | |
22280 | pub OutputIDCount: u32, | |
22281 | } | |
22282 | #[cfg(feature = "Win32_Foundation")] | |
22283 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_OUTPUT {} | |
22284 | #[cfg(feature = "Win32_Foundation")] | |
22285 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_OUTPUT { | |
22286 | fn clone(&self) -> Self { | |
22287 | *self | |
22288 | } | |
22289 | } | |
22290 | #[cfg(feature = "Win32_Foundation")] | |
22291 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_OUTPUT { | |
22292 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22293 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_OUTPUT").field("Output", &self.Output).field("DeviceHandle", &self.DeviceHandle).field("CryptoSessionHandle", &self.CryptoSessionHandle).field("OutputIDCount", &self.OutputIDCount).finish() | |
22294 | } | |
22295 | } | |
22296 | #[cfg(feature = "Win32_Foundation")] | |
22297 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_OUTPUT { | |
22298 | type TypeKind = ::windows::core::CopyType; | |
22299 | } | |
22300 | #[cfg(feature = "Win32_Foundation")] | |
22301 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_OUTPUT { | |
22302 | fn eq(&self, other: &Self) -> bool { | |
22303 | self.Output == other.Output && self.DeviceHandle == other.DeviceHandle && self.CryptoSessionHandle == other.CryptoSessionHandle && self.OutputIDCount == other.OutputIDCount | |
22304 | } | |
22305 | } | |
22306 | #[cfg(feature = "Win32_Foundation")] | |
22307 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_OUTPUT {} | |
22308 | #[cfg(feature = "Win32_Foundation")] | |
22309 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_OUTPUT { | |
22310 | fn default() -> Self { | |
22311 | unsafe { ::core::mem::zeroed() } | |
22312 | } | |
22313 | } | |
22314 | #[repr(C)] | |
22315 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
22316 | #[cfg(feature = "Win32_Foundation")] | |
22317 | pub struct D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_INPUT { | |
22318 | pub Input: D3D11_AUTHENTICATED_QUERY_INPUT, | |
22319 | pub DeviceHandle: super::super::Foundation::HANDLE, | |
22320 | pub CryptoSessionHandle: super::super::Foundation::HANDLE, | |
22321 | pub OutputIDIndex: u32, | |
22322 | } | |
22323 | #[cfg(feature = "Win32_Foundation")] | |
22324 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_INPUT {} | |
22325 | #[cfg(feature = "Win32_Foundation")] | |
22326 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_INPUT { | |
22327 | fn clone(&self) -> Self { | |
22328 | *self | |
22329 | } | |
22330 | } | |
22331 | #[cfg(feature = "Win32_Foundation")] | |
22332 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_INPUT { | |
22333 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22334 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_INPUT").field("Input", &self.Input).field("DeviceHandle", &self.DeviceHandle).field("CryptoSessionHandle", &self.CryptoSessionHandle).field("OutputIDIndex", &self.OutputIDIndex).finish() | |
22335 | } | |
22336 | } | |
22337 | #[cfg(feature = "Win32_Foundation")] | |
22338 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_INPUT { | |
22339 | type TypeKind = ::windows::core::CopyType; | |
22340 | } | |
22341 | #[cfg(feature = "Win32_Foundation")] | |
22342 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_INPUT { | |
22343 | fn eq(&self, other: &Self) -> bool { | |
22344 | self.Input == other.Input && self.DeviceHandle == other.DeviceHandle && self.CryptoSessionHandle == other.CryptoSessionHandle && self.OutputIDIndex == other.OutputIDIndex | |
22345 | } | |
22346 | } | |
22347 | #[cfg(feature = "Win32_Foundation")] | |
22348 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_INPUT {} | |
22349 | #[cfg(feature = "Win32_Foundation")] | |
22350 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_INPUT { | |
22351 | fn default() -> Self { | |
22352 | unsafe { ::core::mem::zeroed() } | |
22353 | } | |
22354 | } | |
22355 | #[repr(C)] | |
22356 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
22357 | #[cfg(feature = "Win32_Foundation")] | |
22358 | pub struct D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT { | |
22359 | pub Output: D3D11_AUTHENTICATED_QUERY_OUTPUT, | |
22360 | pub DeviceHandle: super::super::Foundation::HANDLE, | |
22361 | pub CryptoSessionHandle: super::super::Foundation::HANDLE, | |
22362 | pub OutputIDIndex: u32, | |
22363 | pub OutputID: u64, | |
22364 | } | |
22365 | #[cfg(feature = "Win32_Foundation")] | |
22366 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT {} | |
22367 | #[cfg(feature = "Win32_Foundation")] | |
22368 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT { | |
22369 | fn clone(&self) -> Self { | |
22370 | *self | |
22371 | } | |
22372 | } | |
22373 | #[cfg(feature = "Win32_Foundation")] | |
22374 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT { | |
22375 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22376 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT").field("Output", &self.Output).field("DeviceHandle", &self.DeviceHandle).field("CryptoSessionHandle", &self.CryptoSessionHandle).field("OutputIDIndex", &self.OutputIDIndex).field("OutputID", &self.OutputID).finish() | |
22377 | } | |
22378 | } | |
22379 | #[cfg(feature = "Win32_Foundation")] | |
22380 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT { | |
22381 | type TypeKind = ::windows::core::CopyType; | |
22382 | } | |
22383 | #[cfg(feature = "Win32_Foundation")] | |
22384 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT { | |
22385 | fn eq(&self, other: &Self) -> bool { | |
22386 | self.Output == other.Output && self.DeviceHandle == other.DeviceHandle && self.CryptoSessionHandle == other.CryptoSessionHandle && self.OutputIDIndex == other.OutputIDIndex && self.OutputID == other.OutputID | |
22387 | } | |
22388 | } | |
22389 | #[cfg(feature = "Win32_Foundation")] | |
22390 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT {} | |
22391 | #[cfg(feature = "Win32_Foundation")] | |
22392 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT { | |
22393 | fn default() -> Self { | |
22394 | unsafe { ::core::mem::zeroed() } | |
22395 | } | |
22396 | } | |
22397 | #[repr(C)] | |
22398 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
22399 | #[cfg(feature = "Win32_Foundation")] | |
22400 | pub struct D3D11_AUTHENTICATED_QUERY_PROTECTION_OUTPUT { | |
22401 | pub Output: D3D11_AUTHENTICATED_QUERY_OUTPUT, | |
22402 | pub ProtectionFlags: D3D11_AUTHENTICATED_PROTECTION_FLAGS, | |
22403 | } | |
22404 | #[cfg(feature = "Win32_Foundation")] | |
22405 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_PROTECTION_OUTPUT {} | |
22406 | #[cfg(feature = "Win32_Foundation")] | |
22407 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_PROTECTION_OUTPUT { | |
22408 | fn clone(&self) -> Self { | |
22409 | *self | |
22410 | } | |
22411 | } | |
22412 | #[cfg(feature = "Win32_Foundation")] | |
22413 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_PROTECTION_OUTPUT { | |
22414 | type TypeKind = ::windows::core::CopyType; | |
22415 | } | |
22416 | #[cfg(feature = "Win32_Foundation")] | |
22417 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_PROTECTION_OUTPUT { | |
22418 | fn default() -> Self { | |
22419 | unsafe { ::core::mem::zeroed() } | |
22420 | } | |
22421 | } | |
22422 | #[repr(C)] | |
22423 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
22424 | #[cfg(feature = "Win32_Foundation")] | |
22425 | pub struct D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT_OUTPUT { | |
22426 | pub Output: D3D11_AUTHENTICATED_QUERY_OUTPUT, | |
22427 | pub RestrictedSharedResourceProcessCount: u32, | |
22428 | } | |
22429 | #[cfg(feature = "Win32_Foundation")] | |
22430 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT_OUTPUT {} | |
22431 | #[cfg(feature = "Win32_Foundation")] | |
22432 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT_OUTPUT { | |
22433 | fn clone(&self) -> Self { | |
22434 | *self | |
22435 | } | |
22436 | } | |
22437 | #[cfg(feature = "Win32_Foundation")] | |
22438 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT_OUTPUT { | |
22439 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22440 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT_OUTPUT").field("Output", &self.Output).field("RestrictedSharedResourceProcessCount", &self.RestrictedSharedResourceProcessCount).finish() | |
22441 | } | |
22442 | } | |
22443 | #[cfg(feature = "Win32_Foundation")] | |
22444 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT_OUTPUT { | |
22445 | type TypeKind = ::windows::core::CopyType; | |
22446 | } | |
22447 | #[cfg(feature = "Win32_Foundation")] | |
22448 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT_OUTPUT { | |
22449 | fn eq(&self, other: &Self) -> bool { | |
22450 | self.Output == other.Output && self.RestrictedSharedResourceProcessCount == other.RestrictedSharedResourceProcessCount | |
22451 | } | |
22452 | } | |
22453 | #[cfg(feature = "Win32_Foundation")] | |
22454 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT_OUTPUT {} | |
22455 | #[cfg(feature = "Win32_Foundation")] | |
22456 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT_OUTPUT { | |
22457 | fn default() -> Self { | |
22458 | unsafe { ::core::mem::zeroed() } | |
22459 | } | |
22460 | } | |
22461 | #[repr(C)] | |
22462 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
22463 | #[cfg(feature = "Win32_Foundation")] | |
22464 | pub struct D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_INPUT { | |
22465 | pub Input: D3D11_AUTHENTICATED_QUERY_INPUT, | |
22466 | pub ProcessIndex: u32, | |
22467 | } | |
22468 | #[cfg(feature = "Win32_Foundation")] | |
22469 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_INPUT {} | |
22470 | #[cfg(feature = "Win32_Foundation")] | |
22471 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_INPUT { | |
22472 | fn clone(&self) -> Self { | |
22473 | *self | |
22474 | } | |
22475 | } | |
22476 | #[cfg(feature = "Win32_Foundation")] | |
22477 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_INPUT { | |
22478 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22479 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_INPUT").field("Input", &self.Input).field("ProcessIndex", &self.ProcessIndex).finish() | |
22480 | } | |
22481 | } | |
22482 | #[cfg(feature = "Win32_Foundation")] | |
22483 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_INPUT { | |
22484 | type TypeKind = ::windows::core::CopyType; | |
22485 | } | |
22486 | #[cfg(feature = "Win32_Foundation")] | |
22487 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_INPUT { | |
22488 | fn eq(&self, other: &Self) -> bool { | |
22489 | self.Input == other.Input && self.ProcessIndex == other.ProcessIndex | |
22490 | } | |
22491 | } | |
22492 | #[cfg(feature = "Win32_Foundation")] | |
22493 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_INPUT {} | |
22494 | #[cfg(feature = "Win32_Foundation")] | |
22495 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_INPUT { | |
22496 | fn default() -> Self { | |
22497 | unsafe { ::core::mem::zeroed() } | |
22498 | } | |
22499 | } | |
22500 | #[repr(C)] | |
22501 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
22502 | #[cfg(feature = "Win32_Foundation")] | |
22503 | pub struct D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTPUT { | |
22504 | pub Output: D3D11_AUTHENTICATED_QUERY_OUTPUT, | |
22505 | pub ProcessIndex: u32, | |
22506 | pub ProcessIdentifier: D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE, | |
22507 | pub ProcessHandle: super::super::Foundation::HANDLE, | |
22508 | } | |
22509 | #[cfg(feature = "Win32_Foundation")] | |
22510 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTPUT {} | |
22511 | #[cfg(feature = "Win32_Foundation")] | |
22512 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTPUT { | |
22513 | fn clone(&self) -> Self { | |
22514 | *self | |
22515 | } | |
22516 | } | |
22517 | #[cfg(feature = "Win32_Foundation")] | |
22518 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTPUT { | |
22519 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22520 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTPUT").field("Output", &self.Output).field("ProcessIndex", &self.ProcessIndex).field("ProcessIdentifier", &self.ProcessIdentifier).field("ProcessHandle", &self.ProcessHandle).finish() | |
22521 | } | |
22522 | } | |
22523 | #[cfg(feature = "Win32_Foundation")] | |
22524 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTPUT { | |
22525 | type TypeKind = ::windows::core::CopyType; | |
22526 | } | |
22527 | #[cfg(feature = "Win32_Foundation")] | |
22528 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTPUT { | |
22529 | fn eq(&self, other: &Self) -> bool { | |
22530 | self.Output == other.Output && self.ProcessIndex == other.ProcessIndex && self.ProcessIdentifier == other.ProcessIdentifier && self.ProcessHandle == other.ProcessHandle | |
22531 | } | |
22532 | } | |
22533 | #[cfg(feature = "Win32_Foundation")] | |
22534 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTPUT {} | |
22535 | #[cfg(feature = "Win32_Foundation")] | |
22536 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTPUT { | |
22537 | fn default() -> Self { | |
22538 | unsafe { ::core::mem::zeroed() } | |
22539 | } | |
22540 | } | |
22541 | #[repr(C)] | |
22542 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
22543 | #[cfg(feature = "Win32_Foundation")] | |
22544 | pub struct D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT_OUTPUT { | |
22545 | pub Output: D3D11_AUTHENTICATED_QUERY_OUTPUT, | |
22546 | pub UnrestrictedProtectedSharedResourceCount: u32, | |
22547 | } | |
22548 | #[cfg(feature = "Win32_Foundation")] | |
22549 | impl ::core::marker::Copy for D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT_OUTPUT {} | |
22550 | #[cfg(feature = "Win32_Foundation")] | |
22551 | impl ::core::clone::Clone for D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT_OUTPUT { | |
22552 | fn clone(&self) -> Self { | |
22553 | *self | |
22554 | } | |
22555 | } | |
22556 | #[cfg(feature = "Win32_Foundation")] | |
22557 | impl ::core::fmt::Debug for D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT_OUTPUT { | |
22558 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22559 | f.debug_struct("D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT_OUTPUT").field("Output", &self.Output).field("UnrestrictedProtectedSharedResourceCount", &self.UnrestrictedProtectedSharedResourceCount).finish() | |
22560 | } | |
22561 | } | |
22562 | #[cfg(feature = "Win32_Foundation")] | |
22563 | impl ::windows::core::TypeKind for D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT_OUTPUT { | |
22564 | type TypeKind = ::windows::core::CopyType; | |
22565 | } | |
22566 | #[cfg(feature = "Win32_Foundation")] | |
22567 | impl ::core::cmp::PartialEq for D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT_OUTPUT { | |
22568 | fn eq(&self, other: &Self) -> bool { | |
22569 | self.Output == other.Output && self.UnrestrictedProtectedSharedResourceCount == other.UnrestrictedProtectedSharedResourceCount | |
22570 | } | |
22571 | } | |
22572 | #[cfg(feature = "Win32_Foundation")] | |
22573 | impl ::core::cmp::Eq for D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT_OUTPUT {} | |
22574 | #[cfg(feature = "Win32_Foundation")] | |
22575 | impl ::core::default::Default for D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT_OUTPUT { | |
22576 | fn default() -> Self { | |
22577 | unsafe { ::core::mem::zeroed() } | |
22578 | } | |
22579 | } | |
22580 | #[repr(C)] | |
22581 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
22582 | #[cfg(feature = "Win32_Foundation")] | |
22583 | pub struct D3D11_BLEND_DESC { | |
22584 | pub AlphaToCoverageEnable: super::super::Foundation::BOOL, | |
22585 | pub IndependentBlendEnable: super::super::Foundation::BOOL, | |
22586 | pub RenderTarget: [D3D11_RENDER_TARGET_BLEND_DESC; 8], | |
22587 | } | |
22588 | #[cfg(feature = "Win32_Foundation")] | |
22589 | impl ::core::marker::Copy for D3D11_BLEND_DESC {} | |
22590 | #[cfg(feature = "Win32_Foundation")] | |
22591 | impl ::core::clone::Clone for D3D11_BLEND_DESC { | |
22592 | fn clone(&self) -> Self { | |
22593 | *self | |
22594 | } | |
22595 | } | |
22596 | #[cfg(feature = "Win32_Foundation")] | |
22597 | impl ::core::fmt::Debug for D3D11_BLEND_DESC { | |
22598 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22599 | f.debug_struct("D3D11_BLEND_DESC").field("AlphaToCoverageEnable", &self.AlphaToCoverageEnable).field("IndependentBlendEnable", &self.IndependentBlendEnable).field("RenderTarget", &self.RenderTarget).finish() | |
22600 | } | |
22601 | } | |
22602 | #[cfg(feature = "Win32_Foundation")] | |
22603 | impl ::windows::core::TypeKind for D3D11_BLEND_DESC { | |
22604 | type TypeKind = ::windows::core::CopyType; | |
22605 | } | |
22606 | #[cfg(feature = "Win32_Foundation")] | |
22607 | impl ::core::cmp::PartialEq for D3D11_BLEND_DESC { | |
22608 | fn eq(&self, other: &Self) -> bool { | |
22609 | self.AlphaToCoverageEnable == other.AlphaToCoverageEnable && self.IndependentBlendEnable == other.IndependentBlendEnable && self.RenderTarget == other.RenderTarget | |
22610 | } | |
22611 | } | |
22612 | #[cfg(feature = "Win32_Foundation")] | |
22613 | impl ::core::cmp::Eq for D3D11_BLEND_DESC {} | |
22614 | #[cfg(feature = "Win32_Foundation")] | |
22615 | impl ::core::default::Default for D3D11_BLEND_DESC { | |
22616 | fn default() -> Self { | |
22617 | unsafe { ::core::mem::zeroed() } | |
22618 | } | |
22619 | } | |
22620 | #[repr(C)] | |
22621 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
22622 | #[cfg(feature = "Win32_Foundation")] | |
22623 | pub struct D3D11_BLEND_DESC1 { | |
22624 | pub AlphaToCoverageEnable: super::super::Foundation::BOOL, | |
22625 | pub IndependentBlendEnable: super::super::Foundation::BOOL, | |
22626 | pub RenderTarget: [D3D11_RENDER_TARGET_BLEND_DESC1; 8], | |
22627 | } | |
22628 | #[cfg(feature = "Win32_Foundation")] | |
22629 | impl ::core::marker::Copy for D3D11_BLEND_DESC1 {} | |
22630 | #[cfg(feature = "Win32_Foundation")] | |
22631 | impl ::core::clone::Clone for D3D11_BLEND_DESC1 { | |
22632 | fn clone(&self) -> Self { | |
22633 | *self | |
22634 | } | |
22635 | } | |
22636 | #[cfg(feature = "Win32_Foundation")] | |
22637 | impl ::core::fmt::Debug for D3D11_BLEND_DESC1 { | |
22638 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22639 | f.debug_struct("D3D11_BLEND_DESC1").field("AlphaToCoverageEnable", &self.AlphaToCoverageEnable).field("IndependentBlendEnable", &self.IndependentBlendEnable).field("RenderTarget", &self.RenderTarget).finish() | |
22640 | } | |
22641 | } | |
22642 | #[cfg(feature = "Win32_Foundation")] | |
22643 | impl ::windows::core::TypeKind for D3D11_BLEND_DESC1 { | |
22644 | type TypeKind = ::windows::core::CopyType; | |
22645 | } | |
22646 | #[cfg(feature = "Win32_Foundation")] | |
22647 | impl ::core::cmp::PartialEq for D3D11_BLEND_DESC1 { | |
22648 | fn eq(&self, other: &Self) -> bool { | |
22649 | self.AlphaToCoverageEnable == other.AlphaToCoverageEnable && self.IndependentBlendEnable == other.IndependentBlendEnable && self.RenderTarget == other.RenderTarget | |
22650 | } | |
22651 | } | |
22652 | #[cfg(feature = "Win32_Foundation")] | |
22653 | impl ::core::cmp::Eq for D3D11_BLEND_DESC1 {} | |
22654 | #[cfg(feature = "Win32_Foundation")] | |
22655 | impl ::core::default::Default for D3D11_BLEND_DESC1 { | |
22656 | fn default() -> Self { | |
22657 | unsafe { ::core::mem::zeroed() } | |
22658 | } | |
22659 | } | |
22660 | #[repr(C)] | |
22661 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
22662 | pub struct D3D11_BOX { | |
22663 | pub left: u32, | |
22664 | pub top: u32, | |
22665 | pub front: u32, | |
22666 | pub right: u32, | |
22667 | pub bottom: u32, | |
22668 | pub back: u32, | |
22669 | } | |
22670 | impl ::core::marker::Copy for D3D11_BOX {} | |
22671 | impl ::core::clone::Clone for D3D11_BOX { | |
22672 | fn clone(&self) -> Self { | |
22673 | *self | |
22674 | } | |
22675 | } | |
22676 | impl ::core::fmt::Debug for D3D11_BOX { | |
22677 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22678 | f.debug_struct("D3D11_BOX").field("left", &self.left).field("top", &self.top).field("front", &self.front).field("right", &self.right).field("bottom", &self.bottom).field("back", &self.back).finish() | |
22679 | } | |
22680 | } | |
22681 | impl ::windows::core::TypeKind for D3D11_BOX { | |
22682 | type TypeKind = ::windows::core::CopyType; | |
22683 | } | |
22684 | impl ::core::cmp::PartialEq for D3D11_BOX { | |
22685 | fn eq(&self, other: &Self) -> bool { | |
22686 | self.left == other.left && self.top == other.top && self.front == other.front && self.right == other.right && self.bottom == other.bottom && self.back == other.back | |
22687 | } | |
22688 | } | |
22689 | impl ::core::cmp::Eq for D3D11_BOX {} | |
22690 | impl ::core::default::Default for D3D11_BOX { | |
22691 | fn default() -> Self { | |
22692 | unsafe { ::core::mem::zeroed() } | |
22693 | } | |
22694 | } | |
22695 | #[repr(C)] | |
22696 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
22697 | pub struct D3D11_BUFFEREX_SRV { | |
22698 | pub FirstElement: u32, | |
22699 | pub NumElements: u32, | |
22700 | pub Flags: u32, | |
22701 | } | |
22702 | impl ::core::marker::Copy for D3D11_BUFFEREX_SRV {} | |
22703 | impl ::core::clone::Clone for D3D11_BUFFEREX_SRV { | |
22704 | fn clone(&self) -> Self { | |
22705 | *self | |
22706 | } | |
22707 | } | |
22708 | impl ::core::fmt::Debug for D3D11_BUFFEREX_SRV { | |
22709 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22710 | f.debug_struct("D3D11_BUFFEREX_SRV").field("FirstElement", &self.FirstElement).field("NumElements", &self.NumElements).field("Flags", &self.Flags).finish() | |
22711 | } | |
22712 | } | |
22713 | impl ::windows::core::TypeKind for D3D11_BUFFEREX_SRV { | |
22714 | type TypeKind = ::windows::core::CopyType; | |
22715 | } | |
22716 | impl ::core::cmp::PartialEq for D3D11_BUFFEREX_SRV { | |
22717 | fn eq(&self, other: &Self) -> bool { | |
22718 | self.FirstElement == other.FirstElement && self.NumElements == other.NumElements && self.Flags == other.Flags | |
22719 | } | |
22720 | } | |
22721 | impl ::core::cmp::Eq for D3D11_BUFFEREX_SRV {} | |
22722 | impl ::core::default::Default for D3D11_BUFFEREX_SRV { | |
22723 | fn default() -> Self { | |
22724 | unsafe { ::core::mem::zeroed() } | |
22725 | } | |
22726 | } | |
22727 | #[repr(C)] | |
22728 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
22729 | pub struct D3D11_BUFFER_DESC { | |
22730 | pub ByteWidth: u32, | |
22731 | pub Usage: D3D11_USAGE, | |
22732 | pub BindFlags: D3D11_BIND_FLAG, | |
22733 | pub CPUAccessFlags: D3D11_CPU_ACCESS_FLAG, | |
22734 | pub MiscFlags: D3D11_RESOURCE_MISC_FLAG, | |
22735 | pub StructureByteStride: u32, | |
22736 | } | |
22737 | impl ::core::marker::Copy for D3D11_BUFFER_DESC {} | |
22738 | impl ::core::clone::Clone for D3D11_BUFFER_DESC { | |
22739 | fn clone(&self) -> Self { | |
22740 | *self | |
22741 | } | |
22742 | } | |
22743 | impl ::core::fmt::Debug for D3D11_BUFFER_DESC { | |
22744 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22745 | f.debug_struct("D3D11_BUFFER_DESC").field("ByteWidth", &self.ByteWidth).field("Usage", &self.Usage).field("BindFlags", &self.BindFlags).field("CPUAccessFlags", &self.CPUAccessFlags).field("MiscFlags", &self.MiscFlags).field("StructureByteStride", &self.StructureByteStride).finish() | |
22746 | } | |
22747 | } | |
22748 | impl ::windows::core::TypeKind for D3D11_BUFFER_DESC { | |
22749 | type TypeKind = ::windows::core::CopyType; | |
22750 | } | |
22751 | impl ::core::cmp::PartialEq for D3D11_BUFFER_DESC { | |
22752 | fn eq(&self, other: &Self) -> bool { | |
22753 | self.ByteWidth == other.ByteWidth && self.Usage == other.Usage && self.BindFlags == other.BindFlags && self.CPUAccessFlags == other.CPUAccessFlags && self.MiscFlags == other.MiscFlags && self.StructureByteStride == other.StructureByteStride | |
22754 | } | |
22755 | } | |
22756 | impl ::core::cmp::Eq for D3D11_BUFFER_DESC {} | |
22757 | impl ::core::default::Default for D3D11_BUFFER_DESC { | |
22758 | fn default() -> Self { | |
22759 | unsafe { ::core::mem::zeroed() } | |
22760 | } | |
22761 | } | |
22762 | #[repr(C)] | |
22763 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
22764 | pub struct D3D11_BUFFER_RTV { | |
22765 | pub Anonymous1: D3D11_BUFFER_RTV_0, | |
22766 | pub Anonymous2: D3D11_BUFFER_RTV_1, | |
22767 | } | |
22768 | impl ::core::marker::Copy for D3D11_BUFFER_RTV {} | |
22769 | impl ::core::clone::Clone for D3D11_BUFFER_RTV { | |
22770 | fn clone(&self) -> Self { | |
22771 | *self | |
22772 | } | |
22773 | } | |
22774 | impl ::windows::core::TypeKind for D3D11_BUFFER_RTV { | |
22775 | type TypeKind = ::windows::core::CopyType; | |
22776 | } | |
22777 | impl ::core::default::Default for D3D11_BUFFER_RTV { | |
22778 | fn default() -> Self { | |
22779 | unsafe { ::core::mem::zeroed() } | |
22780 | } | |
22781 | } | |
22782 | #[repr(C)] | |
22783 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
22784 | pub union D3D11_BUFFER_RTV_0 { | |
22785 | pub FirstElement: u32, | |
22786 | pub ElementOffset: u32, | |
22787 | } | |
22788 | impl ::core::marker::Copy for D3D11_BUFFER_RTV_0 {} | |
22789 | impl ::core::clone::Clone for D3D11_BUFFER_RTV_0 { | |
22790 | fn clone(&self) -> Self { | |
22791 | *self | |
22792 | } | |
22793 | } | |
22794 | impl ::windows::core::TypeKind for D3D11_BUFFER_RTV_0 { | |
22795 | type TypeKind = ::windows::core::CopyType; | |
22796 | } | |
22797 | impl ::core::default::Default for D3D11_BUFFER_RTV_0 { | |
22798 | fn default() -> Self { | |
22799 | unsafe { ::core::mem::zeroed() } | |
22800 | } | |
22801 | } | |
22802 | #[repr(C)] | |
22803 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
22804 | pub union D3D11_BUFFER_RTV_1 { | |
22805 | pub NumElements: u32, | |
22806 | pub ElementWidth: u32, | |
22807 | } | |
22808 | impl ::core::marker::Copy for D3D11_BUFFER_RTV_1 {} | |
22809 | impl ::core::clone::Clone for D3D11_BUFFER_RTV_1 { | |
22810 | fn clone(&self) -> Self { | |
22811 | *self | |
22812 | } | |
22813 | } | |
22814 | impl ::windows::core::TypeKind for D3D11_BUFFER_RTV_1 { | |
22815 | type TypeKind = ::windows::core::CopyType; | |
22816 | } | |
22817 | impl ::core::default::Default for D3D11_BUFFER_RTV_1 { | |
22818 | fn default() -> Self { | |
22819 | unsafe { ::core::mem::zeroed() } | |
22820 | } | |
22821 | } | |
22822 | #[repr(C)] | |
22823 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
22824 | pub struct D3D11_BUFFER_SRV { | |
22825 | pub Anonymous1: D3D11_BUFFER_SRV_0, | |
22826 | pub Anonymous2: D3D11_BUFFER_SRV_1, | |
22827 | } | |
22828 | impl ::core::marker::Copy for D3D11_BUFFER_SRV {} | |
22829 | impl ::core::clone::Clone for D3D11_BUFFER_SRV { | |
22830 | fn clone(&self) -> Self { | |
22831 | *self | |
22832 | } | |
22833 | } | |
22834 | impl ::windows::core::TypeKind for D3D11_BUFFER_SRV { | |
22835 | type TypeKind = ::windows::core::CopyType; | |
22836 | } | |
22837 | impl ::core::default::Default for D3D11_BUFFER_SRV { | |
22838 | fn default() -> Self { | |
22839 | unsafe { ::core::mem::zeroed() } | |
22840 | } | |
22841 | } | |
22842 | #[repr(C)] | |
22843 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
22844 | pub union D3D11_BUFFER_SRV_0 { | |
22845 | pub FirstElement: u32, | |
22846 | pub ElementOffset: u32, | |
22847 | } | |
22848 | impl ::core::marker::Copy for D3D11_BUFFER_SRV_0 {} | |
22849 | impl ::core::clone::Clone for D3D11_BUFFER_SRV_0 { | |
22850 | fn clone(&self) -> Self { | |
22851 | *self | |
22852 | } | |
22853 | } | |
22854 | impl ::windows::core::TypeKind for D3D11_BUFFER_SRV_0 { | |
22855 | type TypeKind = ::windows::core::CopyType; | |
22856 | } | |
22857 | impl ::core::default::Default for D3D11_BUFFER_SRV_0 { | |
22858 | fn default() -> Self { | |
22859 | unsafe { ::core::mem::zeroed() } | |
22860 | } | |
22861 | } | |
22862 | #[repr(C)] | |
22863 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
22864 | pub union D3D11_BUFFER_SRV_1 { | |
22865 | pub NumElements: u32, | |
22866 | pub ElementWidth: u32, | |
22867 | } | |
22868 | impl ::core::marker::Copy for D3D11_BUFFER_SRV_1 {} | |
22869 | impl ::core::clone::Clone for D3D11_BUFFER_SRV_1 { | |
22870 | fn clone(&self) -> Self { | |
22871 | *self | |
22872 | } | |
22873 | } | |
22874 | impl ::windows::core::TypeKind for D3D11_BUFFER_SRV_1 { | |
22875 | type TypeKind = ::windows::core::CopyType; | |
22876 | } | |
22877 | impl ::core::default::Default for D3D11_BUFFER_SRV_1 { | |
22878 | fn default() -> Self { | |
22879 | unsafe { ::core::mem::zeroed() } | |
22880 | } | |
22881 | } | |
22882 | #[repr(C)] | |
22883 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
22884 | pub struct D3D11_BUFFER_UAV { | |
22885 | pub FirstElement: u32, | |
22886 | pub NumElements: u32, | |
22887 | pub Flags: u32, | |
22888 | } | |
22889 | impl ::core::marker::Copy for D3D11_BUFFER_UAV {} | |
22890 | impl ::core::clone::Clone for D3D11_BUFFER_UAV { | |
22891 | fn clone(&self) -> Self { | |
22892 | *self | |
22893 | } | |
22894 | } | |
22895 | impl ::core::fmt::Debug for D3D11_BUFFER_UAV { | |
22896 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22897 | f.debug_struct("D3D11_BUFFER_UAV").field("FirstElement", &self.FirstElement).field("NumElements", &self.NumElements).field("Flags", &self.Flags).finish() | |
22898 | } | |
22899 | } | |
22900 | impl ::windows::core::TypeKind for D3D11_BUFFER_UAV { | |
22901 | type TypeKind = ::windows::core::CopyType; | |
22902 | } | |
22903 | impl ::core::cmp::PartialEq for D3D11_BUFFER_UAV { | |
22904 | fn eq(&self, other: &Self) -> bool { | |
22905 | self.FirstElement == other.FirstElement && self.NumElements == other.NumElements && self.Flags == other.Flags | |
22906 | } | |
22907 | } | |
22908 | impl ::core::cmp::Eq for D3D11_BUFFER_UAV {} | |
22909 | impl ::core::default::Default for D3D11_BUFFER_UAV { | |
22910 | fn default() -> Self { | |
22911 | unsafe { ::core::mem::zeroed() } | |
22912 | } | |
22913 | } | |
22914 | #[repr(C)] | |
22915 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
22916 | #[cfg(feature = "Win32_Foundation")] | |
22917 | pub struct D3D11_CLASS_INSTANCE_DESC { | |
22918 | pub InstanceId: u32, | |
22919 | pub InstanceIndex: u32, | |
22920 | pub TypeId: u32, | |
22921 | pub ConstantBuffer: u32, | |
22922 | pub BaseConstantBufferOffset: u32, | |
22923 | pub BaseTexture: u32, | |
22924 | pub BaseSampler: u32, | |
22925 | pub Created: super::super::Foundation::BOOL, | |
22926 | } | |
22927 | #[cfg(feature = "Win32_Foundation")] | |
22928 | impl ::core::marker::Copy for D3D11_CLASS_INSTANCE_DESC {} | |
22929 | #[cfg(feature = "Win32_Foundation")] | |
22930 | impl ::core::clone::Clone for D3D11_CLASS_INSTANCE_DESC { | |
22931 | fn clone(&self) -> Self { | |
22932 | *self | |
22933 | } | |
22934 | } | |
22935 | #[cfg(feature = "Win32_Foundation")] | |
22936 | impl ::core::fmt::Debug for D3D11_CLASS_INSTANCE_DESC { | |
22937 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22938 | f.debug_struct("D3D11_CLASS_INSTANCE_DESC").field("InstanceId", &self.InstanceId).field("InstanceIndex", &self.InstanceIndex).field("TypeId", &self.TypeId).field("ConstantBuffer", &self.ConstantBuffer).field("BaseConstantBufferOffset", &self.BaseConstantBufferOffset).field("BaseTexture", &self.BaseTexture).field("BaseSampler", &self.BaseSampler).field("Created", &self.Created).finish() | |
22939 | } | |
22940 | } | |
22941 | #[cfg(feature = "Win32_Foundation")] | |
22942 | impl ::windows::core::TypeKind for D3D11_CLASS_INSTANCE_DESC { | |
22943 | type TypeKind = ::windows::core::CopyType; | |
22944 | } | |
22945 | #[cfg(feature = "Win32_Foundation")] | |
22946 | impl ::core::cmp::PartialEq for D3D11_CLASS_INSTANCE_DESC { | |
22947 | fn eq(&self, other: &Self) -> bool { | |
22948 | self.InstanceId == other.InstanceId && self.InstanceIndex == other.InstanceIndex && self.TypeId == other.TypeId && self.ConstantBuffer == other.ConstantBuffer && self.BaseConstantBufferOffset == other.BaseConstantBufferOffset && self.BaseTexture == other.BaseTexture && self.BaseSampler == other.BaseSampler && self.Created == other.Created | |
22949 | } | |
22950 | } | |
22951 | #[cfg(feature = "Win32_Foundation")] | |
22952 | impl ::core::cmp::Eq for D3D11_CLASS_INSTANCE_DESC {} | |
22953 | #[cfg(feature = "Win32_Foundation")] | |
22954 | impl ::core::default::Default for D3D11_CLASS_INSTANCE_DESC { | |
22955 | fn default() -> Self { | |
22956 | unsafe { ::core::mem::zeroed() } | |
22957 | } | |
22958 | } | |
22959 | #[repr(C)] | |
22960 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
22961 | pub struct D3D11_COMPUTE_SHADER_TRACE_DESC { | |
22962 | pub Invocation: u64, | |
22963 | pub ThreadIDInGroup: [u32; 3], | |
22964 | pub ThreadGroupID: [u32; 3], | |
22965 | } | |
22966 | impl ::core::marker::Copy for D3D11_COMPUTE_SHADER_TRACE_DESC {} | |
22967 | impl ::core::clone::Clone for D3D11_COMPUTE_SHADER_TRACE_DESC { | |
22968 | fn clone(&self) -> Self { | |
22969 | *self | |
22970 | } | |
22971 | } | |
22972 | impl ::core::fmt::Debug for D3D11_COMPUTE_SHADER_TRACE_DESC { | |
22973 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
22974 | f.debug_struct("D3D11_COMPUTE_SHADER_TRACE_DESC").field("Invocation", &self.Invocation).field("ThreadIDInGroup", &self.ThreadIDInGroup).field("ThreadGroupID", &self.ThreadGroupID).finish() | |
22975 | } | |
22976 | } | |
22977 | impl ::windows::core::TypeKind for D3D11_COMPUTE_SHADER_TRACE_DESC { | |
22978 | type TypeKind = ::windows::core::CopyType; | |
22979 | } | |
22980 | impl ::core::cmp::PartialEq for D3D11_COMPUTE_SHADER_TRACE_DESC { | |
22981 | fn eq(&self, other: &Self) -> bool { | |
22982 | self.Invocation == other.Invocation && self.ThreadIDInGroup == other.ThreadIDInGroup && self.ThreadGroupID == other.ThreadGroupID | |
22983 | } | |
22984 | } | |
22985 | impl ::core::cmp::Eq for D3D11_COMPUTE_SHADER_TRACE_DESC {} | |
22986 | impl ::core::default::Default for D3D11_COMPUTE_SHADER_TRACE_DESC { | |
22987 | fn default() -> Self { | |
22988 | unsafe { ::core::mem::zeroed() } | |
22989 | } | |
22990 | } | |
22991 | #[repr(C)] | |
22992 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
22993 | pub struct D3D11_COUNTER_DESC { | |
22994 | pub Counter: D3D11_COUNTER, | |
22995 | pub MiscFlags: u32, | |
22996 | } | |
22997 | impl ::core::marker::Copy for D3D11_COUNTER_DESC {} | |
22998 | impl ::core::clone::Clone for D3D11_COUNTER_DESC { | |
22999 | fn clone(&self) -> Self { | |
23000 | *self | |
23001 | } | |
23002 | } | |
23003 | impl ::core::fmt::Debug for D3D11_COUNTER_DESC { | |
23004 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23005 | f.debug_struct("D3D11_COUNTER_DESC").field("Counter", &self.Counter).field("MiscFlags", &self.MiscFlags).finish() | |
23006 | } | |
23007 | } | |
23008 | impl ::windows::core::TypeKind for D3D11_COUNTER_DESC { | |
23009 | type TypeKind = ::windows::core::CopyType; | |
23010 | } | |
23011 | impl ::core::cmp::PartialEq for D3D11_COUNTER_DESC { | |
23012 | fn eq(&self, other: &Self) -> bool { | |
23013 | self.Counter == other.Counter && self.MiscFlags == other.MiscFlags | |
23014 | } | |
23015 | } | |
23016 | impl ::core::cmp::Eq for D3D11_COUNTER_DESC {} | |
23017 | impl ::core::default::Default for D3D11_COUNTER_DESC { | |
23018 | fn default() -> Self { | |
23019 | unsafe { ::core::mem::zeroed() } | |
23020 | } | |
23021 | } | |
23022 | #[repr(C)] | |
23023 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
23024 | pub struct D3D11_COUNTER_INFO { | |
23025 | pub LastDeviceDependentCounter: D3D11_COUNTER, | |
23026 | pub NumSimultaneousCounters: u32, | |
23027 | pub NumDetectableParallelUnits: u8, | |
23028 | } | |
23029 | impl ::core::marker::Copy for D3D11_COUNTER_INFO {} | |
23030 | impl ::core::clone::Clone for D3D11_COUNTER_INFO { | |
23031 | fn clone(&self) -> Self { | |
23032 | *self | |
23033 | } | |
23034 | } | |
23035 | impl ::core::fmt::Debug for D3D11_COUNTER_INFO { | |
23036 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23037 | f.debug_struct("D3D11_COUNTER_INFO").field("LastDeviceDependentCounter", &self.LastDeviceDependentCounter).field("NumSimultaneousCounters", &self.NumSimultaneousCounters).field("NumDetectableParallelUnits", &self.NumDetectableParallelUnits).finish() | |
23038 | } | |
23039 | } | |
23040 | impl ::windows::core::TypeKind for D3D11_COUNTER_INFO { | |
23041 | type TypeKind = ::windows::core::CopyType; | |
23042 | } | |
23043 | impl ::core::cmp::PartialEq for D3D11_COUNTER_INFO { | |
23044 | fn eq(&self, other: &Self) -> bool { | |
23045 | self.LastDeviceDependentCounter == other.LastDeviceDependentCounter && self.NumSimultaneousCounters == other.NumSimultaneousCounters && self.NumDetectableParallelUnits == other.NumDetectableParallelUnits | |
23046 | } | |
23047 | } | |
23048 | impl ::core::cmp::Eq for D3D11_COUNTER_INFO {} | |
23049 | impl ::core::default::Default for D3D11_COUNTER_INFO { | |
23050 | fn default() -> Self { | |
23051 | unsafe { ::core::mem::zeroed() } | |
23052 | } | |
23053 | } | |
23054 | #[repr(C)] | |
23055 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
23056 | pub struct D3D11_DEPTH_STENCILOP_DESC { | |
23057 | pub StencilFailOp: D3D11_STENCIL_OP, | |
23058 | pub StencilDepthFailOp: D3D11_STENCIL_OP, | |
23059 | pub StencilPassOp: D3D11_STENCIL_OP, | |
23060 | pub StencilFunc: D3D11_COMPARISON_FUNC, | |
23061 | } | |
23062 | impl ::core::marker::Copy for D3D11_DEPTH_STENCILOP_DESC {} | |
23063 | impl ::core::clone::Clone for D3D11_DEPTH_STENCILOP_DESC { | |
23064 | fn clone(&self) -> Self { | |
23065 | *self | |
23066 | } | |
23067 | } | |
23068 | impl ::core::fmt::Debug for D3D11_DEPTH_STENCILOP_DESC { | |
23069 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23070 | f.debug_struct("D3D11_DEPTH_STENCILOP_DESC").field("StencilFailOp", &self.StencilFailOp).field("StencilDepthFailOp", &self.StencilDepthFailOp).field("StencilPassOp", &self.StencilPassOp).field("StencilFunc", &self.StencilFunc).finish() | |
23071 | } | |
23072 | } | |
23073 | impl ::windows::core::TypeKind for D3D11_DEPTH_STENCILOP_DESC { | |
23074 | type TypeKind = ::windows::core::CopyType; | |
23075 | } | |
23076 | impl ::core::cmp::PartialEq for D3D11_DEPTH_STENCILOP_DESC { | |
23077 | fn eq(&self, other: &Self) -> bool { | |
23078 | self.StencilFailOp == other.StencilFailOp && self.StencilDepthFailOp == other.StencilDepthFailOp && self.StencilPassOp == other.StencilPassOp && self.StencilFunc == other.StencilFunc | |
23079 | } | |
23080 | } | |
23081 | impl ::core::cmp::Eq for D3D11_DEPTH_STENCILOP_DESC {} | |
23082 | impl ::core::default::Default for D3D11_DEPTH_STENCILOP_DESC { | |
23083 | fn default() -> Self { | |
23084 | unsafe { ::core::mem::zeroed() } | |
23085 | } | |
23086 | } | |
23087 | #[repr(C)] | |
23088 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
23089 | #[cfg(feature = "Win32_Foundation")] | |
23090 | pub struct D3D11_DEPTH_STENCIL_DESC { | |
23091 | pub DepthEnable: super::super::Foundation::BOOL, | |
23092 | pub DepthWriteMask: D3D11_DEPTH_WRITE_MASK, | |
23093 | pub DepthFunc: D3D11_COMPARISON_FUNC, | |
23094 | pub StencilEnable: super::super::Foundation::BOOL, | |
23095 | pub StencilReadMask: u8, | |
23096 | pub StencilWriteMask: u8, | |
23097 | pub FrontFace: D3D11_DEPTH_STENCILOP_DESC, | |
23098 | pub BackFace: D3D11_DEPTH_STENCILOP_DESC, | |
23099 | } | |
23100 | #[cfg(feature = "Win32_Foundation")] | |
23101 | impl ::core::marker::Copy for D3D11_DEPTH_STENCIL_DESC {} | |
23102 | #[cfg(feature = "Win32_Foundation")] | |
23103 | impl ::core::clone::Clone for D3D11_DEPTH_STENCIL_DESC { | |
23104 | fn clone(&self) -> Self { | |
23105 | *self | |
23106 | } | |
23107 | } | |
23108 | #[cfg(feature = "Win32_Foundation")] | |
23109 | impl ::core::fmt::Debug for D3D11_DEPTH_STENCIL_DESC { | |
23110 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23111 | f.debug_struct("D3D11_DEPTH_STENCIL_DESC").field("DepthEnable", &self.DepthEnable).field("DepthWriteMask", &self.DepthWriteMask).field("DepthFunc", &self.DepthFunc).field("StencilEnable", &self.StencilEnable).field("StencilReadMask", &self.StencilReadMask).field("StencilWriteMask", &self.StencilWriteMask).field("FrontFace", &self.FrontFace).field("BackFace", &self.BackFace).finish() | |
23112 | } | |
23113 | } | |
23114 | #[cfg(feature = "Win32_Foundation")] | |
23115 | impl ::windows::core::TypeKind for D3D11_DEPTH_STENCIL_DESC { | |
23116 | type TypeKind = ::windows::core::CopyType; | |
23117 | } | |
23118 | #[cfg(feature = "Win32_Foundation")] | |
23119 | impl ::core::cmp::PartialEq for D3D11_DEPTH_STENCIL_DESC { | |
23120 | fn eq(&self, other: &Self) -> bool { | |
23121 | self.DepthEnable == other.DepthEnable && self.DepthWriteMask == other.DepthWriteMask && self.DepthFunc == other.DepthFunc && self.StencilEnable == other.StencilEnable && self.StencilReadMask == other.StencilReadMask && self.StencilWriteMask == other.StencilWriteMask && self.FrontFace == other.FrontFace && self.BackFace == other.BackFace | |
23122 | } | |
23123 | } | |
23124 | #[cfg(feature = "Win32_Foundation")] | |
23125 | impl ::core::cmp::Eq for D3D11_DEPTH_STENCIL_DESC {} | |
23126 | #[cfg(feature = "Win32_Foundation")] | |
23127 | impl ::core::default::Default for D3D11_DEPTH_STENCIL_DESC { | |
23128 | fn default() -> Self { | |
23129 | unsafe { ::core::mem::zeroed() } | |
23130 | } | |
23131 | } | |
23132 | #[repr(C)] | |
23133 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
23134 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23135 | pub struct D3D11_DEPTH_STENCIL_VIEW_DESC { | |
23136 | pub Format: super::Dxgi::Common::DXGI_FORMAT, | |
23137 | pub ViewDimension: D3D11_DSV_DIMENSION, | |
23138 | pub Flags: u32, | |
23139 | pub Anonymous: D3D11_DEPTH_STENCIL_VIEW_DESC_0, | |
23140 | } | |
23141 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23142 | impl ::core::marker::Copy for D3D11_DEPTH_STENCIL_VIEW_DESC {} | |
23143 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23144 | impl ::core::clone::Clone for D3D11_DEPTH_STENCIL_VIEW_DESC { | |
23145 | fn clone(&self) -> Self { | |
23146 | *self | |
23147 | } | |
23148 | } | |
23149 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23150 | impl ::windows::core::TypeKind for D3D11_DEPTH_STENCIL_VIEW_DESC { | |
23151 | type TypeKind = ::windows::core::CopyType; | |
23152 | } | |
23153 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23154 | impl ::core::default::Default for D3D11_DEPTH_STENCIL_VIEW_DESC { | |
23155 | fn default() -> Self { | |
23156 | unsafe { ::core::mem::zeroed() } | |
23157 | } | |
23158 | } | |
23159 | #[repr(C)] | |
23160 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
23161 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23162 | pub union D3D11_DEPTH_STENCIL_VIEW_DESC_0 { | |
23163 | pub Texture1D: D3D11_TEX1D_DSV, | |
23164 | pub Texture1DArray: D3D11_TEX1D_ARRAY_DSV, | |
23165 | pub Texture2D: D3D11_TEX2D_DSV, | |
23166 | pub Texture2DArray: D3D11_TEX2D_ARRAY_DSV, | |
23167 | pub Texture2DMS: D3D11_TEX2DMS_DSV, | |
23168 | pub Texture2DMSArray: D3D11_TEX2DMS_ARRAY_DSV, | |
23169 | } | |
23170 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23171 | impl ::core::marker::Copy for D3D11_DEPTH_STENCIL_VIEW_DESC_0 {} | |
23172 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23173 | impl ::core::clone::Clone for D3D11_DEPTH_STENCIL_VIEW_DESC_0 { | |
23174 | fn clone(&self) -> Self { | |
23175 | *self | |
23176 | } | |
23177 | } | |
23178 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23179 | impl ::windows::core::TypeKind for D3D11_DEPTH_STENCIL_VIEW_DESC_0 { | |
23180 | type TypeKind = ::windows::core::CopyType; | |
23181 | } | |
23182 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23183 | impl ::core::default::Default for D3D11_DEPTH_STENCIL_VIEW_DESC_0 { | |
23184 | fn default() -> Self { | |
23185 | unsafe { ::core::mem::zeroed() } | |
23186 | } | |
23187 | } | |
23188 | #[repr(C)] | |
23189 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
23190 | pub struct D3D11_DOMAIN_SHADER_TRACE_DESC { | |
23191 | pub Invocation: u64, | |
23192 | } | |
23193 | impl ::core::marker::Copy for D3D11_DOMAIN_SHADER_TRACE_DESC {} | |
23194 | impl ::core::clone::Clone for D3D11_DOMAIN_SHADER_TRACE_DESC { | |
23195 | fn clone(&self) -> Self { | |
23196 | *self | |
23197 | } | |
23198 | } | |
23199 | impl ::core::fmt::Debug for D3D11_DOMAIN_SHADER_TRACE_DESC { | |
23200 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23201 | f.debug_struct("D3D11_DOMAIN_SHADER_TRACE_DESC").field("Invocation", &self.Invocation).finish() | |
23202 | } | |
23203 | } | |
23204 | impl ::windows::core::TypeKind for D3D11_DOMAIN_SHADER_TRACE_DESC { | |
23205 | type TypeKind = ::windows::core::CopyType; | |
23206 | } | |
23207 | impl ::core::cmp::PartialEq for D3D11_DOMAIN_SHADER_TRACE_DESC { | |
23208 | fn eq(&self, other: &Self) -> bool { | |
23209 | self.Invocation == other.Invocation | |
23210 | } | |
23211 | } | |
23212 | impl ::core::cmp::Eq for D3D11_DOMAIN_SHADER_TRACE_DESC {} | |
23213 | impl ::core::default::Default for D3D11_DOMAIN_SHADER_TRACE_DESC { | |
23214 | fn default() -> Self { | |
23215 | unsafe { ::core::mem::zeroed() } | |
23216 | } | |
23217 | } | |
23218 | #[repr(C)] | |
23219 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
23220 | pub struct D3D11_DRAW_INDEXED_INSTANCED_INDIRECT_ARGS { | |
23221 | pub IndexCountPerInstance: u32, | |
23222 | pub InstanceCount: u32, | |
23223 | pub StartIndexLocation: u32, | |
23224 | pub BaseVertexLocation: i32, | |
23225 | pub StartInstanceLocation: u32, | |
23226 | } | |
23227 | impl ::core::marker::Copy for D3D11_DRAW_INDEXED_INSTANCED_INDIRECT_ARGS {} | |
23228 | impl ::core::clone::Clone for D3D11_DRAW_INDEXED_INSTANCED_INDIRECT_ARGS { | |
23229 | fn clone(&self) -> Self { | |
23230 | *self | |
23231 | } | |
23232 | } | |
23233 | impl ::core::fmt::Debug for D3D11_DRAW_INDEXED_INSTANCED_INDIRECT_ARGS { | |
23234 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23235 | f.debug_struct("D3D11_DRAW_INDEXED_INSTANCED_INDIRECT_ARGS").field("IndexCountPerInstance", &self.IndexCountPerInstance).field("InstanceCount", &self.InstanceCount).field("StartIndexLocation", &self.StartIndexLocation).field("BaseVertexLocation", &self.BaseVertexLocation).field("StartInstanceLocation", &self.StartInstanceLocation).finish() | |
23236 | } | |
23237 | } | |
23238 | impl ::windows::core::TypeKind for D3D11_DRAW_INDEXED_INSTANCED_INDIRECT_ARGS { | |
23239 | type TypeKind = ::windows::core::CopyType; | |
23240 | } | |
23241 | impl ::core::cmp::PartialEq for D3D11_DRAW_INDEXED_INSTANCED_INDIRECT_ARGS { | |
23242 | fn eq(&self, other: &Self) -> bool { | |
23243 | self.IndexCountPerInstance == other.IndexCountPerInstance && self.InstanceCount == other.InstanceCount && self.StartIndexLocation == other.StartIndexLocation && self.BaseVertexLocation == other.BaseVertexLocation && self.StartInstanceLocation == other.StartInstanceLocation | |
23244 | } | |
23245 | } | |
23246 | impl ::core::cmp::Eq for D3D11_DRAW_INDEXED_INSTANCED_INDIRECT_ARGS {} | |
23247 | impl ::core::default::Default for D3D11_DRAW_INDEXED_INSTANCED_INDIRECT_ARGS { | |
23248 | fn default() -> Self { | |
23249 | unsafe { ::core::mem::zeroed() } | |
23250 | } | |
23251 | } | |
23252 | #[repr(C)] | |
23253 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
23254 | pub struct D3D11_DRAW_INSTANCED_INDIRECT_ARGS { | |
23255 | pub VertexCountPerInstance: u32, | |
23256 | pub InstanceCount: u32, | |
23257 | pub StartVertexLocation: u32, | |
23258 | pub StartInstanceLocation: u32, | |
23259 | } | |
23260 | impl ::core::marker::Copy for D3D11_DRAW_INSTANCED_INDIRECT_ARGS {} | |
23261 | impl ::core::clone::Clone for D3D11_DRAW_INSTANCED_INDIRECT_ARGS { | |
23262 | fn clone(&self) -> Self { | |
23263 | *self | |
23264 | } | |
23265 | } | |
23266 | impl ::core::fmt::Debug for D3D11_DRAW_INSTANCED_INDIRECT_ARGS { | |
23267 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23268 | f.debug_struct("D3D11_DRAW_INSTANCED_INDIRECT_ARGS").field("VertexCountPerInstance", &self.VertexCountPerInstance).field("InstanceCount", &self.InstanceCount).field("StartVertexLocation", &self.StartVertexLocation).field("StartInstanceLocation", &self.StartInstanceLocation).finish() | |
23269 | } | |
23270 | } | |
23271 | impl ::windows::core::TypeKind for D3D11_DRAW_INSTANCED_INDIRECT_ARGS { | |
23272 | type TypeKind = ::windows::core::CopyType; | |
23273 | } | |
23274 | impl ::core::cmp::PartialEq for D3D11_DRAW_INSTANCED_INDIRECT_ARGS { | |
23275 | fn eq(&self, other: &Self) -> bool { | |
23276 | self.VertexCountPerInstance == other.VertexCountPerInstance && self.InstanceCount == other.InstanceCount && self.StartVertexLocation == other.StartVertexLocation && self.StartInstanceLocation == other.StartInstanceLocation | |
23277 | } | |
23278 | } | |
23279 | impl ::core::cmp::Eq for D3D11_DRAW_INSTANCED_INDIRECT_ARGS {} | |
23280 | impl ::core::default::Default for D3D11_DRAW_INSTANCED_INDIRECT_ARGS { | |
23281 | fn default() -> Self { | |
23282 | unsafe { ::core::mem::zeroed() } | |
23283 | } | |
23284 | } | |
23285 | #[repr(C)] | |
23286 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
23287 | pub struct D3D11_ENCRYPTED_BLOCK_INFO { | |
23288 | pub NumEncryptedBytesAtBeginning: u32, | |
23289 | pub NumBytesInSkipPattern: u32, | |
23290 | pub NumBytesInEncryptPattern: u32, | |
23291 | } | |
23292 | impl ::core::marker::Copy for D3D11_ENCRYPTED_BLOCK_INFO {} | |
23293 | impl ::core::clone::Clone for D3D11_ENCRYPTED_BLOCK_INFO { | |
23294 | fn clone(&self) -> Self { | |
23295 | *self | |
23296 | } | |
23297 | } | |
23298 | impl ::core::fmt::Debug for D3D11_ENCRYPTED_BLOCK_INFO { | |
23299 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23300 | f.debug_struct("D3D11_ENCRYPTED_BLOCK_INFO").field("NumEncryptedBytesAtBeginning", &self.NumEncryptedBytesAtBeginning).field("NumBytesInSkipPattern", &self.NumBytesInSkipPattern).field("NumBytesInEncryptPattern", &self.NumBytesInEncryptPattern).finish() | |
23301 | } | |
23302 | } | |
23303 | impl ::windows::core::TypeKind for D3D11_ENCRYPTED_BLOCK_INFO { | |
23304 | type TypeKind = ::windows::core::CopyType; | |
23305 | } | |
23306 | impl ::core::cmp::PartialEq for D3D11_ENCRYPTED_BLOCK_INFO { | |
23307 | fn eq(&self, other: &Self) -> bool { | |
23308 | self.NumEncryptedBytesAtBeginning == other.NumEncryptedBytesAtBeginning && self.NumBytesInSkipPattern == other.NumBytesInSkipPattern && self.NumBytesInEncryptPattern == other.NumBytesInEncryptPattern | |
23309 | } | |
23310 | } | |
23311 | impl ::core::cmp::Eq for D3D11_ENCRYPTED_BLOCK_INFO {} | |
23312 | impl ::core::default::Default for D3D11_ENCRYPTED_BLOCK_INFO { | |
23313 | fn default() -> Self { | |
23314 | unsafe { ::core::mem::zeroed() } | |
23315 | } | |
23316 | } | |
23317 | #[repr(C)] | |
23318 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
23319 | #[cfg(feature = "Win32_Foundation")] | |
23320 | pub struct D3D11_FEATURE_DATA_ARCHITECTURE_INFO { | |
23321 | pub TileBasedDeferredRenderer: super::super::Foundation::BOOL, | |
23322 | } | |
23323 | #[cfg(feature = "Win32_Foundation")] | |
23324 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_ARCHITECTURE_INFO {} | |
23325 | #[cfg(feature = "Win32_Foundation")] | |
23326 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_ARCHITECTURE_INFO { | |
23327 | fn clone(&self) -> Self { | |
23328 | *self | |
23329 | } | |
23330 | } | |
23331 | #[cfg(feature = "Win32_Foundation")] | |
23332 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_ARCHITECTURE_INFO { | |
23333 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23334 | f.debug_struct("D3D11_FEATURE_DATA_ARCHITECTURE_INFO").field("TileBasedDeferredRenderer", &self.TileBasedDeferredRenderer).finish() | |
23335 | } | |
23336 | } | |
23337 | #[cfg(feature = "Win32_Foundation")] | |
23338 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_ARCHITECTURE_INFO { | |
23339 | type TypeKind = ::windows::core::CopyType; | |
23340 | } | |
23341 | #[cfg(feature = "Win32_Foundation")] | |
23342 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_ARCHITECTURE_INFO { | |
23343 | fn eq(&self, other: &Self) -> bool { | |
23344 | self.TileBasedDeferredRenderer == other.TileBasedDeferredRenderer | |
23345 | } | |
23346 | } | |
23347 | #[cfg(feature = "Win32_Foundation")] | |
23348 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_ARCHITECTURE_INFO {} | |
23349 | #[cfg(feature = "Win32_Foundation")] | |
23350 | impl ::core::default::Default for D3D11_FEATURE_DATA_ARCHITECTURE_INFO { | |
23351 | fn default() -> Self { | |
23352 | unsafe { ::core::mem::zeroed() } | |
23353 | } | |
23354 | } | |
23355 | #[repr(C)] | |
23356 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
23357 | #[cfg(feature = "Win32_Foundation")] | |
23358 | pub struct D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS { | |
23359 | pub ComputeShaders_Plus_RawAndStructuredBuffers_Via_Shader_4_x: super::super::Foundation::BOOL, | |
23360 | } | |
23361 | #[cfg(feature = "Win32_Foundation")] | |
23362 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS {} | |
23363 | #[cfg(feature = "Win32_Foundation")] | |
23364 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS { | |
23365 | fn clone(&self) -> Self { | |
23366 | *self | |
23367 | } | |
23368 | } | |
23369 | #[cfg(feature = "Win32_Foundation")] | |
23370 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS { | |
23371 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23372 | f.debug_struct("D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS").field("ComputeShaders_Plus_RawAndStructuredBuffers_Via_Shader_4_x", &self.ComputeShaders_Plus_RawAndStructuredBuffers_Via_Shader_4_x).finish() | |
23373 | } | |
23374 | } | |
23375 | #[cfg(feature = "Win32_Foundation")] | |
23376 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS { | |
23377 | type TypeKind = ::windows::core::CopyType; | |
23378 | } | |
23379 | #[cfg(feature = "Win32_Foundation")] | |
23380 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS { | |
23381 | fn eq(&self, other: &Self) -> bool { | |
23382 | self.ComputeShaders_Plus_RawAndStructuredBuffers_Via_Shader_4_x == other.ComputeShaders_Plus_RawAndStructuredBuffers_Via_Shader_4_x | |
23383 | } | |
23384 | } | |
23385 | #[cfg(feature = "Win32_Foundation")] | |
23386 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS {} | |
23387 | #[cfg(feature = "Win32_Foundation")] | |
23388 | impl ::core::default::Default for D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS { | |
23389 | fn default() -> Self { | |
23390 | unsafe { ::core::mem::zeroed() } | |
23391 | } | |
23392 | } | |
23393 | #[repr(C)] | |
23394 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
23395 | #[cfg(feature = "Win32_Foundation")] | |
23396 | pub struct D3D11_FEATURE_DATA_D3D11_OPTIONS { | |
23397 | pub OutputMergerLogicOp: super::super::Foundation::BOOL, | |
23398 | pub UAVOnlyRenderingForcedSampleCount: super::super::Foundation::BOOL, | |
23399 | pub DiscardAPIsSeenByDriver: super::super::Foundation::BOOL, | |
23400 | pub FlagsForUpdateAndCopySeenByDriver: super::super::Foundation::BOOL, | |
23401 | pub ClearView: super::super::Foundation::BOOL, | |
23402 | pub CopyWithOverlap: super::super::Foundation::BOOL, | |
23403 | pub ConstantBufferPartialUpdate: super::super::Foundation::BOOL, | |
23404 | pub ConstantBufferOffsetting: super::super::Foundation::BOOL, | |
23405 | pub MapNoOverwriteOnDynamicConstantBuffer: super::super::Foundation::BOOL, | |
23406 | pub MapNoOverwriteOnDynamicBufferSRV: super::super::Foundation::BOOL, | |
23407 | pub MultisampleRTVWithForcedSampleCountOne: super::super::Foundation::BOOL, | |
23408 | pub SAD4ShaderInstructions: super::super::Foundation::BOOL, | |
23409 | pub ExtendedDoublesShaderInstructions: super::super::Foundation::BOOL, | |
23410 | pub ExtendedResourceSharing: super::super::Foundation::BOOL, | |
23411 | } | |
23412 | #[cfg(feature = "Win32_Foundation")] | |
23413 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_D3D11_OPTIONS {} | |
23414 | #[cfg(feature = "Win32_Foundation")] | |
23415 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_D3D11_OPTIONS { | |
23416 | fn clone(&self) -> Self { | |
23417 | *self | |
23418 | } | |
23419 | } | |
23420 | #[cfg(feature = "Win32_Foundation")] | |
23421 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_D3D11_OPTIONS { | |
23422 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23423 | f.debug_struct("D3D11_FEATURE_DATA_D3D11_OPTIONS") | |
23424 | .field("OutputMergerLogicOp", &self.OutputMergerLogicOp) | |
23425 | .field("UAVOnlyRenderingForcedSampleCount", &self.UAVOnlyRenderingForcedSampleCount) | |
23426 | .field("DiscardAPIsSeenByDriver", &self.DiscardAPIsSeenByDriver) | |
23427 | .field("FlagsForUpdateAndCopySeenByDriver", &self.FlagsForUpdateAndCopySeenByDriver) | |
23428 | .field("ClearView", &self.ClearView) | |
23429 | .field("CopyWithOverlap", &self.CopyWithOverlap) | |
23430 | .field("ConstantBufferPartialUpdate", &self.ConstantBufferPartialUpdate) | |
23431 | .field("ConstantBufferOffsetting", &self.ConstantBufferOffsetting) | |
23432 | .field("MapNoOverwriteOnDynamicConstantBuffer", &self.MapNoOverwriteOnDynamicConstantBuffer) | |
23433 | .field("MapNoOverwriteOnDynamicBufferSRV", &self.MapNoOverwriteOnDynamicBufferSRV) | |
23434 | .field("MultisampleRTVWithForcedSampleCountOne", &self.MultisampleRTVWithForcedSampleCountOne) | |
23435 | .field("SAD4ShaderInstructions", &self.SAD4ShaderInstructions) | |
23436 | .field("ExtendedDoublesShaderInstructions", &self.ExtendedDoublesShaderInstructions) | |
23437 | .field("ExtendedResourceSharing", &self.ExtendedResourceSharing) | |
23438 | .finish() | |
23439 | } | |
23440 | } | |
23441 | #[cfg(feature = "Win32_Foundation")] | |
23442 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_D3D11_OPTIONS { | |
23443 | type TypeKind = ::windows::core::CopyType; | |
23444 | } | |
23445 | #[cfg(feature = "Win32_Foundation")] | |
23446 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_D3D11_OPTIONS { | |
23447 | fn eq(&self, other: &Self) -> bool { | |
23448 | self.OutputMergerLogicOp == other.OutputMergerLogicOp | |
23449 | && self.UAVOnlyRenderingForcedSampleCount == other.UAVOnlyRenderingForcedSampleCount | |
23450 | && self.DiscardAPIsSeenByDriver == other.DiscardAPIsSeenByDriver | |
23451 | && self.FlagsForUpdateAndCopySeenByDriver == other.FlagsForUpdateAndCopySeenByDriver | |
23452 | && self.ClearView == other.ClearView | |
23453 | && self.CopyWithOverlap == other.CopyWithOverlap | |
23454 | && self.ConstantBufferPartialUpdate == other.ConstantBufferPartialUpdate | |
23455 | && self.ConstantBufferOffsetting == other.ConstantBufferOffsetting | |
23456 | && self.MapNoOverwriteOnDynamicConstantBuffer == other.MapNoOverwriteOnDynamicConstantBuffer | |
23457 | && self.MapNoOverwriteOnDynamicBufferSRV == other.MapNoOverwriteOnDynamicBufferSRV | |
23458 | && self.MultisampleRTVWithForcedSampleCountOne == other.MultisampleRTVWithForcedSampleCountOne | |
23459 | && self.SAD4ShaderInstructions == other.SAD4ShaderInstructions | |
23460 | && self.ExtendedDoublesShaderInstructions == other.ExtendedDoublesShaderInstructions | |
23461 | && self.ExtendedResourceSharing == other.ExtendedResourceSharing | |
23462 | } | |
23463 | } | |
23464 | #[cfg(feature = "Win32_Foundation")] | |
23465 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_D3D11_OPTIONS {} | |
23466 | #[cfg(feature = "Win32_Foundation")] | |
23467 | impl ::core::default::Default for D3D11_FEATURE_DATA_D3D11_OPTIONS { | |
23468 | fn default() -> Self { | |
23469 | unsafe { ::core::mem::zeroed() } | |
23470 | } | |
23471 | } | |
23472 | #[repr(C)] | |
23473 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
23474 | #[cfg(feature = "Win32_Foundation")] | |
23475 | pub struct D3D11_FEATURE_DATA_D3D11_OPTIONS1 { | |
23476 | pub TiledResourcesTier: D3D11_TILED_RESOURCES_TIER, | |
23477 | pub MinMaxFiltering: super::super::Foundation::BOOL, | |
23478 | pub ClearViewAlsoSupportsDepthOnlyFormats: super::super::Foundation::BOOL, | |
23479 | pub MapOnDefaultBuffers: super::super::Foundation::BOOL, | |
23480 | } | |
23481 | #[cfg(feature = "Win32_Foundation")] | |
23482 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_D3D11_OPTIONS1 {} | |
23483 | #[cfg(feature = "Win32_Foundation")] | |
23484 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_D3D11_OPTIONS1 { | |
23485 | fn clone(&self) -> Self { | |
23486 | *self | |
23487 | } | |
23488 | } | |
23489 | #[cfg(feature = "Win32_Foundation")] | |
23490 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_D3D11_OPTIONS1 { | |
23491 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23492 | f.debug_struct("D3D11_FEATURE_DATA_D3D11_OPTIONS1").field("TiledResourcesTier", &self.TiledResourcesTier).field("MinMaxFiltering", &self.MinMaxFiltering).field("ClearViewAlsoSupportsDepthOnlyFormats", &self.ClearViewAlsoSupportsDepthOnlyFormats).field("MapOnDefaultBuffers", &self.MapOnDefaultBuffers).finish() | |
23493 | } | |
23494 | } | |
23495 | #[cfg(feature = "Win32_Foundation")] | |
23496 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_D3D11_OPTIONS1 { | |
23497 | type TypeKind = ::windows::core::CopyType; | |
23498 | } | |
23499 | #[cfg(feature = "Win32_Foundation")] | |
23500 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_D3D11_OPTIONS1 { | |
23501 | fn eq(&self, other: &Self) -> bool { | |
23502 | self.TiledResourcesTier == other.TiledResourcesTier && self.MinMaxFiltering == other.MinMaxFiltering && self.ClearViewAlsoSupportsDepthOnlyFormats == other.ClearViewAlsoSupportsDepthOnlyFormats && self.MapOnDefaultBuffers == other.MapOnDefaultBuffers | |
23503 | } | |
23504 | } | |
23505 | #[cfg(feature = "Win32_Foundation")] | |
23506 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_D3D11_OPTIONS1 {} | |
23507 | #[cfg(feature = "Win32_Foundation")] | |
23508 | impl ::core::default::Default for D3D11_FEATURE_DATA_D3D11_OPTIONS1 { | |
23509 | fn default() -> Self { | |
23510 | unsafe { ::core::mem::zeroed() } | |
23511 | } | |
23512 | } | |
23513 | #[repr(C)] | |
23514 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
23515 | #[cfg(feature = "Win32_Foundation")] | |
23516 | pub struct D3D11_FEATURE_DATA_D3D11_OPTIONS2 { | |
23517 | pub PSSpecifiedStencilRefSupported: super::super::Foundation::BOOL, | |
23518 | pub TypedUAVLoadAdditionalFormats: super::super::Foundation::BOOL, | |
23519 | pub ROVsSupported: super::super::Foundation::BOOL, | |
23520 | pub ConservativeRasterizationTier: D3D11_CONSERVATIVE_RASTERIZATION_TIER, | |
23521 | pub TiledResourcesTier: D3D11_TILED_RESOURCES_TIER, | |
23522 | pub MapOnDefaultTextures: super::super::Foundation::BOOL, | |
23523 | pub StandardSwizzle: super::super::Foundation::BOOL, | |
23524 | pub UnifiedMemoryArchitecture: super::super::Foundation::BOOL, | |
23525 | } | |
23526 | #[cfg(feature = "Win32_Foundation")] | |
23527 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_D3D11_OPTIONS2 {} | |
23528 | #[cfg(feature = "Win32_Foundation")] | |
23529 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_D3D11_OPTIONS2 { | |
23530 | fn clone(&self) -> Self { | |
23531 | *self | |
23532 | } | |
23533 | } | |
23534 | #[cfg(feature = "Win32_Foundation")] | |
23535 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_D3D11_OPTIONS2 { | |
23536 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23537 | f.debug_struct("D3D11_FEATURE_DATA_D3D11_OPTIONS2") | |
23538 | .field("PSSpecifiedStencilRefSupported", &self.PSSpecifiedStencilRefSupported) | |
23539 | .field("TypedUAVLoadAdditionalFormats", &self.TypedUAVLoadAdditionalFormats) | |
23540 | .field("ROVsSupported", &self.ROVsSupported) | |
23541 | .field("ConservativeRasterizationTier", &self.ConservativeRasterizationTier) | |
23542 | .field("TiledResourcesTier", &self.TiledResourcesTier) | |
23543 | .field("MapOnDefaultTextures", &self.MapOnDefaultTextures) | |
23544 | .field("StandardSwizzle", &self.StandardSwizzle) | |
23545 | .field("UnifiedMemoryArchitecture", &self.UnifiedMemoryArchitecture) | |
23546 | .finish() | |
23547 | } | |
23548 | } | |
23549 | #[cfg(feature = "Win32_Foundation")] | |
23550 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_D3D11_OPTIONS2 { | |
23551 | type TypeKind = ::windows::core::CopyType; | |
23552 | } | |
23553 | #[cfg(feature = "Win32_Foundation")] | |
23554 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_D3D11_OPTIONS2 { | |
23555 | fn eq(&self, other: &Self) -> bool { | |
23556 | self.PSSpecifiedStencilRefSupported == other.PSSpecifiedStencilRefSupported && self.TypedUAVLoadAdditionalFormats == other.TypedUAVLoadAdditionalFormats && self.ROVsSupported == other.ROVsSupported && self.ConservativeRasterizationTier == other.ConservativeRasterizationTier && self.TiledResourcesTier == other.TiledResourcesTier && self.MapOnDefaultTextures == other.MapOnDefaultTextures && self.StandardSwizzle == other.StandardSwizzle && self.UnifiedMemoryArchitecture == other.UnifiedMemoryArchitecture | |
23557 | } | |
23558 | } | |
23559 | #[cfg(feature = "Win32_Foundation")] | |
23560 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_D3D11_OPTIONS2 {} | |
23561 | #[cfg(feature = "Win32_Foundation")] | |
23562 | impl ::core::default::Default for D3D11_FEATURE_DATA_D3D11_OPTIONS2 { | |
23563 | fn default() -> Self { | |
23564 | unsafe { ::core::mem::zeroed() } | |
23565 | } | |
23566 | } | |
23567 | #[repr(C)] | |
23568 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
23569 | #[cfg(feature = "Win32_Foundation")] | |
23570 | pub struct D3D11_FEATURE_DATA_D3D11_OPTIONS3 { | |
23571 | pub VPAndRTArrayIndexFromAnyShaderFeedingRasterizer: super::super::Foundation::BOOL, | |
23572 | } | |
23573 | #[cfg(feature = "Win32_Foundation")] | |
23574 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_D3D11_OPTIONS3 {} | |
23575 | #[cfg(feature = "Win32_Foundation")] | |
23576 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_D3D11_OPTIONS3 { | |
23577 | fn clone(&self) -> Self { | |
23578 | *self | |
23579 | } | |
23580 | } | |
23581 | #[cfg(feature = "Win32_Foundation")] | |
23582 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_D3D11_OPTIONS3 { | |
23583 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23584 | f.debug_struct("D3D11_FEATURE_DATA_D3D11_OPTIONS3").field("VPAndRTArrayIndexFromAnyShaderFeedingRasterizer", &self.VPAndRTArrayIndexFromAnyShaderFeedingRasterizer).finish() | |
23585 | } | |
23586 | } | |
23587 | #[cfg(feature = "Win32_Foundation")] | |
23588 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_D3D11_OPTIONS3 { | |
23589 | type TypeKind = ::windows::core::CopyType; | |
23590 | } | |
23591 | #[cfg(feature = "Win32_Foundation")] | |
23592 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_D3D11_OPTIONS3 { | |
23593 | fn eq(&self, other: &Self) -> bool { | |
23594 | self.VPAndRTArrayIndexFromAnyShaderFeedingRasterizer == other.VPAndRTArrayIndexFromAnyShaderFeedingRasterizer | |
23595 | } | |
23596 | } | |
23597 | #[cfg(feature = "Win32_Foundation")] | |
23598 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_D3D11_OPTIONS3 {} | |
23599 | #[cfg(feature = "Win32_Foundation")] | |
23600 | impl ::core::default::Default for D3D11_FEATURE_DATA_D3D11_OPTIONS3 { | |
23601 | fn default() -> Self { | |
23602 | unsafe { ::core::mem::zeroed() } | |
23603 | } | |
23604 | } | |
23605 | #[repr(C)] | |
23606 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
23607 | #[cfg(feature = "Win32_Foundation")] | |
23608 | pub struct D3D11_FEATURE_DATA_D3D11_OPTIONS4 { | |
23609 | pub ExtendedNV12SharedTextureSupported: super::super::Foundation::BOOL, | |
23610 | } | |
23611 | #[cfg(feature = "Win32_Foundation")] | |
23612 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_D3D11_OPTIONS4 {} | |
23613 | #[cfg(feature = "Win32_Foundation")] | |
23614 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_D3D11_OPTIONS4 { | |
23615 | fn clone(&self) -> Self { | |
23616 | *self | |
23617 | } | |
23618 | } | |
23619 | #[cfg(feature = "Win32_Foundation")] | |
23620 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_D3D11_OPTIONS4 { | |
23621 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23622 | f.debug_struct("D3D11_FEATURE_DATA_D3D11_OPTIONS4").field("ExtendedNV12SharedTextureSupported", &self.ExtendedNV12SharedTextureSupported).finish() | |
23623 | } | |
23624 | } | |
23625 | #[cfg(feature = "Win32_Foundation")] | |
23626 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_D3D11_OPTIONS4 { | |
23627 | type TypeKind = ::windows::core::CopyType; | |
23628 | } | |
23629 | #[cfg(feature = "Win32_Foundation")] | |
23630 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_D3D11_OPTIONS4 { | |
23631 | fn eq(&self, other: &Self) -> bool { | |
23632 | self.ExtendedNV12SharedTextureSupported == other.ExtendedNV12SharedTextureSupported | |
23633 | } | |
23634 | } | |
23635 | #[cfg(feature = "Win32_Foundation")] | |
23636 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_D3D11_OPTIONS4 {} | |
23637 | #[cfg(feature = "Win32_Foundation")] | |
23638 | impl ::core::default::Default for D3D11_FEATURE_DATA_D3D11_OPTIONS4 { | |
23639 | fn default() -> Self { | |
23640 | unsafe { ::core::mem::zeroed() } | |
23641 | } | |
23642 | } | |
23643 | #[repr(C)] | |
23644 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
23645 | pub struct D3D11_FEATURE_DATA_D3D11_OPTIONS5 { | |
23646 | pub SharedResourceTier: D3D11_SHARED_RESOURCE_TIER, | |
23647 | } | |
23648 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_D3D11_OPTIONS5 {} | |
23649 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_D3D11_OPTIONS5 { | |
23650 | fn clone(&self) -> Self { | |
23651 | *self | |
23652 | } | |
23653 | } | |
23654 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_D3D11_OPTIONS5 { | |
23655 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23656 | f.debug_struct("D3D11_FEATURE_DATA_D3D11_OPTIONS5").field("SharedResourceTier", &self.SharedResourceTier).finish() | |
23657 | } | |
23658 | } | |
23659 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_D3D11_OPTIONS5 { | |
23660 | type TypeKind = ::windows::core::CopyType; | |
23661 | } | |
23662 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_D3D11_OPTIONS5 { | |
23663 | fn eq(&self, other: &Self) -> bool { | |
23664 | self.SharedResourceTier == other.SharedResourceTier | |
23665 | } | |
23666 | } | |
23667 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_D3D11_OPTIONS5 {} | |
23668 | impl ::core::default::Default for D3D11_FEATURE_DATA_D3D11_OPTIONS5 { | |
23669 | fn default() -> Self { | |
23670 | unsafe { ::core::mem::zeroed() } | |
23671 | } | |
23672 | } | |
23673 | #[repr(C)] | |
23674 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
23675 | #[cfg(feature = "Win32_Foundation")] | |
23676 | pub struct D3D11_FEATURE_DATA_D3D9_OPTIONS { | |
23677 | pub FullNonPow2TextureSupport: super::super::Foundation::BOOL, | |
23678 | } | |
23679 | #[cfg(feature = "Win32_Foundation")] | |
23680 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_D3D9_OPTIONS {} | |
23681 | #[cfg(feature = "Win32_Foundation")] | |
23682 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_D3D9_OPTIONS { | |
23683 | fn clone(&self) -> Self { | |
23684 | *self | |
23685 | } | |
23686 | } | |
23687 | #[cfg(feature = "Win32_Foundation")] | |
23688 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_D3D9_OPTIONS { | |
23689 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23690 | f.debug_struct("D3D11_FEATURE_DATA_D3D9_OPTIONS").field("FullNonPow2TextureSupport", &self.FullNonPow2TextureSupport).finish() | |
23691 | } | |
23692 | } | |
23693 | #[cfg(feature = "Win32_Foundation")] | |
23694 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_D3D9_OPTIONS { | |
23695 | type TypeKind = ::windows::core::CopyType; | |
23696 | } | |
23697 | #[cfg(feature = "Win32_Foundation")] | |
23698 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_D3D9_OPTIONS { | |
23699 | fn eq(&self, other: &Self) -> bool { | |
23700 | self.FullNonPow2TextureSupport == other.FullNonPow2TextureSupport | |
23701 | } | |
23702 | } | |
23703 | #[cfg(feature = "Win32_Foundation")] | |
23704 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_D3D9_OPTIONS {} | |
23705 | #[cfg(feature = "Win32_Foundation")] | |
23706 | impl ::core::default::Default for D3D11_FEATURE_DATA_D3D9_OPTIONS { | |
23707 | fn default() -> Self { | |
23708 | unsafe { ::core::mem::zeroed() } | |
23709 | } | |
23710 | } | |
23711 | #[repr(C)] | |
23712 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
23713 | #[cfg(feature = "Win32_Foundation")] | |
23714 | pub struct D3D11_FEATURE_DATA_D3D9_OPTIONS1 { | |
23715 | pub FullNonPow2TextureSupported: super::super::Foundation::BOOL, | |
23716 | pub DepthAsTextureWithLessEqualComparisonFilterSupported: super::super::Foundation::BOOL, | |
23717 | pub SimpleInstancingSupported: super::super::Foundation::BOOL, | |
23718 | pub TextureCubeFaceRenderTargetWithNonCubeDepthStencilSupported: super::super::Foundation::BOOL, | |
23719 | } | |
23720 | #[cfg(feature = "Win32_Foundation")] | |
23721 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_D3D9_OPTIONS1 {} | |
23722 | #[cfg(feature = "Win32_Foundation")] | |
23723 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_D3D9_OPTIONS1 { | |
23724 | fn clone(&self) -> Self { | |
23725 | *self | |
23726 | } | |
23727 | } | |
23728 | #[cfg(feature = "Win32_Foundation")] | |
23729 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_D3D9_OPTIONS1 { | |
23730 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23731 | f.debug_struct("D3D11_FEATURE_DATA_D3D9_OPTIONS1").field("FullNonPow2TextureSupported", &self.FullNonPow2TextureSupported).field("DepthAsTextureWithLessEqualComparisonFilterSupported", &self.DepthAsTextureWithLessEqualComparisonFilterSupported).field("SimpleInstancingSupported", &self.SimpleInstancingSupported).field("TextureCubeFaceRenderTargetWithNonCubeDepthStencilSupported", &self.TextureCubeFaceRenderTargetWithNonCubeDepthStencilSupported).finish() | |
23732 | } | |
23733 | } | |
23734 | #[cfg(feature = "Win32_Foundation")] | |
23735 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_D3D9_OPTIONS1 { | |
23736 | type TypeKind = ::windows::core::CopyType; | |
23737 | } | |
23738 | #[cfg(feature = "Win32_Foundation")] | |
23739 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_D3D9_OPTIONS1 { | |
23740 | fn eq(&self, other: &Self) -> bool { | |
23741 | self.FullNonPow2TextureSupported == other.FullNonPow2TextureSupported && self.DepthAsTextureWithLessEqualComparisonFilterSupported == other.DepthAsTextureWithLessEqualComparisonFilterSupported && self.SimpleInstancingSupported == other.SimpleInstancingSupported && self.TextureCubeFaceRenderTargetWithNonCubeDepthStencilSupported == other.TextureCubeFaceRenderTargetWithNonCubeDepthStencilSupported | |
23742 | } | |
23743 | } | |
23744 | #[cfg(feature = "Win32_Foundation")] | |
23745 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_D3D9_OPTIONS1 {} | |
23746 | #[cfg(feature = "Win32_Foundation")] | |
23747 | impl ::core::default::Default for D3D11_FEATURE_DATA_D3D9_OPTIONS1 { | |
23748 | fn default() -> Self { | |
23749 | unsafe { ::core::mem::zeroed() } | |
23750 | } | |
23751 | } | |
23752 | #[repr(C)] | |
23753 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
23754 | #[cfg(feature = "Win32_Foundation")] | |
23755 | pub struct D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT { | |
23756 | pub SupportsDepthAsTextureWithLessEqualComparisonFilter: super::super::Foundation::BOOL, | |
23757 | } | |
23758 | #[cfg(feature = "Win32_Foundation")] | |
23759 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT {} | |
23760 | #[cfg(feature = "Win32_Foundation")] | |
23761 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT { | |
23762 | fn clone(&self) -> Self { | |
23763 | *self | |
23764 | } | |
23765 | } | |
23766 | #[cfg(feature = "Win32_Foundation")] | |
23767 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT { | |
23768 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23769 | f.debug_struct("D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT").field("SupportsDepthAsTextureWithLessEqualComparisonFilter", &self.SupportsDepthAsTextureWithLessEqualComparisonFilter).finish() | |
23770 | } | |
23771 | } | |
23772 | #[cfg(feature = "Win32_Foundation")] | |
23773 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT { | |
23774 | type TypeKind = ::windows::core::CopyType; | |
23775 | } | |
23776 | #[cfg(feature = "Win32_Foundation")] | |
23777 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT { | |
23778 | fn eq(&self, other: &Self) -> bool { | |
23779 | self.SupportsDepthAsTextureWithLessEqualComparisonFilter == other.SupportsDepthAsTextureWithLessEqualComparisonFilter | |
23780 | } | |
23781 | } | |
23782 | #[cfg(feature = "Win32_Foundation")] | |
23783 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT {} | |
23784 | #[cfg(feature = "Win32_Foundation")] | |
23785 | impl ::core::default::Default for D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT { | |
23786 | fn default() -> Self { | |
23787 | unsafe { ::core::mem::zeroed() } | |
23788 | } | |
23789 | } | |
23790 | #[repr(C)] | |
23791 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
23792 | #[cfg(feature = "Win32_Foundation")] | |
23793 | pub struct D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT { | |
23794 | pub SimpleInstancingSupported: super::super::Foundation::BOOL, | |
23795 | } | |
23796 | #[cfg(feature = "Win32_Foundation")] | |
23797 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT {} | |
23798 | #[cfg(feature = "Win32_Foundation")] | |
23799 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT { | |
23800 | fn clone(&self) -> Self { | |
23801 | *self | |
23802 | } | |
23803 | } | |
23804 | #[cfg(feature = "Win32_Foundation")] | |
23805 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT { | |
23806 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23807 | f.debug_struct("D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT").field("SimpleInstancingSupported", &self.SimpleInstancingSupported).finish() | |
23808 | } | |
23809 | } | |
23810 | #[cfg(feature = "Win32_Foundation")] | |
23811 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT { | |
23812 | type TypeKind = ::windows::core::CopyType; | |
23813 | } | |
23814 | #[cfg(feature = "Win32_Foundation")] | |
23815 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT { | |
23816 | fn eq(&self, other: &Self) -> bool { | |
23817 | self.SimpleInstancingSupported == other.SimpleInstancingSupported | |
23818 | } | |
23819 | } | |
23820 | #[cfg(feature = "Win32_Foundation")] | |
23821 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT {} | |
23822 | #[cfg(feature = "Win32_Foundation")] | |
23823 | impl ::core::default::Default for D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT { | |
23824 | fn default() -> Self { | |
23825 | unsafe { ::core::mem::zeroed() } | |
23826 | } | |
23827 | } | |
23828 | #[repr(C)] | |
23829 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
23830 | #[cfg(feature = "Win32_Foundation")] | |
23831 | pub struct D3D11_FEATURE_DATA_DISPLAYABLE { | |
23832 | pub DisplayableTexture: super::super::Foundation::BOOL, | |
23833 | pub SharedResourceTier: D3D11_SHARED_RESOURCE_TIER, | |
23834 | } | |
23835 | #[cfg(feature = "Win32_Foundation")] | |
23836 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_DISPLAYABLE {} | |
23837 | #[cfg(feature = "Win32_Foundation")] | |
23838 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_DISPLAYABLE { | |
23839 | fn clone(&self) -> Self { | |
23840 | *self | |
23841 | } | |
23842 | } | |
23843 | #[cfg(feature = "Win32_Foundation")] | |
23844 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_DISPLAYABLE { | |
23845 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23846 | f.debug_struct("D3D11_FEATURE_DATA_DISPLAYABLE").field("DisplayableTexture", &self.DisplayableTexture).field("SharedResourceTier", &self.SharedResourceTier).finish() | |
23847 | } | |
23848 | } | |
23849 | #[cfg(feature = "Win32_Foundation")] | |
23850 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_DISPLAYABLE { | |
23851 | type TypeKind = ::windows::core::CopyType; | |
23852 | } | |
23853 | #[cfg(feature = "Win32_Foundation")] | |
23854 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_DISPLAYABLE { | |
23855 | fn eq(&self, other: &Self) -> bool { | |
23856 | self.DisplayableTexture == other.DisplayableTexture && self.SharedResourceTier == other.SharedResourceTier | |
23857 | } | |
23858 | } | |
23859 | #[cfg(feature = "Win32_Foundation")] | |
23860 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_DISPLAYABLE {} | |
23861 | #[cfg(feature = "Win32_Foundation")] | |
23862 | impl ::core::default::Default for D3D11_FEATURE_DATA_DISPLAYABLE { | |
23863 | fn default() -> Self { | |
23864 | unsafe { ::core::mem::zeroed() } | |
23865 | } | |
23866 | } | |
23867 | #[repr(C)] | |
23868 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
23869 | #[cfg(feature = "Win32_Foundation")] | |
23870 | pub struct D3D11_FEATURE_DATA_DOUBLES { | |
23871 | pub DoublePrecisionFloatShaderOps: super::super::Foundation::BOOL, | |
23872 | } | |
23873 | #[cfg(feature = "Win32_Foundation")] | |
23874 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_DOUBLES {} | |
23875 | #[cfg(feature = "Win32_Foundation")] | |
23876 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_DOUBLES { | |
23877 | fn clone(&self) -> Self { | |
23878 | *self | |
23879 | } | |
23880 | } | |
23881 | #[cfg(feature = "Win32_Foundation")] | |
23882 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_DOUBLES { | |
23883 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23884 | f.debug_struct("D3D11_FEATURE_DATA_DOUBLES").field("DoublePrecisionFloatShaderOps", &self.DoublePrecisionFloatShaderOps).finish() | |
23885 | } | |
23886 | } | |
23887 | #[cfg(feature = "Win32_Foundation")] | |
23888 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_DOUBLES { | |
23889 | type TypeKind = ::windows::core::CopyType; | |
23890 | } | |
23891 | #[cfg(feature = "Win32_Foundation")] | |
23892 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_DOUBLES { | |
23893 | fn eq(&self, other: &Self) -> bool { | |
23894 | self.DoublePrecisionFloatShaderOps == other.DoublePrecisionFloatShaderOps | |
23895 | } | |
23896 | } | |
23897 | #[cfg(feature = "Win32_Foundation")] | |
23898 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_DOUBLES {} | |
23899 | #[cfg(feature = "Win32_Foundation")] | |
23900 | impl ::core::default::Default for D3D11_FEATURE_DATA_DOUBLES { | |
23901 | fn default() -> Self { | |
23902 | unsafe { ::core::mem::zeroed() } | |
23903 | } | |
23904 | } | |
23905 | #[repr(C)] | |
23906 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
23907 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23908 | pub struct D3D11_FEATURE_DATA_FORMAT_SUPPORT { | |
23909 | pub InFormat: super::Dxgi::Common::DXGI_FORMAT, | |
23910 | pub OutFormatSupport: u32, | |
23911 | } | |
23912 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23913 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_FORMAT_SUPPORT {} | |
23914 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23915 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_FORMAT_SUPPORT { | |
23916 | fn clone(&self) -> Self { | |
23917 | *self | |
23918 | } | |
23919 | } | |
23920 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23921 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_FORMAT_SUPPORT { | |
23922 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23923 | f.debug_struct("D3D11_FEATURE_DATA_FORMAT_SUPPORT").field("InFormat", &self.InFormat).field("OutFormatSupport", &self.OutFormatSupport).finish() | |
23924 | } | |
23925 | } | |
23926 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23927 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_FORMAT_SUPPORT { | |
23928 | type TypeKind = ::windows::core::CopyType; | |
23929 | } | |
23930 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23931 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_FORMAT_SUPPORT { | |
23932 | fn eq(&self, other: &Self) -> bool { | |
23933 | self.InFormat == other.InFormat && self.OutFormatSupport == other.OutFormatSupport | |
23934 | } | |
23935 | } | |
23936 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23937 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_FORMAT_SUPPORT {} | |
23938 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23939 | impl ::core::default::Default for D3D11_FEATURE_DATA_FORMAT_SUPPORT { | |
23940 | fn default() -> Self { | |
23941 | unsafe { ::core::mem::zeroed() } | |
23942 | } | |
23943 | } | |
23944 | #[repr(C)] | |
23945 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
23946 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23947 | pub struct D3D11_FEATURE_DATA_FORMAT_SUPPORT2 { | |
23948 | pub InFormat: super::Dxgi::Common::DXGI_FORMAT, | |
23949 | pub OutFormatSupport2: u32, | |
23950 | } | |
23951 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23952 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_FORMAT_SUPPORT2 {} | |
23953 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23954 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_FORMAT_SUPPORT2 { | |
23955 | fn clone(&self) -> Self { | |
23956 | *self | |
23957 | } | |
23958 | } | |
23959 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23960 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_FORMAT_SUPPORT2 { | |
23961 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23962 | f.debug_struct("D3D11_FEATURE_DATA_FORMAT_SUPPORT2").field("InFormat", &self.InFormat).field("OutFormatSupport2", &self.OutFormatSupport2).finish() | |
23963 | } | |
23964 | } | |
23965 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23966 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_FORMAT_SUPPORT2 { | |
23967 | type TypeKind = ::windows::core::CopyType; | |
23968 | } | |
23969 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23970 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_FORMAT_SUPPORT2 { | |
23971 | fn eq(&self, other: &Self) -> bool { | |
23972 | self.InFormat == other.InFormat && self.OutFormatSupport2 == other.OutFormatSupport2 | |
23973 | } | |
23974 | } | |
23975 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23976 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_FORMAT_SUPPORT2 {} | |
23977 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
23978 | impl ::core::default::Default for D3D11_FEATURE_DATA_FORMAT_SUPPORT2 { | |
23979 | fn default() -> Self { | |
23980 | unsafe { ::core::mem::zeroed() } | |
23981 | } | |
23982 | } | |
23983 | #[repr(C)] | |
23984 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
23985 | pub struct D3D11_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT { | |
23986 | pub MaxGPUVirtualAddressBitsPerResource: u32, | |
23987 | pub MaxGPUVirtualAddressBitsPerProcess: u32, | |
23988 | } | |
23989 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT {} | |
23990 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT { | |
23991 | fn clone(&self) -> Self { | |
23992 | *self | |
23993 | } | |
23994 | } | |
23995 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT { | |
23996 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
23997 | f.debug_struct("D3D11_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT").field("MaxGPUVirtualAddressBitsPerResource", &self.MaxGPUVirtualAddressBitsPerResource).field("MaxGPUVirtualAddressBitsPerProcess", &self.MaxGPUVirtualAddressBitsPerProcess).finish() | |
23998 | } | |
23999 | } | |
24000 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT { | |
24001 | type TypeKind = ::windows::core::CopyType; | |
24002 | } | |
24003 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT { | |
24004 | fn eq(&self, other: &Self) -> bool { | |
24005 | self.MaxGPUVirtualAddressBitsPerResource == other.MaxGPUVirtualAddressBitsPerResource && self.MaxGPUVirtualAddressBitsPerProcess == other.MaxGPUVirtualAddressBitsPerProcess | |
24006 | } | |
24007 | } | |
24008 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT {} | |
24009 | impl ::core::default::Default for D3D11_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT { | |
24010 | fn default() -> Self { | |
24011 | unsafe { ::core::mem::zeroed() } | |
24012 | } | |
24013 | } | |
24014 | #[repr(C)] | |
24015 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
24016 | #[cfg(feature = "Win32_Foundation")] | |
24017 | pub struct D3D11_FEATURE_DATA_MARKER_SUPPORT { | |
24018 | pub Profile: super::super::Foundation::BOOL, | |
24019 | } | |
24020 | #[cfg(feature = "Win32_Foundation")] | |
24021 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_MARKER_SUPPORT {} | |
24022 | #[cfg(feature = "Win32_Foundation")] | |
24023 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_MARKER_SUPPORT { | |
24024 | fn clone(&self) -> Self { | |
24025 | *self | |
24026 | } | |
24027 | } | |
24028 | #[cfg(feature = "Win32_Foundation")] | |
24029 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_MARKER_SUPPORT { | |
24030 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24031 | f.debug_struct("D3D11_FEATURE_DATA_MARKER_SUPPORT").field("Profile", &self.Profile).finish() | |
24032 | } | |
24033 | } | |
24034 | #[cfg(feature = "Win32_Foundation")] | |
24035 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_MARKER_SUPPORT { | |
24036 | type TypeKind = ::windows::core::CopyType; | |
24037 | } | |
24038 | #[cfg(feature = "Win32_Foundation")] | |
24039 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_MARKER_SUPPORT { | |
24040 | fn eq(&self, other: &Self) -> bool { | |
24041 | self.Profile == other.Profile | |
24042 | } | |
24043 | } | |
24044 | #[cfg(feature = "Win32_Foundation")] | |
24045 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_MARKER_SUPPORT {} | |
24046 | #[cfg(feature = "Win32_Foundation")] | |
24047 | impl ::core::default::Default for D3D11_FEATURE_DATA_MARKER_SUPPORT { | |
24048 | fn default() -> Self { | |
24049 | unsafe { ::core::mem::zeroed() } | |
24050 | } | |
24051 | } | |
24052 | #[repr(C)] | |
24053 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
24054 | pub struct D3D11_FEATURE_DATA_SHADER_CACHE { | |
24055 | pub SupportFlags: u32, | |
24056 | } | |
24057 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_SHADER_CACHE {} | |
24058 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_SHADER_CACHE { | |
24059 | fn clone(&self) -> Self { | |
24060 | *self | |
24061 | } | |
24062 | } | |
24063 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_SHADER_CACHE { | |
24064 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24065 | f.debug_struct("D3D11_FEATURE_DATA_SHADER_CACHE").field("SupportFlags", &self.SupportFlags).finish() | |
24066 | } | |
24067 | } | |
24068 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_SHADER_CACHE { | |
24069 | type TypeKind = ::windows::core::CopyType; | |
24070 | } | |
24071 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_SHADER_CACHE { | |
24072 | fn eq(&self, other: &Self) -> bool { | |
24073 | self.SupportFlags == other.SupportFlags | |
24074 | } | |
24075 | } | |
24076 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_SHADER_CACHE {} | |
24077 | impl ::core::default::Default for D3D11_FEATURE_DATA_SHADER_CACHE { | |
24078 | fn default() -> Self { | |
24079 | unsafe { ::core::mem::zeroed() } | |
24080 | } | |
24081 | } | |
24082 | #[repr(C)] | |
24083 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
24084 | pub struct D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT { | |
24085 | pub PixelShaderMinPrecision: u32, | |
24086 | pub AllOtherShaderStagesMinPrecision: u32, | |
24087 | } | |
24088 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT {} | |
24089 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT { | |
24090 | fn clone(&self) -> Self { | |
24091 | *self | |
24092 | } | |
24093 | } | |
24094 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT { | |
24095 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24096 | f.debug_struct("D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT").field("PixelShaderMinPrecision", &self.PixelShaderMinPrecision).field("AllOtherShaderStagesMinPrecision", &self.AllOtherShaderStagesMinPrecision).finish() | |
24097 | } | |
24098 | } | |
24099 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT { | |
24100 | type TypeKind = ::windows::core::CopyType; | |
24101 | } | |
24102 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT { | |
24103 | fn eq(&self, other: &Self) -> bool { | |
24104 | self.PixelShaderMinPrecision == other.PixelShaderMinPrecision && self.AllOtherShaderStagesMinPrecision == other.AllOtherShaderStagesMinPrecision | |
24105 | } | |
24106 | } | |
24107 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT {} | |
24108 | impl ::core::default::Default for D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT { | |
24109 | fn default() -> Self { | |
24110 | unsafe { ::core::mem::zeroed() } | |
24111 | } | |
24112 | } | |
24113 | #[repr(C)] | |
24114 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
24115 | #[cfg(feature = "Win32_Foundation")] | |
24116 | pub struct D3D11_FEATURE_DATA_THREADING { | |
24117 | pub DriverConcurrentCreates: super::super::Foundation::BOOL, | |
24118 | pub DriverCommandLists: super::super::Foundation::BOOL, | |
24119 | } | |
24120 | #[cfg(feature = "Win32_Foundation")] | |
24121 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_THREADING {} | |
24122 | #[cfg(feature = "Win32_Foundation")] | |
24123 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_THREADING { | |
24124 | fn clone(&self) -> Self { | |
24125 | *self | |
24126 | } | |
24127 | } | |
24128 | #[cfg(feature = "Win32_Foundation")] | |
24129 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_THREADING { | |
24130 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24131 | f.debug_struct("D3D11_FEATURE_DATA_THREADING").field("DriverConcurrentCreates", &self.DriverConcurrentCreates).field("DriverCommandLists", &self.DriverCommandLists).finish() | |
24132 | } | |
24133 | } | |
24134 | #[cfg(feature = "Win32_Foundation")] | |
24135 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_THREADING { | |
24136 | type TypeKind = ::windows::core::CopyType; | |
24137 | } | |
24138 | #[cfg(feature = "Win32_Foundation")] | |
24139 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_THREADING { | |
24140 | fn eq(&self, other: &Self) -> bool { | |
24141 | self.DriverConcurrentCreates == other.DriverConcurrentCreates && self.DriverCommandLists == other.DriverCommandLists | |
24142 | } | |
24143 | } | |
24144 | #[cfg(feature = "Win32_Foundation")] | |
24145 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_THREADING {} | |
24146 | #[cfg(feature = "Win32_Foundation")] | |
24147 | impl ::core::default::Default for D3D11_FEATURE_DATA_THREADING { | |
24148 | fn default() -> Self { | |
24149 | unsafe { ::core::mem::zeroed() } | |
24150 | } | |
24151 | } | |
24152 | #[repr(C)] | |
24153 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
24154 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
24155 | pub struct D3D11_FEATURE_DATA_VIDEO_DECODER_HISTOGRAM { | |
24156 | pub DecoderDesc: D3D11_VIDEO_DECODER_DESC, | |
24157 | pub Components: D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS, | |
24158 | pub BinCount: u32, | |
24159 | pub CounterBitDepth: u32, | |
24160 | } | |
24161 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
24162 | impl ::core::marker::Copy for D3D11_FEATURE_DATA_VIDEO_DECODER_HISTOGRAM {} | |
24163 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
24164 | impl ::core::clone::Clone for D3D11_FEATURE_DATA_VIDEO_DECODER_HISTOGRAM { | |
24165 | fn clone(&self) -> Self { | |
24166 | *self | |
24167 | } | |
24168 | } | |
24169 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
24170 | impl ::core::fmt::Debug for D3D11_FEATURE_DATA_VIDEO_DECODER_HISTOGRAM { | |
24171 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24172 | f.debug_struct("D3D11_FEATURE_DATA_VIDEO_DECODER_HISTOGRAM").field("DecoderDesc", &self.DecoderDesc).field("Components", &self.Components).field("BinCount", &self.BinCount).field("CounterBitDepth", &self.CounterBitDepth).finish() | |
24173 | } | |
24174 | } | |
24175 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
24176 | impl ::windows::core::TypeKind for D3D11_FEATURE_DATA_VIDEO_DECODER_HISTOGRAM { | |
24177 | type TypeKind = ::windows::core::CopyType; | |
24178 | } | |
24179 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
24180 | impl ::core::cmp::PartialEq for D3D11_FEATURE_DATA_VIDEO_DECODER_HISTOGRAM { | |
24181 | fn eq(&self, other: &Self) -> bool { | |
24182 | self.DecoderDesc == other.DecoderDesc && self.Components == other.Components && self.BinCount == other.BinCount && self.CounterBitDepth == other.CounterBitDepth | |
24183 | } | |
24184 | } | |
24185 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
24186 | impl ::core::cmp::Eq for D3D11_FEATURE_DATA_VIDEO_DECODER_HISTOGRAM {} | |
24187 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
24188 | impl ::core::default::Default for D3D11_FEATURE_DATA_VIDEO_DECODER_HISTOGRAM { | |
24189 | fn default() -> Self { | |
24190 | unsafe { ::core::mem::zeroed() } | |
24191 | } | |
24192 | } | |
24193 | #[repr(C)] | |
24194 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`*"] | |
24195 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D"))] | |
24196 | pub struct D3D11_FUNCTION_DESC { | |
24197 | pub Version: u32, | |
24198 | pub Creator: ::windows::core::PCSTR, | |
24199 | pub Flags: u32, | |
24200 | pub ConstantBuffers: u32, | |
24201 | pub BoundResources: u32, | |
24202 | pub InstructionCount: u32, | |
24203 | pub TempRegisterCount: u32, | |
24204 | pub TempArrayCount: u32, | |
24205 | pub DefCount: u32, | |
24206 | pub DclCount: u32, | |
24207 | pub TextureNormalInstructions: u32, | |
24208 | pub TextureLoadInstructions: u32, | |
24209 | pub TextureCompInstructions: u32, | |
24210 | pub TextureBiasInstructions: u32, | |
24211 | pub TextureGradientInstructions: u32, | |
24212 | pub FloatInstructionCount: u32, | |
24213 | pub IntInstructionCount: u32, | |
24214 | pub UintInstructionCount: u32, | |
24215 | pub StaticFlowControlCount: u32, | |
24216 | pub DynamicFlowControlCount: u32, | |
24217 | pub MacroInstructionCount: u32, | |
24218 | pub ArrayInstructionCount: u32, | |
24219 | pub MovInstructionCount: u32, | |
24220 | pub MovcInstructionCount: u32, | |
24221 | pub ConversionInstructionCount: u32, | |
24222 | pub BitwiseInstructionCount: u32, | |
24223 | pub MinFeatureLevel: super::Direct3D::D3D_FEATURE_LEVEL, | |
24224 | pub RequiredFeatureFlags: u64, | |
24225 | pub Name: ::windows::core::PCSTR, | |
24226 | pub FunctionParameterCount: i32, | |
24227 | pub HasReturn: super::super::Foundation::BOOL, | |
24228 | pub Has10Level9VertexShader: super::super::Foundation::BOOL, | |
24229 | pub Has10Level9PixelShader: super::super::Foundation::BOOL, | |
24230 | } | |
24231 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D"))] | |
24232 | impl ::core::marker::Copy for D3D11_FUNCTION_DESC {} | |
24233 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D"))] | |
24234 | impl ::core::clone::Clone for D3D11_FUNCTION_DESC { | |
24235 | fn clone(&self) -> Self { | |
24236 | *self | |
24237 | } | |
24238 | } | |
24239 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D"))] | |
24240 | impl ::core::fmt::Debug for D3D11_FUNCTION_DESC { | |
24241 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24242 | f.debug_struct("D3D11_FUNCTION_DESC") | |
24243 | .field("Version", &self.Version) | |
24244 | .field("Creator", &self.Creator) | |
24245 | .field("Flags", &self.Flags) | |
24246 | .field("ConstantBuffers", &self.ConstantBuffers) | |
24247 | .field("BoundResources", &self.BoundResources) | |
24248 | .field("InstructionCount", &self.InstructionCount) | |
24249 | .field("TempRegisterCount", &self.TempRegisterCount) | |
24250 | .field("TempArrayCount", &self.TempArrayCount) | |
24251 | .field("DefCount", &self.DefCount) | |
24252 | .field("DclCount", &self.DclCount) | |
24253 | .field("TextureNormalInstructions", &self.TextureNormalInstructions) | |
24254 | .field("TextureLoadInstructions", &self.TextureLoadInstructions) | |
24255 | .field("TextureCompInstructions", &self.TextureCompInstructions) | |
24256 | .field("TextureBiasInstructions", &self.TextureBiasInstructions) | |
24257 | .field("TextureGradientInstructions", &self.TextureGradientInstructions) | |
24258 | .field("FloatInstructionCount", &self.FloatInstructionCount) | |
24259 | .field("IntInstructionCount", &self.IntInstructionCount) | |
24260 | .field("UintInstructionCount", &self.UintInstructionCount) | |
24261 | .field("StaticFlowControlCount", &self.StaticFlowControlCount) | |
24262 | .field("DynamicFlowControlCount", &self.DynamicFlowControlCount) | |
24263 | .field("MacroInstructionCount", &self.MacroInstructionCount) | |
24264 | .field("ArrayInstructionCount", &self.ArrayInstructionCount) | |
24265 | .field("MovInstructionCount", &self.MovInstructionCount) | |
24266 | .field("MovcInstructionCount", &self.MovcInstructionCount) | |
24267 | .field("ConversionInstructionCount", &self.ConversionInstructionCount) | |
24268 | .field("BitwiseInstructionCount", &self.BitwiseInstructionCount) | |
24269 | .field("MinFeatureLevel", &self.MinFeatureLevel) | |
24270 | .field("RequiredFeatureFlags", &self.RequiredFeatureFlags) | |
24271 | .field("Name", &self.Name) | |
24272 | .field("FunctionParameterCount", &self.FunctionParameterCount) | |
24273 | .field("HasReturn", &self.HasReturn) | |
24274 | .field("Has10Level9VertexShader", &self.Has10Level9VertexShader) | |
24275 | .field("Has10Level9PixelShader", &self.Has10Level9PixelShader) | |
24276 | .finish() | |
24277 | } | |
24278 | } | |
24279 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D"))] | |
24280 | impl ::windows::core::TypeKind for D3D11_FUNCTION_DESC { | |
24281 | type TypeKind = ::windows::core::CopyType; | |
24282 | } | |
24283 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D"))] | |
24284 | impl ::core::cmp::PartialEq for D3D11_FUNCTION_DESC { | |
24285 | fn eq(&self, other: &Self) -> bool { | |
24286 | self.Version == other.Version | |
24287 | && self.Creator == other.Creator | |
24288 | && self.Flags == other.Flags | |
24289 | && self.ConstantBuffers == other.ConstantBuffers | |
24290 | && self.BoundResources == other.BoundResources | |
24291 | && self.InstructionCount == other.InstructionCount | |
24292 | && self.TempRegisterCount == other.TempRegisterCount | |
24293 | && self.TempArrayCount == other.TempArrayCount | |
24294 | && self.DefCount == other.DefCount | |
24295 | && self.DclCount == other.DclCount | |
24296 | && self.TextureNormalInstructions == other.TextureNormalInstructions | |
24297 | && self.TextureLoadInstructions == other.TextureLoadInstructions | |
24298 | && self.TextureCompInstructions == other.TextureCompInstructions | |
24299 | && self.TextureBiasInstructions == other.TextureBiasInstructions | |
24300 | && self.TextureGradientInstructions == other.TextureGradientInstructions | |
24301 | && self.FloatInstructionCount == other.FloatInstructionCount | |
24302 | && self.IntInstructionCount == other.IntInstructionCount | |
24303 | && self.UintInstructionCount == other.UintInstructionCount | |
24304 | && self.StaticFlowControlCount == other.StaticFlowControlCount | |
24305 | && self.DynamicFlowControlCount == other.DynamicFlowControlCount | |
24306 | && self.MacroInstructionCount == other.MacroInstructionCount | |
24307 | && self.ArrayInstructionCount == other.ArrayInstructionCount | |
24308 | && self.MovInstructionCount == other.MovInstructionCount | |
24309 | && self.MovcInstructionCount == other.MovcInstructionCount | |
24310 | && self.ConversionInstructionCount == other.ConversionInstructionCount | |
24311 | && self.BitwiseInstructionCount == other.BitwiseInstructionCount | |
24312 | && self.MinFeatureLevel == other.MinFeatureLevel | |
24313 | && self.RequiredFeatureFlags == other.RequiredFeatureFlags | |
24314 | && self.Name == other.Name | |
24315 | && self.FunctionParameterCount == other.FunctionParameterCount | |
24316 | && self.HasReturn == other.HasReturn | |
24317 | && self.Has10Level9VertexShader == other.Has10Level9VertexShader | |
24318 | && self.Has10Level9PixelShader == other.Has10Level9PixelShader | |
24319 | } | |
24320 | } | |
24321 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D"))] | |
24322 | impl ::core::cmp::Eq for D3D11_FUNCTION_DESC {} | |
24323 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D"))] | |
24324 | impl ::core::default::Default for D3D11_FUNCTION_DESC { | |
24325 | fn default() -> Self { | |
24326 | unsafe { ::core::mem::zeroed() } | |
24327 | } | |
24328 | } | |
24329 | #[repr(C)] | |
24330 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
24331 | pub struct D3D11_GEOMETRY_SHADER_TRACE_DESC { | |
24332 | pub Invocation: u64, | |
24333 | } | |
24334 | impl ::core::marker::Copy for D3D11_GEOMETRY_SHADER_TRACE_DESC {} | |
24335 | impl ::core::clone::Clone for D3D11_GEOMETRY_SHADER_TRACE_DESC { | |
24336 | fn clone(&self) -> Self { | |
24337 | *self | |
24338 | } | |
24339 | } | |
24340 | impl ::core::fmt::Debug for D3D11_GEOMETRY_SHADER_TRACE_DESC { | |
24341 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24342 | f.debug_struct("D3D11_GEOMETRY_SHADER_TRACE_DESC").field("Invocation", &self.Invocation).finish() | |
24343 | } | |
24344 | } | |
24345 | impl ::windows::core::TypeKind for D3D11_GEOMETRY_SHADER_TRACE_DESC { | |
24346 | type TypeKind = ::windows::core::CopyType; | |
24347 | } | |
24348 | impl ::core::cmp::PartialEq for D3D11_GEOMETRY_SHADER_TRACE_DESC { | |
24349 | fn eq(&self, other: &Self) -> bool { | |
24350 | self.Invocation == other.Invocation | |
24351 | } | |
24352 | } | |
24353 | impl ::core::cmp::Eq for D3D11_GEOMETRY_SHADER_TRACE_DESC {} | |
24354 | impl ::core::default::Default for D3D11_GEOMETRY_SHADER_TRACE_DESC { | |
24355 | fn default() -> Self { | |
24356 | unsafe { ::core::mem::zeroed() } | |
24357 | } | |
24358 | } | |
24359 | #[repr(C)] | |
24360 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
24361 | pub struct D3D11_HULL_SHADER_TRACE_DESC { | |
24362 | pub Invocation: u64, | |
24363 | } | |
24364 | impl ::core::marker::Copy for D3D11_HULL_SHADER_TRACE_DESC {} | |
24365 | impl ::core::clone::Clone for D3D11_HULL_SHADER_TRACE_DESC { | |
24366 | fn clone(&self) -> Self { | |
24367 | *self | |
24368 | } | |
24369 | } | |
24370 | impl ::core::fmt::Debug for D3D11_HULL_SHADER_TRACE_DESC { | |
24371 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24372 | f.debug_struct("D3D11_HULL_SHADER_TRACE_DESC").field("Invocation", &self.Invocation).finish() | |
24373 | } | |
24374 | } | |
24375 | impl ::windows::core::TypeKind for D3D11_HULL_SHADER_TRACE_DESC { | |
24376 | type TypeKind = ::windows::core::CopyType; | |
24377 | } | |
24378 | impl ::core::cmp::PartialEq for D3D11_HULL_SHADER_TRACE_DESC { | |
24379 | fn eq(&self, other: &Self) -> bool { | |
24380 | self.Invocation == other.Invocation | |
24381 | } | |
24382 | } | |
24383 | impl ::core::cmp::Eq for D3D11_HULL_SHADER_TRACE_DESC {} | |
24384 | impl ::core::default::Default for D3D11_HULL_SHADER_TRACE_DESC { | |
24385 | fn default() -> Self { | |
24386 | unsafe { ::core::mem::zeroed() } | |
24387 | } | |
24388 | } | |
24389 | #[repr(C)] | |
24390 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
24391 | pub struct D3D11_INFO_QUEUE_FILTER { | |
24392 | pub AllowList: D3D11_INFO_QUEUE_FILTER_DESC, | |
24393 | pub DenyList: D3D11_INFO_QUEUE_FILTER_DESC, | |
24394 | } | |
24395 | impl ::core::marker::Copy for D3D11_INFO_QUEUE_FILTER {} | |
24396 | impl ::core::clone::Clone for D3D11_INFO_QUEUE_FILTER { | |
24397 | fn clone(&self) -> Self { | |
24398 | *self | |
24399 | } | |
24400 | } | |
24401 | impl ::core::fmt::Debug for D3D11_INFO_QUEUE_FILTER { | |
24402 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24403 | f.debug_struct("D3D11_INFO_QUEUE_FILTER").field("AllowList", &self.AllowList).field("DenyList", &self.DenyList).finish() | |
24404 | } | |
24405 | } | |
24406 | impl ::windows::core::TypeKind for D3D11_INFO_QUEUE_FILTER { | |
24407 | type TypeKind = ::windows::core::CopyType; | |
24408 | } | |
24409 | impl ::core::cmp::PartialEq for D3D11_INFO_QUEUE_FILTER { | |
24410 | fn eq(&self, other: &Self) -> bool { | |
24411 | self.AllowList == other.AllowList && self.DenyList == other.DenyList | |
24412 | } | |
24413 | } | |
24414 | impl ::core::cmp::Eq for D3D11_INFO_QUEUE_FILTER {} | |
24415 | impl ::core::default::Default for D3D11_INFO_QUEUE_FILTER { | |
24416 | fn default() -> Self { | |
24417 | unsafe { ::core::mem::zeroed() } | |
24418 | } | |
24419 | } | |
24420 | #[repr(C)] | |
24421 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
24422 | pub struct D3D11_INFO_QUEUE_FILTER_DESC { | |
24423 | pub NumCategories: u32, | |
24424 | pub pCategoryList: *mut D3D11_MESSAGE_CATEGORY, | |
24425 | pub NumSeverities: u32, | |
24426 | pub pSeverityList: *mut D3D11_MESSAGE_SEVERITY, | |
24427 | pub NumIDs: u32, | |
24428 | pub pIDList: *mut D3D11_MESSAGE_ID, | |
24429 | } | |
24430 | impl ::core::marker::Copy for D3D11_INFO_QUEUE_FILTER_DESC {} | |
24431 | impl ::core::clone::Clone for D3D11_INFO_QUEUE_FILTER_DESC { | |
24432 | fn clone(&self) -> Self { | |
24433 | *self | |
24434 | } | |
24435 | } | |
24436 | impl ::core::fmt::Debug for D3D11_INFO_QUEUE_FILTER_DESC { | |
24437 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24438 | f.debug_struct("D3D11_INFO_QUEUE_FILTER_DESC").field("NumCategories", &self.NumCategories).field("pCategoryList", &self.pCategoryList).field("NumSeverities", &self.NumSeverities).field("pSeverityList", &self.pSeverityList).field("NumIDs", &self.NumIDs).field("pIDList", &self.pIDList).finish() | |
24439 | } | |
24440 | } | |
24441 | impl ::windows::core::TypeKind for D3D11_INFO_QUEUE_FILTER_DESC { | |
24442 | type TypeKind = ::windows::core::CopyType; | |
24443 | } | |
24444 | impl ::core::cmp::PartialEq for D3D11_INFO_QUEUE_FILTER_DESC { | |
24445 | fn eq(&self, other: &Self) -> bool { | |
24446 | self.NumCategories == other.NumCategories && self.pCategoryList == other.pCategoryList && self.NumSeverities == other.NumSeverities && self.pSeverityList == other.pSeverityList && self.NumIDs == other.NumIDs && self.pIDList == other.pIDList | |
24447 | } | |
24448 | } | |
24449 | impl ::core::cmp::Eq for D3D11_INFO_QUEUE_FILTER_DESC {} | |
24450 | impl ::core::default::Default for D3D11_INFO_QUEUE_FILTER_DESC { | |
24451 | fn default() -> Self { | |
24452 | unsafe { ::core::mem::zeroed() } | |
24453 | } | |
24454 | } | |
24455 | #[repr(C)] | |
24456 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
24457 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
24458 | pub struct D3D11_INPUT_ELEMENT_DESC { | |
24459 | pub SemanticName: ::windows::core::PCSTR, | |
24460 | pub SemanticIndex: u32, | |
24461 | pub Format: super::Dxgi::Common::DXGI_FORMAT, | |
24462 | pub InputSlot: u32, | |
24463 | pub AlignedByteOffset: u32, | |
24464 | pub InputSlotClass: D3D11_INPUT_CLASSIFICATION, | |
24465 | pub InstanceDataStepRate: u32, | |
24466 | } | |
24467 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
24468 | impl ::core::marker::Copy for D3D11_INPUT_ELEMENT_DESC {} | |
24469 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
24470 | impl ::core::clone::Clone for D3D11_INPUT_ELEMENT_DESC { | |
24471 | fn clone(&self) -> Self { | |
24472 | *self | |
24473 | } | |
24474 | } | |
24475 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
24476 | impl ::core::fmt::Debug for D3D11_INPUT_ELEMENT_DESC { | |
24477 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24478 | f.debug_struct("D3D11_INPUT_ELEMENT_DESC").field("SemanticName", &self.SemanticName).field("SemanticIndex", &self.SemanticIndex).field("Format", &self.Format).field("InputSlot", &self.InputSlot).field("AlignedByteOffset", &self.AlignedByteOffset).field("InputSlotClass", &self.InputSlotClass).field("InstanceDataStepRate", &self.InstanceDataStepRate).finish() | |
24479 | } | |
24480 | } | |
24481 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
24482 | impl ::windows::core::TypeKind for D3D11_INPUT_ELEMENT_DESC { | |
24483 | type TypeKind = ::windows::core::CopyType; | |
24484 | } | |
24485 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
24486 | impl ::core::cmp::PartialEq for D3D11_INPUT_ELEMENT_DESC { | |
24487 | fn eq(&self, other: &Self) -> bool { | |
24488 | self.SemanticName == other.SemanticName && self.SemanticIndex == other.SemanticIndex && self.Format == other.Format && self.InputSlot == other.InputSlot && self.AlignedByteOffset == other.AlignedByteOffset && self.InputSlotClass == other.InputSlotClass && self.InstanceDataStepRate == other.InstanceDataStepRate | |
24489 | } | |
24490 | } | |
24491 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
24492 | impl ::core::cmp::Eq for D3D11_INPUT_ELEMENT_DESC {} | |
24493 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
24494 | impl ::core::default::Default for D3D11_INPUT_ELEMENT_DESC { | |
24495 | fn default() -> Self { | |
24496 | unsafe { ::core::mem::zeroed() } | |
24497 | } | |
24498 | } | |
24499 | #[repr(C)] | |
24500 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
24501 | pub struct D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA { | |
24502 | pub HWProtectionFunctionID: u32, | |
24503 | pub pInputData: *mut D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA, | |
24504 | pub pOutputData: *mut D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA, | |
24505 | pub Status: ::windows::core::HRESULT, | |
24506 | } | |
24507 | impl ::core::marker::Copy for D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA {} | |
24508 | impl ::core::clone::Clone for D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA { | |
24509 | fn clone(&self) -> Self { | |
24510 | *self | |
24511 | } | |
24512 | } | |
24513 | impl ::core::fmt::Debug for D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA { | |
24514 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24515 | f.debug_struct("D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA").field("HWProtectionFunctionID", &self.HWProtectionFunctionID).field("pInputData", &self.pInputData).field("pOutputData", &self.pOutputData).field("Status", &self.Status).finish() | |
24516 | } | |
24517 | } | |
24518 | impl ::windows::core::TypeKind for D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA { | |
24519 | type TypeKind = ::windows::core::CopyType; | |
24520 | } | |
24521 | impl ::core::cmp::PartialEq for D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA { | |
24522 | fn eq(&self, other: &Self) -> bool { | |
24523 | self.HWProtectionFunctionID == other.HWProtectionFunctionID && self.pInputData == other.pInputData && self.pOutputData == other.pOutputData && self.Status == other.Status | |
24524 | } | |
24525 | } | |
24526 | impl ::core::cmp::Eq for D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA {} | |
24527 | impl ::core::default::Default for D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA { | |
24528 | fn default() -> Self { | |
24529 | unsafe { ::core::mem::zeroed() } | |
24530 | } | |
24531 | } | |
24532 | #[repr(C)] | |
24533 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
24534 | pub struct D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA { | |
24535 | pub PrivateDataSize: u32, | |
24536 | pub HWProtectionDataSize: u32, | |
24537 | pub pbInput: [u8; 4], | |
24538 | } | |
24539 | impl ::core::marker::Copy for D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA {} | |
24540 | impl ::core::clone::Clone for D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA { | |
24541 | fn clone(&self) -> Self { | |
24542 | *self | |
24543 | } | |
24544 | } | |
24545 | impl ::core::fmt::Debug for D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA { | |
24546 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24547 | f.debug_struct("D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA").field("PrivateDataSize", &self.PrivateDataSize).field("HWProtectionDataSize", &self.HWProtectionDataSize).field("pbInput", &self.pbInput).finish() | |
24548 | } | |
24549 | } | |
24550 | impl ::windows::core::TypeKind for D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA { | |
24551 | type TypeKind = ::windows::core::CopyType; | |
24552 | } | |
24553 | impl ::core::cmp::PartialEq for D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA { | |
24554 | fn eq(&self, other: &Self) -> bool { | |
24555 | self.PrivateDataSize == other.PrivateDataSize && self.HWProtectionDataSize == other.HWProtectionDataSize && self.pbInput == other.pbInput | |
24556 | } | |
24557 | } | |
24558 | impl ::core::cmp::Eq for D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA {} | |
24559 | impl ::core::default::Default for D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA { | |
24560 | fn default() -> Self { | |
24561 | unsafe { ::core::mem::zeroed() } | |
24562 | } | |
24563 | } | |
24564 | #[repr(C)] | |
24565 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
24566 | pub struct D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA { | |
24567 | pub PrivateDataSize: u32, | |
24568 | pub MaxHWProtectionDataSize: u32, | |
24569 | pub HWProtectionDataSize: u32, | |
24570 | pub TransportTime: u64, | |
24571 | pub ExecutionTime: u64, | |
24572 | pub pbOutput: [u8; 4], | |
24573 | } | |
24574 | impl ::core::marker::Copy for D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA {} | |
24575 | impl ::core::clone::Clone for D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA { | |
24576 | fn clone(&self) -> Self { | |
24577 | *self | |
24578 | } | |
24579 | } | |
24580 | impl ::core::fmt::Debug for D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA { | |
24581 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24582 | f.debug_struct("D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA").field("PrivateDataSize", &self.PrivateDataSize).field("MaxHWProtectionDataSize", &self.MaxHWProtectionDataSize).field("HWProtectionDataSize", &self.HWProtectionDataSize).field("TransportTime", &self.TransportTime).field("ExecutionTime", &self.ExecutionTime).field("pbOutput", &self.pbOutput).finish() | |
24583 | } | |
24584 | } | |
24585 | impl ::windows::core::TypeKind for D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA { | |
24586 | type TypeKind = ::windows::core::CopyType; | |
24587 | } | |
24588 | impl ::core::cmp::PartialEq for D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA { | |
24589 | fn eq(&self, other: &Self) -> bool { | |
24590 | self.PrivateDataSize == other.PrivateDataSize && self.MaxHWProtectionDataSize == other.MaxHWProtectionDataSize && self.HWProtectionDataSize == other.HWProtectionDataSize && self.TransportTime == other.TransportTime && self.ExecutionTime == other.ExecutionTime && self.pbOutput == other.pbOutput | |
24591 | } | |
24592 | } | |
24593 | impl ::core::cmp::Eq for D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA {} | |
24594 | impl ::core::default::Default for D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA { | |
24595 | fn default() -> Self { | |
24596 | unsafe { ::core::mem::zeroed() } | |
24597 | } | |
24598 | } | |
24599 | #[repr(C)] | |
24600 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
24601 | pub struct D3D11_LIBRARY_DESC { | |
24602 | pub Creator: ::windows::core::PCSTR, | |
24603 | pub Flags: u32, | |
24604 | pub FunctionCount: u32, | |
24605 | } | |
24606 | impl ::core::marker::Copy for D3D11_LIBRARY_DESC {} | |
24607 | impl ::core::clone::Clone for D3D11_LIBRARY_DESC { | |
24608 | fn clone(&self) -> Self { | |
24609 | *self | |
24610 | } | |
24611 | } | |
24612 | impl ::core::fmt::Debug for D3D11_LIBRARY_DESC { | |
24613 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24614 | f.debug_struct("D3D11_LIBRARY_DESC").field("Creator", &self.Creator).field("Flags", &self.Flags).field("FunctionCount", &self.FunctionCount).finish() | |
24615 | } | |
24616 | } | |
24617 | impl ::windows::core::TypeKind for D3D11_LIBRARY_DESC { | |
24618 | type TypeKind = ::windows::core::CopyType; | |
24619 | } | |
24620 | impl ::core::cmp::PartialEq for D3D11_LIBRARY_DESC { | |
24621 | fn eq(&self, other: &Self) -> bool { | |
24622 | self.Creator == other.Creator && self.Flags == other.Flags && self.FunctionCount == other.FunctionCount | |
24623 | } | |
24624 | } | |
24625 | impl ::core::cmp::Eq for D3D11_LIBRARY_DESC {} | |
24626 | impl ::core::default::Default for D3D11_LIBRARY_DESC { | |
24627 | fn default() -> Self { | |
24628 | unsafe { ::core::mem::zeroed() } | |
24629 | } | |
24630 | } | |
24631 | #[repr(C)] | |
24632 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
24633 | pub struct D3D11_MAPPED_SUBRESOURCE { | |
24634 | pub pData: *mut ::core::ffi::c_void, | |
24635 | pub RowPitch: u32, | |
24636 | pub DepthPitch: u32, | |
24637 | } | |
24638 | impl ::core::marker::Copy for D3D11_MAPPED_SUBRESOURCE {} | |
24639 | impl ::core::clone::Clone for D3D11_MAPPED_SUBRESOURCE { | |
24640 | fn clone(&self) -> Self { | |
24641 | *self | |
24642 | } | |
24643 | } | |
24644 | impl ::core::fmt::Debug for D3D11_MAPPED_SUBRESOURCE { | |
24645 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24646 | f.debug_struct("D3D11_MAPPED_SUBRESOURCE").field("pData", &self.pData).field("RowPitch", &self.RowPitch).field("DepthPitch", &self.DepthPitch).finish() | |
24647 | } | |
24648 | } | |
24649 | impl ::windows::core::TypeKind for D3D11_MAPPED_SUBRESOURCE { | |
24650 | type TypeKind = ::windows::core::CopyType; | |
24651 | } | |
24652 | impl ::core::cmp::PartialEq for D3D11_MAPPED_SUBRESOURCE { | |
24653 | fn eq(&self, other: &Self) -> bool { | |
24654 | self.pData == other.pData && self.RowPitch == other.RowPitch && self.DepthPitch == other.DepthPitch | |
24655 | } | |
24656 | } | |
24657 | impl ::core::cmp::Eq for D3D11_MAPPED_SUBRESOURCE {} | |
24658 | impl ::core::default::Default for D3D11_MAPPED_SUBRESOURCE { | |
24659 | fn default() -> Self { | |
24660 | unsafe { ::core::mem::zeroed() } | |
24661 | } | |
24662 | } | |
24663 | #[repr(C)] | |
24664 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
24665 | pub struct D3D11_MESSAGE { | |
24666 | pub Category: D3D11_MESSAGE_CATEGORY, | |
24667 | pub Severity: D3D11_MESSAGE_SEVERITY, | |
24668 | pub ID: D3D11_MESSAGE_ID, | |
24669 | pub pDescription: *const u8, | |
24670 | pub DescriptionByteLength: usize, | |
24671 | } | |
24672 | impl ::core::marker::Copy for D3D11_MESSAGE {} | |
24673 | impl ::core::clone::Clone for D3D11_MESSAGE { | |
24674 | fn clone(&self) -> Self { | |
24675 | *self | |
24676 | } | |
24677 | } | |
24678 | impl ::core::fmt::Debug for D3D11_MESSAGE { | |
24679 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24680 | f.debug_struct("D3D11_MESSAGE").field("Category", &self.Category).field("Severity", &self.Severity).field("ID", &self.ID).field("pDescription", &self.pDescription).field("DescriptionByteLength", &self.DescriptionByteLength).finish() | |
24681 | } | |
24682 | } | |
24683 | impl ::windows::core::TypeKind for D3D11_MESSAGE { | |
24684 | type TypeKind = ::windows::core::CopyType; | |
24685 | } | |
24686 | impl ::core::cmp::PartialEq for D3D11_MESSAGE { | |
24687 | fn eq(&self, other: &Self) -> bool { | |
24688 | self.Category == other.Category && self.Severity == other.Severity && self.ID == other.ID && self.pDescription == other.pDescription && self.DescriptionByteLength == other.DescriptionByteLength | |
24689 | } | |
24690 | } | |
24691 | impl ::core::cmp::Eq for D3D11_MESSAGE {} | |
24692 | impl ::core::default::Default for D3D11_MESSAGE { | |
24693 | fn default() -> Self { | |
24694 | unsafe { ::core::mem::zeroed() } | |
24695 | } | |
24696 | } | |
24697 | #[repr(C)] | |
24698 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
24699 | pub struct D3D11_OMAC { | |
24700 | pub Omac: [u8; 16], | |
24701 | } | |
24702 | impl ::core::marker::Copy for D3D11_OMAC {} | |
24703 | impl ::core::clone::Clone for D3D11_OMAC { | |
24704 | fn clone(&self) -> Self { | |
24705 | *self | |
24706 | } | |
24707 | } | |
24708 | impl ::core::fmt::Debug for D3D11_OMAC { | |
24709 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24710 | f.debug_struct("D3D11_OMAC").field("Omac", &self.Omac).finish() | |
24711 | } | |
24712 | } | |
24713 | impl ::windows::core::TypeKind for D3D11_OMAC { | |
24714 | type TypeKind = ::windows::core::CopyType; | |
24715 | } | |
24716 | impl ::core::cmp::PartialEq for D3D11_OMAC { | |
24717 | fn eq(&self, other: &Self) -> bool { | |
24718 | self.Omac == other.Omac | |
24719 | } | |
24720 | } | |
24721 | impl ::core::cmp::Eq for D3D11_OMAC {} | |
24722 | impl ::core::default::Default for D3D11_OMAC { | |
24723 | fn default() -> Self { | |
24724 | unsafe { ::core::mem::zeroed() } | |
24725 | } | |
24726 | } | |
24727 | #[repr(C)] | |
24728 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
24729 | pub struct D3D11_PACKED_MIP_DESC { | |
24730 | pub NumStandardMips: u8, | |
24731 | pub NumPackedMips: u8, | |
24732 | pub NumTilesForPackedMips: u32, | |
24733 | pub StartTileIndexInOverallResource: u32, | |
24734 | } | |
24735 | impl ::core::marker::Copy for D3D11_PACKED_MIP_DESC {} | |
24736 | impl ::core::clone::Clone for D3D11_PACKED_MIP_DESC { | |
24737 | fn clone(&self) -> Self { | |
24738 | *self | |
24739 | } | |
24740 | } | |
24741 | impl ::core::fmt::Debug for D3D11_PACKED_MIP_DESC { | |
24742 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24743 | f.debug_struct("D3D11_PACKED_MIP_DESC").field("NumStandardMips", &self.NumStandardMips).field("NumPackedMips", &self.NumPackedMips).field("NumTilesForPackedMips", &self.NumTilesForPackedMips).field("StartTileIndexInOverallResource", &self.StartTileIndexInOverallResource).finish() | |
24744 | } | |
24745 | } | |
24746 | impl ::windows::core::TypeKind for D3D11_PACKED_MIP_DESC { | |
24747 | type TypeKind = ::windows::core::CopyType; | |
24748 | } | |
24749 | impl ::core::cmp::PartialEq for D3D11_PACKED_MIP_DESC { | |
24750 | fn eq(&self, other: &Self) -> bool { | |
24751 | self.NumStandardMips == other.NumStandardMips && self.NumPackedMips == other.NumPackedMips && self.NumTilesForPackedMips == other.NumTilesForPackedMips && self.StartTileIndexInOverallResource == other.StartTileIndexInOverallResource | |
24752 | } | |
24753 | } | |
24754 | impl ::core::cmp::Eq for D3D11_PACKED_MIP_DESC {} | |
24755 | impl ::core::default::Default for D3D11_PACKED_MIP_DESC { | |
24756 | fn default() -> Self { | |
24757 | unsafe { ::core::mem::zeroed() } | |
24758 | } | |
24759 | } | |
24760 | #[repr(C)] | |
24761 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`*"] | |
24762 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
24763 | pub struct D3D11_PARAMETER_DESC { | |
24764 | pub Name: ::windows::core::PCSTR, | |
24765 | pub SemanticName: ::windows::core::PCSTR, | |
24766 | pub Type: super::Direct3D::D3D_SHADER_VARIABLE_TYPE, | |
24767 | pub Class: super::Direct3D::D3D_SHADER_VARIABLE_CLASS, | |
24768 | pub Rows: u32, | |
24769 | pub Columns: u32, | |
24770 | pub InterpolationMode: super::Direct3D::D3D_INTERPOLATION_MODE, | |
24771 | pub Flags: super::Direct3D::D3D_PARAMETER_FLAGS, | |
24772 | pub FirstInRegister: u32, | |
24773 | pub FirstInComponent: u32, | |
24774 | pub FirstOutRegister: u32, | |
24775 | pub FirstOutComponent: u32, | |
24776 | } | |
24777 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
24778 | impl ::core::marker::Copy for D3D11_PARAMETER_DESC {} | |
24779 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
24780 | impl ::core::clone::Clone for D3D11_PARAMETER_DESC { | |
24781 | fn clone(&self) -> Self { | |
24782 | *self | |
24783 | } | |
24784 | } | |
24785 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
24786 | impl ::core::fmt::Debug for D3D11_PARAMETER_DESC { | |
24787 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24788 | f.debug_struct("D3D11_PARAMETER_DESC") | |
24789 | .field("Name", &self.Name) | |
24790 | .field("SemanticName", &self.SemanticName) | |
24791 | .field("Type", &self.Type) | |
24792 | .field("Class", &self.Class) | |
24793 | .field("Rows", &self.Rows) | |
24794 | .field("Columns", &self.Columns) | |
24795 | .field("InterpolationMode", &self.InterpolationMode) | |
24796 | .field("Flags", &self.Flags) | |
24797 | .field("FirstInRegister", &self.FirstInRegister) | |
24798 | .field("FirstInComponent", &self.FirstInComponent) | |
24799 | .field("FirstOutRegister", &self.FirstOutRegister) | |
24800 | .field("FirstOutComponent", &self.FirstOutComponent) | |
24801 | .finish() | |
24802 | } | |
24803 | } | |
24804 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
24805 | impl ::windows::core::TypeKind for D3D11_PARAMETER_DESC { | |
24806 | type TypeKind = ::windows::core::CopyType; | |
24807 | } | |
24808 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
24809 | impl ::core::cmp::PartialEq for D3D11_PARAMETER_DESC { | |
24810 | fn eq(&self, other: &Self) -> bool { | |
24811 | self.Name == other.Name && self.SemanticName == other.SemanticName && self.Type == other.Type && self.Class == other.Class && self.Rows == other.Rows && self.Columns == other.Columns && self.InterpolationMode == other.InterpolationMode && self.Flags == other.Flags && self.FirstInRegister == other.FirstInRegister && self.FirstInComponent == other.FirstInComponent && self.FirstOutRegister == other.FirstOutRegister && self.FirstOutComponent == other.FirstOutComponent | |
24812 | } | |
24813 | } | |
24814 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
24815 | impl ::core::cmp::Eq for D3D11_PARAMETER_DESC {} | |
24816 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
24817 | impl ::core::default::Default for D3D11_PARAMETER_DESC { | |
24818 | fn default() -> Self { | |
24819 | unsafe { ::core::mem::zeroed() } | |
24820 | } | |
24821 | } | |
24822 | #[repr(C)] | |
24823 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
24824 | pub struct D3D11_PIXEL_SHADER_TRACE_DESC { | |
24825 | pub Invocation: u64, | |
24826 | pub X: i32, | |
24827 | pub Y: i32, | |
24828 | pub SampleMask: u64, | |
24829 | } | |
24830 | impl ::core::marker::Copy for D3D11_PIXEL_SHADER_TRACE_DESC {} | |
24831 | impl ::core::clone::Clone for D3D11_PIXEL_SHADER_TRACE_DESC { | |
24832 | fn clone(&self) -> Self { | |
24833 | *self | |
24834 | } | |
24835 | } | |
24836 | impl ::core::fmt::Debug for D3D11_PIXEL_SHADER_TRACE_DESC { | |
24837 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24838 | f.debug_struct("D3D11_PIXEL_SHADER_TRACE_DESC").field("Invocation", &self.Invocation).field("X", &self.X).field("Y", &self.Y).field("SampleMask", &self.SampleMask).finish() | |
24839 | } | |
24840 | } | |
24841 | impl ::windows::core::TypeKind for D3D11_PIXEL_SHADER_TRACE_DESC { | |
24842 | type TypeKind = ::windows::core::CopyType; | |
24843 | } | |
24844 | impl ::core::cmp::PartialEq for D3D11_PIXEL_SHADER_TRACE_DESC { | |
24845 | fn eq(&self, other: &Self) -> bool { | |
24846 | self.Invocation == other.Invocation && self.X == other.X && self.Y == other.Y && self.SampleMask == other.SampleMask | |
24847 | } | |
24848 | } | |
24849 | impl ::core::cmp::Eq for D3D11_PIXEL_SHADER_TRACE_DESC {} | |
24850 | impl ::core::default::Default for D3D11_PIXEL_SHADER_TRACE_DESC { | |
24851 | fn default() -> Self { | |
24852 | unsafe { ::core::mem::zeroed() } | |
24853 | } | |
24854 | } | |
24855 | #[repr(C)] | |
24856 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
24857 | pub struct D3D11_QUERY_DATA_PIPELINE_STATISTICS { | |
24858 | pub IAVertices: u64, | |
24859 | pub IAPrimitives: u64, | |
24860 | pub VSInvocations: u64, | |
24861 | pub GSInvocations: u64, | |
24862 | pub GSPrimitives: u64, | |
24863 | pub CInvocations: u64, | |
24864 | pub CPrimitives: u64, | |
24865 | pub PSInvocations: u64, | |
24866 | pub HSInvocations: u64, | |
24867 | pub DSInvocations: u64, | |
24868 | pub CSInvocations: u64, | |
24869 | } | |
24870 | impl ::core::marker::Copy for D3D11_QUERY_DATA_PIPELINE_STATISTICS {} | |
24871 | impl ::core::clone::Clone for D3D11_QUERY_DATA_PIPELINE_STATISTICS { | |
24872 | fn clone(&self) -> Self { | |
24873 | *self | |
24874 | } | |
24875 | } | |
24876 | impl ::core::fmt::Debug for D3D11_QUERY_DATA_PIPELINE_STATISTICS { | |
24877 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24878 | f.debug_struct("D3D11_QUERY_DATA_PIPELINE_STATISTICS") | |
24879 | .field("IAVertices", &self.IAVertices) | |
24880 | .field("IAPrimitives", &self.IAPrimitives) | |
24881 | .field("VSInvocations", &self.VSInvocations) | |
24882 | .field("GSInvocations", &self.GSInvocations) | |
24883 | .field("GSPrimitives", &self.GSPrimitives) | |
24884 | .field("CInvocations", &self.CInvocations) | |
24885 | .field("CPrimitives", &self.CPrimitives) | |
24886 | .field("PSInvocations", &self.PSInvocations) | |
24887 | .field("HSInvocations", &self.HSInvocations) | |
24888 | .field("DSInvocations", &self.DSInvocations) | |
24889 | .field("CSInvocations", &self.CSInvocations) | |
24890 | .finish() | |
24891 | } | |
24892 | } | |
24893 | impl ::windows::core::TypeKind for D3D11_QUERY_DATA_PIPELINE_STATISTICS { | |
24894 | type TypeKind = ::windows::core::CopyType; | |
24895 | } | |
24896 | impl ::core::cmp::PartialEq for D3D11_QUERY_DATA_PIPELINE_STATISTICS { | |
24897 | fn eq(&self, other: &Self) -> bool { | |
24898 | self.IAVertices == other.IAVertices && self.IAPrimitives == other.IAPrimitives && self.VSInvocations == other.VSInvocations && self.GSInvocations == other.GSInvocations && self.GSPrimitives == other.GSPrimitives && self.CInvocations == other.CInvocations && self.CPrimitives == other.CPrimitives && self.PSInvocations == other.PSInvocations && self.HSInvocations == other.HSInvocations && self.DSInvocations == other.DSInvocations && self.CSInvocations == other.CSInvocations | |
24899 | } | |
24900 | } | |
24901 | impl ::core::cmp::Eq for D3D11_QUERY_DATA_PIPELINE_STATISTICS {} | |
24902 | impl ::core::default::Default for D3D11_QUERY_DATA_PIPELINE_STATISTICS { | |
24903 | fn default() -> Self { | |
24904 | unsafe { ::core::mem::zeroed() } | |
24905 | } | |
24906 | } | |
24907 | #[repr(C)] | |
24908 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
24909 | pub struct D3D11_QUERY_DATA_SO_STATISTICS { | |
24910 | pub NumPrimitivesWritten: u64, | |
24911 | pub PrimitivesStorageNeeded: u64, | |
24912 | } | |
24913 | impl ::core::marker::Copy for D3D11_QUERY_DATA_SO_STATISTICS {} | |
24914 | impl ::core::clone::Clone for D3D11_QUERY_DATA_SO_STATISTICS { | |
24915 | fn clone(&self) -> Self { | |
24916 | *self | |
24917 | } | |
24918 | } | |
24919 | impl ::core::fmt::Debug for D3D11_QUERY_DATA_SO_STATISTICS { | |
24920 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24921 | f.debug_struct("D3D11_QUERY_DATA_SO_STATISTICS").field("NumPrimitivesWritten", &self.NumPrimitivesWritten).field("PrimitivesStorageNeeded", &self.PrimitivesStorageNeeded).finish() | |
24922 | } | |
24923 | } | |
24924 | impl ::windows::core::TypeKind for D3D11_QUERY_DATA_SO_STATISTICS { | |
24925 | type TypeKind = ::windows::core::CopyType; | |
24926 | } | |
24927 | impl ::core::cmp::PartialEq for D3D11_QUERY_DATA_SO_STATISTICS { | |
24928 | fn eq(&self, other: &Self) -> bool { | |
24929 | self.NumPrimitivesWritten == other.NumPrimitivesWritten && self.PrimitivesStorageNeeded == other.PrimitivesStorageNeeded | |
24930 | } | |
24931 | } | |
24932 | impl ::core::cmp::Eq for D3D11_QUERY_DATA_SO_STATISTICS {} | |
24933 | impl ::core::default::Default for D3D11_QUERY_DATA_SO_STATISTICS { | |
24934 | fn default() -> Self { | |
24935 | unsafe { ::core::mem::zeroed() } | |
24936 | } | |
24937 | } | |
24938 | #[repr(C)] | |
24939 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
24940 | #[cfg(feature = "Win32_Foundation")] | |
24941 | pub struct D3D11_QUERY_DATA_TIMESTAMP_DISJOINT { | |
24942 | pub Frequency: u64, | |
24943 | pub Disjoint: super::super::Foundation::BOOL, | |
24944 | } | |
24945 | #[cfg(feature = "Win32_Foundation")] | |
24946 | impl ::core::marker::Copy for D3D11_QUERY_DATA_TIMESTAMP_DISJOINT {} | |
24947 | #[cfg(feature = "Win32_Foundation")] | |
24948 | impl ::core::clone::Clone for D3D11_QUERY_DATA_TIMESTAMP_DISJOINT { | |
24949 | fn clone(&self) -> Self { | |
24950 | *self | |
24951 | } | |
24952 | } | |
24953 | #[cfg(feature = "Win32_Foundation")] | |
24954 | impl ::core::fmt::Debug for D3D11_QUERY_DATA_TIMESTAMP_DISJOINT { | |
24955 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24956 | f.debug_struct("D3D11_QUERY_DATA_TIMESTAMP_DISJOINT").field("Frequency", &self.Frequency).field("Disjoint", &self.Disjoint).finish() | |
24957 | } | |
24958 | } | |
24959 | #[cfg(feature = "Win32_Foundation")] | |
24960 | impl ::windows::core::TypeKind for D3D11_QUERY_DATA_TIMESTAMP_DISJOINT { | |
24961 | type TypeKind = ::windows::core::CopyType; | |
24962 | } | |
24963 | #[cfg(feature = "Win32_Foundation")] | |
24964 | impl ::core::cmp::PartialEq for D3D11_QUERY_DATA_TIMESTAMP_DISJOINT { | |
24965 | fn eq(&self, other: &Self) -> bool { | |
24966 | self.Frequency == other.Frequency && self.Disjoint == other.Disjoint | |
24967 | } | |
24968 | } | |
24969 | #[cfg(feature = "Win32_Foundation")] | |
24970 | impl ::core::cmp::Eq for D3D11_QUERY_DATA_TIMESTAMP_DISJOINT {} | |
24971 | #[cfg(feature = "Win32_Foundation")] | |
24972 | impl ::core::default::Default for D3D11_QUERY_DATA_TIMESTAMP_DISJOINT { | |
24973 | fn default() -> Self { | |
24974 | unsafe { ::core::mem::zeroed() } | |
24975 | } | |
24976 | } | |
24977 | #[repr(C)] | |
24978 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
24979 | pub struct D3D11_QUERY_DESC { | |
24980 | pub Query: D3D11_QUERY, | |
24981 | pub MiscFlags: u32, | |
24982 | } | |
24983 | impl ::core::marker::Copy for D3D11_QUERY_DESC {} | |
24984 | impl ::core::clone::Clone for D3D11_QUERY_DESC { | |
24985 | fn clone(&self) -> Self { | |
24986 | *self | |
24987 | } | |
24988 | } | |
24989 | impl ::core::fmt::Debug for D3D11_QUERY_DESC { | |
24990 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
24991 | f.debug_struct("D3D11_QUERY_DESC").field("Query", &self.Query).field("MiscFlags", &self.MiscFlags).finish() | |
24992 | } | |
24993 | } | |
24994 | impl ::windows::core::TypeKind for D3D11_QUERY_DESC { | |
24995 | type TypeKind = ::windows::core::CopyType; | |
24996 | } | |
24997 | impl ::core::cmp::PartialEq for D3D11_QUERY_DESC { | |
24998 | fn eq(&self, other: &Self) -> bool { | |
24999 | self.Query == other.Query && self.MiscFlags == other.MiscFlags | |
25000 | } | |
25001 | } | |
25002 | impl ::core::cmp::Eq for D3D11_QUERY_DESC {} | |
25003 | impl ::core::default::Default for D3D11_QUERY_DESC { | |
25004 | fn default() -> Self { | |
25005 | unsafe { ::core::mem::zeroed() } | |
25006 | } | |
25007 | } | |
25008 | #[repr(C)] | |
25009 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
25010 | pub struct D3D11_QUERY_DESC1 { | |
25011 | pub Query: D3D11_QUERY, | |
25012 | pub MiscFlags: u32, | |
25013 | pub ContextType: D3D11_CONTEXT_TYPE, | |
25014 | } | |
25015 | impl ::core::marker::Copy for D3D11_QUERY_DESC1 {} | |
25016 | impl ::core::clone::Clone for D3D11_QUERY_DESC1 { | |
25017 | fn clone(&self) -> Self { | |
25018 | *self | |
25019 | } | |
25020 | } | |
25021 | impl ::core::fmt::Debug for D3D11_QUERY_DESC1 { | |
25022 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25023 | f.debug_struct("D3D11_QUERY_DESC1").field("Query", &self.Query).field("MiscFlags", &self.MiscFlags).field("ContextType", &self.ContextType).finish() | |
25024 | } | |
25025 | } | |
25026 | impl ::windows::core::TypeKind for D3D11_QUERY_DESC1 { | |
25027 | type TypeKind = ::windows::core::CopyType; | |
25028 | } | |
25029 | impl ::core::cmp::PartialEq for D3D11_QUERY_DESC1 { | |
25030 | fn eq(&self, other: &Self) -> bool { | |
25031 | self.Query == other.Query && self.MiscFlags == other.MiscFlags && self.ContextType == other.ContextType | |
25032 | } | |
25033 | } | |
25034 | impl ::core::cmp::Eq for D3D11_QUERY_DESC1 {} | |
25035 | impl ::core::default::Default for D3D11_QUERY_DESC1 { | |
25036 | fn default() -> Self { | |
25037 | unsafe { ::core::mem::zeroed() } | |
25038 | } | |
25039 | } | |
25040 | #[repr(C)] | |
25041 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
25042 | #[cfg(feature = "Win32_Foundation")] | |
25043 | pub struct D3D11_RASTERIZER_DESC { | |
25044 | pub FillMode: D3D11_FILL_MODE, | |
25045 | pub CullMode: D3D11_CULL_MODE, | |
25046 | pub FrontCounterClockwise: super::super::Foundation::BOOL, | |
25047 | pub DepthBias: i32, | |
25048 | pub DepthBiasClamp: f32, | |
25049 | pub SlopeScaledDepthBias: f32, | |
25050 | pub DepthClipEnable: super::super::Foundation::BOOL, | |
25051 | pub ScissorEnable: super::super::Foundation::BOOL, | |
25052 | pub MultisampleEnable: super::super::Foundation::BOOL, | |
25053 | pub AntialiasedLineEnable: super::super::Foundation::BOOL, | |
25054 | } | |
25055 | #[cfg(feature = "Win32_Foundation")] | |
25056 | impl ::core::marker::Copy for D3D11_RASTERIZER_DESC {} | |
25057 | #[cfg(feature = "Win32_Foundation")] | |
25058 | impl ::core::clone::Clone for D3D11_RASTERIZER_DESC { | |
25059 | fn clone(&self) -> Self { | |
25060 | *self | |
25061 | } | |
25062 | } | |
25063 | #[cfg(feature = "Win32_Foundation")] | |
25064 | impl ::core::fmt::Debug for D3D11_RASTERIZER_DESC { | |
25065 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25066 | f.debug_struct("D3D11_RASTERIZER_DESC") | |
25067 | .field("FillMode", &self.FillMode) | |
25068 | .field("CullMode", &self.CullMode) | |
25069 | .field("FrontCounterClockwise", &self.FrontCounterClockwise) | |
25070 | .field("DepthBias", &self.DepthBias) | |
25071 | .field("DepthBiasClamp", &self.DepthBiasClamp) | |
25072 | .field("SlopeScaledDepthBias", &self.SlopeScaledDepthBias) | |
25073 | .field("DepthClipEnable", &self.DepthClipEnable) | |
25074 | .field("ScissorEnable", &self.ScissorEnable) | |
25075 | .field("MultisampleEnable", &self.MultisampleEnable) | |
25076 | .field("AntialiasedLineEnable", &self.AntialiasedLineEnable) | |
25077 | .finish() | |
25078 | } | |
25079 | } | |
25080 | #[cfg(feature = "Win32_Foundation")] | |
25081 | impl ::windows::core::TypeKind for D3D11_RASTERIZER_DESC { | |
25082 | type TypeKind = ::windows::core::CopyType; | |
25083 | } | |
25084 | #[cfg(feature = "Win32_Foundation")] | |
25085 | impl ::core::cmp::PartialEq for D3D11_RASTERIZER_DESC { | |
25086 | fn eq(&self, other: &Self) -> bool { | |
25087 | self.FillMode == other.FillMode && self.CullMode == other.CullMode && self.FrontCounterClockwise == other.FrontCounterClockwise && self.DepthBias == other.DepthBias && self.DepthBiasClamp == other.DepthBiasClamp && self.SlopeScaledDepthBias == other.SlopeScaledDepthBias && self.DepthClipEnable == other.DepthClipEnable && self.ScissorEnable == other.ScissorEnable && self.MultisampleEnable == other.MultisampleEnable && self.AntialiasedLineEnable == other.AntialiasedLineEnable | |
25088 | } | |
25089 | } | |
25090 | #[cfg(feature = "Win32_Foundation")] | |
25091 | impl ::core::cmp::Eq for D3D11_RASTERIZER_DESC {} | |
25092 | #[cfg(feature = "Win32_Foundation")] | |
25093 | impl ::core::default::Default for D3D11_RASTERIZER_DESC { | |
25094 | fn default() -> Self { | |
25095 | unsafe { ::core::mem::zeroed() } | |
25096 | } | |
25097 | } | |
25098 | #[repr(C)] | |
25099 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
25100 | #[cfg(feature = "Win32_Foundation")] | |
25101 | pub struct D3D11_RASTERIZER_DESC1 { | |
25102 | pub FillMode: D3D11_FILL_MODE, | |
25103 | pub CullMode: D3D11_CULL_MODE, | |
25104 | pub FrontCounterClockwise: super::super::Foundation::BOOL, | |
25105 | pub DepthBias: i32, | |
25106 | pub DepthBiasClamp: f32, | |
25107 | pub SlopeScaledDepthBias: f32, | |
25108 | pub DepthClipEnable: super::super::Foundation::BOOL, | |
25109 | pub ScissorEnable: super::super::Foundation::BOOL, | |
25110 | pub MultisampleEnable: super::super::Foundation::BOOL, | |
25111 | pub AntialiasedLineEnable: super::super::Foundation::BOOL, | |
25112 | pub ForcedSampleCount: u32, | |
25113 | } | |
25114 | #[cfg(feature = "Win32_Foundation")] | |
25115 | impl ::core::marker::Copy for D3D11_RASTERIZER_DESC1 {} | |
25116 | #[cfg(feature = "Win32_Foundation")] | |
25117 | impl ::core::clone::Clone for D3D11_RASTERIZER_DESC1 { | |
25118 | fn clone(&self) -> Self { | |
25119 | *self | |
25120 | } | |
25121 | } | |
25122 | #[cfg(feature = "Win32_Foundation")] | |
25123 | impl ::core::fmt::Debug for D3D11_RASTERIZER_DESC1 { | |
25124 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25125 | f.debug_struct("D3D11_RASTERIZER_DESC1") | |
25126 | .field("FillMode", &self.FillMode) | |
25127 | .field("CullMode", &self.CullMode) | |
25128 | .field("FrontCounterClockwise", &self.FrontCounterClockwise) | |
25129 | .field("DepthBias", &self.DepthBias) | |
25130 | .field("DepthBiasClamp", &self.DepthBiasClamp) | |
25131 | .field("SlopeScaledDepthBias", &self.SlopeScaledDepthBias) | |
25132 | .field("DepthClipEnable", &self.DepthClipEnable) | |
25133 | .field("ScissorEnable", &self.ScissorEnable) | |
25134 | .field("MultisampleEnable", &self.MultisampleEnable) | |
25135 | .field("AntialiasedLineEnable", &self.AntialiasedLineEnable) | |
25136 | .field("ForcedSampleCount", &self.ForcedSampleCount) | |
25137 | .finish() | |
25138 | } | |
25139 | } | |
25140 | #[cfg(feature = "Win32_Foundation")] | |
25141 | impl ::windows::core::TypeKind for D3D11_RASTERIZER_DESC1 { | |
25142 | type TypeKind = ::windows::core::CopyType; | |
25143 | } | |
25144 | #[cfg(feature = "Win32_Foundation")] | |
25145 | impl ::core::cmp::PartialEq for D3D11_RASTERIZER_DESC1 { | |
25146 | fn eq(&self, other: &Self) -> bool { | |
25147 | self.FillMode == other.FillMode && self.CullMode == other.CullMode && self.FrontCounterClockwise == other.FrontCounterClockwise && self.DepthBias == other.DepthBias && self.DepthBiasClamp == other.DepthBiasClamp && self.SlopeScaledDepthBias == other.SlopeScaledDepthBias && self.DepthClipEnable == other.DepthClipEnable && self.ScissorEnable == other.ScissorEnable && self.MultisampleEnable == other.MultisampleEnable && self.AntialiasedLineEnable == other.AntialiasedLineEnable && self.ForcedSampleCount == other.ForcedSampleCount | |
25148 | } | |
25149 | } | |
25150 | #[cfg(feature = "Win32_Foundation")] | |
25151 | impl ::core::cmp::Eq for D3D11_RASTERIZER_DESC1 {} | |
25152 | #[cfg(feature = "Win32_Foundation")] | |
25153 | impl ::core::default::Default for D3D11_RASTERIZER_DESC1 { | |
25154 | fn default() -> Self { | |
25155 | unsafe { ::core::mem::zeroed() } | |
25156 | } | |
25157 | } | |
25158 | #[repr(C)] | |
25159 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
25160 | #[cfg(feature = "Win32_Foundation")] | |
25161 | pub struct D3D11_RASTERIZER_DESC2 { | |
25162 | pub FillMode: D3D11_FILL_MODE, | |
25163 | pub CullMode: D3D11_CULL_MODE, | |
25164 | pub FrontCounterClockwise: super::super::Foundation::BOOL, | |
25165 | pub DepthBias: i32, | |
25166 | pub DepthBiasClamp: f32, | |
25167 | pub SlopeScaledDepthBias: f32, | |
25168 | pub DepthClipEnable: super::super::Foundation::BOOL, | |
25169 | pub ScissorEnable: super::super::Foundation::BOOL, | |
25170 | pub MultisampleEnable: super::super::Foundation::BOOL, | |
25171 | pub AntialiasedLineEnable: super::super::Foundation::BOOL, | |
25172 | pub ForcedSampleCount: u32, | |
25173 | pub ConservativeRaster: D3D11_CONSERVATIVE_RASTERIZATION_MODE, | |
25174 | } | |
25175 | #[cfg(feature = "Win32_Foundation")] | |
25176 | impl ::core::marker::Copy for D3D11_RASTERIZER_DESC2 {} | |
25177 | #[cfg(feature = "Win32_Foundation")] | |
25178 | impl ::core::clone::Clone for D3D11_RASTERIZER_DESC2 { | |
25179 | fn clone(&self) -> Self { | |
25180 | *self | |
25181 | } | |
25182 | } | |
25183 | #[cfg(feature = "Win32_Foundation")] | |
25184 | impl ::core::fmt::Debug for D3D11_RASTERIZER_DESC2 { | |
25185 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25186 | f.debug_struct("D3D11_RASTERIZER_DESC2") | |
25187 | .field("FillMode", &self.FillMode) | |
25188 | .field("CullMode", &self.CullMode) | |
25189 | .field("FrontCounterClockwise", &self.FrontCounterClockwise) | |
25190 | .field("DepthBias", &self.DepthBias) | |
25191 | .field("DepthBiasClamp", &self.DepthBiasClamp) | |
25192 | .field("SlopeScaledDepthBias", &self.SlopeScaledDepthBias) | |
25193 | .field("DepthClipEnable", &self.DepthClipEnable) | |
25194 | .field("ScissorEnable", &self.ScissorEnable) | |
25195 | .field("MultisampleEnable", &self.MultisampleEnable) | |
25196 | .field("AntialiasedLineEnable", &self.AntialiasedLineEnable) | |
25197 | .field("ForcedSampleCount", &self.ForcedSampleCount) | |
25198 | .field("ConservativeRaster", &self.ConservativeRaster) | |
25199 | .finish() | |
25200 | } | |
25201 | } | |
25202 | #[cfg(feature = "Win32_Foundation")] | |
25203 | impl ::windows::core::TypeKind for D3D11_RASTERIZER_DESC2 { | |
25204 | type TypeKind = ::windows::core::CopyType; | |
25205 | } | |
25206 | #[cfg(feature = "Win32_Foundation")] | |
25207 | impl ::core::cmp::PartialEq for D3D11_RASTERIZER_DESC2 { | |
25208 | fn eq(&self, other: &Self) -> bool { | |
25209 | self.FillMode == other.FillMode && self.CullMode == other.CullMode && self.FrontCounterClockwise == other.FrontCounterClockwise && self.DepthBias == other.DepthBias && self.DepthBiasClamp == other.DepthBiasClamp && self.SlopeScaledDepthBias == other.SlopeScaledDepthBias && self.DepthClipEnable == other.DepthClipEnable && self.ScissorEnable == other.ScissorEnable && self.MultisampleEnable == other.MultisampleEnable && self.AntialiasedLineEnable == other.AntialiasedLineEnable && self.ForcedSampleCount == other.ForcedSampleCount && self.ConservativeRaster == other.ConservativeRaster | |
25210 | } | |
25211 | } | |
25212 | #[cfg(feature = "Win32_Foundation")] | |
25213 | impl ::core::cmp::Eq for D3D11_RASTERIZER_DESC2 {} | |
25214 | #[cfg(feature = "Win32_Foundation")] | |
25215 | impl ::core::default::Default for D3D11_RASTERIZER_DESC2 { | |
25216 | fn default() -> Self { | |
25217 | unsafe { ::core::mem::zeroed() } | |
25218 | } | |
25219 | } | |
25220 | #[repr(C)] | |
25221 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
25222 | #[cfg(feature = "Win32_Foundation")] | |
25223 | pub struct D3D11_RENDER_TARGET_BLEND_DESC { | |
25224 | pub BlendEnable: super::super::Foundation::BOOL, | |
25225 | pub SrcBlend: D3D11_BLEND, | |
25226 | pub DestBlend: D3D11_BLEND, | |
25227 | pub BlendOp: D3D11_BLEND_OP, | |
25228 | pub SrcBlendAlpha: D3D11_BLEND, | |
25229 | pub DestBlendAlpha: D3D11_BLEND, | |
25230 | pub BlendOpAlpha: D3D11_BLEND_OP, | |
25231 | pub RenderTargetWriteMask: u8, | |
25232 | } | |
25233 | #[cfg(feature = "Win32_Foundation")] | |
25234 | impl ::core::marker::Copy for D3D11_RENDER_TARGET_BLEND_DESC {} | |
25235 | #[cfg(feature = "Win32_Foundation")] | |
25236 | impl ::core::clone::Clone for D3D11_RENDER_TARGET_BLEND_DESC { | |
25237 | fn clone(&self) -> Self { | |
25238 | *self | |
25239 | } | |
25240 | } | |
25241 | #[cfg(feature = "Win32_Foundation")] | |
25242 | impl ::core::fmt::Debug for D3D11_RENDER_TARGET_BLEND_DESC { | |
25243 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25244 | f.debug_struct("D3D11_RENDER_TARGET_BLEND_DESC").field("BlendEnable", &self.BlendEnable).field("SrcBlend", &self.SrcBlend).field("DestBlend", &self.DestBlend).field("BlendOp", &self.BlendOp).field("SrcBlendAlpha", &self.SrcBlendAlpha).field("DestBlendAlpha", &self.DestBlendAlpha).field("BlendOpAlpha", &self.BlendOpAlpha).field("RenderTargetWriteMask", &self.RenderTargetWriteMask).finish() | |
25245 | } | |
25246 | } | |
25247 | #[cfg(feature = "Win32_Foundation")] | |
25248 | impl ::windows::core::TypeKind for D3D11_RENDER_TARGET_BLEND_DESC { | |
25249 | type TypeKind = ::windows::core::CopyType; | |
25250 | } | |
25251 | #[cfg(feature = "Win32_Foundation")] | |
25252 | impl ::core::cmp::PartialEq for D3D11_RENDER_TARGET_BLEND_DESC { | |
25253 | fn eq(&self, other: &Self) -> bool { | |
25254 | self.BlendEnable == other.BlendEnable && self.SrcBlend == other.SrcBlend && self.DestBlend == other.DestBlend && self.BlendOp == other.BlendOp && self.SrcBlendAlpha == other.SrcBlendAlpha && self.DestBlendAlpha == other.DestBlendAlpha && self.BlendOpAlpha == other.BlendOpAlpha && self.RenderTargetWriteMask == other.RenderTargetWriteMask | |
25255 | } | |
25256 | } | |
25257 | #[cfg(feature = "Win32_Foundation")] | |
25258 | impl ::core::cmp::Eq for D3D11_RENDER_TARGET_BLEND_DESC {} | |
25259 | #[cfg(feature = "Win32_Foundation")] | |
25260 | impl ::core::default::Default for D3D11_RENDER_TARGET_BLEND_DESC { | |
25261 | fn default() -> Self { | |
25262 | unsafe { ::core::mem::zeroed() } | |
25263 | } | |
25264 | } | |
25265 | #[repr(C)] | |
25266 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
25267 | #[cfg(feature = "Win32_Foundation")] | |
25268 | pub struct D3D11_RENDER_TARGET_BLEND_DESC1 { | |
25269 | pub BlendEnable: super::super::Foundation::BOOL, | |
25270 | pub LogicOpEnable: super::super::Foundation::BOOL, | |
25271 | pub SrcBlend: D3D11_BLEND, | |
25272 | pub DestBlend: D3D11_BLEND, | |
25273 | pub BlendOp: D3D11_BLEND_OP, | |
25274 | pub SrcBlendAlpha: D3D11_BLEND, | |
25275 | pub DestBlendAlpha: D3D11_BLEND, | |
25276 | pub BlendOpAlpha: D3D11_BLEND_OP, | |
25277 | pub LogicOp: D3D11_LOGIC_OP, | |
25278 | pub RenderTargetWriteMask: u8, | |
25279 | } | |
25280 | #[cfg(feature = "Win32_Foundation")] | |
25281 | impl ::core::marker::Copy for D3D11_RENDER_TARGET_BLEND_DESC1 {} | |
25282 | #[cfg(feature = "Win32_Foundation")] | |
25283 | impl ::core::clone::Clone for D3D11_RENDER_TARGET_BLEND_DESC1 { | |
25284 | fn clone(&self) -> Self { | |
25285 | *self | |
25286 | } | |
25287 | } | |
25288 | #[cfg(feature = "Win32_Foundation")] | |
25289 | impl ::core::fmt::Debug for D3D11_RENDER_TARGET_BLEND_DESC1 { | |
25290 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25291 | f.debug_struct("D3D11_RENDER_TARGET_BLEND_DESC1").field("BlendEnable", &self.BlendEnable).field("LogicOpEnable", &self.LogicOpEnable).field("SrcBlend", &self.SrcBlend).field("DestBlend", &self.DestBlend).field("BlendOp", &self.BlendOp).field("SrcBlendAlpha", &self.SrcBlendAlpha).field("DestBlendAlpha", &self.DestBlendAlpha).field("BlendOpAlpha", &self.BlendOpAlpha).field("LogicOp", &self.LogicOp).field("RenderTargetWriteMask", &self.RenderTargetWriteMask).finish() | |
25292 | } | |
25293 | } | |
25294 | #[cfg(feature = "Win32_Foundation")] | |
25295 | impl ::windows::core::TypeKind for D3D11_RENDER_TARGET_BLEND_DESC1 { | |
25296 | type TypeKind = ::windows::core::CopyType; | |
25297 | } | |
25298 | #[cfg(feature = "Win32_Foundation")] | |
25299 | impl ::core::cmp::PartialEq for D3D11_RENDER_TARGET_BLEND_DESC1 { | |
25300 | fn eq(&self, other: &Self) -> bool { | |
25301 | self.BlendEnable == other.BlendEnable && self.LogicOpEnable == other.LogicOpEnable && self.SrcBlend == other.SrcBlend && self.DestBlend == other.DestBlend && self.BlendOp == other.BlendOp && self.SrcBlendAlpha == other.SrcBlendAlpha && self.DestBlendAlpha == other.DestBlendAlpha && self.BlendOpAlpha == other.BlendOpAlpha && self.LogicOp == other.LogicOp && self.RenderTargetWriteMask == other.RenderTargetWriteMask | |
25302 | } | |
25303 | } | |
25304 | #[cfg(feature = "Win32_Foundation")] | |
25305 | impl ::core::cmp::Eq for D3D11_RENDER_TARGET_BLEND_DESC1 {} | |
25306 | #[cfg(feature = "Win32_Foundation")] | |
25307 | impl ::core::default::Default for D3D11_RENDER_TARGET_BLEND_DESC1 { | |
25308 | fn default() -> Self { | |
25309 | unsafe { ::core::mem::zeroed() } | |
25310 | } | |
25311 | } | |
25312 | #[repr(C)] | |
25313 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
25314 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25315 | pub struct D3D11_RENDER_TARGET_VIEW_DESC { | |
25316 | pub Format: super::Dxgi::Common::DXGI_FORMAT, | |
25317 | pub ViewDimension: D3D11_RTV_DIMENSION, | |
25318 | pub Anonymous: D3D11_RENDER_TARGET_VIEW_DESC_0, | |
25319 | } | |
25320 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25321 | impl ::core::marker::Copy for D3D11_RENDER_TARGET_VIEW_DESC {} | |
25322 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25323 | impl ::core::clone::Clone for D3D11_RENDER_TARGET_VIEW_DESC { | |
25324 | fn clone(&self) -> Self { | |
25325 | *self | |
25326 | } | |
25327 | } | |
25328 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25329 | impl ::windows::core::TypeKind for D3D11_RENDER_TARGET_VIEW_DESC { | |
25330 | type TypeKind = ::windows::core::CopyType; | |
25331 | } | |
25332 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25333 | impl ::core::default::Default for D3D11_RENDER_TARGET_VIEW_DESC { | |
25334 | fn default() -> Self { | |
25335 | unsafe { ::core::mem::zeroed() } | |
25336 | } | |
25337 | } | |
25338 | #[repr(C)] | |
25339 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
25340 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25341 | pub union D3D11_RENDER_TARGET_VIEW_DESC_0 { | |
25342 | pub Buffer: D3D11_BUFFER_RTV, | |
25343 | pub Texture1D: D3D11_TEX1D_RTV, | |
25344 | pub Texture1DArray: D3D11_TEX1D_ARRAY_RTV, | |
25345 | pub Texture2D: D3D11_TEX2D_RTV, | |
25346 | pub Texture2DArray: D3D11_TEX2D_ARRAY_RTV, | |
25347 | pub Texture2DMS: D3D11_TEX2DMS_RTV, | |
25348 | pub Texture2DMSArray: D3D11_TEX2DMS_ARRAY_RTV, | |
25349 | pub Texture3D: D3D11_TEX3D_RTV, | |
25350 | } | |
25351 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25352 | impl ::core::marker::Copy for D3D11_RENDER_TARGET_VIEW_DESC_0 {} | |
25353 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25354 | impl ::core::clone::Clone for D3D11_RENDER_TARGET_VIEW_DESC_0 { | |
25355 | fn clone(&self) -> Self { | |
25356 | *self | |
25357 | } | |
25358 | } | |
25359 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25360 | impl ::windows::core::TypeKind for D3D11_RENDER_TARGET_VIEW_DESC_0 { | |
25361 | type TypeKind = ::windows::core::CopyType; | |
25362 | } | |
25363 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25364 | impl ::core::default::Default for D3D11_RENDER_TARGET_VIEW_DESC_0 { | |
25365 | fn default() -> Self { | |
25366 | unsafe { ::core::mem::zeroed() } | |
25367 | } | |
25368 | } | |
25369 | #[repr(C)] | |
25370 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
25371 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25372 | pub struct D3D11_RENDER_TARGET_VIEW_DESC1 { | |
25373 | pub Format: super::Dxgi::Common::DXGI_FORMAT, | |
25374 | pub ViewDimension: D3D11_RTV_DIMENSION, | |
25375 | pub Anonymous: D3D11_RENDER_TARGET_VIEW_DESC1_0, | |
25376 | } | |
25377 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25378 | impl ::core::marker::Copy for D3D11_RENDER_TARGET_VIEW_DESC1 {} | |
25379 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25380 | impl ::core::clone::Clone for D3D11_RENDER_TARGET_VIEW_DESC1 { | |
25381 | fn clone(&self) -> Self { | |
25382 | *self | |
25383 | } | |
25384 | } | |
25385 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25386 | impl ::windows::core::TypeKind for D3D11_RENDER_TARGET_VIEW_DESC1 { | |
25387 | type TypeKind = ::windows::core::CopyType; | |
25388 | } | |
25389 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25390 | impl ::core::default::Default for D3D11_RENDER_TARGET_VIEW_DESC1 { | |
25391 | fn default() -> Self { | |
25392 | unsafe { ::core::mem::zeroed() } | |
25393 | } | |
25394 | } | |
25395 | #[repr(C)] | |
25396 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
25397 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25398 | pub union D3D11_RENDER_TARGET_VIEW_DESC1_0 { | |
25399 | pub Buffer: D3D11_BUFFER_RTV, | |
25400 | pub Texture1D: D3D11_TEX1D_RTV, | |
25401 | pub Texture1DArray: D3D11_TEX1D_ARRAY_RTV, | |
25402 | pub Texture2D: D3D11_TEX2D_RTV1, | |
25403 | pub Texture2DArray: D3D11_TEX2D_ARRAY_RTV1, | |
25404 | pub Texture2DMS: D3D11_TEX2DMS_RTV, | |
25405 | pub Texture2DMSArray: D3D11_TEX2DMS_ARRAY_RTV, | |
25406 | pub Texture3D: D3D11_TEX3D_RTV, | |
25407 | } | |
25408 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25409 | impl ::core::marker::Copy for D3D11_RENDER_TARGET_VIEW_DESC1_0 {} | |
25410 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25411 | impl ::core::clone::Clone for D3D11_RENDER_TARGET_VIEW_DESC1_0 { | |
25412 | fn clone(&self) -> Self { | |
25413 | *self | |
25414 | } | |
25415 | } | |
25416 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25417 | impl ::windows::core::TypeKind for D3D11_RENDER_TARGET_VIEW_DESC1_0 { | |
25418 | type TypeKind = ::windows::core::CopyType; | |
25419 | } | |
25420 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
25421 | impl ::core::default::Default for D3D11_RENDER_TARGET_VIEW_DESC1_0 { | |
25422 | fn default() -> Self { | |
25423 | unsafe { ::core::mem::zeroed() } | |
25424 | } | |
25425 | } | |
25426 | #[repr(C)] | |
25427 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
25428 | pub struct D3D11_SAMPLER_DESC { | |
25429 | pub Filter: D3D11_FILTER, | |
25430 | pub AddressU: D3D11_TEXTURE_ADDRESS_MODE, | |
25431 | pub AddressV: D3D11_TEXTURE_ADDRESS_MODE, | |
25432 | pub AddressW: D3D11_TEXTURE_ADDRESS_MODE, | |
25433 | pub MipLODBias: f32, | |
25434 | pub MaxAnisotropy: u32, | |
25435 | pub ComparisonFunc: D3D11_COMPARISON_FUNC, | |
25436 | pub BorderColor: [f32; 4], | |
25437 | pub MinLOD: f32, | |
25438 | pub MaxLOD: f32, | |
25439 | } | |
25440 | impl ::core::marker::Copy for D3D11_SAMPLER_DESC {} | |
25441 | impl ::core::clone::Clone for D3D11_SAMPLER_DESC { | |
25442 | fn clone(&self) -> Self { | |
25443 | *self | |
25444 | } | |
25445 | } | |
25446 | impl ::core::fmt::Debug for D3D11_SAMPLER_DESC { | |
25447 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25448 | f.debug_struct("D3D11_SAMPLER_DESC").field("Filter", &self.Filter).field("AddressU", &self.AddressU).field("AddressV", &self.AddressV).field("AddressW", &self.AddressW).field("MipLODBias", &self.MipLODBias).field("MaxAnisotropy", &self.MaxAnisotropy).field("ComparisonFunc", &self.ComparisonFunc).field("BorderColor", &self.BorderColor).field("MinLOD", &self.MinLOD).field("MaxLOD", &self.MaxLOD).finish() | |
25449 | } | |
25450 | } | |
25451 | impl ::windows::core::TypeKind for D3D11_SAMPLER_DESC { | |
25452 | type TypeKind = ::windows::core::CopyType; | |
25453 | } | |
25454 | impl ::core::cmp::PartialEq for D3D11_SAMPLER_DESC { | |
25455 | fn eq(&self, other: &Self) -> bool { | |
25456 | self.Filter == other.Filter && self.AddressU == other.AddressU && self.AddressV == other.AddressV && self.AddressW == other.AddressW && self.MipLODBias == other.MipLODBias && self.MaxAnisotropy == other.MaxAnisotropy && self.ComparisonFunc == other.ComparisonFunc && self.BorderColor == other.BorderColor && self.MinLOD == other.MinLOD && self.MaxLOD == other.MaxLOD | |
25457 | } | |
25458 | } | |
25459 | impl ::core::cmp::Eq for D3D11_SAMPLER_DESC {} | |
25460 | impl ::core::default::Default for D3D11_SAMPLER_DESC { | |
25461 | fn default() -> Self { | |
25462 | unsafe { ::core::mem::zeroed() } | |
25463 | } | |
25464 | } | |
25465 | #[repr(C)] | |
25466 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`*"] | |
25467 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25468 | pub struct D3D11_SHADER_BUFFER_DESC { | |
25469 | pub Name: ::windows::core::PCSTR, | |
25470 | pub Type: super::Direct3D::D3D_CBUFFER_TYPE, | |
25471 | pub Variables: u32, | |
25472 | pub Size: u32, | |
25473 | pub uFlags: u32, | |
25474 | } | |
25475 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25476 | impl ::core::marker::Copy for D3D11_SHADER_BUFFER_DESC {} | |
25477 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25478 | impl ::core::clone::Clone for D3D11_SHADER_BUFFER_DESC { | |
25479 | fn clone(&self) -> Self { | |
25480 | *self | |
25481 | } | |
25482 | } | |
25483 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25484 | impl ::core::fmt::Debug for D3D11_SHADER_BUFFER_DESC { | |
25485 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25486 | f.debug_struct("D3D11_SHADER_BUFFER_DESC").field("Name", &self.Name).field("Type", &self.Type).field("Variables", &self.Variables).field("Size", &self.Size).field("uFlags", &self.uFlags).finish() | |
25487 | } | |
25488 | } | |
25489 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25490 | impl ::windows::core::TypeKind for D3D11_SHADER_BUFFER_DESC { | |
25491 | type TypeKind = ::windows::core::CopyType; | |
25492 | } | |
25493 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25494 | impl ::core::cmp::PartialEq for D3D11_SHADER_BUFFER_DESC { | |
25495 | fn eq(&self, other: &Self) -> bool { | |
25496 | self.Name == other.Name && self.Type == other.Type && self.Variables == other.Variables && self.Size == other.Size && self.uFlags == other.uFlags | |
25497 | } | |
25498 | } | |
25499 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25500 | impl ::core::cmp::Eq for D3D11_SHADER_BUFFER_DESC {} | |
25501 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25502 | impl ::core::default::Default for D3D11_SHADER_BUFFER_DESC { | |
25503 | fn default() -> Self { | |
25504 | unsafe { ::core::mem::zeroed() } | |
25505 | } | |
25506 | } | |
25507 | #[repr(C)] | |
25508 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`*"] | |
25509 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25510 | pub struct D3D11_SHADER_DESC { | |
25511 | pub Version: u32, | |
25512 | pub Creator: ::windows::core::PCSTR, | |
25513 | pub Flags: u32, | |
25514 | pub ConstantBuffers: u32, | |
25515 | pub BoundResources: u32, | |
25516 | pub InputParameters: u32, | |
25517 | pub OutputParameters: u32, | |
25518 | pub InstructionCount: u32, | |
25519 | pub TempRegisterCount: u32, | |
25520 | pub TempArrayCount: u32, | |
25521 | pub DefCount: u32, | |
25522 | pub DclCount: u32, | |
25523 | pub TextureNormalInstructions: u32, | |
25524 | pub TextureLoadInstructions: u32, | |
25525 | pub TextureCompInstructions: u32, | |
25526 | pub TextureBiasInstructions: u32, | |
25527 | pub TextureGradientInstructions: u32, | |
25528 | pub FloatInstructionCount: u32, | |
25529 | pub IntInstructionCount: u32, | |
25530 | pub UintInstructionCount: u32, | |
25531 | pub StaticFlowControlCount: u32, | |
25532 | pub DynamicFlowControlCount: u32, | |
25533 | pub MacroInstructionCount: u32, | |
25534 | pub ArrayInstructionCount: u32, | |
25535 | pub CutInstructionCount: u32, | |
25536 | pub EmitInstructionCount: u32, | |
25537 | pub GSOutputTopology: super::Direct3D::D3D_PRIMITIVE_TOPOLOGY, | |
25538 | pub GSMaxOutputVertexCount: u32, | |
25539 | pub InputPrimitive: super::Direct3D::D3D_PRIMITIVE, | |
25540 | pub PatchConstantParameters: u32, | |
25541 | pub cGSInstanceCount: u32, | |
25542 | pub cControlPoints: u32, | |
25543 | pub HSOutputPrimitive: super::Direct3D::D3D_TESSELLATOR_OUTPUT_PRIMITIVE, | |
25544 | pub HSPartitioning: super::Direct3D::D3D_TESSELLATOR_PARTITIONING, | |
25545 | pub TessellatorDomain: super::Direct3D::D3D_TESSELLATOR_DOMAIN, | |
25546 | pub cBarrierInstructions: u32, | |
25547 | pub cInterlockedInstructions: u32, | |
25548 | pub cTextureStoreInstructions: u32, | |
25549 | } | |
25550 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25551 | impl ::core::marker::Copy for D3D11_SHADER_DESC {} | |
25552 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25553 | impl ::core::clone::Clone for D3D11_SHADER_DESC { | |
25554 | fn clone(&self) -> Self { | |
25555 | *self | |
25556 | } | |
25557 | } | |
25558 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25559 | impl ::core::fmt::Debug for D3D11_SHADER_DESC { | |
25560 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25561 | f.debug_struct("D3D11_SHADER_DESC") | |
25562 | .field("Version", &self.Version) | |
25563 | .field("Creator", &self.Creator) | |
25564 | .field("Flags", &self.Flags) | |
25565 | .field("ConstantBuffers", &self.ConstantBuffers) | |
25566 | .field("BoundResources", &self.BoundResources) | |
25567 | .field("InputParameters", &self.InputParameters) | |
25568 | .field("OutputParameters", &self.OutputParameters) | |
25569 | .field("InstructionCount", &self.InstructionCount) | |
25570 | .field("TempRegisterCount", &self.TempRegisterCount) | |
25571 | .field("TempArrayCount", &self.TempArrayCount) | |
25572 | .field("DefCount", &self.DefCount) | |
25573 | .field("DclCount", &self.DclCount) | |
25574 | .field("TextureNormalInstructions", &self.TextureNormalInstructions) | |
25575 | .field("TextureLoadInstructions", &self.TextureLoadInstructions) | |
25576 | .field("TextureCompInstructions", &self.TextureCompInstructions) | |
25577 | .field("TextureBiasInstructions", &self.TextureBiasInstructions) | |
25578 | .field("TextureGradientInstructions", &self.TextureGradientInstructions) | |
25579 | .field("FloatInstructionCount", &self.FloatInstructionCount) | |
25580 | .field("IntInstructionCount", &self.IntInstructionCount) | |
25581 | .field("UintInstructionCount", &self.UintInstructionCount) | |
25582 | .field("StaticFlowControlCount", &self.StaticFlowControlCount) | |
25583 | .field("DynamicFlowControlCount", &self.DynamicFlowControlCount) | |
25584 | .field("MacroInstructionCount", &self.MacroInstructionCount) | |
25585 | .field("ArrayInstructionCount", &self.ArrayInstructionCount) | |
25586 | .field("CutInstructionCount", &self.CutInstructionCount) | |
25587 | .field("EmitInstructionCount", &self.EmitInstructionCount) | |
25588 | .field("GSOutputTopology", &self.GSOutputTopology) | |
25589 | .field("GSMaxOutputVertexCount", &self.GSMaxOutputVertexCount) | |
25590 | .field("InputPrimitive", &self.InputPrimitive) | |
25591 | .field("PatchConstantParameters", &self.PatchConstantParameters) | |
25592 | .field("cGSInstanceCount", &self.cGSInstanceCount) | |
25593 | .field("cControlPoints", &self.cControlPoints) | |
25594 | .field("HSOutputPrimitive", &self.HSOutputPrimitive) | |
25595 | .field("HSPartitioning", &self.HSPartitioning) | |
25596 | .field("TessellatorDomain", &self.TessellatorDomain) | |
25597 | .field("cBarrierInstructions", &self.cBarrierInstructions) | |
25598 | .field("cInterlockedInstructions", &self.cInterlockedInstructions) | |
25599 | .field("cTextureStoreInstructions", &self.cTextureStoreInstructions) | |
25600 | .finish() | |
25601 | } | |
25602 | } | |
25603 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25604 | impl ::windows::core::TypeKind for D3D11_SHADER_DESC { | |
25605 | type TypeKind = ::windows::core::CopyType; | |
25606 | } | |
25607 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25608 | impl ::core::cmp::PartialEq for D3D11_SHADER_DESC { | |
25609 | fn eq(&self, other: &Self) -> bool { | |
25610 | self.Version == other.Version | |
25611 | && self.Creator == other.Creator | |
25612 | && self.Flags == other.Flags | |
25613 | && self.ConstantBuffers == other.ConstantBuffers | |
25614 | && self.BoundResources == other.BoundResources | |
25615 | && self.InputParameters == other.InputParameters | |
25616 | && self.OutputParameters == other.OutputParameters | |
25617 | && self.InstructionCount == other.InstructionCount | |
25618 | && self.TempRegisterCount == other.TempRegisterCount | |
25619 | && self.TempArrayCount == other.TempArrayCount | |
25620 | && self.DefCount == other.DefCount | |
25621 | && self.DclCount == other.DclCount | |
25622 | && self.TextureNormalInstructions == other.TextureNormalInstructions | |
25623 | && self.TextureLoadInstructions == other.TextureLoadInstructions | |
25624 | && self.TextureCompInstructions == other.TextureCompInstructions | |
25625 | && self.TextureBiasInstructions == other.TextureBiasInstructions | |
25626 | && self.TextureGradientInstructions == other.TextureGradientInstructions | |
25627 | && self.FloatInstructionCount == other.FloatInstructionCount | |
25628 | && self.IntInstructionCount == other.IntInstructionCount | |
25629 | && self.UintInstructionCount == other.UintInstructionCount | |
25630 | && self.StaticFlowControlCount == other.StaticFlowControlCount | |
25631 | && self.DynamicFlowControlCount == other.DynamicFlowControlCount | |
25632 | && self.MacroInstructionCount == other.MacroInstructionCount | |
25633 | && self.ArrayInstructionCount == other.ArrayInstructionCount | |
25634 | && self.CutInstructionCount == other.CutInstructionCount | |
25635 | && self.EmitInstructionCount == other.EmitInstructionCount | |
25636 | && self.GSOutputTopology == other.GSOutputTopology | |
25637 | && self.GSMaxOutputVertexCount == other.GSMaxOutputVertexCount | |
25638 | && self.InputPrimitive == other.InputPrimitive | |
25639 | && self.PatchConstantParameters == other.PatchConstantParameters | |
25640 | && self.cGSInstanceCount == other.cGSInstanceCount | |
25641 | && self.cControlPoints == other.cControlPoints | |
25642 | && self.HSOutputPrimitive == other.HSOutputPrimitive | |
25643 | && self.HSPartitioning == other.HSPartitioning | |
25644 | && self.TessellatorDomain == other.TessellatorDomain | |
25645 | && self.cBarrierInstructions == other.cBarrierInstructions | |
25646 | && self.cInterlockedInstructions == other.cInterlockedInstructions | |
25647 | && self.cTextureStoreInstructions == other.cTextureStoreInstructions | |
25648 | } | |
25649 | } | |
25650 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25651 | impl ::core::cmp::Eq for D3D11_SHADER_DESC {} | |
25652 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25653 | impl ::core::default::Default for D3D11_SHADER_DESC { | |
25654 | fn default() -> Self { | |
25655 | unsafe { ::core::mem::zeroed() } | |
25656 | } | |
25657 | } | |
25658 | #[repr(C)] | |
25659 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`*"] | |
25660 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25661 | pub struct D3D11_SHADER_INPUT_BIND_DESC { | |
25662 | pub Name: ::windows::core::PCSTR, | |
25663 | pub Type: super::Direct3D::D3D_SHADER_INPUT_TYPE, | |
25664 | pub BindPoint: u32, | |
25665 | pub BindCount: u32, | |
25666 | pub uFlags: u32, | |
25667 | pub ReturnType: super::Direct3D::D3D_RESOURCE_RETURN_TYPE, | |
25668 | pub Dimension: super::Direct3D::D3D_SRV_DIMENSION, | |
25669 | pub NumSamples: u32, | |
25670 | } | |
25671 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25672 | impl ::core::marker::Copy for D3D11_SHADER_INPUT_BIND_DESC {} | |
25673 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25674 | impl ::core::clone::Clone for D3D11_SHADER_INPUT_BIND_DESC { | |
25675 | fn clone(&self) -> Self { | |
25676 | *self | |
25677 | } | |
25678 | } | |
25679 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25680 | impl ::core::fmt::Debug for D3D11_SHADER_INPUT_BIND_DESC { | |
25681 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25682 | f.debug_struct("D3D11_SHADER_INPUT_BIND_DESC").field("Name", &self.Name).field("Type", &self.Type).field("BindPoint", &self.BindPoint).field("BindCount", &self.BindCount).field("uFlags", &self.uFlags).field("ReturnType", &self.ReturnType).field("Dimension", &self.Dimension).field("NumSamples", &self.NumSamples).finish() | |
25683 | } | |
25684 | } | |
25685 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25686 | impl ::windows::core::TypeKind for D3D11_SHADER_INPUT_BIND_DESC { | |
25687 | type TypeKind = ::windows::core::CopyType; | |
25688 | } | |
25689 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25690 | impl ::core::cmp::PartialEq for D3D11_SHADER_INPUT_BIND_DESC { | |
25691 | fn eq(&self, other: &Self) -> bool { | |
25692 | self.Name == other.Name && self.Type == other.Type && self.BindPoint == other.BindPoint && self.BindCount == other.BindCount && self.uFlags == other.uFlags && self.ReturnType == other.ReturnType && self.Dimension == other.Dimension && self.NumSamples == other.NumSamples | |
25693 | } | |
25694 | } | |
25695 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25696 | impl ::core::cmp::Eq for D3D11_SHADER_INPUT_BIND_DESC {} | |
25697 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25698 | impl ::core::default::Default for D3D11_SHADER_INPUT_BIND_DESC { | |
25699 | fn default() -> Self { | |
25700 | unsafe { ::core::mem::zeroed() } | |
25701 | } | |
25702 | } | |
25703 | #[repr(C)] | |
25704 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
25705 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25706 | pub struct D3D11_SHADER_RESOURCE_VIEW_DESC { | |
25707 | pub Format: super::Dxgi::Common::DXGI_FORMAT, | |
25708 | pub ViewDimension: super::Direct3D::D3D_SRV_DIMENSION, | |
25709 | pub Anonymous: D3D11_SHADER_RESOURCE_VIEW_DESC_0, | |
25710 | } | |
25711 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25712 | impl ::core::marker::Copy for D3D11_SHADER_RESOURCE_VIEW_DESC {} | |
25713 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25714 | impl ::core::clone::Clone for D3D11_SHADER_RESOURCE_VIEW_DESC { | |
25715 | fn clone(&self) -> Self { | |
25716 | *self | |
25717 | } | |
25718 | } | |
25719 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25720 | impl ::windows::core::TypeKind for D3D11_SHADER_RESOURCE_VIEW_DESC { | |
25721 | type TypeKind = ::windows::core::CopyType; | |
25722 | } | |
25723 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25724 | impl ::core::default::Default for D3D11_SHADER_RESOURCE_VIEW_DESC { | |
25725 | fn default() -> Self { | |
25726 | unsafe { ::core::mem::zeroed() } | |
25727 | } | |
25728 | } | |
25729 | #[repr(C)] | |
25730 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
25731 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25732 | pub union D3D11_SHADER_RESOURCE_VIEW_DESC_0 { | |
25733 | pub Buffer: D3D11_BUFFER_SRV, | |
25734 | pub Texture1D: D3D11_TEX1D_SRV, | |
25735 | pub Texture1DArray: D3D11_TEX1D_ARRAY_SRV, | |
25736 | pub Texture2D: D3D11_TEX2D_SRV, | |
25737 | pub Texture2DArray: D3D11_TEX2D_ARRAY_SRV, | |
25738 | pub Texture2DMS: D3D11_TEX2DMS_SRV, | |
25739 | pub Texture2DMSArray: D3D11_TEX2DMS_ARRAY_SRV, | |
25740 | pub Texture3D: D3D11_TEX3D_SRV, | |
25741 | pub TextureCube: D3D11_TEXCUBE_SRV, | |
25742 | pub TextureCubeArray: D3D11_TEXCUBE_ARRAY_SRV, | |
25743 | pub BufferEx: D3D11_BUFFEREX_SRV, | |
25744 | } | |
25745 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25746 | impl ::core::marker::Copy for D3D11_SHADER_RESOURCE_VIEW_DESC_0 {} | |
25747 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25748 | impl ::core::clone::Clone for D3D11_SHADER_RESOURCE_VIEW_DESC_0 { | |
25749 | fn clone(&self) -> Self { | |
25750 | *self | |
25751 | } | |
25752 | } | |
25753 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25754 | impl ::windows::core::TypeKind for D3D11_SHADER_RESOURCE_VIEW_DESC_0 { | |
25755 | type TypeKind = ::windows::core::CopyType; | |
25756 | } | |
25757 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25758 | impl ::core::default::Default for D3D11_SHADER_RESOURCE_VIEW_DESC_0 { | |
25759 | fn default() -> Self { | |
25760 | unsafe { ::core::mem::zeroed() } | |
25761 | } | |
25762 | } | |
25763 | #[repr(C)] | |
25764 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
25765 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25766 | pub struct D3D11_SHADER_RESOURCE_VIEW_DESC1 { | |
25767 | pub Format: super::Dxgi::Common::DXGI_FORMAT, | |
25768 | pub ViewDimension: super::Direct3D::D3D_SRV_DIMENSION, | |
25769 | pub Anonymous: D3D11_SHADER_RESOURCE_VIEW_DESC1_0, | |
25770 | } | |
25771 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25772 | impl ::core::marker::Copy for D3D11_SHADER_RESOURCE_VIEW_DESC1 {} | |
25773 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25774 | impl ::core::clone::Clone for D3D11_SHADER_RESOURCE_VIEW_DESC1 { | |
25775 | fn clone(&self) -> Self { | |
25776 | *self | |
25777 | } | |
25778 | } | |
25779 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25780 | impl ::windows::core::TypeKind for D3D11_SHADER_RESOURCE_VIEW_DESC1 { | |
25781 | type TypeKind = ::windows::core::CopyType; | |
25782 | } | |
25783 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25784 | impl ::core::default::Default for D3D11_SHADER_RESOURCE_VIEW_DESC1 { | |
25785 | fn default() -> Self { | |
25786 | unsafe { ::core::mem::zeroed() } | |
25787 | } | |
25788 | } | |
25789 | #[repr(C)] | |
25790 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
25791 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25792 | pub union D3D11_SHADER_RESOURCE_VIEW_DESC1_0 { | |
25793 | pub Buffer: D3D11_BUFFER_SRV, | |
25794 | pub Texture1D: D3D11_TEX1D_SRV, | |
25795 | pub Texture1DArray: D3D11_TEX1D_ARRAY_SRV, | |
25796 | pub Texture2D: D3D11_TEX2D_SRV1, | |
25797 | pub Texture2DArray: D3D11_TEX2D_ARRAY_SRV1, | |
25798 | pub Texture2DMS: D3D11_TEX2DMS_SRV, | |
25799 | pub Texture2DMSArray: D3D11_TEX2DMS_ARRAY_SRV, | |
25800 | pub Texture3D: D3D11_TEX3D_SRV, | |
25801 | pub TextureCube: D3D11_TEXCUBE_SRV, | |
25802 | pub TextureCubeArray: D3D11_TEXCUBE_ARRAY_SRV, | |
25803 | pub BufferEx: D3D11_BUFFEREX_SRV, | |
25804 | } | |
25805 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25806 | impl ::core::marker::Copy for D3D11_SHADER_RESOURCE_VIEW_DESC1_0 {} | |
25807 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25808 | impl ::core::clone::Clone for D3D11_SHADER_RESOURCE_VIEW_DESC1_0 { | |
25809 | fn clone(&self) -> Self { | |
25810 | *self | |
25811 | } | |
25812 | } | |
25813 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25814 | impl ::windows::core::TypeKind for D3D11_SHADER_RESOURCE_VIEW_DESC1_0 { | |
25815 | type TypeKind = ::windows::core::CopyType; | |
25816 | } | |
25817 | #[cfg(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
25818 | impl ::core::default::Default for D3D11_SHADER_RESOURCE_VIEW_DESC1_0 { | |
25819 | fn default() -> Self { | |
25820 | unsafe { ::core::mem::zeroed() } | |
25821 | } | |
25822 | } | |
25823 | #[repr(C)] | |
25824 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
25825 | pub struct D3D11_SHADER_TRACE_DESC { | |
25826 | pub Type: D3D11_SHADER_TYPE, | |
25827 | pub Flags: u32, | |
25828 | pub Anonymous: D3D11_SHADER_TRACE_DESC_0, | |
25829 | } | |
25830 | impl ::core::marker::Copy for D3D11_SHADER_TRACE_DESC {} | |
25831 | impl ::core::clone::Clone for D3D11_SHADER_TRACE_DESC { | |
25832 | fn clone(&self) -> Self { | |
25833 | *self | |
25834 | } | |
25835 | } | |
25836 | impl ::windows::core::TypeKind for D3D11_SHADER_TRACE_DESC { | |
25837 | type TypeKind = ::windows::core::CopyType; | |
25838 | } | |
25839 | impl ::core::default::Default for D3D11_SHADER_TRACE_DESC { | |
25840 | fn default() -> Self { | |
25841 | unsafe { ::core::mem::zeroed() } | |
25842 | } | |
25843 | } | |
25844 | #[repr(C)] | |
25845 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
25846 | pub union D3D11_SHADER_TRACE_DESC_0 { | |
25847 | pub VertexShaderTraceDesc: D3D11_VERTEX_SHADER_TRACE_DESC, | |
25848 | pub HullShaderTraceDesc: D3D11_HULL_SHADER_TRACE_DESC, | |
25849 | pub DomainShaderTraceDesc: D3D11_DOMAIN_SHADER_TRACE_DESC, | |
25850 | pub GeometryShaderTraceDesc: D3D11_GEOMETRY_SHADER_TRACE_DESC, | |
25851 | pub PixelShaderTraceDesc: D3D11_PIXEL_SHADER_TRACE_DESC, | |
25852 | pub ComputeShaderTraceDesc: D3D11_COMPUTE_SHADER_TRACE_DESC, | |
25853 | } | |
25854 | impl ::core::marker::Copy for D3D11_SHADER_TRACE_DESC_0 {} | |
25855 | impl ::core::clone::Clone for D3D11_SHADER_TRACE_DESC_0 { | |
25856 | fn clone(&self) -> Self { | |
25857 | *self | |
25858 | } | |
25859 | } | |
25860 | impl ::windows::core::TypeKind for D3D11_SHADER_TRACE_DESC_0 { | |
25861 | type TypeKind = ::windows::core::CopyType; | |
25862 | } | |
25863 | impl ::core::default::Default for D3D11_SHADER_TRACE_DESC_0 { | |
25864 | fn default() -> Self { | |
25865 | unsafe { ::core::mem::zeroed() } | |
25866 | } | |
25867 | } | |
25868 | #[repr(C)] | |
25869 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`*"] | |
25870 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25871 | pub struct D3D11_SHADER_TYPE_DESC { | |
25872 | pub Class: super::Direct3D::D3D_SHADER_VARIABLE_CLASS, | |
25873 | pub Type: super::Direct3D::D3D_SHADER_VARIABLE_TYPE, | |
25874 | pub Rows: u32, | |
25875 | pub Columns: u32, | |
25876 | pub Elements: u32, | |
25877 | pub Members: u32, | |
25878 | pub Offset: u32, | |
25879 | pub Name: ::windows::core::PCSTR, | |
25880 | } | |
25881 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25882 | impl ::core::marker::Copy for D3D11_SHADER_TYPE_DESC {} | |
25883 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25884 | impl ::core::clone::Clone for D3D11_SHADER_TYPE_DESC { | |
25885 | fn clone(&self) -> Self { | |
25886 | *self | |
25887 | } | |
25888 | } | |
25889 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25890 | impl ::core::fmt::Debug for D3D11_SHADER_TYPE_DESC { | |
25891 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25892 | f.debug_struct("D3D11_SHADER_TYPE_DESC").field("Class", &self.Class).field("Type", &self.Type).field("Rows", &self.Rows).field("Columns", &self.Columns).field("Elements", &self.Elements).field("Members", &self.Members).field("Offset", &self.Offset).field("Name", &self.Name).finish() | |
25893 | } | |
25894 | } | |
25895 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25896 | impl ::windows::core::TypeKind for D3D11_SHADER_TYPE_DESC { | |
25897 | type TypeKind = ::windows::core::CopyType; | |
25898 | } | |
25899 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25900 | impl ::core::cmp::PartialEq for D3D11_SHADER_TYPE_DESC { | |
25901 | fn eq(&self, other: &Self) -> bool { | |
25902 | self.Class == other.Class && self.Type == other.Type && self.Rows == other.Rows && self.Columns == other.Columns && self.Elements == other.Elements && self.Members == other.Members && self.Offset == other.Offset && self.Name == other.Name | |
25903 | } | |
25904 | } | |
25905 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25906 | impl ::core::cmp::Eq for D3D11_SHADER_TYPE_DESC {} | |
25907 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25908 | impl ::core::default::Default for D3D11_SHADER_TYPE_DESC { | |
25909 | fn default() -> Self { | |
25910 | unsafe { ::core::mem::zeroed() } | |
25911 | } | |
25912 | } | |
25913 | #[repr(C)] | |
25914 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
25915 | pub struct D3D11_SHADER_VARIABLE_DESC { | |
25916 | pub Name: ::windows::core::PCSTR, | |
25917 | pub StartOffset: u32, | |
25918 | pub Size: u32, | |
25919 | pub uFlags: u32, | |
25920 | pub DefaultValue: *mut ::core::ffi::c_void, | |
25921 | pub StartTexture: u32, | |
25922 | pub TextureSize: u32, | |
25923 | pub StartSampler: u32, | |
25924 | pub SamplerSize: u32, | |
25925 | } | |
25926 | impl ::core::marker::Copy for D3D11_SHADER_VARIABLE_DESC {} | |
25927 | impl ::core::clone::Clone for D3D11_SHADER_VARIABLE_DESC { | |
25928 | fn clone(&self) -> Self { | |
25929 | *self | |
25930 | } | |
25931 | } | |
25932 | impl ::core::fmt::Debug for D3D11_SHADER_VARIABLE_DESC { | |
25933 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25934 | f.debug_struct("D3D11_SHADER_VARIABLE_DESC").field("Name", &self.Name).field("StartOffset", &self.StartOffset).field("Size", &self.Size).field("uFlags", &self.uFlags).field("DefaultValue", &self.DefaultValue).field("StartTexture", &self.StartTexture).field("TextureSize", &self.TextureSize).field("StartSampler", &self.StartSampler).field("SamplerSize", &self.SamplerSize).finish() | |
25935 | } | |
25936 | } | |
25937 | impl ::windows::core::TypeKind for D3D11_SHADER_VARIABLE_DESC { | |
25938 | type TypeKind = ::windows::core::CopyType; | |
25939 | } | |
25940 | impl ::core::cmp::PartialEq for D3D11_SHADER_VARIABLE_DESC { | |
25941 | fn eq(&self, other: &Self) -> bool { | |
25942 | self.Name == other.Name && self.StartOffset == other.StartOffset && self.Size == other.Size && self.uFlags == other.uFlags && self.DefaultValue == other.DefaultValue && self.StartTexture == other.StartTexture && self.TextureSize == other.TextureSize && self.StartSampler == other.StartSampler && self.SamplerSize == other.SamplerSize | |
25943 | } | |
25944 | } | |
25945 | impl ::core::cmp::Eq for D3D11_SHADER_VARIABLE_DESC {} | |
25946 | impl ::core::default::Default for D3D11_SHADER_VARIABLE_DESC { | |
25947 | fn default() -> Self { | |
25948 | unsafe { ::core::mem::zeroed() } | |
25949 | } | |
25950 | } | |
25951 | #[repr(C)] | |
25952 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`*"] | |
25953 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25954 | pub struct D3D11_SIGNATURE_PARAMETER_DESC { | |
25955 | pub SemanticName: ::windows::core::PCSTR, | |
25956 | pub SemanticIndex: u32, | |
25957 | pub Register: u32, | |
25958 | pub SystemValueType: super::Direct3D::D3D_NAME, | |
25959 | pub ComponentType: super::Direct3D::D3D_REGISTER_COMPONENT_TYPE, | |
25960 | pub Mask: u8, | |
25961 | pub ReadWriteMask: u8, | |
25962 | pub Stream: u32, | |
25963 | pub MinPrecision: super::Direct3D::D3D_MIN_PRECISION, | |
25964 | } | |
25965 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25966 | impl ::core::marker::Copy for D3D11_SIGNATURE_PARAMETER_DESC {} | |
25967 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25968 | impl ::core::clone::Clone for D3D11_SIGNATURE_PARAMETER_DESC { | |
25969 | fn clone(&self) -> Self { | |
25970 | *self | |
25971 | } | |
25972 | } | |
25973 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25974 | impl ::core::fmt::Debug for D3D11_SIGNATURE_PARAMETER_DESC { | |
25975 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
25976 | f.debug_struct("D3D11_SIGNATURE_PARAMETER_DESC").field("SemanticName", &self.SemanticName).field("SemanticIndex", &self.SemanticIndex).field("Register", &self.Register).field("SystemValueType", &self.SystemValueType).field("ComponentType", &self.ComponentType).field("Mask", &self.Mask).field("ReadWriteMask", &self.ReadWriteMask).field("Stream", &self.Stream).field("MinPrecision", &self.MinPrecision).finish() | |
25977 | } | |
25978 | } | |
25979 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25980 | impl ::windows::core::TypeKind for D3D11_SIGNATURE_PARAMETER_DESC { | |
25981 | type TypeKind = ::windows::core::CopyType; | |
25982 | } | |
25983 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25984 | impl ::core::cmp::PartialEq for D3D11_SIGNATURE_PARAMETER_DESC { | |
25985 | fn eq(&self, other: &Self) -> bool { | |
25986 | self.SemanticName == other.SemanticName && self.SemanticIndex == other.SemanticIndex && self.Register == other.Register && self.SystemValueType == other.SystemValueType && self.ComponentType == other.ComponentType && self.Mask == other.Mask && self.ReadWriteMask == other.ReadWriteMask && self.Stream == other.Stream && self.MinPrecision == other.MinPrecision | |
25987 | } | |
25988 | } | |
25989 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25990 | impl ::core::cmp::Eq for D3D11_SIGNATURE_PARAMETER_DESC {} | |
25991 | #[cfg(feature = "Win32_Graphics_Direct3D")] | |
25992 | impl ::core::default::Default for D3D11_SIGNATURE_PARAMETER_DESC { | |
25993 | fn default() -> Self { | |
25994 | unsafe { ::core::mem::zeroed() } | |
25995 | } | |
25996 | } | |
25997 | #[repr(C)] | |
25998 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
25999 | pub struct D3D11_SO_DECLARATION_ENTRY { | |
26000 | pub Stream: u32, | |
26001 | pub SemanticName: ::windows::core::PCSTR, | |
26002 | pub SemanticIndex: u32, | |
26003 | pub StartComponent: u8, | |
26004 | pub ComponentCount: u8, | |
26005 | pub OutputSlot: u8, | |
26006 | } | |
26007 | impl ::core::marker::Copy for D3D11_SO_DECLARATION_ENTRY {} | |
26008 | impl ::core::clone::Clone for D3D11_SO_DECLARATION_ENTRY { | |
26009 | fn clone(&self) -> Self { | |
26010 | *self | |
26011 | } | |
26012 | } | |
26013 | impl ::core::fmt::Debug for D3D11_SO_DECLARATION_ENTRY { | |
26014 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26015 | f.debug_struct("D3D11_SO_DECLARATION_ENTRY").field("Stream", &self.Stream).field("SemanticName", &self.SemanticName).field("SemanticIndex", &self.SemanticIndex).field("StartComponent", &self.StartComponent).field("ComponentCount", &self.ComponentCount).field("OutputSlot", &self.OutputSlot).finish() | |
26016 | } | |
26017 | } | |
26018 | impl ::windows::core::TypeKind for D3D11_SO_DECLARATION_ENTRY { | |
26019 | type TypeKind = ::windows::core::CopyType; | |
26020 | } | |
26021 | impl ::core::cmp::PartialEq for D3D11_SO_DECLARATION_ENTRY { | |
26022 | fn eq(&self, other: &Self) -> bool { | |
26023 | self.Stream == other.Stream && self.SemanticName == other.SemanticName && self.SemanticIndex == other.SemanticIndex && self.StartComponent == other.StartComponent && self.ComponentCount == other.ComponentCount && self.OutputSlot == other.OutputSlot | |
26024 | } | |
26025 | } | |
26026 | impl ::core::cmp::Eq for D3D11_SO_DECLARATION_ENTRY {} | |
26027 | impl ::core::default::Default for D3D11_SO_DECLARATION_ENTRY { | |
26028 | fn default() -> Self { | |
26029 | unsafe { ::core::mem::zeroed() } | |
26030 | } | |
26031 | } | |
26032 | #[repr(C)] | |
26033 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26034 | pub struct D3D11_SUBRESOURCE_DATA { | |
26035 | pub pSysMem: *const ::core::ffi::c_void, | |
26036 | pub SysMemPitch: u32, | |
26037 | pub SysMemSlicePitch: u32, | |
26038 | } | |
26039 | impl ::core::marker::Copy for D3D11_SUBRESOURCE_DATA {} | |
26040 | impl ::core::clone::Clone for D3D11_SUBRESOURCE_DATA { | |
26041 | fn clone(&self) -> Self { | |
26042 | *self | |
26043 | } | |
26044 | } | |
26045 | impl ::core::fmt::Debug for D3D11_SUBRESOURCE_DATA { | |
26046 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26047 | f.debug_struct("D3D11_SUBRESOURCE_DATA").field("pSysMem", &self.pSysMem).field("SysMemPitch", &self.SysMemPitch).field("SysMemSlicePitch", &self.SysMemSlicePitch).finish() | |
26048 | } | |
26049 | } | |
26050 | impl ::windows::core::TypeKind for D3D11_SUBRESOURCE_DATA { | |
26051 | type TypeKind = ::windows::core::CopyType; | |
26052 | } | |
26053 | impl ::core::cmp::PartialEq for D3D11_SUBRESOURCE_DATA { | |
26054 | fn eq(&self, other: &Self) -> bool { | |
26055 | self.pSysMem == other.pSysMem && self.SysMemPitch == other.SysMemPitch && self.SysMemSlicePitch == other.SysMemSlicePitch | |
26056 | } | |
26057 | } | |
26058 | impl ::core::cmp::Eq for D3D11_SUBRESOURCE_DATA {} | |
26059 | impl ::core::default::Default for D3D11_SUBRESOURCE_DATA { | |
26060 | fn default() -> Self { | |
26061 | unsafe { ::core::mem::zeroed() } | |
26062 | } | |
26063 | } | |
26064 | #[repr(C)] | |
26065 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26066 | pub struct D3D11_SUBRESOURCE_TILING { | |
26067 | pub WidthInTiles: u32, | |
26068 | pub HeightInTiles: u16, | |
26069 | pub DepthInTiles: u16, | |
26070 | pub StartTileIndexInOverallResource: u32, | |
26071 | } | |
26072 | impl ::core::marker::Copy for D3D11_SUBRESOURCE_TILING {} | |
26073 | impl ::core::clone::Clone for D3D11_SUBRESOURCE_TILING { | |
26074 | fn clone(&self) -> Self { | |
26075 | *self | |
26076 | } | |
26077 | } | |
26078 | impl ::core::fmt::Debug for D3D11_SUBRESOURCE_TILING { | |
26079 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26080 | f.debug_struct("D3D11_SUBRESOURCE_TILING").field("WidthInTiles", &self.WidthInTiles).field("HeightInTiles", &self.HeightInTiles).field("DepthInTiles", &self.DepthInTiles).field("StartTileIndexInOverallResource", &self.StartTileIndexInOverallResource).finish() | |
26081 | } | |
26082 | } | |
26083 | impl ::windows::core::TypeKind for D3D11_SUBRESOURCE_TILING { | |
26084 | type TypeKind = ::windows::core::CopyType; | |
26085 | } | |
26086 | impl ::core::cmp::PartialEq for D3D11_SUBRESOURCE_TILING { | |
26087 | fn eq(&self, other: &Self) -> bool { | |
26088 | self.WidthInTiles == other.WidthInTiles && self.HeightInTiles == other.HeightInTiles && self.DepthInTiles == other.DepthInTiles && self.StartTileIndexInOverallResource == other.StartTileIndexInOverallResource | |
26089 | } | |
26090 | } | |
26091 | impl ::core::cmp::Eq for D3D11_SUBRESOURCE_TILING {} | |
26092 | impl ::core::default::Default for D3D11_SUBRESOURCE_TILING { | |
26093 | fn default() -> Self { | |
26094 | unsafe { ::core::mem::zeroed() } | |
26095 | } | |
26096 | } | |
26097 | #[repr(C)] | |
26098 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26099 | pub struct D3D11_TEX1D_ARRAY_DSV { | |
26100 | pub MipSlice: u32, | |
26101 | pub FirstArraySlice: u32, | |
26102 | pub ArraySize: u32, | |
26103 | } | |
26104 | impl ::core::marker::Copy for D3D11_TEX1D_ARRAY_DSV {} | |
26105 | impl ::core::clone::Clone for D3D11_TEX1D_ARRAY_DSV { | |
26106 | fn clone(&self) -> Self { | |
26107 | *self | |
26108 | } | |
26109 | } | |
26110 | impl ::core::fmt::Debug for D3D11_TEX1D_ARRAY_DSV { | |
26111 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26112 | f.debug_struct("D3D11_TEX1D_ARRAY_DSV").field("MipSlice", &self.MipSlice).field("FirstArraySlice", &self.FirstArraySlice).field("ArraySize", &self.ArraySize).finish() | |
26113 | } | |
26114 | } | |
26115 | impl ::windows::core::TypeKind for D3D11_TEX1D_ARRAY_DSV { | |
26116 | type TypeKind = ::windows::core::CopyType; | |
26117 | } | |
26118 | impl ::core::cmp::PartialEq for D3D11_TEX1D_ARRAY_DSV { | |
26119 | fn eq(&self, other: &Self) -> bool { | |
26120 | self.MipSlice == other.MipSlice && self.FirstArraySlice == other.FirstArraySlice && self.ArraySize == other.ArraySize | |
26121 | } | |
26122 | } | |
26123 | impl ::core::cmp::Eq for D3D11_TEX1D_ARRAY_DSV {} | |
26124 | impl ::core::default::Default for D3D11_TEX1D_ARRAY_DSV { | |
26125 | fn default() -> Self { | |
26126 | unsafe { ::core::mem::zeroed() } | |
26127 | } | |
26128 | } | |
26129 | #[repr(C)] | |
26130 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26131 | pub struct D3D11_TEX1D_ARRAY_RTV { | |
26132 | pub MipSlice: u32, | |
26133 | pub FirstArraySlice: u32, | |
26134 | pub ArraySize: u32, | |
26135 | } | |
26136 | impl ::core::marker::Copy for D3D11_TEX1D_ARRAY_RTV {} | |
26137 | impl ::core::clone::Clone for D3D11_TEX1D_ARRAY_RTV { | |
26138 | fn clone(&self) -> Self { | |
26139 | *self | |
26140 | } | |
26141 | } | |
26142 | impl ::core::fmt::Debug for D3D11_TEX1D_ARRAY_RTV { | |
26143 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26144 | f.debug_struct("D3D11_TEX1D_ARRAY_RTV").field("MipSlice", &self.MipSlice).field("FirstArraySlice", &self.FirstArraySlice).field("ArraySize", &self.ArraySize).finish() | |
26145 | } | |
26146 | } | |
26147 | impl ::windows::core::TypeKind for D3D11_TEX1D_ARRAY_RTV { | |
26148 | type TypeKind = ::windows::core::CopyType; | |
26149 | } | |
26150 | impl ::core::cmp::PartialEq for D3D11_TEX1D_ARRAY_RTV { | |
26151 | fn eq(&self, other: &Self) -> bool { | |
26152 | self.MipSlice == other.MipSlice && self.FirstArraySlice == other.FirstArraySlice && self.ArraySize == other.ArraySize | |
26153 | } | |
26154 | } | |
26155 | impl ::core::cmp::Eq for D3D11_TEX1D_ARRAY_RTV {} | |
26156 | impl ::core::default::Default for D3D11_TEX1D_ARRAY_RTV { | |
26157 | fn default() -> Self { | |
26158 | unsafe { ::core::mem::zeroed() } | |
26159 | } | |
26160 | } | |
26161 | #[repr(C)] | |
26162 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26163 | pub struct D3D11_TEX1D_ARRAY_SRV { | |
26164 | pub MostDetailedMip: u32, | |
26165 | pub MipLevels: u32, | |
26166 | pub FirstArraySlice: u32, | |
26167 | pub ArraySize: u32, | |
26168 | } | |
26169 | impl ::core::marker::Copy for D3D11_TEX1D_ARRAY_SRV {} | |
26170 | impl ::core::clone::Clone for D3D11_TEX1D_ARRAY_SRV { | |
26171 | fn clone(&self) -> Self { | |
26172 | *self | |
26173 | } | |
26174 | } | |
26175 | impl ::core::fmt::Debug for D3D11_TEX1D_ARRAY_SRV { | |
26176 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26177 | f.debug_struct("D3D11_TEX1D_ARRAY_SRV").field("MostDetailedMip", &self.MostDetailedMip).field("MipLevels", &self.MipLevels).field("FirstArraySlice", &self.FirstArraySlice).field("ArraySize", &self.ArraySize).finish() | |
26178 | } | |
26179 | } | |
26180 | impl ::windows::core::TypeKind for D3D11_TEX1D_ARRAY_SRV { | |
26181 | type TypeKind = ::windows::core::CopyType; | |
26182 | } | |
26183 | impl ::core::cmp::PartialEq for D3D11_TEX1D_ARRAY_SRV { | |
26184 | fn eq(&self, other: &Self) -> bool { | |
26185 | self.MostDetailedMip == other.MostDetailedMip && self.MipLevels == other.MipLevels && self.FirstArraySlice == other.FirstArraySlice && self.ArraySize == other.ArraySize | |
26186 | } | |
26187 | } | |
26188 | impl ::core::cmp::Eq for D3D11_TEX1D_ARRAY_SRV {} | |
26189 | impl ::core::default::Default for D3D11_TEX1D_ARRAY_SRV { | |
26190 | fn default() -> Self { | |
26191 | unsafe { ::core::mem::zeroed() } | |
26192 | } | |
26193 | } | |
26194 | #[repr(C)] | |
26195 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26196 | pub struct D3D11_TEX1D_ARRAY_UAV { | |
26197 | pub MipSlice: u32, | |
26198 | pub FirstArraySlice: u32, | |
26199 | pub ArraySize: u32, | |
26200 | } | |
26201 | impl ::core::marker::Copy for D3D11_TEX1D_ARRAY_UAV {} | |
26202 | impl ::core::clone::Clone for D3D11_TEX1D_ARRAY_UAV { | |
26203 | fn clone(&self) -> Self { | |
26204 | *self | |
26205 | } | |
26206 | } | |
26207 | impl ::core::fmt::Debug for D3D11_TEX1D_ARRAY_UAV { | |
26208 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26209 | f.debug_struct("D3D11_TEX1D_ARRAY_UAV").field("MipSlice", &self.MipSlice).field("FirstArraySlice", &self.FirstArraySlice).field("ArraySize", &self.ArraySize).finish() | |
26210 | } | |
26211 | } | |
26212 | impl ::windows::core::TypeKind for D3D11_TEX1D_ARRAY_UAV { | |
26213 | type TypeKind = ::windows::core::CopyType; | |
26214 | } | |
26215 | impl ::core::cmp::PartialEq for D3D11_TEX1D_ARRAY_UAV { | |
26216 | fn eq(&self, other: &Self) -> bool { | |
26217 | self.MipSlice == other.MipSlice && self.FirstArraySlice == other.FirstArraySlice && self.ArraySize == other.ArraySize | |
26218 | } | |
26219 | } | |
26220 | impl ::core::cmp::Eq for D3D11_TEX1D_ARRAY_UAV {} | |
26221 | impl ::core::default::Default for D3D11_TEX1D_ARRAY_UAV { | |
26222 | fn default() -> Self { | |
26223 | unsafe { ::core::mem::zeroed() } | |
26224 | } | |
26225 | } | |
26226 | #[repr(C)] | |
26227 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26228 | pub struct D3D11_TEX1D_DSV { | |
26229 | pub MipSlice: u32, | |
26230 | } | |
26231 | impl ::core::marker::Copy for D3D11_TEX1D_DSV {} | |
26232 | impl ::core::clone::Clone for D3D11_TEX1D_DSV { | |
26233 | fn clone(&self) -> Self { | |
26234 | *self | |
26235 | } | |
26236 | } | |
26237 | impl ::core::fmt::Debug for D3D11_TEX1D_DSV { | |
26238 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26239 | f.debug_struct("D3D11_TEX1D_DSV").field("MipSlice", &self.MipSlice).finish() | |
26240 | } | |
26241 | } | |
26242 | impl ::windows::core::TypeKind for D3D11_TEX1D_DSV { | |
26243 | type TypeKind = ::windows::core::CopyType; | |
26244 | } | |
26245 | impl ::core::cmp::PartialEq for D3D11_TEX1D_DSV { | |
26246 | fn eq(&self, other: &Self) -> bool { | |
26247 | self.MipSlice == other.MipSlice | |
26248 | } | |
26249 | } | |
26250 | impl ::core::cmp::Eq for D3D11_TEX1D_DSV {} | |
26251 | impl ::core::default::Default for D3D11_TEX1D_DSV { | |
26252 | fn default() -> Self { | |
26253 | unsafe { ::core::mem::zeroed() } | |
26254 | } | |
26255 | } | |
26256 | #[repr(C)] | |
26257 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26258 | pub struct D3D11_TEX1D_RTV { | |
26259 | pub MipSlice: u32, | |
26260 | } | |
26261 | impl ::core::marker::Copy for D3D11_TEX1D_RTV {} | |
26262 | impl ::core::clone::Clone for D3D11_TEX1D_RTV { | |
26263 | fn clone(&self) -> Self { | |
26264 | *self | |
26265 | } | |
26266 | } | |
26267 | impl ::core::fmt::Debug for D3D11_TEX1D_RTV { | |
26268 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26269 | f.debug_struct("D3D11_TEX1D_RTV").field("MipSlice", &self.MipSlice).finish() | |
26270 | } | |
26271 | } | |
26272 | impl ::windows::core::TypeKind for D3D11_TEX1D_RTV { | |
26273 | type TypeKind = ::windows::core::CopyType; | |
26274 | } | |
26275 | impl ::core::cmp::PartialEq for D3D11_TEX1D_RTV { | |
26276 | fn eq(&self, other: &Self) -> bool { | |
26277 | self.MipSlice == other.MipSlice | |
26278 | } | |
26279 | } | |
26280 | impl ::core::cmp::Eq for D3D11_TEX1D_RTV {} | |
26281 | impl ::core::default::Default for D3D11_TEX1D_RTV { | |
26282 | fn default() -> Self { | |
26283 | unsafe { ::core::mem::zeroed() } | |
26284 | } | |
26285 | } | |
26286 | #[repr(C)] | |
26287 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26288 | pub struct D3D11_TEX1D_SRV { | |
26289 | pub MostDetailedMip: u32, | |
26290 | pub MipLevels: u32, | |
26291 | } | |
26292 | impl ::core::marker::Copy for D3D11_TEX1D_SRV {} | |
26293 | impl ::core::clone::Clone for D3D11_TEX1D_SRV { | |
26294 | fn clone(&self) -> Self { | |
26295 | *self | |
26296 | } | |
26297 | } | |
26298 | impl ::core::fmt::Debug for D3D11_TEX1D_SRV { | |
26299 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26300 | f.debug_struct("D3D11_TEX1D_SRV").field("MostDetailedMip", &self.MostDetailedMip).field("MipLevels", &self.MipLevels).finish() | |
26301 | } | |
26302 | } | |
26303 | impl ::windows::core::TypeKind for D3D11_TEX1D_SRV { | |
26304 | type TypeKind = ::windows::core::CopyType; | |
26305 | } | |
26306 | impl ::core::cmp::PartialEq for D3D11_TEX1D_SRV { | |
26307 | fn eq(&self, other: &Self) -> bool { | |
26308 | self.MostDetailedMip == other.MostDetailedMip && self.MipLevels == other.MipLevels | |
26309 | } | |
26310 | } | |
26311 | impl ::core::cmp::Eq for D3D11_TEX1D_SRV {} | |
26312 | impl ::core::default::Default for D3D11_TEX1D_SRV { | |
26313 | fn default() -> Self { | |
26314 | unsafe { ::core::mem::zeroed() } | |
26315 | } | |
26316 | } | |
26317 | #[repr(C)] | |
26318 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26319 | pub struct D3D11_TEX1D_UAV { | |
26320 | pub MipSlice: u32, | |
26321 | } | |
26322 | impl ::core::marker::Copy for D3D11_TEX1D_UAV {} | |
26323 | impl ::core::clone::Clone for D3D11_TEX1D_UAV { | |
26324 | fn clone(&self) -> Self { | |
26325 | *self | |
26326 | } | |
26327 | } | |
26328 | impl ::core::fmt::Debug for D3D11_TEX1D_UAV { | |
26329 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26330 | f.debug_struct("D3D11_TEX1D_UAV").field("MipSlice", &self.MipSlice).finish() | |
26331 | } | |
26332 | } | |
26333 | impl ::windows::core::TypeKind for D3D11_TEX1D_UAV { | |
26334 | type TypeKind = ::windows::core::CopyType; | |
26335 | } | |
26336 | impl ::core::cmp::PartialEq for D3D11_TEX1D_UAV { | |
26337 | fn eq(&self, other: &Self) -> bool { | |
26338 | self.MipSlice == other.MipSlice | |
26339 | } | |
26340 | } | |
26341 | impl ::core::cmp::Eq for D3D11_TEX1D_UAV {} | |
26342 | impl ::core::default::Default for D3D11_TEX1D_UAV { | |
26343 | fn default() -> Self { | |
26344 | unsafe { ::core::mem::zeroed() } | |
26345 | } | |
26346 | } | |
26347 | #[repr(C)] | |
26348 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26349 | pub struct D3D11_TEX2DMS_ARRAY_DSV { | |
26350 | pub FirstArraySlice: u32, | |
26351 | pub ArraySize: u32, | |
26352 | } | |
26353 | impl ::core::marker::Copy for D3D11_TEX2DMS_ARRAY_DSV {} | |
26354 | impl ::core::clone::Clone for D3D11_TEX2DMS_ARRAY_DSV { | |
26355 | fn clone(&self) -> Self { | |
26356 | *self | |
26357 | } | |
26358 | } | |
26359 | impl ::core::fmt::Debug for D3D11_TEX2DMS_ARRAY_DSV { | |
26360 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26361 | f.debug_struct("D3D11_TEX2DMS_ARRAY_DSV").field("FirstArraySlice", &self.FirstArraySlice).field("ArraySize", &self.ArraySize).finish() | |
26362 | } | |
26363 | } | |
26364 | impl ::windows::core::TypeKind for D3D11_TEX2DMS_ARRAY_DSV { | |
26365 | type TypeKind = ::windows::core::CopyType; | |
26366 | } | |
26367 | impl ::core::cmp::PartialEq for D3D11_TEX2DMS_ARRAY_DSV { | |
26368 | fn eq(&self, other: &Self) -> bool { | |
26369 | self.FirstArraySlice == other.FirstArraySlice && self.ArraySize == other.ArraySize | |
26370 | } | |
26371 | } | |
26372 | impl ::core::cmp::Eq for D3D11_TEX2DMS_ARRAY_DSV {} | |
26373 | impl ::core::default::Default for D3D11_TEX2DMS_ARRAY_DSV { | |
26374 | fn default() -> Self { | |
26375 | unsafe { ::core::mem::zeroed() } | |
26376 | } | |
26377 | } | |
26378 | #[repr(C)] | |
26379 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26380 | pub struct D3D11_TEX2DMS_ARRAY_RTV { | |
26381 | pub FirstArraySlice: u32, | |
26382 | pub ArraySize: u32, | |
26383 | } | |
26384 | impl ::core::marker::Copy for D3D11_TEX2DMS_ARRAY_RTV {} | |
26385 | impl ::core::clone::Clone for D3D11_TEX2DMS_ARRAY_RTV { | |
26386 | fn clone(&self) -> Self { | |
26387 | *self | |
26388 | } | |
26389 | } | |
26390 | impl ::core::fmt::Debug for D3D11_TEX2DMS_ARRAY_RTV { | |
26391 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26392 | f.debug_struct("D3D11_TEX2DMS_ARRAY_RTV").field("FirstArraySlice", &self.FirstArraySlice).field("ArraySize", &self.ArraySize).finish() | |
26393 | } | |
26394 | } | |
26395 | impl ::windows::core::TypeKind for D3D11_TEX2DMS_ARRAY_RTV { | |
26396 | type TypeKind = ::windows::core::CopyType; | |
26397 | } | |
26398 | impl ::core::cmp::PartialEq for D3D11_TEX2DMS_ARRAY_RTV { | |
26399 | fn eq(&self, other: &Self) -> bool { | |
26400 | self.FirstArraySlice == other.FirstArraySlice && self.ArraySize == other.ArraySize | |
26401 | } | |
26402 | } | |
26403 | impl ::core::cmp::Eq for D3D11_TEX2DMS_ARRAY_RTV {} | |
26404 | impl ::core::default::Default for D3D11_TEX2DMS_ARRAY_RTV { | |
26405 | fn default() -> Self { | |
26406 | unsafe { ::core::mem::zeroed() } | |
26407 | } | |
26408 | } | |
26409 | #[repr(C)] | |
26410 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26411 | pub struct D3D11_TEX2DMS_ARRAY_SRV { | |
26412 | pub FirstArraySlice: u32, | |
26413 | pub ArraySize: u32, | |
26414 | } | |
26415 | impl ::core::marker::Copy for D3D11_TEX2DMS_ARRAY_SRV {} | |
26416 | impl ::core::clone::Clone for D3D11_TEX2DMS_ARRAY_SRV { | |
26417 | fn clone(&self) -> Self { | |
26418 | *self | |
26419 | } | |
26420 | } | |
26421 | impl ::core::fmt::Debug for D3D11_TEX2DMS_ARRAY_SRV { | |
26422 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26423 | f.debug_struct("D3D11_TEX2DMS_ARRAY_SRV").field("FirstArraySlice", &self.FirstArraySlice).field("ArraySize", &self.ArraySize).finish() | |
26424 | } | |
26425 | } | |
26426 | impl ::windows::core::TypeKind for D3D11_TEX2DMS_ARRAY_SRV { | |
26427 | type TypeKind = ::windows::core::CopyType; | |
26428 | } | |
26429 | impl ::core::cmp::PartialEq for D3D11_TEX2DMS_ARRAY_SRV { | |
26430 | fn eq(&self, other: &Self) -> bool { | |
26431 | self.FirstArraySlice == other.FirstArraySlice && self.ArraySize == other.ArraySize | |
26432 | } | |
26433 | } | |
26434 | impl ::core::cmp::Eq for D3D11_TEX2DMS_ARRAY_SRV {} | |
26435 | impl ::core::default::Default for D3D11_TEX2DMS_ARRAY_SRV { | |
26436 | fn default() -> Self { | |
26437 | unsafe { ::core::mem::zeroed() } | |
26438 | } | |
26439 | } | |
26440 | #[repr(C)] | |
26441 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26442 | pub struct D3D11_TEX2DMS_DSV { | |
26443 | pub UnusedField_NothingToDefine: u32, | |
26444 | } | |
26445 | impl ::core::marker::Copy for D3D11_TEX2DMS_DSV {} | |
26446 | impl ::core::clone::Clone for D3D11_TEX2DMS_DSV { | |
26447 | fn clone(&self) -> Self { | |
26448 | *self | |
26449 | } | |
26450 | } | |
26451 | impl ::core::fmt::Debug for D3D11_TEX2DMS_DSV { | |
26452 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26453 | f.debug_struct("D3D11_TEX2DMS_DSV").field("UnusedField_NothingToDefine", &self.UnusedField_NothingToDefine).finish() | |
26454 | } | |
26455 | } | |
26456 | impl ::windows::core::TypeKind for D3D11_TEX2DMS_DSV { | |
26457 | type TypeKind = ::windows::core::CopyType; | |
26458 | } | |
26459 | impl ::core::cmp::PartialEq for D3D11_TEX2DMS_DSV { | |
26460 | fn eq(&self, other: &Self) -> bool { | |
26461 | self.UnusedField_NothingToDefine == other.UnusedField_NothingToDefine | |
26462 | } | |
26463 | } | |
26464 | impl ::core::cmp::Eq for D3D11_TEX2DMS_DSV {} | |
26465 | impl ::core::default::Default for D3D11_TEX2DMS_DSV { | |
26466 | fn default() -> Self { | |
26467 | unsafe { ::core::mem::zeroed() } | |
26468 | } | |
26469 | } | |
26470 | #[repr(C)] | |
26471 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26472 | pub struct D3D11_TEX2DMS_RTV { | |
26473 | pub UnusedField_NothingToDefine: u32, | |
26474 | } | |
26475 | impl ::core::marker::Copy for D3D11_TEX2DMS_RTV {} | |
26476 | impl ::core::clone::Clone for D3D11_TEX2DMS_RTV { | |
26477 | fn clone(&self) -> Self { | |
26478 | *self | |
26479 | } | |
26480 | } | |
26481 | impl ::core::fmt::Debug for D3D11_TEX2DMS_RTV { | |
26482 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26483 | f.debug_struct("D3D11_TEX2DMS_RTV").field("UnusedField_NothingToDefine", &self.UnusedField_NothingToDefine).finish() | |
26484 | } | |
26485 | } | |
26486 | impl ::windows::core::TypeKind for D3D11_TEX2DMS_RTV { | |
26487 | type TypeKind = ::windows::core::CopyType; | |
26488 | } | |
26489 | impl ::core::cmp::PartialEq for D3D11_TEX2DMS_RTV { | |
26490 | fn eq(&self, other: &Self) -> bool { | |
26491 | self.UnusedField_NothingToDefine == other.UnusedField_NothingToDefine | |
26492 | } | |
26493 | } | |
26494 | impl ::core::cmp::Eq for D3D11_TEX2DMS_RTV {} | |
26495 | impl ::core::default::Default for D3D11_TEX2DMS_RTV { | |
26496 | fn default() -> Self { | |
26497 | unsafe { ::core::mem::zeroed() } | |
26498 | } | |
26499 | } | |
26500 | #[repr(C)] | |
26501 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26502 | pub struct D3D11_TEX2DMS_SRV { | |
26503 | pub UnusedField_NothingToDefine: u32, | |
26504 | } | |
26505 | impl ::core::marker::Copy for D3D11_TEX2DMS_SRV {} | |
26506 | impl ::core::clone::Clone for D3D11_TEX2DMS_SRV { | |
26507 | fn clone(&self) -> Self { | |
26508 | *self | |
26509 | } | |
26510 | } | |
26511 | impl ::core::fmt::Debug for D3D11_TEX2DMS_SRV { | |
26512 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26513 | f.debug_struct("D3D11_TEX2DMS_SRV").field("UnusedField_NothingToDefine", &self.UnusedField_NothingToDefine).finish() | |
26514 | } | |
26515 | } | |
26516 | impl ::windows::core::TypeKind for D3D11_TEX2DMS_SRV { | |
26517 | type TypeKind = ::windows::core::CopyType; | |
26518 | } | |
26519 | impl ::core::cmp::PartialEq for D3D11_TEX2DMS_SRV { | |
26520 | fn eq(&self, other: &Self) -> bool { | |
26521 | self.UnusedField_NothingToDefine == other.UnusedField_NothingToDefine | |
26522 | } | |
26523 | } | |
26524 | impl ::core::cmp::Eq for D3D11_TEX2DMS_SRV {} | |
26525 | impl ::core::default::Default for D3D11_TEX2DMS_SRV { | |
26526 | fn default() -> Self { | |
26527 | unsafe { ::core::mem::zeroed() } | |
26528 | } | |
26529 | } | |
26530 | #[repr(C)] | |
26531 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26532 | pub struct D3D11_TEX2D_ARRAY_DSV { | |
26533 | pub MipSlice: u32, | |
26534 | pub FirstArraySlice: u32, | |
26535 | pub ArraySize: u32, | |
26536 | } | |
26537 | impl ::core::marker::Copy for D3D11_TEX2D_ARRAY_DSV {} | |
26538 | impl ::core::clone::Clone for D3D11_TEX2D_ARRAY_DSV { | |
26539 | fn clone(&self) -> Self { | |
26540 | *self | |
26541 | } | |
26542 | } | |
26543 | impl ::core::fmt::Debug for D3D11_TEX2D_ARRAY_DSV { | |
26544 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26545 | f.debug_struct("D3D11_TEX2D_ARRAY_DSV").field("MipSlice", &self.MipSlice).field("FirstArraySlice", &self.FirstArraySlice).field("ArraySize", &self.ArraySize).finish() | |
26546 | } | |
26547 | } | |
26548 | impl ::windows::core::TypeKind for D3D11_TEX2D_ARRAY_DSV { | |
26549 | type TypeKind = ::windows::core::CopyType; | |
26550 | } | |
26551 | impl ::core::cmp::PartialEq for D3D11_TEX2D_ARRAY_DSV { | |
26552 | fn eq(&self, other: &Self) -> bool { | |
26553 | self.MipSlice == other.MipSlice && self.FirstArraySlice == other.FirstArraySlice && self.ArraySize == other.ArraySize | |
26554 | } | |
26555 | } | |
26556 | impl ::core::cmp::Eq for D3D11_TEX2D_ARRAY_DSV {} | |
26557 | impl ::core::default::Default for D3D11_TEX2D_ARRAY_DSV { | |
26558 | fn default() -> Self { | |
26559 | unsafe { ::core::mem::zeroed() } | |
26560 | } | |
26561 | } | |
26562 | #[repr(C)] | |
26563 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26564 | pub struct D3D11_TEX2D_ARRAY_RTV { | |
26565 | pub MipSlice: u32, | |
26566 | pub FirstArraySlice: u32, | |
26567 | pub ArraySize: u32, | |
26568 | } | |
26569 | impl ::core::marker::Copy for D3D11_TEX2D_ARRAY_RTV {} | |
26570 | impl ::core::clone::Clone for D3D11_TEX2D_ARRAY_RTV { | |
26571 | fn clone(&self) -> Self { | |
26572 | *self | |
26573 | } | |
26574 | } | |
26575 | impl ::core::fmt::Debug for D3D11_TEX2D_ARRAY_RTV { | |
26576 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26577 | f.debug_struct("D3D11_TEX2D_ARRAY_RTV").field("MipSlice", &self.MipSlice).field("FirstArraySlice", &self.FirstArraySlice).field("ArraySize", &self.ArraySize).finish() | |
26578 | } | |
26579 | } | |
26580 | impl ::windows::core::TypeKind for D3D11_TEX2D_ARRAY_RTV { | |
26581 | type TypeKind = ::windows::core::CopyType; | |
26582 | } | |
26583 | impl ::core::cmp::PartialEq for D3D11_TEX2D_ARRAY_RTV { | |
26584 | fn eq(&self, other: &Self) -> bool { | |
26585 | self.MipSlice == other.MipSlice && self.FirstArraySlice == other.FirstArraySlice && self.ArraySize == other.ArraySize | |
26586 | } | |
26587 | } | |
26588 | impl ::core::cmp::Eq for D3D11_TEX2D_ARRAY_RTV {} | |
26589 | impl ::core::default::Default for D3D11_TEX2D_ARRAY_RTV { | |
26590 | fn default() -> Self { | |
26591 | unsafe { ::core::mem::zeroed() } | |
26592 | } | |
26593 | } | |
26594 | #[repr(C)] | |
26595 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26596 | pub struct D3D11_TEX2D_ARRAY_RTV1 { | |
26597 | pub MipSlice: u32, | |
26598 | pub FirstArraySlice: u32, | |
26599 | pub ArraySize: u32, | |
26600 | pub PlaneSlice: u32, | |
26601 | } | |
26602 | impl ::core::marker::Copy for D3D11_TEX2D_ARRAY_RTV1 {} | |
26603 | impl ::core::clone::Clone for D3D11_TEX2D_ARRAY_RTV1 { | |
26604 | fn clone(&self) -> Self { | |
26605 | *self | |
26606 | } | |
26607 | } | |
26608 | impl ::core::fmt::Debug for D3D11_TEX2D_ARRAY_RTV1 { | |
26609 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26610 | f.debug_struct("D3D11_TEX2D_ARRAY_RTV1").field("MipSlice", &self.MipSlice).field("FirstArraySlice", &self.FirstArraySlice).field("ArraySize", &self.ArraySize).field("PlaneSlice", &self.PlaneSlice).finish() | |
26611 | } | |
26612 | } | |
26613 | impl ::windows::core::TypeKind for D3D11_TEX2D_ARRAY_RTV1 { | |
26614 | type TypeKind = ::windows::core::CopyType; | |
26615 | } | |
26616 | impl ::core::cmp::PartialEq for D3D11_TEX2D_ARRAY_RTV1 { | |
26617 | fn eq(&self, other: &Self) -> bool { | |
26618 | self.MipSlice == other.MipSlice && self.FirstArraySlice == other.FirstArraySlice && self.ArraySize == other.ArraySize && self.PlaneSlice == other.PlaneSlice | |
26619 | } | |
26620 | } | |
26621 | impl ::core::cmp::Eq for D3D11_TEX2D_ARRAY_RTV1 {} | |
26622 | impl ::core::default::Default for D3D11_TEX2D_ARRAY_RTV1 { | |
26623 | fn default() -> Self { | |
26624 | unsafe { ::core::mem::zeroed() } | |
26625 | } | |
26626 | } | |
26627 | #[repr(C)] | |
26628 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26629 | pub struct D3D11_TEX2D_ARRAY_SRV { | |
26630 | pub MostDetailedMip: u32, | |
26631 | pub MipLevels: u32, | |
26632 | pub FirstArraySlice: u32, | |
26633 | pub ArraySize: u32, | |
26634 | } | |
26635 | impl ::core::marker::Copy for D3D11_TEX2D_ARRAY_SRV {} | |
26636 | impl ::core::clone::Clone for D3D11_TEX2D_ARRAY_SRV { | |
26637 | fn clone(&self) -> Self { | |
26638 | *self | |
26639 | } | |
26640 | } | |
26641 | impl ::core::fmt::Debug for D3D11_TEX2D_ARRAY_SRV { | |
26642 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26643 | f.debug_struct("D3D11_TEX2D_ARRAY_SRV").field("MostDetailedMip", &self.MostDetailedMip).field("MipLevels", &self.MipLevels).field("FirstArraySlice", &self.FirstArraySlice).field("ArraySize", &self.ArraySize).finish() | |
26644 | } | |
26645 | } | |
26646 | impl ::windows::core::TypeKind for D3D11_TEX2D_ARRAY_SRV { | |
26647 | type TypeKind = ::windows::core::CopyType; | |
26648 | } | |
26649 | impl ::core::cmp::PartialEq for D3D11_TEX2D_ARRAY_SRV { | |
26650 | fn eq(&self, other: &Self) -> bool { | |
26651 | self.MostDetailedMip == other.MostDetailedMip && self.MipLevels == other.MipLevels && self.FirstArraySlice == other.FirstArraySlice && self.ArraySize == other.ArraySize | |
26652 | } | |
26653 | } | |
26654 | impl ::core::cmp::Eq for D3D11_TEX2D_ARRAY_SRV {} | |
26655 | impl ::core::default::Default for D3D11_TEX2D_ARRAY_SRV { | |
26656 | fn default() -> Self { | |
26657 | unsafe { ::core::mem::zeroed() } | |
26658 | } | |
26659 | } | |
26660 | #[repr(C)] | |
26661 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26662 | pub struct D3D11_TEX2D_ARRAY_SRV1 { | |
26663 | pub MostDetailedMip: u32, | |
26664 | pub MipLevels: u32, | |
26665 | pub FirstArraySlice: u32, | |
26666 | pub ArraySize: u32, | |
26667 | pub PlaneSlice: u32, | |
26668 | } | |
26669 | impl ::core::marker::Copy for D3D11_TEX2D_ARRAY_SRV1 {} | |
26670 | impl ::core::clone::Clone for D3D11_TEX2D_ARRAY_SRV1 { | |
26671 | fn clone(&self) -> Self { | |
26672 | *self | |
26673 | } | |
26674 | } | |
26675 | impl ::core::fmt::Debug for D3D11_TEX2D_ARRAY_SRV1 { | |
26676 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26677 | f.debug_struct("D3D11_TEX2D_ARRAY_SRV1").field("MostDetailedMip", &self.MostDetailedMip).field("MipLevels", &self.MipLevels).field("FirstArraySlice", &self.FirstArraySlice).field("ArraySize", &self.ArraySize).field("PlaneSlice", &self.PlaneSlice).finish() | |
26678 | } | |
26679 | } | |
26680 | impl ::windows::core::TypeKind for D3D11_TEX2D_ARRAY_SRV1 { | |
26681 | type TypeKind = ::windows::core::CopyType; | |
26682 | } | |
26683 | impl ::core::cmp::PartialEq for D3D11_TEX2D_ARRAY_SRV1 { | |
26684 | fn eq(&self, other: &Self) -> bool { | |
26685 | self.MostDetailedMip == other.MostDetailedMip && self.MipLevels == other.MipLevels && self.FirstArraySlice == other.FirstArraySlice && self.ArraySize == other.ArraySize && self.PlaneSlice == other.PlaneSlice | |
26686 | } | |
26687 | } | |
26688 | impl ::core::cmp::Eq for D3D11_TEX2D_ARRAY_SRV1 {} | |
26689 | impl ::core::default::Default for D3D11_TEX2D_ARRAY_SRV1 { | |
26690 | fn default() -> Self { | |
26691 | unsafe { ::core::mem::zeroed() } | |
26692 | } | |
26693 | } | |
26694 | #[repr(C)] | |
26695 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26696 | pub struct D3D11_TEX2D_ARRAY_UAV { | |
26697 | pub MipSlice: u32, | |
26698 | pub FirstArraySlice: u32, | |
26699 | pub ArraySize: u32, | |
26700 | } | |
26701 | impl ::core::marker::Copy for D3D11_TEX2D_ARRAY_UAV {} | |
26702 | impl ::core::clone::Clone for D3D11_TEX2D_ARRAY_UAV { | |
26703 | fn clone(&self) -> Self { | |
26704 | *self | |
26705 | } | |
26706 | } | |
26707 | impl ::core::fmt::Debug for D3D11_TEX2D_ARRAY_UAV { | |
26708 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26709 | f.debug_struct("D3D11_TEX2D_ARRAY_UAV").field("MipSlice", &self.MipSlice).field("FirstArraySlice", &self.FirstArraySlice).field("ArraySize", &self.ArraySize).finish() | |
26710 | } | |
26711 | } | |
26712 | impl ::windows::core::TypeKind for D3D11_TEX2D_ARRAY_UAV { | |
26713 | type TypeKind = ::windows::core::CopyType; | |
26714 | } | |
26715 | impl ::core::cmp::PartialEq for D3D11_TEX2D_ARRAY_UAV { | |
26716 | fn eq(&self, other: &Self) -> bool { | |
26717 | self.MipSlice == other.MipSlice && self.FirstArraySlice == other.FirstArraySlice && self.ArraySize == other.ArraySize | |
26718 | } | |
26719 | } | |
26720 | impl ::core::cmp::Eq for D3D11_TEX2D_ARRAY_UAV {} | |
26721 | impl ::core::default::Default for D3D11_TEX2D_ARRAY_UAV { | |
26722 | fn default() -> Self { | |
26723 | unsafe { ::core::mem::zeroed() } | |
26724 | } | |
26725 | } | |
26726 | #[repr(C)] | |
26727 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26728 | pub struct D3D11_TEX2D_ARRAY_UAV1 { | |
26729 | pub MipSlice: u32, | |
26730 | pub FirstArraySlice: u32, | |
26731 | pub ArraySize: u32, | |
26732 | pub PlaneSlice: u32, | |
26733 | } | |
26734 | impl ::core::marker::Copy for D3D11_TEX2D_ARRAY_UAV1 {} | |
26735 | impl ::core::clone::Clone for D3D11_TEX2D_ARRAY_UAV1 { | |
26736 | fn clone(&self) -> Self { | |
26737 | *self | |
26738 | } | |
26739 | } | |
26740 | impl ::core::fmt::Debug for D3D11_TEX2D_ARRAY_UAV1 { | |
26741 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26742 | f.debug_struct("D3D11_TEX2D_ARRAY_UAV1").field("MipSlice", &self.MipSlice).field("FirstArraySlice", &self.FirstArraySlice).field("ArraySize", &self.ArraySize).field("PlaneSlice", &self.PlaneSlice).finish() | |
26743 | } | |
26744 | } | |
26745 | impl ::windows::core::TypeKind for D3D11_TEX2D_ARRAY_UAV1 { | |
26746 | type TypeKind = ::windows::core::CopyType; | |
26747 | } | |
26748 | impl ::core::cmp::PartialEq for D3D11_TEX2D_ARRAY_UAV1 { | |
26749 | fn eq(&self, other: &Self) -> bool { | |
26750 | self.MipSlice == other.MipSlice && self.FirstArraySlice == other.FirstArraySlice && self.ArraySize == other.ArraySize && self.PlaneSlice == other.PlaneSlice | |
26751 | } | |
26752 | } | |
26753 | impl ::core::cmp::Eq for D3D11_TEX2D_ARRAY_UAV1 {} | |
26754 | impl ::core::default::Default for D3D11_TEX2D_ARRAY_UAV1 { | |
26755 | fn default() -> Self { | |
26756 | unsafe { ::core::mem::zeroed() } | |
26757 | } | |
26758 | } | |
26759 | #[repr(C)] | |
26760 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26761 | pub struct D3D11_TEX2D_ARRAY_VPOV { | |
26762 | pub MipSlice: u32, | |
26763 | pub FirstArraySlice: u32, | |
26764 | pub ArraySize: u32, | |
26765 | } | |
26766 | impl ::core::marker::Copy for D3D11_TEX2D_ARRAY_VPOV {} | |
26767 | impl ::core::clone::Clone for D3D11_TEX2D_ARRAY_VPOV { | |
26768 | fn clone(&self) -> Self { | |
26769 | *self | |
26770 | } | |
26771 | } | |
26772 | impl ::core::fmt::Debug for D3D11_TEX2D_ARRAY_VPOV { | |
26773 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26774 | f.debug_struct("D3D11_TEX2D_ARRAY_VPOV").field("MipSlice", &self.MipSlice).field("FirstArraySlice", &self.FirstArraySlice).field("ArraySize", &self.ArraySize).finish() | |
26775 | } | |
26776 | } | |
26777 | impl ::windows::core::TypeKind for D3D11_TEX2D_ARRAY_VPOV { | |
26778 | type TypeKind = ::windows::core::CopyType; | |
26779 | } | |
26780 | impl ::core::cmp::PartialEq for D3D11_TEX2D_ARRAY_VPOV { | |
26781 | fn eq(&self, other: &Self) -> bool { | |
26782 | self.MipSlice == other.MipSlice && self.FirstArraySlice == other.FirstArraySlice && self.ArraySize == other.ArraySize | |
26783 | } | |
26784 | } | |
26785 | impl ::core::cmp::Eq for D3D11_TEX2D_ARRAY_VPOV {} | |
26786 | impl ::core::default::Default for D3D11_TEX2D_ARRAY_VPOV { | |
26787 | fn default() -> Self { | |
26788 | unsafe { ::core::mem::zeroed() } | |
26789 | } | |
26790 | } | |
26791 | #[repr(C)] | |
26792 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26793 | pub struct D3D11_TEX2D_DSV { | |
26794 | pub MipSlice: u32, | |
26795 | } | |
26796 | impl ::core::marker::Copy for D3D11_TEX2D_DSV {} | |
26797 | impl ::core::clone::Clone for D3D11_TEX2D_DSV { | |
26798 | fn clone(&self) -> Self { | |
26799 | *self | |
26800 | } | |
26801 | } | |
26802 | impl ::core::fmt::Debug for D3D11_TEX2D_DSV { | |
26803 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26804 | f.debug_struct("D3D11_TEX2D_DSV").field("MipSlice", &self.MipSlice).finish() | |
26805 | } | |
26806 | } | |
26807 | impl ::windows::core::TypeKind for D3D11_TEX2D_DSV { | |
26808 | type TypeKind = ::windows::core::CopyType; | |
26809 | } | |
26810 | impl ::core::cmp::PartialEq for D3D11_TEX2D_DSV { | |
26811 | fn eq(&self, other: &Self) -> bool { | |
26812 | self.MipSlice == other.MipSlice | |
26813 | } | |
26814 | } | |
26815 | impl ::core::cmp::Eq for D3D11_TEX2D_DSV {} | |
26816 | impl ::core::default::Default for D3D11_TEX2D_DSV { | |
26817 | fn default() -> Self { | |
26818 | unsafe { ::core::mem::zeroed() } | |
26819 | } | |
26820 | } | |
26821 | #[repr(C)] | |
26822 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26823 | pub struct D3D11_TEX2D_RTV { | |
26824 | pub MipSlice: u32, | |
26825 | } | |
26826 | impl ::core::marker::Copy for D3D11_TEX2D_RTV {} | |
26827 | impl ::core::clone::Clone for D3D11_TEX2D_RTV { | |
26828 | fn clone(&self) -> Self { | |
26829 | *self | |
26830 | } | |
26831 | } | |
26832 | impl ::core::fmt::Debug for D3D11_TEX2D_RTV { | |
26833 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26834 | f.debug_struct("D3D11_TEX2D_RTV").field("MipSlice", &self.MipSlice).finish() | |
26835 | } | |
26836 | } | |
26837 | impl ::windows::core::TypeKind for D3D11_TEX2D_RTV { | |
26838 | type TypeKind = ::windows::core::CopyType; | |
26839 | } | |
26840 | impl ::core::cmp::PartialEq for D3D11_TEX2D_RTV { | |
26841 | fn eq(&self, other: &Self) -> bool { | |
26842 | self.MipSlice == other.MipSlice | |
26843 | } | |
26844 | } | |
26845 | impl ::core::cmp::Eq for D3D11_TEX2D_RTV {} | |
26846 | impl ::core::default::Default for D3D11_TEX2D_RTV { | |
26847 | fn default() -> Self { | |
26848 | unsafe { ::core::mem::zeroed() } | |
26849 | } | |
26850 | } | |
26851 | #[repr(C)] | |
26852 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26853 | pub struct D3D11_TEX2D_RTV1 { | |
26854 | pub MipSlice: u32, | |
26855 | pub PlaneSlice: u32, | |
26856 | } | |
26857 | impl ::core::marker::Copy for D3D11_TEX2D_RTV1 {} | |
26858 | impl ::core::clone::Clone for D3D11_TEX2D_RTV1 { | |
26859 | fn clone(&self) -> Self { | |
26860 | *self | |
26861 | } | |
26862 | } | |
26863 | impl ::core::fmt::Debug for D3D11_TEX2D_RTV1 { | |
26864 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26865 | f.debug_struct("D3D11_TEX2D_RTV1").field("MipSlice", &self.MipSlice).field("PlaneSlice", &self.PlaneSlice).finish() | |
26866 | } | |
26867 | } | |
26868 | impl ::windows::core::TypeKind for D3D11_TEX2D_RTV1 { | |
26869 | type TypeKind = ::windows::core::CopyType; | |
26870 | } | |
26871 | impl ::core::cmp::PartialEq for D3D11_TEX2D_RTV1 { | |
26872 | fn eq(&self, other: &Self) -> bool { | |
26873 | self.MipSlice == other.MipSlice && self.PlaneSlice == other.PlaneSlice | |
26874 | } | |
26875 | } | |
26876 | impl ::core::cmp::Eq for D3D11_TEX2D_RTV1 {} | |
26877 | impl ::core::default::Default for D3D11_TEX2D_RTV1 { | |
26878 | fn default() -> Self { | |
26879 | unsafe { ::core::mem::zeroed() } | |
26880 | } | |
26881 | } | |
26882 | #[repr(C)] | |
26883 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26884 | pub struct D3D11_TEX2D_SRV { | |
26885 | pub MostDetailedMip: u32, | |
26886 | pub MipLevels: u32, | |
26887 | } | |
26888 | impl ::core::marker::Copy for D3D11_TEX2D_SRV {} | |
26889 | impl ::core::clone::Clone for D3D11_TEX2D_SRV { | |
26890 | fn clone(&self) -> Self { | |
26891 | *self | |
26892 | } | |
26893 | } | |
26894 | impl ::core::fmt::Debug for D3D11_TEX2D_SRV { | |
26895 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26896 | f.debug_struct("D3D11_TEX2D_SRV").field("MostDetailedMip", &self.MostDetailedMip).field("MipLevels", &self.MipLevels).finish() | |
26897 | } | |
26898 | } | |
26899 | impl ::windows::core::TypeKind for D3D11_TEX2D_SRV { | |
26900 | type TypeKind = ::windows::core::CopyType; | |
26901 | } | |
26902 | impl ::core::cmp::PartialEq for D3D11_TEX2D_SRV { | |
26903 | fn eq(&self, other: &Self) -> bool { | |
26904 | self.MostDetailedMip == other.MostDetailedMip && self.MipLevels == other.MipLevels | |
26905 | } | |
26906 | } | |
26907 | impl ::core::cmp::Eq for D3D11_TEX2D_SRV {} | |
26908 | impl ::core::default::Default for D3D11_TEX2D_SRV { | |
26909 | fn default() -> Self { | |
26910 | unsafe { ::core::mem::zeroed() } | |
26911 | } | |
26912 | } | |
26913 | #[repr(C)] | |
26914 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26915 | pub struct D3D11_TEX2D_SRV1 { | |
26916 | pub MostDetailedMip: u32, | |
26917 | pub MipLevels: u32, | |
26918 | pub PlaneSlice: u32, | |
26919 | } | |
26920 | impl ::core::marker::Copy for D3D11_TEX2D_SRV1 {} | |
26921 | impl ::core::clone::Clone for D3D11_TEX2D_SRV1 { | |
26922 | fn clone(&self) -> Self { | |
26923 | *self | |
26924 | } | |
26925 | } | |
26926 | impl ::core::fmt::Debug for D3D11_TEX2D_SRV1 { | |
26927 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26928 | f.debug_struct("D3D11_TEX2D_SRV1").field("MostDetailedMip", &self.MostDetailedMip).field("MipLevels", &self.MipLevels).field("PlaneSlice", &self.PlaneSlice).finish() | |
26929 | } | |
26930 | } | |
26931 | impl ::windows::core::TypeKind for D3D11_TEX2D_SRV1 { | |
26932 | type TypeKind = ::windows::core::CopyType; | |
26933 | } | |
26934 | impl ::core::cmp::PartialEq for D3D11_TEX2D_SRV1 { | |
26935 | fn eq(&self, other: &Self) -> bool { | |
26936 | self.MostDetailedMip == other.MostDetailedMip && self.MipLevels == other.MipLevels && self.PlaneSlice == other.PlaneSlice | |
26937 | } | |
26938 | } | |
26939 | impl ::core::cmp::Eq for D3D11_TEX2D_SRV1 {} | |
26940 | impl ::core::default::Default for D3D11_TEX2D_SRV1 { | |
26941 | fn default() -> Self { | |
26942 | unsafe { ::core::mem::zeroed() } | |
26943 | } | |
26944 | } | |
26945 | #[repr(C)] | |
26946 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26947 | pub struct D3D11_TEX2D_UAV { | |
26948 | pub MipSlice: u32, | |
26949 | } | |
26950 | impl ::core::marker::Copy for D3D11_TEX2D_UAV {} | |
26951 | impl ::core::clone::Clone for D3D11_TEX2D_UAV { | |
26952 | fn clone(&self) -> Self { | |
26953 | *self | |
26954 | } | |
26955 | } | |
26956 | impl ::core::fmt::Debug for D3D11_TEX2D_UAV { | |
26957 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26958 | f.debug_struct("D3D11_TEX2D_UAV").field("MipSlice", &self.MipSlice).finish() | |
26959 | } | |
26960 | } | |
26961 | impl ::windows::core::TypeKind for D3D11_TEX2D_UAV { | |
26962 | type TypeKind = ::windows::core::CopyType; | |
26963 | } | |
26964 | impl ::core::cmp::PartialEq for D3D11_TEX2D_UAV { | |
26965 | fn eq(&self, other: &Self) -> bool { | |
26966 | self.MipSlice == other.MipSlice | |
26967 | } | |
26968 | } | |
26969 | impl ::core::cmp::Eq for D3D11_TEX2D_UAV {} | |
26970 | impl ::core::default::Default for D3D11_TEX2D_UAV { | |
26971 | fn default() -> Self { | |
26972 | unsafe { ::core::mem::zeroed() } | |
26973 | } | |
26974 | } | |
26975 | #[repr(C)] | |
26976 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
26977 | pub struct D3D11_TEX2D_UAV1 { | |
26978 | pub MipSlice: u32, | |
26979 | pub PlaneSlice: u32, | |
26980 | } | |
26981 | impl ::core::marker::Copy for D3D11_TEX2D_UAV1 {} | |
26982 | impl ::core::clone::Clone for D3D11_TEX2D_UAV1 { | |
26983 | fn clone(&self) -> Self { | |
26984 | *self | |
26985 | } | |
26986 | } | |
26987 | impl ::core::fmt::Debug for D3D11_TEX2D_UAV1 { | |
26988 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
26989 | f.debug_struct("D3D11_TEX2D_UAV1").field("MipSlice", &self.MipSlice).field("PlaneSlice", &self.PlaneSlice).finish() | |
26990 | } | |
26991 | } | |
26992 | impl ::windows::core::TypeKind for D3D11_TEX2D_UAV1 { | |
26993 | type TypeKind = ::windows::core::CopyType; | |
26994 | } | |
26995 | impl ::core::cmp::PartialEq for D3D11_TEX2D_UAV1 { | |
26996 | fn eq(&self, other: &Self) -> bool { | |
26997 | self.MipSlice == other.MipSlice && self.PlaneSlice == other.PlaneSlice | |
26998 | } | |
26999 | } | |
27000 | impl ::core::cmp::Eq for D3D11_TEX2D_UAV1 {} | |
27001 | impl ::core::default::Default for D3D11_TEX2D_UAV1 { | |
27002 | fn default() -> Self { | |
27003 | unsafe { ::core::mem::zeroed() } | |
27004 | } | |
27005 | } | |
27006 | #[repr(C)] | |
27007 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
27008 | pub struct D3D11_TEX2D_VDOV { | |
27009 | pub ArraySlice: u32, | |
27010 | } | |
27011 | impl ::core::marker::Copy for D3D11_TEX2D_VDOV {} | |
27012 | impl ::core::clone::Clone for D3D11_TEX2D_VDOV { | |
27013 | fn clone(&self) -> Self { | |
27014 | *self | |
27015 | } | |
27016 | } | |
27017 | impl ::core::fmt::Debug for D3D11_TEX2D_VDOV { | |
27018 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27019 | f.debug_struct("D3D11_TEX2D_VDOV").field("ArraySlice", &self.ArraySlice).finish() | |
27020 | } | |
27021 | } | |
27022 | impl ::windows::core::TypeKind for D3D11_TEX2D_VDOV { | |
27023 | type TypeKind = ::windows::core::CopyType; | |
27024 | } | |
27025 | impl ::core::cmp::PartialEq for D3D11_TEX2D_VDOV { | |
27026 | fn eq(&self, other: &Self) -> bool { | |
27027 | self.ArraySlice == other.ArraySlice | |
27028 | } | |
27029 | } | |
27030 | impl ::core::cmp::Eq for D3D11_TEX2D_VDOV {} | |
27031 | impl ::core::default::Default for D3D11_TEX2D_VDOV { | |
27032 | fn default() -> Self { | |
27033 | unsafe { ::core::mem::zeroed() } | |
27034 | } | |
27035 | } | |
27036 | #[repr(C)] | |
27037 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
27038 | pub struct D3D11_TEX2D_VPIV { | |
27039 | pub MipSlice: u32, | |
27040 | pub ArraySlice: u32, | |
27041 | } | |
27042 | impl ::core::marker::Copy for D3D11_TEX2D_VPIV {} | |
27043 | impl ::core::clone::Clone for D3D11_TEX2D_VPIV { | |
27044 | fn clone(&self) -> Self { | |
27045 | *self | |
27046 | } | |
27047 | } | |
27048 | impl ::core::fmt::Debug for D3D11_TEX2D_VPIV { | |
27049 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27050 | f.debug_struct("D3D11_TEX2D_VPIV").field("MipSlice", &self.MipSlice).field("ArraySlice", &self.ArraySlice).finish() | |
27051 | } | |
27052 | } | |
27053 | impl ::windows::core::TypeKind for D3D11_TEX2D_VPIV { | |
27054 | type TypeKind = ::windows::core::CopyType; | |
27055 | } | |
27056 | impl ::core::cmp::PartialEq for D3D11_TEX2D_VPIV { | |
27057 | fn eq(&self, other: &Self) -> bool { | |
27058 | self.MipSlice == other.MipSlice && self.ArraySlice == other.ArraySlice | |
27059 | } | |
27060 | } | |
27061 | impl ::core::cmp::Eq for D3D11_TEX2D_VPIV {} | |
27062 | impl ::core::default::Default for D3D11_TEX2D_VPIV { | |
27063 | fn default() -> Self { | |
27064 | unsafe { ::core::mem::zeroed() } | |
27065 | } | |
27066 | } | |
27067 | #[repr(C)] | |
27068 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
27069 | pub struct D3D11_TEX2D_VPOV { | |
27070 | pub MipSlice: u32, | |
27071 | } | |
27072 | impl ::core::marker::Copy for D3D11_TEX2D_VPOV {} | |
27073 | impl ::core::clone::Clone for D3D11_TEX2D_VPOV { | |
27074 | fn clone(&self) -> Self { | |
27075 | *self | |
27076 | } | |
27077 | } | |
27078 | impl ::core::fmt::Debug for D3D11_TEX2D_VPOV { | |
27079 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27080 | f.debug_struct("D3D11_TEX2D_VPOV").field("MipSlice", &self.MipSlice).finish() | |
27081 | } | |
27082 | } | |
27083 | impl ::windows::core::TypeKind for D3D11_TEX2D_VPOV { | |
27084 | type TypeKind = ::windows::core::CopyType; | |
27085 | } | |
27086 | impl ::core::cmp::PartialEq for D3D11_TEX2D_VPOV { | |
27087 | fn eq(&self, other: &Self) -> bool { | |
27088 | self.MipSlice == other.MipSlice | |
27089 | } | |
27090 | } | |
27091 | impl ::core::cmp::Eq for D3D11_TEX2D_VPOV {} | |
27092 | impl ::core::default::Default for D3D11_TEX2D_VPOV { | |
27093 | fn default() -> Self { | |
27094 | unsafe { ::core::mem::zeroed() } | |
27095 | } | |
27096 | } | |
27097 | #[repr(C)] | |
27098 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
27099 | pub struct D3D11_TEX3D_RTV { | |
27100 | pub MipSlice: u32, | |
27101 | pub FirstWSlice: u32, | |
27102 | pub WSize: u32, | |
27103 | } | |
27104 | impl ::core::marker::Copy for D3D11_TEX3D_RTV {} | |
27105 | impl ::core::clone::Clone for D3D11_TEX3D_RTV { | |
27106 | fn clone(&self) -> Self { | |
27107 | *self | |
27108 | } | |
27109 | } | |
27110 | impl ::core::fmt::Debug for D3D11_TEX3D_RTV { | |
27111 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27112 | f.debug_struct("D3D11_TEX3D_RTV").field("MipSlice", &self.MipSlice).field("FirstWSlice", &self.FirstWSlice).field("WSize", &self.WSize).finish() | |
27113 | } | |
27114 | } | |
27115 | impl ::windows::core::TypeKind for D3D11_TEX3D_RTV { | |
27116 | type TypeKind = ::windows::core::CopyType; | |
27117 | } | |
27118 | impl ::core::cmp::PartialEq for D3D11_TEX3D_RTV { | |
27119 | fn eq(&self, other: &Self) -> bool { | |
27120 | self.MipSlice == other.MipSlice && self.FirstWSlice == other.FirstWSlice && self.WSize == other.WSize | |
27121 | } | |
27122 | } | |
27123 | impl ::core::cmp::Eq for D3D11_TEX3D_RTV {} | |
27124 | impl ::core::default::Default for D3D11_TEX3D_RTV { | |
27125 | fn default() -> Self { | |
27126 | unsafe { ::core::mem::zeroed() } | |
27127 | } | |
27128 | } | |
27129 | #[repr(C)] | |
27130 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
27131 | pub struct D3D11_TEX3D_SRV { | |
27132 | pub MostDetailedMip: u32, | |
27133 | pub MipLevels: u32, | |
27134 | } | |
27135 | impl ::core::marker::Copy for D3D11_TEX3D_SRV {} | |
27136 | impl ::core::clone::Clone for D3D11_TEX3D_SRV { | |
27137 | fn clone(&self) -> Self { | |
27138 | *self | |
27139 | } | |
27140 | } | |
27141 | impl ::core::fmt::Debug for D3D11_TEX3D_SRV { | |
27142 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27143 | f.debug_struct("D3D11_TEX3D_SRV").field("MostDetailedMip", &self.MostDetailedMip).field("MipLevels", &self.MipLevels).finish() | |
27144 | } | |
27145 | } | |
27146 | impl ::windows::core::TypeKind for D3D11_TEX3D_SRV { | |
27147 | type TypeKind = ::windows::core::CopyType; | |
27148 | } | |
27149 | impl ::core::cmp::PartialEq for D3D11_TEX3D_SRV { | |
27150 | fn eq(&self, other: &Self) -> bool { | |
27151 | self.MostDetailedMip == other.MostDetailedMip && self.MipLevels == other.MipLevels | |
27152 | } | |
27153 | } | |
27154 | impl ::core::cmp::Eq for D3D11_TEX3D_SRV {} | |
27155 | impl ::core::default::Default for D3D11_TEX3D_SRV { | |
27156 | fn default() -> Self { | |
27157 | unsafe { ::core::mem::zeroed() } | |
27158 | } | |
27159 | } | |
27160 | #[repr(C)] | |
27161 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
27162 | pub struct D3D11_TEX3D_UAV { | |
27163 | pub MipSlice: u32, | |
27164 | pub FirstWSlice: u32, | |
27165 | pub WSize: u32, | |
27166 | } | |
27167 | impl ::core::marker::Copy for D3D11_TEX3D_UAV {} | |
27168 | impl ::core::clone::Clone for D3D11_TEX3D_UAV { | |
27169 | fn clone(&self) -> Self { | |
27170 | *self | |
27171 | } | |
27172 | } | |
27173 | impl ::core::fmt::Debug for D3D11_TEX3D_UAV { | |
27174 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27175 | f.debug_struct("D3D11_TEX3D_UAV").field("MipSlice", &self.MipSlice).field("FirstWSlice", &self.FirstWSlice).field("WSize", &self.WSize).finish() | |
27176 | } | |
27177 | } | |
27178 | impl ::windows::core::TypeKind for D3D11_TEX3D_UAV { | |
27179 | type TypeKind = ::windows::core::CopyType; | |
27180 | } | |
27181 | impl ::core::cmp::PartialEq for D3D11_TEX3D_UAV { | |
27182 | fn eq(&self, other: &Self) -> bool { | |
27183 | self.MipSlice == other.MipSlice && self.FirstWSlice == other.FirstWSlice && self.WSize == other.WSize | |
27184 | } | |
27185 | } | |
27186 | impl ::core::cmp::Eq for D3D11_TEX3D_UAV {} | |
27187 | impl ::core::default::Default for D3D11_TEX3D_UAV { | |
27188 | fn default() -> Self { | |
27189 | unsafe { ::core::mem::zeroed() } | |
27190 | } | |
27191 | } | |
27192 | #[repr(C)] | |
27193 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
27194 | pub struct D3D11_TEXCUBE_ARRAY_SRV { | |
27195 | pub MostDetailedMip: u32, | |
27196 | pub MipLevels: u32, | |
27197 | pub First2DArrayFace: u32, | |
27198 | pub NumCubes: u32, | |
27199 | } | |
27200 | impl ::core::marker::Copy for D3D11_TEXCUBE_ARRAY_SRV {} | |
27201 | impl ::core::clone::Clone for D3D11_TEXCUBE_ARRAY_SRV { | |
27202 | fn clone(&self) -> Self { | |
27203 | *self | |
27204 | } | |
27205 | } | |
27206 | impl ::core::fmt::Debug for D3D11_TEXCUBE_ARRAY_SRV { | |
27207 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27208 | f.debug_struct("D3D11_TEXCUBE_ARRAY_SRV").field("MostDetailedMip", &self.MostDetailedMip).field("MipLevels", &self.MipLevels).field("First2DArrayFace", &self.First2DArrayFace).field("NumCubes", &self.NumCubes).finish() | |
27209 | } | |
27210 | } | |
27211 | impl ::windows::core::TypeKind for D3D11_TEXCUBE_ARRAY_SRV { | |
27212 | type TypeKind = ::windows::core::CopyType; | |
27213 | } | |
27214 | impl ::core::cmp::PartialEq for D3D11_TEXCUBE_ARRAY_SRV { | |
27215 | fn eq(&self, other: &Self) -> bool { | |
27216 | self.MostDetailedMip == other.MostDetailedMip && self.MipLevels == other.MipLevels && self.First2DArrayFace == other.First2DArrayFace && self.NumCubes == other.NumCubes | |
27217 | } | |
27218 | } | |
27219 | impl ::core::cmp::Eq for D3D11_TEXCUBE_ARRAY_SRV {} | |
27220 | impl ::core::default::Default for D3D11_TEXCUBE_ARRAY_SRV { | |
27221 | fn default() -> Self { | |
27222 | unsafe { ::core::mem::zeroed() } | |
27223 | } | |
27224 | } | |
27225 | #[repr(C)] | |
27226 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
27227 | pub struct D3D11_TEXCUBE_SRV { | |
27228 | pub MostDetailedMip: u32, | |
27229 | pub MipLevels: u32, | |
27230 | } | |
27231 | impl ::core::marker::Copy for D3D11_TEXCUBE_SRV {} | |
27232 | impl ::core::clone::Clone for D3D11_TEXCUBE_SRV { | |
27233 | fn clone(&self) -> Self { | |
27234 | *self | |
27235 | } | |
27236 | } | |
27237 | impl ::core::fmt::Debug for D3D11_TEXCUBE_SRV { | |
27238 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27239 | f.debug_struct("D3D11_TEXCUBE_SRV").field("MostDetailedMip", &self.MostDetailedMip).field("MipLevels", &self.MipLevels).finish() | |
27240 | } | |
27241 | } | |
27242 | impl ::windows::core::TypeKind for D3D11_TEXCUBE_SRV { | |
27243 | type TypeKind = ::windows::core::CopyType; | |
27244 | } | |
27245 | impl ::core::cmp::PartialEq for D3D11_TEXCUBE_SRV { | |
27246 | fn eq(&self, other: &Self) -> bool { | |
27247 | self.MostDetailedMip == other.MostDetailedMip && self.MipLevels == other.MipLevels | |
27248 | } | |
27249 | } | |
27250 | impl ::core::cmp::Eq for D3D11_TEXCUBE_SRV {} | |
27251 | impl ::core::default::Default for D3D11_TEXCUBE_SRV { | |
27252 | fn default() -> Self { | |
27253 | unsafe { ::core::mem::zeroed() } | |
27254 | } | |
27255 | } | |
27256 | #[repr(C)] | |
27257 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
27258 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27259 | pub struct D3D11_TEXTURE1D_DESC { | |
27260 | pub Width: u32, | |
27261 | pub MipLevels: u32, | |
27262 | pub ArraySize: u32, | |
27263 | pub Format: super::Dxgi::Common::DXGI_FORMAT, | |
27264 | pub Usage: D3D11_USAGE, | |
27265 | pub BindFlags: D3D11_BIND_FLAG, | |
27266 | pub CPUAccessFlags: D3D11_CPU_ACCESS_FLAG, | |
27267 | pub MiscFlags: D3D11_RESOURCE_MISC_FLAG, | |
27268 | } | |
27269 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27270 | impl ::core::marker::Copy for D3D11_TEXTURE1D_DESC {} | |
27271 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27272 | impl ::core::clone::Clone for D3D11_TEXTURE1D_DESC { | |
27273 | fn clone(&self) -> Self { | |
27274 | *self | |
27275 | } | |
27276 | } | |
27277 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27278 | impl ::core::fmt::Debug for D3D11_TEXTURE1D_DESC { | |
27279 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27280 | f.debug_struct("D3D11_TEXTURE1D_DESC").field("Width", &self.Width).field("MipLevels", &self.MipLevels).field("ArraySize", &self.ArraySize).field("Format", &self.Format).field("Usage", &self.Usage).field("BindFlags", &self.BindFlags).field("CPUAccessFlags", &self.CPUAccessFlags).field("MiscFlags", &self.MiscFlags).finish() | |
27281 | } | |
27282 | } | |
27283 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27284 | impl ::windows::core::TypeKind for D3D11_TEXTURE1D_DESC { | |
27285 | type TypeKind = ::windows::core::CopyType; | |
27286 | } | |
27287 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27288 | impl ::core::cmp::PartialEq for D3D11_TEXTURE1D_DESC { | |
27289 | fn eq(&self, other: &Self) -> bool { | |
27290 | self.Width == other.Width && self.MipLevels == other.MipLevels && self.ArraySize == other.ArraySize && self.Format == other.Format && self.Usage == other.Usage && self.BindFlags == other.BindFlags && self.CPUAccessFlags == other.CPUAccessFlags && self.MiscFlags == other.MiscFlags | |
27291 | } | |
27292 | } | |
27293 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27294 | impl ::core::cmp::Eq for D3D11_TEXTURE1D_DESC {} | |
27295 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27296 | impl ::core::default::Default for D3D11_TEXTURE1D_DESC { | |
27297 | fn default() -> Self { | |
27298 | unsafe { ::core::mem::zeroed() } | |
27299 | } | |
27300 | } | |
27301 | #[repr(C)] | |
27302 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
27303 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27304 | pub struct D3D11_TEXTURE2D_DESC { | |
27305 | pub Width: u32, | |
27306 | pub Height: u32, | |
27307 | pub MipLevels: u32, | |
27308 | pub ArraySize: u32, | |
27309 | pub Format: super::Dxgi::Common::DXGI_FORMAT, | |
27310 | pub SampleDesc: super::Dxgi::Common::DXGI_SAMPLE_DESC, | |
27311 | pub Usage: D3D11_USAGE, | |
27312 | pub BindFlags: D3D11_BIND_FLAG, | |
27313 | pub CPUAccessFlags: D3D11_CPU_ACCESS_FLAG, | |
27314 | pub MiscFlags: D3D11_RESOURCE_MISC_FLAG, | |
27315 | } | |
27316 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27317 | impl ::core::marker::Copy for D3D11_TEXTURE2D_DESC {} | |
27318 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27319 | impl ::core::clone::Clone for D3D11_TEXTURE2D_DESC { | |
27320 | fn clone(&self) -> Self { | |
27321 | *self | |
27322 | } | |
27323 | } | |
27324 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27325 | impl ::core::fmt::Debug for D3D11_TEXTURE2D_DESC { | |
27326 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27327 | f.debug_struct("D3D11_TEXTURE2D_DESC").field("Width", &self.Width).field("Height", &self.Height).field("MipLevels", &self.MipLevels).field("ArraySize", &self.ArraySize).field("Format", &self.Format).field("SampleDesc", &self.SampleDesc).field("Usage", &self.Usage).field("BindFlags", &self.BindFlags).field("CPUAccessFlags", &self.CPUAccessFlags).field("MiscFlags", &self.MiscFlags).finish() | |
27328 | } | |
27329 | } | |
27330 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27331 | impl ::windows::core::TypeKind for D3D11_TEXTURE2D_DESC { | |
27332 | type TypeKind = ::windows::core::CopyType; | |
27333 | } | |
27334 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27335 | impl ::core::cmp::PartialEq for D3D11_TEXTURE2D_DESC { | |
27336 | fn eq(&self, other: &Self) -> bool { | |
27337 | self.Width == other.Width && self.Height == other.Height && self.MipLevels == other.MipLevels && self.ArraySize == other.ArraySize && self.Format == other.Format && self.SampleDesc == other.SampleDesc && self.Usage == other.Usage && self.BindFlags == other.BindFlags && self.CPUAccessFlags == other.CPUAccessFlags && self.MiscFlags == other.MiscFlags | |
27338 | } | |
27339 | } | |
27340 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27341 | impl ::core::cmp::Eq for D3D11_TEXTURE2D_DESC {} | |
27342 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27343 | impl ::core::default::Default for D3D11_TEXTURE2D_DESC { | |
27344 | fn default() -> Self { | |
27345 | unsafe { ::core::mem::zeroed() } | |
27346 | } | |
27347 | } | |
27348 | #[repr(C)] | |
27349 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
27350 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27351 | pub struct D3D11_TEXTURE2D_DESC1 { | |
27352 | pub Width: u32, | |
27353 | pub Height: u32, | |
27354 | pub MipLevels: u32, | |
27355 | pub ArraySize: u32, | |
27356 | pub Format: super::Dxgi::Common::DXGI_FORMAT, | |
27357 | pub SampleDesc: super::Dxgi::Common::DXGI_SAMPLE_DESC, | |
27358 | pub Usage: D3D11_USAGE, | |
27359 | pub BindFlags: D3D11_BIND_FLAG, | |
27360 | pub CPUAccessFlags: D3D11_CPU_ACCESS_FLAG, | |
27361 | pub MiscFlags: D3D11_RESOURCE_MISC_FLAG, | |
27362 | pub TextureLayout: D3D11_TEXTURE_LAYOUT, | |
27363 | } | |
27364 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27365 | impl ::core::marker::Copy for D3D11_TEXTURE2D_DESC1 {} | |
27366 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27367 | impl ::core::clone::Clone for D3D11_TEXTURE2D_DESC1 { | |
27368 | fn clone(&self) -> Self { | |
27369 | *self | |
27370 | } | |
27371 | } | |
27372 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27373 | impl ::core::fmt::Debug for D3D11_TEXTURE2D_DESC1 { | |
27374 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27375 | f.debug_struct("D3D11_TEXTURE2D_DESC1").field("Width", &self.Width).field("Height", &self.Height).field("MipLevels", &self.MipLevels).field("ArraySize", &self.ArraySize).field("Format", &self.Format).field("SampleDesc", &self.SampleDesc).field("Usage", &self.Usage).field("BindFlags", &self.BindFlags).field("CPUAccessFlags", &self.CPUAccessFlags).field("MiscFlags", &self.MiscFlags).field("TextureLayout", &self.TextureLayout).finish() | |
27376 | } | |
27377 | } | |
27378 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27379 | impl ::windows::core::TypeKind for D3D11_TEXTURE2D_DESC1 { | |
27380 | type TypeKind = ::windows::core::CopyType; | |
27381 | } | |
27382 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27383 | impl ::core::cmp::PartialEq for D3D11_TEXTURE2D_DESC1 { | |
27384 | fn eq(&self, other: &Self) -> bool { | |
27385 | self.Width == other.Width && self.Height == other.Height && self.MipLevels == other.MipLevels && self.ArraySize == other.ArraySize && self.Format == other.Format && self.SampleDesc == other.SampleDesc && self.Usage == other.Usage && self.BindFlags == other.BindFlags && self.CPUAccessFlags == other.CPUAccessFlags && self.MiscFlags == other.MiscFlags && self.TextureLayout == other.TextureLayout | |
27386 | } | |
27387 | } | |
27388 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27389 | impl ::core::cmp::Eq for D3D11_TEXTURE2D_DESC1 {} | |
27390 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27391 | impl ::core::default::Default for D3D11_TEXTURE2D_DESC1 { | |
27392 | fn default() -> Self { | |
27393 | unsafe { ::core::mem::zeroed() } | |
27394 | } | |
27395 | } | |
27396 | #[repr(C)] | |
27397 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
27398 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27399 | pub struct D3D11_TEXTURE3D_DESC { | |
27400 | pub Width: u32, | |
27401 | pub Height: u32, | |
27402 | pub Depth: u32, | |
27403 | pub MipLevels: u32, | |
27404 | pub Format: super::Dxgi::Common::DXGI_FORMAT, | |
27405 | pub Usage: D3D11_USAGE, | |
27406 | pub BindFlags: D3D11_BIND_FLAG, | |
27407 | pub CPUAccessFlags: D3D11_CPU_ACCESS_FLAG, | |
27408 | pub MiscFlags: D3D11_RESOURCE_MISC_FLAG, | |
27409 | } | |
27410 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27411 | impl ::core::marker::Copy for D3D11_TEXTURE3D_DESC {} | |
27412 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27413 | impl ::core::clone::Clone for D3D11_TEXTURE3D_DESC { | |
27414 | fn clone(&self) -> Self { | |
27415 | *self | |
27416 | } | |
27417 | } | |
27418 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27419 | impl ::core::fmt::Debug for D3D11_TEXTURE3D_DESC { | |
27420 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27421 | f.debug_struct("D3D11_TEXTURE3D_DESC").field("Width", &self.Width).field("Height", &self.Height).field("Depth", &self.Depth).field("MipLevels", &self.MipLevels).field("Format", &self.Format).field("Usage", &self.Usage).field("BindFlags", &self.BindFlags).field("CPUAccessFlags", &self.CPUAccessFlags).field("MiscFlags", &self.MiscFlags).finish() | |
27422 | } | |
27423 | } | |
27424 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27425 | impl ::windows::core::TypeKind for D3D11_TEXTURE3D_DESC { | |
27426 | type TypeKind = ::windows::core::CopyType; | |
27427 | } | |
27428 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27429 | impl ::core::cmp::PartialEq for D3D11_TEXTURE3D_DESC { | |
27430 | fn eq(&self, other: &Self) -> bool { | |
27431 | self.Width == other.Width && self.Height == other.Height && self.Depth == other.Depth && self.MipLevels == other.MipLevels && self.Format == other.Format && self.Usage == other.Usage && self.BindFlags == other.BindFlags && self.CPUAccessFlags == other.CPUAccessFlags && self.MiscFlags == other.MiscFlags | |
27432 | } | |
27433 | } | |
27434 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27435 | impl ::core::cmp::Eq for D3D11_TEXTURE3D_DESC {} | |
27436 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27437 | impl ::core::default::Default for D3D11_TEXTURE3D_DESC { | |
27438 | fn default() -> Self { | |
27439 | unsafe { ::core::mem::zeroed() } | |
27440 | } | |
27441 | } | |
27442 | #[repr(C)] | |
27443 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
27444 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27445 | pub struct D3D11_TEXTURE3D_DESC1 { | |
27446 | pub Width: u32, | |
27447 | pub Height: u32, | |
27448 | pub Depth: u32, | |
27449 | pub MipLevels: u32, | |
27450 | pub Format: super::Dxgi::Common::DXGI_FORMAT, | |
27451 | pub Usage: D3D11_USAGE, | |
27452 | pub BindFlags: D3D11_BIND_FLAG, | |
27453 | pub CPUAccessFlags: D3D11_CPU_ACCESS_FLAG, | |
27454 | pub MiscFlags: D3D11_RESOURCE_MISC_FLAG, | |
27455 | pub TextureLayout: D3D11_TEXTURE_LAYOUT, | |
27456 | } | |
27457 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27458 | impl ::core::marker::Copy for D3D11_TEXTURE3D_DESC1 {} | |
27459 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27460 | impl ::core::clone::Clone for D3D11_TEXTURE3D_DESC1 { | |
27461 | fn clone(&self) -> Self { | |
27462 | *self | |
27463 | } | |
27464 | } | |
27465 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27466 | impl ::core::fmt::Debug for D3D11_TEXTURE3D_DESC1 { | |
27467 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27468 | f.debug_struct("D3D11_TEXTURE3D_DESC1").field("Width", &self.Width).field("Height", &self.Height).field("Depth", &self.Depth).field("MipLevels", &self.MipLevels).field("Format", &self.Format).field("Usage", &self.Usage).field("BindFlags", &self.BindFlags).field("CPUAccessFlags", &self.CPUAccessFlags).field("MiscFlags", &self.MiscFlags).field("TextureLayout", &self.TextureLayout).finish() | |
27469 | } | |
27470 | } | |
27471 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27472 | impl ::windows::core::TypeKind for D3D11_TEXTURE3D_DESC1 { | |
27473 | type TypeKind = ::windows::core::CopyType; | |
27474 | } | |
27475 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27476 | impl ::core::cmp::PartialEq for D3D11_TEXTURE3D_DESC1 { | |
27477 | fn eq(&self, other: &Self) -> bool { | |
27478 | self.Width == other.Width && self.Height == other.Height && self.Depth == other.Depth && self.MipLevels == other.MipLevels && self.Format == other.Format && self.Usage == other.Usage && self.BindFlags == other.BindFlags && self.CPUAccessFlags == other.CPUAccessFlags && self.MiscFlags == other.MiscFlags && self.TextureLayout == other.TextureLayout | |
27479 | } | |
27480 | } | |
27481 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27482 | impl ::core::cmp::Eq for D3D11_TEXTURE3D_DESC1 {} | |
27483 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27484 | impl ::core::default::Default for D3D11_TEXTURE3D_DESC1 { | |
27485 | fn default() -> Self { | |
27486 | unsafe { ::core::mem::zeroed() } | |
27487 | } | |
27488 | } | |
27489 | #[repr(C)] | |
27490 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
27491 | pub struct D3D11_TILED_RESOURCE_COORDINATE { | |
27492 | pub X: u32, | |
27493 | pub Y: u32, | |
27494 | pub Z: u32, | |
27495 | pub Subresource: u32, | |
27496 | } | |
27497 | impl ::core::marker::Copy for D3D11_TILED_RESOURCE_COORDINATE {} | |
27498 | impl ::core::clone::Clone for D3D11_TILED_RESOURCE_COORDINATE { | |
27499 | fn clone(&self) -> Self { | |
27500 | *self | |
27501 | } | |
27502 | } | |
27503 | impl ::core::fmt::Debug for D3D11_TILED_RESOURCE_COORDINATE { | |
27504 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27505 | f.debug_struct("D3D11_TILED_RESOURCE_COORDINATE").field("X", &self.X).field("Y", &self.Y).field("Z", &self.Z).field("Subresource", &self.Subresource).finish() | |
27506 | } | |
27507 | } | |
27508 | impl ::windows::core::TypeKind for D3D11_TILED_RESOURCE_COORDINATE { | |
27509 | type TypeKind = ::windows::core::CopyType; | |
27510 | } | |
27511 | impl ::core::cmp::PartialEq for D3D11_TILED_RESOURCE_COORDINATE { | |
27512 | fn eq(&self, other: &Self) -> bool { | |
27513 | self.X == other.X && self.Y == other.Y && self.Z == other.Z && self.Subresource == other.Subresource | |
27514 | } | |
27515 | } | |
27516 | impl ::core::cmp::Eq for D3D11_TILED_RESOURCE_COORDINATE {} | |
27517 | impl ::core::default::Default for D3D11_TILED_RESOURCE_COORDINATE { | |
27518 | fn default() -> Self { | |
27519 | unsafe { ::core::mem::zeroed() } | |
27520 | } | |
27521 | } | |
27522 | #[repr(C)] | |
27523 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
27524 | #[cfg(feature = "Win32_Foundation")] | |
27525 | pub struct D3D11_TILE_REGION_SIZE { | |
27526 | pub NumTiles: u32, | |
27527 | pub bUseBox: super::super::Foundation::BOOL, | |
27528 | pub Width: u32, | |
27529 | pub Height: u16, | |
27530 | pub Depth: u16, | |
27531 | } | |
27532 | #[cfg(feature = "Win32_Foundation")] | |
27533 | impl ::core::marker::Copy for D3D11_TILE_REGION_SIZE {} | |
27534 | #[cfg(feature = "Win32_Foundation")] | |
27535 | impl ::core::clone::Clone for D3D11_TILE_REGION_SIZE { | |
27536 | fn clone(&self) -> Self { | |
27537 | *self | |
27538 | } | |
27539 | } | |
27540 | #[cfg(feature = "Win32_Foundation")] | |
27541 | impl ::core::fmt::Debug for D3D11_TILE_REGION_SIZE { | |
27542 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27543 | f.debug_struct("D3D11_TILE_REGION_SIZE").field("NumTiles", &self.NumTiles).field("bUseBox", &self.bUseBox).field("Width", &self.Width).field("Height", &self.Height).field("Depth", &self.Depth).finish() | |
27544 | } | |
27545 | } | |
27546 | #[cfg(feature = "Win32_Foundation")] | |
27547 | impl ::windows::core::TypeKind for D3D11_TILE_REGION_SIZE { | |
27548 | type TypeKind = ::windows::core::CopyType; | |
27549 | } | |
27550 | #[cfg(feature = "Win32_Foundation")] | |
27551 | impl ::core::cmp::PartialEq for D3D11_TILE_REGION_SIZE { | |
27552 | fn eq(&self, other: &Self) -> bool { | |
27553 | self.NumTiles == other.NumTiles && self.bUseBox == other.bUseBox && self.Width == other.Width && self.Height == other.Height && self.Depth == other.Depth | |
27554 | } | |
27555 | } | |
27556 | #[cfg(feature = "Win32_Foundation")] | |
27557 | impl ::core::cmp::Eq for D3D11_TILE_REGION_SIZE {} | |
27558 | #[cfg(feature = "Win32_Foundation")] | |
27559 | impl ::core::default::Default for D3D11_TILE_REGION_SIZE { | |
27560 | fn default() -> Self { | |
27561 | unsafe { ::core::mem::zeroed() } | |
27562 | } | |
27563 | } | |
27564 | #[repr(C)] | |
27565 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
27566 | pub struct D3D11_TILE_SHAPE { | |
27567 | pub WidthInTexels: u32, | |
27568 | pub HeightInTexels: u32, | |
27569 | pub DepthInTexels: u32, | |
27570 | } | |
27571 | impl ::core::marker::Copy for D3D11_TILE_SHAPE {} | |
27572 | impl ::core::clone::Clone for D3D11_TILE_SHAPE { | |
27573 | fn clone(&self) -> Self { | |
27574 | *self | |
27575 | } | |
27576 | } | |
27577 | impl ::core::fmt::Debug for D3D11_TILE_SHAPE { | |
27578 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27579 | f.debug_struct("D3D11_TILE_SHAPE").field("WidthInTexels", &self.WidthInTexels).field("HeightInTexels", &self.HeightInTexels).field("DepthInTexels", &self.DepthInTexels).finish() | |
27580 | } | |
27581 | } | |
27582 | impl ::windows::core::TypeKind for D3D11_TILE_SHAPE { | |
27583 | type TypeKind = ::windows::core::CopyType; | |
27584 | } | |
27585 | impl ::core::cmp::PartialEq for D3D11_TILE_SHAPE { | |
27586 | fn eq(&self, other: &Self) -> bool { | |
27587 | self.WidthInTexels == other.WidthInTexels && self.HeightInTexels == other.HeightInTexels && self.DepthInTexels == other.DepthInTexels | |
27588 | } | |
27589 | } | |
27590 | impl ::core::cmp::Eq for D3D11_TILE_SHAPE {} | |
27591 | impl ::core::default::Default for D3D11_TILE_SHAPE { | |
27592 | fn default() -> Self { | |
27593 | unsafe { ::core::mem::zeroed() } | |
27594 | } | |
27595 | } | |
27596 | #[repr(C)] | |
27597 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
27598 | pub struct D3D11_TRACE_REGISTER { | |
27599 | pub RegType: D3D11_TRACE_REGISTER_TYPE, | |
27600 | pub Anonymous: D3D11_TRACE_REGISTER_0, | |
27601 | pub OperandIndex: u8, | |
27602 | pub Flags: u8, | |
27603 | } | |
27604 | impl ::core::marker::Copy for D3D11_TRACE_REGISTER {} | |
27605 | impl ::core::clone::Clone for D3D11_TRACE_REGISTER { | |
27606 | fn clone(&self) -> Self { | |
27607 | *self | |
27608 | } | |
27609 | } | |
27610 | impl ::windows::core::TypeKind for D3D11_TRACE_REGISTER { | |
27611 | type TypeKind = ::windows::core::CopyType; | |
27612 | } | |
27613 | impl ::core::default::Default for D3D11_TRACE_REGISTER { | |
27614 | fn default() -> Self { | |
27615 | unsafe { ::core::mem::zeroed() } | |
27616 | } | |
27617 | } | |
27618 | #[repr(C)] | |
27619 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
27620 | pub union D3D11_TRACE_REGISTER_0 { | |
27621 | pub Index1D: u16, | |
27622 | pub Index2D: [u16; 2], | |
27623 | } | |
27624 | impl ::core::marker::Copy for D3D11_TRACE_REGISTER_0 {} | |
27625 | impl ::core::clone::Clone for D3D11_TRACE_REGISTER_0 { | |
27626 | fn clone(&self) -> Self { | |
27627 | *self | |
27628 | } | |
27629 | } | |
27630 | impl ::windows::core::TypeKind for D3D11_TRACE_REGISTER_0 { | |
27631 | type TypeKind = ::windows::core::CopyType; | |
27632 | } | |
27633 | impl ::core::default::Default for D3D11_TRACE_REGISTER_0 { | |
27634 | fn default() -> Self { | |
27635 | unsafe { ::core::mem::zeroed() } | |
27636 | } | |
27637 | } | |
27638 | #[repr(C)] | |
27639 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
27640 | #[cfg(feature = "Win32_Foundation")] | |
27641 | pub struct D3D11_TRACE_STATS { | |
27642 | pub TraceDesc: D3D11_SHADER_TRACE_DESC, | |
27643 | pub NumInvocationsInStamp: u8, | |
27644 | pub TargetStampIndex: u8, | |
27645 | pub NumTraceSteps: u32, | |
27646 | pub InputMask: [u8; 32], | |
27647 | pub OutputMask: [u8; 32], | |
27648 | pub NumTemps: u16, | |
27649 | pub MaxIndexableTempIndex: u16, | |
27650 | pub IndexableTempSize: [u16; 4096], | |
27651 | pub ImmediateConstantBufferSize: u16, | |
27652 | pub PixelPosition: [u32; 8], | |
27653 | pub PixelCoverageMask: [u64; 4], | |
27654 | pub PixelDiscardedMask: [u64; 4], | |
27655 | pub PixelCoverageMaskAfterShader: [u64; 4], | |
27656 | pub PixelCoverageMaskAfterA2CSampleMask: [u64; 4], | |
27657 | pub PixelCoverageMaskAfterA2CSampleMaskDepth: [u64; 4], | |
27658 | pub PixelCoverageMaskAfterA2CSampleMaskDepthStencil: [u64; 4], | |
27659 | pub PSOutputsDepth: super::super::Foundation::BOOL, | |
27660 | pub PSOutputsMask: super::super::Foundation::BOOL, | |
27661 | pub GSInputPrimitive: D3D11_TRACE_GS_INPUT_PRIMITIVE, | |
27662 | pub GSInputsPrimitiveID: super::super::Foundation::BOOL, | |
27663 | pub HSOutputPatchConstantMask: [u8; 32], | |
27664 | pub DSInputPatchConstantMask: [u8; 32], | |
27665 | } | |
27666 | #[cfg(feature = "Win32_Foundation")] | |
27667 | impl ::core::marker::Copy for D3D11_TRACE_STATS {} | |
27668 | #[cfg(feature = "Win32_Foundation")] | |
27669 | impl ::core::clone::Clone for D3D11_TRACE_STATS { | |
27670 | fn clone(&self) -> Self { | |
27671 | *self | |
27672 | } | |
27673 | } | |
27674 | #[cfg(feature = "Win32_Foundation")] | |
27675 | impl ::windows::core::TypeKind for D3D11_TRACE_STATS { | |
27676 | type TypeKind = ::windows::core::CopyType; | |
27677 | } | |
27678 | #[cfg(feature = "Win32_Foundation")] | |
27679 | impl ::core::default::Default for D3D11_TRACE_STATS { | |
27680 | fn default() -> Self { | |
27681 | unsafe { ::core::mem::zeroed() } | |
27682 | } | |
27683 | } | |
27684 | #[repr(C)] | |
27685 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
27686 | #[cfg(feature = "Win32_Foundation")] | |
27687 | pub struct D3D11_TRACE_STEP { | |
27688 | pub ID: u32, | |
27689 | pub InstructionActive: super::super::Foundation::BOOL, | |
27690 | pub NumRegistersWritten: u8, | |
27691 | pub NumRegistersRead: u8, | |
27692 | pub MiscOperations: u16, | |
27693 | pub OpcodeType: u32, | |
27694 | pub CurrentGlobalCycle: u64, | |
27695 | } | |
27696 | #[cfg(feature = "Win32_Foundation")] | |
27697 | impl ::core::marker::Copy for D3D11_TRACE_STEP {} | |
27698 | #[cfg(feature = "Win32_Foundation")] | |
27699 | impl ::core::clone::Clone for D3D11_TRACE_STEP { | |
27700 | fn clone(&self) -> Self { | |
27701 | *self | |
27702 | } | |
27703 | } | |
27704 | #[cfg(feature = "Win32_Foundation")] | |
27705 | impl ::core::fmt::Debug for D3D11_TRACE_STEP { | |
27706 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27707 | f.debug_struct("D3D11_TRACE_STEP").field("ID", &self.ID).field("InstructionActive", &self.InstructionActive).field("NumRegistersWritten", &self.NumRegistersWritten).field("NumRegistersRead", &self.NumRegistersRead).field("MiscOperations", &self.MiscOperations).field("OpcodeType", &self.OpcodeType).field("CurrentGlobalCycle", &self.CurrentGlobalCycle).finish() | |
27708 | } | |
27709 | } | |
27710 | #[cfg(feature = "Win32_Foundation")] | |
27711 | impl ::windows::core::TypeKind for D3D11_TRACE_STEP { | |
27712 | type TypeKind = ::windows::core::CopyType; | |
27713 | } | |
27714 | #[cfg(feature = "Win32_Foundation")] | |
27715 | impl ::core::cmp::PartialEq for D3D11_TRACE_STEP { | |
27716 | fn eq(&self, other: &Self) -> bool { | |
27717 | self.ID == other.ID && self.InstructionActive == other.InstructionActive && self.NumRegistersWritten == other.NumRegistersWritten && self.NumRegistersRead == other.NumRegistersRead && self.MiscOperations == other.MiscOperations && self.OpcodeType == other.OpcodeType && self.CurrentGlobalCycle == other.CurrentGlobalCycle | |
27718 | } | |
27719 | } | |
27720 | #[cfg(feature = "Win32_Foundation")] | |
27721 | impl ::core::cmp::Eq for D3D11_TRACE_STEP {} | |
27722 | #[cfg(feature = "Win32_Foundation")] | |
27723 | impl ::core::default::Default for D3D11_TRACE_STEP { | |
27724 | fn default() -> Self { | |
27725 | unsafe { ::core::mem::zeroed() } | |
27726 | } | |
27727 | } | |
27728 | #[repr(C)] | |
27729 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
27730 | pub struct D3D11_TRACE_VALUE { | |
27731 | pub Bits: [u32; 4], | |
27732 | pub ValidMask: u8, | |
27733 | } | |
27734 | impl ::core::marker::Copy for D3D11_TRACE_VALUE {} | |
27735 | impl ::core::clone::Clone for D3D11_TRACE_VALUE { | |
27736 | fn clone(&self) -> Self { | |
27737 | *self | |
27738 | } | |
27739 | } | |
27740 | impl ::core::fmt::Debug for D3D11_TRACE_VALUE { | |
27741 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27742 | f.debug_struct("D3D11_TRACE_VALUE").field("Bits", &self.Bits).field("ValidMask", &self.ValidMask).finish() | |
27743 | } | |
27744 | } | |
27745 | impl ::windows::core::TypeKind for D3D11_TRACE_VALUE { | |
27746 | type TypeKind = ::windows::core::CopyType; | |
27747 | } | |
27748 | impl ::core::cmp::PartialEq for D3D11_TRACE_VALUE { | |
27749 | fn eq(&self, other: &Self) -> bool { | |
27750 | self.Bits == other.Bits && self.ValidMask == other.ValidMask | |
27751 | } | |
27752 | } | |
27753 | impl ::core::cmp::Eq for D3D11_TRACE_VALUE {} | |
27754 | impl ::core::default::Default for D3D11_TRACE_VALUE { | |
27755 | fn default() -> Self { | |
27756 | unsafe { ::core::mem::zeroed() } | |
27757 | } | |
27758 | } | |
27759 | #[repr(C)] | |
27760 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
27761 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27762 | pub struct D3D11_UNORDERED_ACCESS_VIEW_DESC { | |
27763 | pub Format: super::Dxgi::Common::DXGI_FORMAT, | |
27764 | pub ViewDimension: D3D11_UAV_DIMENSION, | |
27765 | pub Anonymous: D3D11_UNORDERED_ACCESS_VIEW_DESC_0, | |
27766 | } | |
27767 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27768 | impl ::core::marker::Copy for D3D11_UNORDERED_ACCESS_VIEW_DESC {} | |
27769 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27770 | impl ::core::clone::Clone for D3D11_UNORDERED_ACCESS_VIEW_DESC { | |
27771 | fn clone(&self) -> Self { | |
27772 | *self | |
27773 | } | |
27774 | } | |
27775 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27776 | impl ::windows::core::TypeKind for D3D11_UNORDERED_ACCESS_VIEW_DESC { | |
27777 | type TypeKind = ::windows::core::CopyType; | |
27778 | } | |
27779 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27780 | impl ::core::default::Default for D3D11_UNORDERED_ACCESS_VIEW_DESC { | |
27781 | fn default() -> Self { | |
27782 | unsafe { ::core::mem::zeroed() } | |
27783 | } | |
27784 | } | |
27785 | #[repr(C)] | |
27786 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
27787 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27788 | pub union D3D11_UNORDERED_ACCESS_VIEW_DESC_0 { | |
27789 | pub Buffer: D3D11_BUFFER_UAV, | |
27790 | pub Texture1D: D3D11_TEX1D_UAV, | |
27791 | pub Texture1DArray: D3D11_TEX1D_ARRAY_UAV, | |
27792 | pub Texture2D: D3D11_TEX2D_UAV, | |
27793 | pub Texture2DArray: D3D11_TEX2D_ARRAY_UAV, | |
27794 | pub Texture3D: D3D11_TEX3D_UAV, | |
27795 | } | |
27796 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27797 | impl ::core::marker::Copy for D3D11_UNORDERED_ACCESS_VIEW_DESC_0 {} | |
27798 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27799 | impl ::core::clone::Clone for D3D11_UNORDERED_ACCESS_VIEW_DESC_0 { | |
27800 | fn clone(&self) -> Self { | |
27801 | *self | |
27802 | } | |
27803 | } | |
27804 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27805 | impl ::windows::core::TypeKind for D3D11_UNORDERED_ACCESS_VIEW_DESC_0 { | |
27806 | type TypeKind = ::windows::core::CopyType; | |
27807 | } | |
27808 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27809 | impl ::core::default::Default for D3D11_UNORDERED_ACCESS_VIEW_DESC_0 { | |
27810 | fn default() -> Self { | |
27811 | unsafe { ::core::mem::zeroed() } | |
27812 | } | |
27813 | } | |
27814 | #[repr(C)] | |
27815 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
27816 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27817 | pub struct D3D11_UNORDERED_ACCESS_VIEW_DESC1 { | |
27818 | pub Format: super::Dxgi::Common::DXGI_FORMAT, | |
27819 | pub ViewDimension: D3D11_UAV_DIMENSION, | |
27820 | pub Anonymous: D3D11_UNORDERED_ACCESS_VIEW_DESC1_0, | |
27821 | } | |
27822 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27823 | impl ::core::marker::Copy for D3D11_UNORDERED_ACCESS_VIEW_DESC1 {} | |
27824 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27825 | impl ::core::clone::Clone for D3D11_UNORDERED_ACCESS_VIEW_DESC1 { | |
27826 | fn clone(&self) -> Self { | |
27827 | *self | |
27828 | } | |
27829 | } | |
27830 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27831 | impl ::windows::core::TypeKind for D3D11_UNORDERED_ACCESS_VIEW_DESC1 { | |
27832 | type TypeKind = ::windows::core::CopyType; | |
27833 | } | |
27834 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27835 | impl ::core::default::Default for D3D11_UNORDERED_ACCESS_VIEW_DESC1 { | |
27836 | fn default() -> Self { | |
27837 | unsafe { ::core::mem::zeroed() } | |
27838 | } | |
27839 | } | |
27840 | #[repr(C)] | |
27841 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
27842 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27843 | pub union D3D11_UNORDERED_ACCESS_VIEW_DESC1_0 { | |
27844 | pub Buffer: D3D11_BUFFER_UAV, | |
27845 | pub Texture1D: D3D11_TEX1D_UAV, | |
27846 | pub Texture1DArray: D3D11_TEX1D_ARRAY_UAV, | |
27847 | pub Texture2D: D3D11_TEX2D_UAV1, | |
27848 | pub Texture2DArray: D3D11_TEX2D_ARRAY_UAV1, | |
27849 | pub Texture3D: D3D11_TEX3D_UAV, | |
27850 | } | |
27851 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27852 | impl ::core::marker::Copy for D3D11_UNORDERED_ACCESS_VIEW_DESC1_0 {} | |
27853 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27854 | impl ::core::clone::Clone for D3D11_UNORDERED_ACCESS_VIEW_DESC1_0 { | |
27855 | fn clone(&self) -> Self { | |
27856 | *self | |
27857 | } | |
27858 | } | |
27859 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27860 | impl ::windows::core::TypeKind for D3D11_UNORDERED_ACCESS_VIEW_DESC1_0 { | |
27861 | type TypeKind = ::windows::core::CopyType; | |
27862 | } | |
27863 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
27864 | impl ::core::default::Default for D3D11_UNORDERED_ACCESS_VIEW_DESC1_0 { | |
27865 | fn default() -> Self { | |
27866 | unsafe { ::core::mem::zeroed() } | |
27867 | } | |
27868 | } | |
27869 | #[repr(C)] | |
27870 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
27871 | pub struct D3D11_VERTEX_SHADER_TRACE_DESC { | |
27872 | pub Invocation: u64, | |
27873 | } | |
27874 | impl ::core::marker::Copy for D3D11_VERTEX_SHADER_TRACE_DESC {} | |
27875 | impl ::core::clone::Clone for D3D11_VERTEX_SHADER_TRACE_DESC { | |
27876 | fn clone(&self) -> Self { | |
27877 | *self | |
27878 | } | |
27879 | } | |
27880 | impl ::core::fmt::Debug for D3D11_VERTEX_SHADER_TRACE_DESC { | |
27881 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27882 | f.debug_struct("D3D11_VERTEX_SHADER_TRACE_DESC").field("Invocation", &self.Invocation).finish() | |
27883 | } | |
27884 | } | |
27885 | impl ::windows::core::TypeKind for D3D11_VERTEX_SHADER_TRACE_DESC { | |
27886 | type TypeKind = ::windows::core::CopyType; | |
27887 | } | |
27888 | impl ::core::cmp::PartialEq for D3D11_VERTEX_SHADER_TRACE_DESC { | |
27889 | fn eq(&self, other: &Self) -> bool { | |
27890 | self.Invocation == other.Invocation | |
27891 | } | |
27892 | } | |
27893 | impl ::core::cmp::Eq for D3D11_VERTEX_SHADER_TRACE_DESC {} | |
27894 | impl ::core::default::Default for D3D11_VERTEX_SHADER_TRACE_DESC { | |
27895 | fn default() -> Self { | |
27896 | unsafe { ::core::mem::zeroed() } | |
27897 | } | |
27898 | } | |
27899 | #[repr(C)] | |
27900 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
27901 | pub struct D3D11_VIDEO_COLOR { | |
27902 | pub Anonymous: D3D11_VIDEO_COLOR_0, | |
27903 | } | |
27904 | impl ::core::marker::Copy for D3D11_VIDEO_COLOR {} | |
27905 | impl ::core::clone::Clone for D3D11_VIDEO_COLOR { | |
27906 | fn clone(&self) -> Self { | |
27907 | *self | |
27908 | } | |
27909 | } | |
27910 | impl ::windows::core::TypeKind for D3D11_VIDEO_COLOR { | |
27911 | type TypeKind = ::windows::core::CopyType; | |
27912 | } | |
27913 | impl ::core::default::Default for D3D11_VIDEO_COLOR { | |
27914 | fn default() -> Self { | |
27915 | unsafe { ::core::mem::zeroed() } | |
27916 | } | |
27917 | } | |
27918 | #[repr(C)] | |
27919 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
27920 | pub union D3D11_VIDEO_COLOR_0 { | |
27921 | pub YCbCr: D3D11_VIDEO_COLOR_YCbCrA, | |
27922 | pub RGBA: D3D11_VIDEO_COLOR_RGBA, | |
27923 | } | |
27924 | impl ::core::marker::Copy for D3D11_VIDEO_COLOR_0 {} | |
27925 | impl ::core::clone::Clone for D3D11_VIDEO_COLOR_0 { | |
27926 | fn clone(&self) -> Self { | |
27927 | *self | |
27928 | } | |
27929 | } | |
27930 | impl ::windows::core::TypeKind for D3D11_VIDEO_COLOR_0 { | |
27931 | type TypeKind = ::windows::core::CopyType; | |
27932 | } | |
27933 | impl ::core::default::Default for D3D11_VIDEO_COLOR_0 { | |
27934 | fn default() -> Self { | |
27935 | unsafe { ::core::mem::zeroed() } | |
27936 | } | |
27937 | } | |
27938 | #[repr(C)] | |
27939 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
27940 | pub struct D3D11_VIDEO_COLOR_RGBA { | |
27941 | pub R: f32, | |
27942 | pub G: f32, | |
27943 | pub B: f32, | |
27944 | pub A: f32, | |
27945 | } | |
27946 | impl ::core::marker::Copy for D3D11_VIDEO_COLOR_RGBA {} | |
27947 | impl ::core::clone::Clone for D3D11_VIDEO_COLOR_RGBA { | |
27948 | fn clone(&self) -> Self { | |
27949 | *self | |
27950 | } | |
27951 | } | |
27952 | impl ::core::fmt::Debug for D3D11_VIDEO_COLOR_RGBA { | |
27953 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27954 | f.debug_struct("D3D11_VIDEO_COLOR_RGBA").field("R", &self.R).field("G", &self.G).field("B", &self.B).field("A", &self.A).finish() | |
27955 | } | |
27956 | } | |
27957 | impl ::windows::core::TypeKind for D3D11_VIDEO_COLOR_RGBA { | |
27958 | type TypeKind = ::windows::core::CopyType; | |
27959 | } | |
27960 | impl ::core::cmp::PartialEq for D3D11_VIDEO_COLOR_RGBA { | |
27961 | fn eq(&self, other: &Self) -> bool { | |
27962 | self.R == other.R && self.G == other.G && self.B == other.B && self.A == other.A | |
27963 | } | |
27964 | } | |
27965 | impl ::core::cmp::Eq for D3D11_VIDEO_COLOR_RGBA {} | |
27966 | impl ::core::default::Default for D3D11_VIDEO_COLOR_RGBA { | |
27967 | fn default() -> Self { | |
27968 | unsafe { ::core::mem::zeroed() } | |
27969 | } | |
27970 | } | |
27971 | #[repr(C)] | |
27972 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
27973 | pub struct D3D11_VIDEO_COLOR_YCbCrA { | |
27974 | pub Y: f32, | |
27975 | pub Cb: f32, | |
27976 | pub Cr: f32, | |
27977 | pub A: f32, | |
27978 | } | |
27979 | impl ::core::marker::Copy for D3D11_VIDEO_COLOR_YCbCrA {} | |
27980 | impl ::core::clone::Clone for D3D11_VIDEO_COLOR_YCbCrA { | |
27981 | fn clone(&self) -> Self { | |
27982 | *self | |
27983 | } | |
27984 | } | |
27985 | impl ::core::fmt::Debug for D3D11_VIDEO_COLOR_YCbCrA { | |
27986 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
27987 | f.debug_struct("D3D11_VIDEO_COLOR_YCbCrA").field("Y", &self.Y).field("Cb", &self.Cb).field("Cr", &self.Cr).field("A", &self.A).finish() | |
27988 | } | |
27989 | } | |
27990 | impl ::windows::core::TypeKind for D3D11_VIDEO_COLOR_YCbCrA { | |
27991 | type TypeKind = ::windows::core::CopyType; | |
27992 | } | |
27993 | impl ::core::cmp::PartialEq for D3D11_VIDEO_COLOR_YCbCrA { | |
27994 | fn eq(&self, other: &Self) -> bool { | |
27995 | self.Y == other.Y && self.Cb == other.Cb && self.Cr == other.Cr && self.A == other.A | |
27996 | } | |
27997 | } | |
27998 | impl ::core::cmp::Eq for D3D11_VIDEO_COLOR_YCbCrA {} | |
27999 | impl ::core::default::Default for D3D11_VIDEO_COLOR_YCbCrA { | |
28000 | fn default() -> Self { | |
28001 | unsafe { ::core::mem::zeroed() } | |
28002 | } | |
28003 | } | |
28004 | #[repr(C)] | |
28005 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28006 | pub struct D3D11_VIDEO_CONTENT_PROTECTION_CAPS { | |
28007 | pub Caps: u32, | |
28008 | pub KeyExchangeTypeCount: u32, | |
28009 | pub BlockAlignmentSize: u32, | |
28010 | pub ProtectedMemorySize: u64, | |
28011 | } | |
28012 | impl ::core::marker::Copy for D3D11_VIDEO_CONTENT_PROTECTION_CAPS {} | |
28013 | impl ::core::clone::Clone for D3D11_VIDEO_CONTENT_PROTECTION_CAPS { | |
28014 | fn clone(&self) -> Self { | |
28015 | *self | |
28016 | } | |
28017 | } | |
28018 | impl ::core::fmt::Debug for D3D11_VIDEO_CONTENT_PROTECTION_CAPS { | |
28019 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28020 | f.debug_struct("D3D11_VIDEO_CONTENT_PROTECTION_CAPS").field("Caps", &self.Caps).field("KeyExchangeTypeCount", &self.KeyExchangeTypeCount).field("BlockAlignmentSize", &self.BlockAlignmentSize).field("ProtectedMemorySize", &self.ProtectedMemorySize).finish() | |
28021 | } | |
28022 | } | |
28023 | impl ::windows::core::TypeKind for D3D11_VIDEO_CONTENT_PROTECTION_CAPS { | |
28024 | type TypeKind = ::windows::core::CopyType; | |
28025 | } | |
28026 | impl ::core::cmp::PartialEq for D3D11_VIDEO_CONTENT_PROTECTION_CAPS { | |
28027 | fn eq(&self, other: &Self) -> bool { | |
28028 | self.Caps == other.Caps && self.KeyExchangeTypeCount == other.KeyExchangeTypeCount && self.BlockAlignmentSize == other.BlockAlignmentSize && self.ProtectedMemorySize == other.ProtectedMemorySize | |
28029 | } | |
28030 | } | |
28031 | impl ::core::cmp::Eq for D3D11_VIDEO_CONTENT_PROTECTION_CAPS {} | |
28032 | impl ::core::default::Default for D3D11_VIDEO_CONTENT_PROTECTION_CAPS { | |
28033 | fn default() -> Self { | |
28034 | unsafe { ::core::mem::zeroed() } | |
28035 | } | |
28036 | } | |
28037 | #[repr(C)] | |
28038 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28039 | pub struct D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION { | |
28040 | pub pCryptoSession: ::std::mem::ManuallyDrop<::core::option::Option<ID3D11CryptoSession>>, | |
28041 | pub BlobSize: u32, | |
28042 | pub pBlob: *mut ::core::ffi::c_void, | |
28043 | pub pKeyInfoId: *mut ::windows::core::GUID, | |
28044 | pub PrivateDataSize: u32, | |
28045 | pub pPrivateData: *mut ::core::ffi::c_void, | |
28046 | } | |
28047 | impl ::core::clone::Clone for D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION { | |
28048 | fn clone(&self) -> Self { | |
28049 | unsafe { ::core::mem::transmute_copy(self) } | |
28050 | } | |
28051 | } | |
28052 | impl ::core::fmt::Debug for D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION { | |
28053 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28054 | f.debug_struct("D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION").field("pCryptoSession", &self.pCryptoSession).field("BlobSize", &self.BlobSize).field("pBlob", &self.pBlob).field("pKeyInfoId", &self.pKeyInfoId).field("PrivateDataSize", &self.PrivateDataSize).field("pPrivateData", &self.pPrivateData).finish() | |
28055 | } | |
28056 | } | |
28057 | impl ::windows::core::TypeKind for D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION { | |
28058 | type TypeKind = ::windows::core::CopyType; | |
28059 | } | |
28060 | impl ::core::cmp::PartialEq for D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION { | |
28061 | fn eq(&self, other: &Self) -> bool { | |
28062 | self.pCryptoSession == other.pCryptoSession && self.BlobSize == other.BlobSize && self.pBlob == other.pBlob && self.pKeyInfoId == other.pKeyInfoId && self.PrivateDataSize == other.PrivateDataSize && self.pPrivateData == other.pPrivateData | |
28063 | } | |
28064 | } | |
28065 | impl ::core::cmp::Eq for D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION {} | |
28066 | impl ::core::default::Default for D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION { | |
28067 | fn default() -> Self { | |
28068 | unsafe { ::core::mem::zeroed() } | |
28069 | } | |
28070 | } | |
28071 | #[repr(C)] | |
28072 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
28073 | #[cfg(feature = "Win32_Foundation")] | |
28074 | pub struct D3D11_VIDEO_DECODER_BUFFER_DESC { | |
28075 | pub BufferType: D3D11_VIDEO_DECODER_BUFFER_TYPE, | |
28076 | pub BufferIndex: u32, | |
28077 | pub DataOffset: u32, | |
28078 | pub DataSize: u32, | |
28079 | pub FirstMBaddress: u32, | |
28080 | pub NumMBsInBuffer: u32, | |
28081 | pub Width: u32, | |
28082 | pub Height: u32, | |
28083 | pub Stride: u32, | |
28084 | pub ReservedBits: u32, | |
28085 | pub pIV: *mut ::core::ffi::c_void, | |
28086 | pub IVSize: u32, | |
28087 | pub PartialEncryption: super::super::Foundation::BOOL, | |
28088 | pub EncryptedBlockInfo: D3D11_ENCRYPTED_BLOCK_INFO, | |
28089 | } | |
28090 | #[cfg(feature = "Win32_Foundation")] | |
28091 | impl ::core::marker::Copy for D3D11_VIDEO_DECODER_BUFFER_DESC {} | |
28092 | #[cfg(feature = "Win32_Foundation")] | |
28093 | impl ::core::clone::Clone for D3D11_VIDEO_DECODER_BUFFER_DESC { | |
28094 | fn clone(&self) -> Self { | |
28095 | *self | |
28096 | } | |
28097 | } | |
28098 | #[cfg(feature = "Win32_Foundation")] | |
28099 | impl ::core::fmt::Debug for D3D11_VIDEO_DECODER_BUFFER_DESC { | |
28100 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28101 | f.debug_struct("D3D11_VIDEO_DECODER_BUFFER_DESC") | |
28102 | .field("BufferType", &self.BufferType) | |
28103 | .field("BufferIndex", &self.BufferIndex) | |
28104 | .field("DataOffset", &self.DataOffset) | |
28105 | .field("DataSize", &self.DataSize) | |
28106 | .field("FirstMBaddress", &self.FirstMBaddress) | |
28107 | .field("NumMBsInBuffer", &self.NumMBsInBuffer) | |
28108 | .field("Width", &self.Width) | |
28109 | .field("Height", &self.Height) | |
28110 | .field("Stride", &self.Stride) | |
28111 | .field("ReservedBits", &self.ReservedBits) | |
28112 | .field("pIV", &self.pIV) | |
28113 | .field("IVSize", &self.IVSize) | |
28114 | .field("PartialEncryption", &self.PartialEncryption) | |
28115 | .field("EncryptedBlockInfo", &self.EncryptedBlockInfo) | |
28116 | .finish() | |
28117 | } | |
28118 | } | |
28119 | #[cfg(feature = "Win32_Foundation")] | |
28120 | impl ::windows::core::TypeKind for D3D11_VIDEO_DECODER_BUFFER_DESC { | |
28121 | type TypeKind = ::windows::core::CopyType; | |
28122 | } | |
28123 | #[cfg(feature = "Win32_Foundation")] | |
28124 | impl ::core::cmp::PartialEq for D3D11_VIDEO_DECODER_BUFFER_DESC { | |
28125 | fn eq(&self, other: &Self) -> bool { | |
28126 | self.BufferType == other.BufferType && self.BufferIndex == other.BufferIndex && self.DataOffset == other.DataOffset && self.DataSize == other.DataSize && self.FirstMBaddress == other.FirstMBaddress && self.NumMBsInBuffer == other.NumMBsInBuffer && self.Width == other.Width && self.Height == other.Height && self.Stride == other.Stride && self.ReservedBits == other.ReservedBits && self.pIV == other.pIV && self.IVSize == other.IVSize && self.PartialEncryption == other.PartialEncryption && self.EncryptedBlockInfo == other.EncryptedBlockInfo | |
28127 | } | |
28128 | } | |
28129 | #[cfg(feature = "Win32_Foundation")] | |
28130 | impl ::core::cmp::Eq for D3D11_VIDEO_DECODER_BUFFER_DESC {} | |
28131 | #[cfg(feature = "Win32_Foundation")] | |
28132 | impl ::core::default::Default for D3D11_VIDEO_DECODER_BUFFER_DESC { | |
28133 | fn default() -> Self { | |
28134 | unsafe { ::core::mem::zeroed() } | |
28135 | } | |
28136 | } | |
28137 | #[repr(C)] | |
28138 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28139 | pub struct D3D11_VIDEO_DECODER_BUFFER_DESC1 { | |
28140 | pub BufferType: D3D11_VIDEO_DECODER_BUFFER_TYPE, | |
28141 | pub DataOffset: u32, | |
28142 | pub DataSize: u32, | |
28143 | pub pIV: *mut ::core::ffi::c_void, | |
28144 | pub IVSize: u32, | |
28145 | pub pSubSampleMappingBlock: *mut D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK, | |
28146 | pub SubSampleMappingCount: u32, | |
28147 | } | |
28148 | impl ::core::marker::Copy for D3D11_VIDEO_DECODER_BUFFER_DESC1 {} | |
28149 | impl ::core::clone::Clone for D3D11_VIDEO_DECODER_BUFFER_DESC1 { | |
28150 | fn clone(&self) -> Self { | |
28151 | *self | |
28152 | } | |
28153 | } | |
28154 | impl ::core::fmt::Debug for D3D11_VIDEO_DECODER_BUFFER_DESC1 { | |
28155 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28156 | f.debug_struct("D3D11_VIDEO_DECODER_BUFFER_DESC1").field("BufferType", &self.BufferType).field("DataOffset", &self.DataOffset).field("DataSize", &self.DataSize).field("pIV", &self.pIV).field("IVSize", &self.IVSize).field("pSubSampleMappingBlock", &self.pSubSampleMappingBlock).field("SubSampleMappingCount", &self.SubSampleMappingCount).finish() | |
28157 | } | |
28158 | } | |
28159 | impl ::windows::core::TypeKind for D3D11_VIDEO_DECODER_BUFFER_DESC1 { | |
28160 | type TypeKind = ::windows::core::CopyType; | |
28161 | } | |
28162 | impl ::core::cmp::PartialEq for D3D11_VIDEO_DECODER_BUFFER_DESC1 { | |
28163 | fn eq(&self, other: &Self) -> bool { | |
28164 | self.BufferType == other.BufferType && self.DataOffset == other.DataOffset && self.DataSize == other.DataSize && self.pIV == other.pIV && self.IVSize == other.IVSize && self.pSubSampleMappingBlock == other.pSubSampleMappingBlock && self.SubSampleMappingCount == other.SubSampleMappingCount | |
28165 | } | |
28166 | } | |
28167 | impl ::core::cmp::Eq for D3D11_VIDEO_DECODER_BUFFER_DESC1 {} | |
28168 | impl ::core::default::Default for D3D11_VIDEO_DECODER_BUFFER_DESC1 { | |
28169 | fn default() -> Self { | |
28170 | unsafe { ::core::mem::zeroed() } | |
28171 | } | |
28172 | } | |
28173 | #[repr(C)] | |
28174 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28175 | pub struct D3D11_VIDEO_DECODER_BUFFER_DESC2 { | |
28176 | pub BufferType: D3D11_VIDEO_DECODER_BUFFER_TYPE, | |
28177 | pub DataOffset: u32, | |
28178 | pub DataSize: u32, | |
28179 | pub pIV: *mut ::core::ffi::c_void, | |
28180 | pub IVSize: u32, | |
28181 | pub pSubSampleMappingBlock: *mut D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK, | |
28182 | pub SubSampleMappingCount: u32, | |
28183 | pub cBlocksStripeEncrypted: u32, | |
28184 | pub cBlocksStripeClear: u32, | |
28185 | } | |
28186 | impl ::core::marker::Copy for D3D11_VIDEO_DECODER_BUFFER_DESC2 {} | |
28187 | impl ::core::clone::Clone for D3D11_VIDEO_DECODER_BUFFER_DESC2 { | |
28188 | fn clone(&self) -> Self { | |
28189 | *self | |
28190 | } | |
28191 | } | |
28192 | impl ::core::fmt::Debug for D3D11_VIDEO_DECODER_BUFFER_DESC2 { | |
28193 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28194 | f.debug_struct("D3D11_VIDEO_DECODER_BUFFER_DESC2").field("BufferType", &self.BufferType).field("DataOffset", &self.DataOffset).field("DataSize", &self.DataSize).field("pIV", &self.pIV).field("IVSize", &self.IVSize).field("pSubSampleMappingBlock", &self.pSubSampleMappingBlock).field("SubSampleMappingCount", &self.SubSampleMappingCount).field("cBlocksStripeEncrypted", &self.cBlocksStripeEncrypted).field("cBlocksStripeClear", &self.cBlocksStripeClear).finish() | |
28195 | } | |
28196 | } | |
28197 | impl ::windows::core::TypeKind for D3D11_VIDEO_DECODER_BUFFER_DESC2 { | |
28198 | type TypeKind = ::windows::core::CopyType; | |
28199 | } | |
28200 | impl ::core::cmp::PartialEq for D3D11_VIDEO_DECODER_BUFFER_DESC2 { | |
28201 | fn eq(&self, other: &Self) -> bool { | |
28202 | self.BufferType == other.BufferType && self.DataOffset == other.DataOffset && self.DataSize == other.DataSize && self.pIV == other.pIV && self.IVSize == other.IVSize && self.pSubSampleMappingBlock == other.pSubSampleMappingBlock && self.SubSampleMappingCount == other.SubSampleMappingCount && self.cBlocksStripeEncrypted == other.cBlocksStripeEncrypted && self.cBlocksStripeClear == other.cBlocksStripeClear | |
28203 | } | |
28204 | } | |
28205 | impl ::core::cmp::Eq for D3D11_VIDEO_DECODER_BUFFER_DESC2 {} | |
28206 | impl ::core::default::Default for D3D11_VIDEO_DECODER_BUFFER_DESC2 { | |
28207 | fn default() -> Self { | |
28208 | unsafe { ::core::mem::zeroed() } | |
28209 | } | |
28210 | } | |
28211 | #[repr(C)] | |
28212 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28213 | pub struct D3D11_VIDEO_DECODER_CONFIG { | |
28214 | pub guidConfigBitstreamEncryption: ::windows::core::GUID, | |
28215 | pub guidConfigMBcontrolEncryption: ::windows::core::GUID, | |
28216 | pub guidConfigResidDiffEncryption: ::windows::core::GUID, | |
28217 | pub ConfigBitstreamRaw: u32, | |
28218 | pub ConfigMBcontrolRasterOrder: u32, | |
28219 | pub ConfigResidDiffHost: u32, | |
28220 | pub ConfigSpatialResid8: u32, | |
28221 | pub ConfigResid8Subtraction: u32, | |
28222 | pub ConfigSpatialHost8or9Clipping: u32, | |
28223 | pub ConfigSpatialResidInterleaved: u32, | |
28224 | pub ConfigIntraResidUnsigned: u32, | |
28225 | pub ConfigResidDiffAccelerator: u32, | |
28226 | pub ConfigHostInverseScan: u32, | |
28227 | pub ConfigSpecificIDCT: u32, | |
28228 | pub Config4GroupedCoefs: u32, | |
28229 | pub ConfigMinRenderTargetBuffCount: u16, | |
28230 | pub ConfigDecoderSpecific: u16, | |
28231 | } | |
28232 | impl ::core::marker::Copy for D3D11_VIDEO_DECODER_CONFIG {} | |
28233 | impl ::core::clone::Clone for D3D11_VIDEO_DECODER_CONFIG { | |
28234 | fn clone(&self) -> Self { | |
28235 | *self | |
28236 | } | |
28237 | } | |
28238 | impl ::core::fmt::Debug for D3D11_VIDEO_DECODER_CONFIG { | |
28239 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28240 | f.debug_struct("D3D11_VIDEO_DECODER_CONFIG") | |
28241 | .field("guidConfigBitstreamEncryption", &self.guidConfigBitstreamEncryption) | |
28242 | .field("guidConfigMBcontrolEncryption", &self.guidConfigMBcontrolEncryption) | |
28243 | .field("guidConfigResidDiffEncryption", &self.guidConfigResidDiffEncryption) | |
28244 | .field("ConfigBitstreamRaw", &self.ConfigBitstreamRaw) | |
28245 | .field("ConfigMBcontrolRasterOrder", &self.ConfigMBcontrolRasterOrder) | |
28246 | .field("ConfigResidDiffHost", &self.ConfigResidDiffHost) | |
28247 | .field("ConfigSpatialResid8", &self.ConfigSpatialResid8) | |
28248 | .field("ConfigResid8Subtraction", &self.ConfigResid8Subtraction) | |
28249 | .field("ConfigSpatialHost8or9Clipping", &self.ConfigSpatialHost8or9Clipping) | |
28250 | .field("ConfigSpatialResidInterleaved", &self.ConfigSpatialResidInterleaved) | |
28251 | .field("ConfigIntraResidUnsigned", &self.ConfigIntraResidUnsigned) | |
28252 | .field("ConfigResidDiffAccelerator", &self.ConfigResidDiffAccelerator) | |
28253 | .field("ConfigHostInverseScan", &self.ConfigHostInverseScan) | |
28254 | .field("ConfigSpecificIDCT", &self.ConfigSpecificIDCT) | |
28255 | .field("Config4GroupedCoefs", &self.Config4GroupedCoefs) | |
28256 | .field("ConfigMinRenderTargetBuffCount", &self.ConfigMinRenderTargetBuffCount) | |
28257 | .field("ConfigDecoderSpecific", &self.ConfigDecoderSpecific) | |
28258 | .finish() | |
28259 | } | |
28260 | } | |
28261 | impl ::windows::core::TypeKind for D3D11_VIDEO_DECODER_CONFIG { | |
28262 | type TypeKind = ::windows::core::CopyType; | |
28263 | } | |
28264 | impl ::core::cmp::PartialEq for D3D11_VIDEO_DECODER_CONFIG { | |
28265 | fn eq(&self, other: &Self) -> bool { | |
28266 | self.guidConfigBitstreamEncryption == other.guidConfigBitstreamEncryption | |
28267 | && self.guidConfigMBcontrolEncryption == other.guidConfigMBcontrolEncryption | |
28268 | && self.guidConfigResidDiffEncryption == other.guidConfigResidDiffEncryption | |
28269 | && self.ConfigBitstreamRaw == other.ConfigBitstreamRaw | |
28270 | && self.ConfigMBcontrolRasterOrder == other.ConfigMBcontrolRasterOrder | |
28271 | && self.ConfigResidDiffHost == other.ConfigResidDiffHost | |
28272 | && self.ConfigSpatialResid8 == other.ConfigSpatialResid8 | |
28273 | && self.ConfigResid8Subtraction == other.ConfigResid8Subtraction | |
28274 | && self.ConfigSpatialHost8or9Clipping == other.ConfigSpatialHost8or9Clipping | |
28275 | && self.ConfigSpatialResidInterleaved == other.ConfigSpatialResidInterleaved | |
28276 | && self.ConfigIntraResidUnsigned == other.ConfigIntraResidUnsigned | |
28277 | && self.ConfigResidDiffAccelerator == other.ConfigResidDiffAccelerator | |
28278 | && self.ConfigHostInverseScan == other.ConfigHostInverseScan | |
28279 | && self.ConfigSpecificIDCT == other.ConfigSpecificIDCT | |
28280 | && self.Config4GroupedCoefs == other.Config4GroupedCoefs | |
28281 | && self.ConfigMinRenderTargetBuffCount == other.ConfigMinRenderTargetBuffCount | |
28282 | && self.ConfigDecoderSpecific == other.ConfigDecoderSpecific | |
28283 | } | |
28284 | } | |
28285 | impl ::core::cmp::Eq for D3D11_VIDEO_DECODER_CONFIG {} | |
28286 | impl ::core::default::Default for D3D11_VIDEO_DECODER_CONFIG { | |
28287 | fn default() -> Self { | |
28288 | unsafe { ::core::mem::zeroed() } | |
28289 | } | |
28290 | } | |
28291 | #[repr(C)] | |
28292 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
28293 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28294 | pub struct D3D11_VIDEO_DECODER_DESC { | |
28295 | pub Guid: ::windows::core::GUID, | |
28296 | pub SampleWidth: u32, | |
28297 | pub SampleHeight: u32, | |
28298 | pub OutputFormat: super::Dxgi::Common::DXGI_FORMAT, | |
28299 | } | |
28300 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28301 | impl ::core::marker::Copy for D3D11_VIDEO_DECODER_DESC {} | |
28302 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28303 | impl ::core::clone::Clone for D3D11_VIDEO_DECODER_DESC { | |
28304 | fn clone(&self) -> Self { | |
28305 | *self | |
28306 | } | |
28307 | } | |
28308 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28309 | impl ::core::fmt::Debug for D3D11_VIDEO_DECODER_DESC { | |
28310 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28311 | f.debug_struct("D3D11_VIDEO_DECODER_DESC").field("Guid", &self.Guid).field("SampleWidth", &self.SampleWidth).field("SampleHeight", &self.SampleHeight).field("OutputFormat", &self.OutputFormat).finish() | |
28312 | } | |
28313 | } | |
28314 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28315 | impl ::windows::core::TypeKind for D3D11_VIDEO_DECODER_DESC { | |
28316 | type TypeKind = ::windows::core::CopyType; | |
28317 | } | |
28318 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28319 | impl ::core::cmp::PartialEq for D3D11_VIDEO_DECODER_DESC { | |
28320 | fn eq(&self, other: &Self) -> bool { | |
28321 | self.Guid == other.Guid && self.SampleWidth == other.SampleWidth && self.SampleHeight == other.SampleHeight && self.OutputFormat == other.OutputFormat | |
28322 | } | |
28323 | } | |
28324 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28325 | impl ::core::cmp::Eq for D3D11_VIDEO_DECODER_DESC {} | |
28326 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28327 | impl ::core::default::Default for D3D11_VIDEO_DECODER_DESC { | |
28328 | fn default() -> Self { | |
28329 | unsafe { ::core::mem::zeroed() } | |
28330 | } | |
28331 | } | |
28332 | #[repr(C)] | |
28333 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28334 | pub struct D3D11_VIDEO_DECODER_EXTENSION { | |
28335 | pub Function: u32, | |
28336 | pub pPrivateInputData: *mut ::core::ffi::c_void, | |
28337 | pub PrivateInputDataSize: u32, | |
28338 | pub pPrivateOutputData: *mut ::core::ffi::c_void, | |
28339 | pub PrivateOutputDataSize: u32, | |
28340 | pub ResourceCount: u32, | |
28341 | pub ppResourceList: *mut ::core::option::Option<ID3D11Resource>, | |
28342 | } | |
28343 | impl ::core::marker::Copy for D3D11_VIDEO_DECODER_EXTENSION {} | |
28344 | impl ::core::clone::Clone for D3D11_VIDEO_DECODER_EXTENSION { | |
28345 | fn clone(&self) -> Self { | |
28346 | *self | |
28347 | } | |
28348 | } | |
28349 | impl ::core::fmt::Debug for D3D11_VIDEO_DECODER_EXTENSION { | |
28350 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28351 | f.debug_struct("D3D11_VIDEO_DECODER_EXTENSION").field("Function", &self.Function).field("pPrivateInputData", &self.pPrivateInputData).field("PrivateInputDataSize", &self.PrivateInputDataSize).field("pPrivateOutputData", &self.pPrivateOutputData).field("PrivateOutputDataSize", &self.PrivateOutputDataSize).field("ResourceCount", &self.ResourceCount).field("ppResourceList", &self.ppResourceList).finish() | |
28352 | } | |
28353 | } | |
28354 | impl ::windows::core::TypeKind for D3D11_VIDEO_DECODER_EXTENSION { | |
28355 | type TypeKind = ::windows::core::CopyType; | |
28356 | } | |
28357 | impl ::core::cmp::PartialEq for D3D11_VIDEO_DECODER_EXTENSION { | |
28358 | fn eq(&self, other: &Self) -> bool { | |
28359 | self.Function == other.Function && self.pPrivateInputData == other.pPrivateInputData && self.PrivateInputDataSize == other.PrivateInputDataSize && self.pPrivateOutputData == other.pPrivateOutputData && self.PrivateOutputDataSize == other.PrivateOutputDataSize && self.ResourceCount == other.ResourceCount && self.ppResourceList == other.ppResourceList | |
28360 | } | |
28361 | } | |
28362 | impl ::core::cmp::Eq for D3D11_VIDEO_DECODER_EXTENSION {} | |
28363 | impl ::core::default::Default for D3D11_VIDEO_DECODER_EXTENSION { | |
28364 | fn default() -> Self { | |
28365 | unsafe { ::core::mem::zeroed() } | |
28366 | } | |
28367 | } | |
28368 | #[repr(C)] | |
28369 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28370 | pub struct D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC { | |
28371 | pub DecodeProfile: ::windows::core::GUID, | |
28372 | pub ViewDimension: D3D11_VDOV_DIMENSION, | |
28373 | pub Anonymous: D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC_0, | |
28374 | } | |
28375 | impl ::core::marker::Copy for D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC {} | |
28376 | impl ::core::clone::Clone for D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC { | |
28377 | fn clone(&self) -> Self { | |
28378 | *self | |
28379 | } | |
28380 | } | |
28381 | impl ::windows::core::TypeKind for D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC { | |
28382 | type TypeKind = ::windows::core::CopyType; | |
28383 | } | |
28384 | impl ::core::default::Default for D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC { | |
28385 | fn default() -> Self { | |
28386 | unsafe { ::core::mem::zeroed() } | |
28387 | } | |
28388 | } | |
28389 | #[repr(C)] | |
28390 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28391 | pub union D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC_0 { | |
28392 | pub Texture2D: D3D11_TEX2D_VDOV, | |
28393 | } | |
28394 | impl ::core::marker::Copy for D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC_0 {} | |
28395 | impl ::core::clone::Clone for D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC_0 { | |
28396 | fn clone(&self) -> Self { | |
28397 | *self | |
28398 | } | |
28399 | } | |
28400 | impl ::windows::core::TypeKind for D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC_0 { | |
28401 | type TypeKind = ::windows::core::CopyType; | |
28402 | } | |
28403 | impl ::core::default::Default for D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC_0 { | |
28404 | fn default() -> Self { | |
28405 | unsafe { ::core::mem::zeroed() } | |
28406 | } | |
28407 | } | |
28408 | #[repr(C)] | |
28409 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28410 | pub struct D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK { | |
28411 | pub ClearSize: u32, | |
28412 | pub EncryptedSize: u32, | |
28413 | } | |
28414 | impl ::core::marker::Copy for D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK {} | |
28415 | impl ::core::clone::Clone for D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK { | |
28416 | fn clone(&self) -> Self { | |
28417 | *self | |
28418 | } | |
28419 | } | |
28420 | impl ::core::fmt::Debug for D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK { | |
28421 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28422 | f.debug_struct("D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK").field("ClearSize", &self.ClearSize).field("EncryptedSize", &self.EncryptedSize).finish() | |
28423 | } | |
28424 | } | |
28425 | impl ::windows::core::TypeKind for D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK { | |
28426 | type TypeKind = ::windows::core::CopyType; | |
28427 | } | |
28428 | impl ::core::cmp::PartialEq for D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK { | |
28429 | fn eq(&self, other: &Self) -> bool { | |
28430 | self.ClearSize == other.ClearSize && self.EncryptedSize == other.EncryptedSize | |
28431 | } | |
28432 | } | |
28433 | impl ::core::cmp::Eq for D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK {} | |
28434 | impl ::core::default::Default for D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK { | |
28435 | fn default() -> Self { | |
28436 | unsafe { ::core::mem::zeroed() } | |
28437 | } | |
28438 | } | |
28439 | #[repr(C)] | |
28440 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28441 | pub struct D3D11_VIDEO_PROCESSOR_CAPS { | |
28442 | pub DeviceCaps: u32, | |
28443 | pub FeatureCaps: u32, | |
28444 | pub FilterCaps: u32, | |
28445 | pub InputFormatCaps: u32, | |
28446 | pub AutoStreamCaps: u32, | |
28447 | pub StereoCaps: u32, | |
28448 | pub RateConversionCapsCount: u32, | |
28449 | pub MaxInputStreams: u32, | |
28450 | pub MaxStreamStates: u32, | |
28451 | } | |
28452 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_CAPS {} | |
28453 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_CAPS { | |
28454 | fn clone(&self) -> Self { | |
28455 | *self | |
28456 | } | |
28457 | } | |
28458 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_CAPS { | |
28459 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28460 | f.debug_struct("D3D11_VIDEO_PROCESSOR_CAPS").field("DeviceCaps", &self.DeviceCaps).field("FeatureCaps", &self.FeatureCaps).field("FilterCaps", &self.FilterCaps).field("InputFormatCaps", &self.InputFormatCaps).field("AutoStreamCaps", &self.AutoStreamCaps).field("StereoCaps", &self.StereoCaps).field("RateConversionCapsCount", &self.RateConversionCapsCount).field("MaxInputStreams", &self.MaxInputStreams).field("MaxStreamStates", &self.MaxStreamStates).finish() | |
28461 | } | |
28462 | } | |
28463 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_CAPS { | |
28464 | type TypeKind = ::windows::core::CopyType; | |
28465 | } | |
28466 | impl ::core::cmp::PartialEq for D3D11_VIDEO_PROCESSOR_CAPS { | |
28467 | fn eq(&self, other: &Self) -> bool { | |
28468 | self.DeviceCaps == other.DeviceCaps && self.FeatureCaps == other.FeatureCaps && self.FilterCaps == other.FilterCaps && self.InputFormatCaps == other.InputFormatCaps && self.AutoStreamCaps == other.AutoStreamCaps && self.StereoCaps == other.StereoCaps && self.RateConversionCapsCount == other.RateConversionCapsCount && self.MaxInputStreams == other.MaxInputStreams && self.MaxStreamStates == other.MaxStreamStates | |
28469 | } | |
28470 | } | |
28471 | impl ::core::cmp::Eq for D3D11_VIDEO_PROCESSOR_CAPS {} | |
28472 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_CAPS { | |
28473 | fn default() -> Self { | |
28474 | unsafe { ::core::mem::zeroed() } | |
28475 | } | |
28476 | } | |
28477 | #[repr(C)] | |
28478 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28479 | pub struct D3D11_VIDEO_PROCESSOR_COLOR_SPACE { | |
28480 | pub _bitfield: u32, | |
28481 | } | |
28482 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_COLOR_SPACE {} | |
28483 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_COLOR_SPACE { | |
28484 | fn clone(&self) -> Self { | |
28485 | *self | |
28486 | } | |
28487 | } | |
28488 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_COLOR_SPACE { | |
28489 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28490 | f.debug_struct("D3D11_VIDEO_PROCESSOR_COLOR_SPACE").field("_bitfield", &self._bitfield).finish() | |
28491 | } | |
28492 | } | |
28493 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_COLOR_SPACE { | |
28494 | type TypeKind = ::windows::core::CopyType; | |
28495 | } | |
28496 | impl ::core::cmp::PartialEq for D3D11_VIDEO_PROCESSOR_COLOR_SPACE { | |
28497 | fn eq(&self, other: &Self) -> bool { | |
28498 | self._bitfield == other._bitfield | |
28499 | } | |
28500 | } | |
28501 | impl ::core::cmp::Eq for D3D11_VIDEO_PROCESSOR_COLOR_SPACE {} | |
28502 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_COLOR_SPACE { | |
28503 | fn default() -> Self { | |
28504 | unsafe { ::core::mem::zeroed() } | |
28505 | } | |
28506 | } | |
28507 | #[repr(C)] | |
28508 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
28509 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28510 | pub struct D3D11_VIDEO_PROCESSOR_CONTENT_DESC { | |
28511 | pub InputFrameFormat: D3D11_VIDEO_FRAME_FORMAT, | |
28512 | pub InputFrameRate: super::Dxgi::Common::DXGI_RATIONAL, | |
28513 | pub InputWidth: u32, | |
28514 | pub InputHeight: u32, | |
28515 | pub OutputFrameRate: super::Dxgi::Common::DXGI_RATIONAL, | |
28516 | pub OutputWidth: u32, | |
28517 | pub OutputHeight: u32, | |
28518 | pub Usage: D3D11_VIDEO_USAGE, | |
28519 | } | |
28520 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28521 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_CONTENT_DESC {} | |
28522 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28523 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_CONTENT_DESC { | |
28524 | fn clone(&self) -> Self { | |
28525 | *self | |
28526 | } | |
28527 | } | |
28528 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28529 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_CONTENT_DESC { | |
28530 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28531 | f.debug_struct("D3D11_VIDEO_PROCESSOR_CONTENT_DESC").field("InputFrameFormat", &self.InputFrameFormat).field("InputFrameRate", &self.InputFrameRate).field("InputWidth", &self.InputWidth).field("InputHeight", &self.InputHeight).field("OutputFrameRate", &self.OutputFrameRate).field("OutputWidth", &self.OutputWidth).field("OutputHeight", &self.OutputHeight).field("Usage", &self.Usage).finish() | |
28532 | } | |
28533 | } | |
28534 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28535 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_CONTENT_DESC { | |
28536 | type TypeKind = ::windows::core::CopyType; | |
28537 | } | |
28538 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28539 | impl ::core::cmp::PartialEq for D3D11_VIDEO_PROCESSOR_CONTENT_DESC { | |
28540 | fn eq(&self, other: &Self) -> bool { | |
28541 | self.InputFrameFormat == other.InputFrameFormat && self.InputFrameRate == other.InputFrameRate && self.InputWidth == other.InputWidth && self.InputHeight == other.InputHeight && self.OutputFrameRate == other.OutputFrameRate && self.OutputWidth == other.OutputWidth && self.OutputHeight == other.OutputHeight && self.Usage == other.Usage | |
28542 | } | |
28543 | } | |
28544 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28545 | impl ::core::cmp::Eq for D3D11_VIDEO_PROCESSOR_CONTENT_DESC {} | |
28546 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28547 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_CONTENT_DESC { | |
28548 | fn default() -> Self { | |
28549 | unsafe { ::core::mem::zeroed() } | |
28550 | } | |
28551 | } | |
28552 | #[repr(C)] | |
28553 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
28554 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
28555 | pub struct D3D11_VIDEO_PROCESSOR_CUSTOM_RATE { | |
28556 | pub CustomRate: super::Dxgi::Common::DXGI_RATIONAL, | |
28557 | pub OutputFrames: u32, | |
28558 | pub InputInterlaced: super::super::Foundation::BOOL, | |
28559 | pub InputFramesOrFields: u32, | |
28560 | } | |
28561 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
28562 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_CUSTOM_RATE {} | |
28563 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
28564 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_CUSTOM_RATE { | |
28565 | fn clone(&self) -> Self { | |
28566 | *self | |
28567 | } | |
28568 | } | |
28569 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
28570 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_CUSTOM_RATE { | |
28571 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28572 | f.debug_struct("D3D11_VIDEO_PROCESSOR_CUSTOM_RATE").field("CustomRate", &self.CustomRate).field("OutputFrames", &self.OutputFrames).field("InputInterlaced", &self.InputInterlaced).field("InputFramesOrFields", &self.InputFramesOrFields).finish() | |
28573 | } | |
28574 | } | |
28575 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
28576 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_CUSTOM_RATE { | |
28577 | type TypeKind = ::windows::core::CopyType; | |
28578 | } | |
28579 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
28580 | impl ::core::cmp::PartialEq for D3D11_VIDEO_PROCESSOR_CUSTOM_RATE { | |
28581 | fn eq(&self, other: &Self) -> bool { | |
28582 | self.CustomRate == other.CustomRate && self.OutputFrames == other.OutputFrames && self.InputInterlaced == other.InputInterlaced && self.InputFramesOrFields == other.InputFramesOrFields | |
28583 | } | |
28584 | } | |
28585 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
28586 | impl ::core::cmp::Eq for D3D11_VIDEO_PROCESSOR_CUSTOM_RATE {} | |
28587 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
28588 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_CUSTOM_RATE { | |
28589 | fn default() -> Self { | |
28590 | unsafe { ::core::mem::zeroed() } | |
28591 | } | |
28592 | } | |
28593 | #[repr(C)] | |
28594 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28595 | pub struct D3D11_VIDEO_PROCESSOR_FILTER_RANGE { | |
28596 | pub Minimum: i32, | |
28597 | pub Maximum: i32, | |
28598 | pub Default: i32, | |
28599 | pub Multiplier: f32, | |
28600 | } | |
28601 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_FILTER_RANGE {} | |
28602 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_FILTER_RANGE { | |
28603 | fn clone(&self) -> Self { | |
28604 | *self | |
28605 | } | |
28606 | } | |
28607 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_FILTER_RANGE { | |
28608 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28609 | f.debug_struct("D3D11_VIDEO_PROCESSOR_FILTER_RANGE").field("Minimum", &self.Minimum).field("Maximum", &self.Maximum).field("Default", &self.Default).field("Multiplier", &self.Multiplier).finish() | |
28610 | } | |
28611 | } | |
28612 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_FILTER_RANGE { | |
28613 | type TypeKind = ::windows::core::CopyType; | |
28614 | } | |
28615 | impl ::core::cmp::PartialEq for D3D11_VIDEO_PROCESSOR_FILTER_RANGE { | |
28616 | fn eq(&self, other: &Self) -> bool { | |
28617 | self.Minimum == other.Minimum && self.Maximum == other.Maximum && self.Default == other.Default && self.Multiplier == other.Multiplier | |
28618 | } | |
28619 | } | |
28620 | impl ::core::cmp::Eq for D3D11_VIDEO_PROCESSOR_FILTER_RANGE {} | |
28621 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_FILTER_RANGE { | |
28622 | fn default() -> Self { | |
28623 | unsafe { ::core::mem::zeroed() } | |
28624 | } | |
28625 | } | |
28626 | #[repr(C)] | |
28627 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28628 | pub struct D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC { | |
28629 | pub FourCC: u32, | |
28630 | pub ViewDimension: D3D11_VPIV_DIMENSION, | |
28631 | pub Anonymous: D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC_0, | |
28632 | } | |
28633 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC {} | |
28634 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC { | |
28635 | fn clone(&self) -> Self { | |
28636 | *self | |
28637 | } | |
28638 | } | |
28639 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC { | |
28640 | type TypeKind = ::windows::core::CopyType; | |
28641 | } | |
28642 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC { | |
28643 | fn default() -> Self { | |
28644 | unsafe { ::core::mem::zeroed() } | |
28645 | } | |
28646 | } | |
28647 | #[repr(C)] | |
28648 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28649 | pub union D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC_0 { | |
28650 | pub Texture2D: D3D11_TEX2D_VPIV, | |
28651 | } | |
28652 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC_0 {} | |
28653 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC_0 { | |
28654 | fn clone(&self) -> Self { | |
28655 | *self | |
28656 | } | |
28657 | } | |
28658 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC_0 { | |
28659 | type TypeKind = ::windows::core::CopyType; | |
28660 | } | |
28661 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC_0 { | |
28662 | fn default() -> Self { | |
28663 | unsafe { ::core::mem::zeroed() } | |
28664 | } | |
28665 | } | |
28666 | #[repr(C)] | |
28667 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28668 | pub struct D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC { | |
28669 | pub ViewDimension: D3D11_VPOV_DIMENSION, | |
28670 | pub Anonymous: D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC_0, | |
28671 | } | |
28672 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC {} | |
28673 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC { | |
28674 | fn clone(&self) -> Self { | |
28675 | *self | |
28676 | } | |
28677 | } | |
28678 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC { | |
28679 | type TypeKind = ::windows::core::CopyType; | |
28680 | } | |
28681 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC { | |
28682 | fn default() -> Self { | |
28683 | unsafe { ::core::mem::zeroed() } | |
28684 | } | |
28685 | } | |
28686 | #[repr(C)] | |
28687 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28688 | pub union D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC_0 { | |
28689 | pub Texture2D: D3D11_TEX2D_VPOV, | |
28690 | pub Texture2DArray: D3D11_TEX2D_ARRAY_VPOV, | |
28691 | } | |
28692 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC_0 {} | |
28693 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC_0 { | |
28694 | fn clone(&self) -> Self { | |
28695 | *self | |
28696 | } | |
28697 | } | |
28698 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC_0 { | |
28699 | type TypeKind = ::windows::core::CopyType; | |
28700 | } | |
28701 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC_0 { | |
28702 | fn default() -> Self { | |
28703 | unsafe { ::core::mem::zeroed() } | |
28704 | } | |
28705 | } | |
28706 | #[repr(C)] | |
28707 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28708 | pub struct D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS { | |
28709 | pub PastFrames: u32, | |
28710 | pub FutureFrames: u32, | |
28711 | pub ProcessorCaps: u32, | |
28712 | pub ITelecineCaps: u32, | |
28713 | pub CustomRateCount: u32, | |
28714 | } | |
28715 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS {} | |
28716 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS { | |
28717 | fn clone(&self) -> Self { | |
28718 | *self | |
28719 | } | |
28720 | } | |
28721 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS { | |
28722 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28723 | f.debug_struct("D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS").field("PastFrames", &self.PastFrames).field("FutureFrames", &self.FutureFrames).field("ProcessorCaps", &self.ProcessorCaps).field("ITelecineCaps", &self.ITelecineCaps).field("CustomRateCount", &self.CustomRateCount).finish() | |
28724 | } | |
28725 | } | |
28726 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS { | |
28727 | type TypeKind = ::windows::core::CopyType; | |
28728 | } | |
28729 | impl ::core::cmp::PartialEq for D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS { | |
28730 | fn eq(&self, other: &Self) -> bool { | |
28731 | self.PastFrames == other.PastFrames && self.FutureFrames == other.FutureFrames && self.ProcessorCaps == other.ProcessorCaps && self.ITelecineCaps == other.ITelecineCaps && self.CustomRateCount == other.CustomRateCount | |
28732 | } | |
28733 | } | |
28734 | impl ::core::cmp::Eq for D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS {} | |
28735 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS { | |
28736 | fn default() -> Self { | |
28737 | unsafe { ::core::mem::zeroed() } | |
28738 | } | |
28739 | } | |
28740 | #[repr(C)] | |
28741 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`*"] | |
28742 | #[cfg(feature = "Win32_Foundation")] | |
28743 | pub struct D3D11_VIDEO_PROCESSOR_STREAM { | |
28744 | pub Enable: super::super::Foundation::BOOL, | |
28745 | pub OutputIndex: u32, | |
28746 | pub InputFrameOrField: u32, | |
28747 | pub PastFrames: u32, | |
28748 | pub FutureFrames: u32, | |
28749 | pub ppPastSurfaces: *mut ::core::option::Option<ID3D11VideoProcessorInputView>, | |
28750 | pub pInputSurface: ::std::mem::ManuallyDrop<::core::option::Option<ID3D11VideoProcessorInputView>>, | |
28751 | pub ppFutureSurfaces: *mut ::core::option::Option<ID3D11VideoProcessorInputView>, | |
28752 | pub ppPastSurfacesRight: *mut ::core::option::Option<ID3D11VideoProcessorInputView>, | |
28753 | pub pInputSurfaceRight: ::std::mem::ManuallyDrop<::core::option::Option<ID3D11VideoProcessorInputView>>, | |
28754 | pub ppFutureSurfacesRight: *mut ::core::option::Option<ID3D11VideoProcessorInputView>, | |
28755 | } | |
28756 | #[cfg(feature = "Win32_Foundation")] | |
28757 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_STREAM { | |
28758 | fn clone(&self) -> Self { | |
28759 | unsafe { ::core::mem::transmute_copy(self) } | |
28760 | } | |
28761 | } | |
28762 | #[cfg(feature = "Win32_Foundation")] | |
28763 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_STREAM { | |
28764 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28765 | f.debug_struct("D3D11_VIDEO_PROCESSOR_STREAM") | |
28766 | .field("Enable", &self.Enable) | |
28767 | .field("OutputIndex", &self.OutputIndex) | |
28768 | .field("InputFrameOrField", &self.InputFrameOrField) | |
28769 | .field("PastFrames", &self.PastFrames) | |
28770 | .field("FutureFrames", &self.FutureFrames) | |
28771 | .field("ppPastSurfaces", &self.ppPastSurfaces) | |
28772 | .field("pInputSurface", &self.pInputSurface) | |
28773 | .field("ppFutureSurfaces", &self.ppFutureSurfaces) | |
28774 | .field("ppPastSurfacesRight", &self.ppPastSurfacesRight) | |
28775 | .field("pInputSurfaceRight", &self.pInputSurfaceRight) | |
28776 | .field("ppFutureSurfacesRight", &self.ppFutureSurfacesRight) | |
28777 | .finish() | |
28778 | } | |
28779 | } | |
28780 | #[cfg(feature = "Win32_Foundation")] | |
28781 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_STREAM { | |
28782 | type TypeKind = ::windows::core::CopyType; | |
28783 | } | |
28784 | #[cfg(feature = "Win32_Foundation")] | |
28785 | impl ::core::cmp::PartialEq for D3D11_VIDEO_PROCESSOR_STREAM { | |
28786 | fn eq(&self, other: &Self) -> bool { | |
28787 | self.Enable == other.Enable && self.OutputIndex == other.OutputIndex && self.InputFrameOrField == other.InputFrameOrField && self.PastFrames == other.PastFrames && self.FutureFrames == other.FutureFrames && self.ppPastSurfaces == other.ppPastSurfaces && self.pInputSurface == other.pInputSurface && self.ppFutureSurfaces == other.ppFutureSurfaces && self.ppPastSurfacesRight == other.ppPastSurfacesRight && self.pInputSurfaceRight == other.pInputSurfaceRight && self.ppFutureSurfacesRight == other.ppFutureSurfacesRight | |
28788 | } | |
28789 | } | |
28790 | #[cfg(feature = "Win32_Foundation")] | |
28791 | impl ::core::cmp::Eq for D3D11_VIDEO_PROCESSOR_STREAM {} | |
28792 | #[cfg(feature = "Win32_Foundation")] | |
28793 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_STREAM { | |
28794 | fn default() -> Self { | |
28795 | unsafe { ::core::mem::zeroed() } | |
28796 | } | |
28797 | } | |
28798 | #[repr(C)] | |
28799 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
28800 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
28801 | pub struct D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT { | |
28802 | pub Enable: super::super::Foundation::BOOL, | |
28803 | pub Width: u32, | |
28804 | pub Height: u32, | |
28805 | pub Format: super::Dxgi::Common::DXGI_FORMAT, | |
28806 | } | |
28807 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
28808 | impl ::core::marker::Copy for D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT {} | |
28809 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
28810 | impl ::core::clone::Clone for D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT { | |
28811 | fn clone(&self) -> Self { | |
28812 | *self | |
28813 | } | |
28814 | } | |
28815 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
28816 | impl ::core::fmt::Debug for D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT { | |
28817 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28818 | f.debug_struct("D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT").field("Enable", &self.Enable).field("Width", &self.Width).field("Height", &self.Height).field("Format", &self.Format).finish() | |
28819 | } | |
28820 | } | |
28821 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
28822 | impl ::windows::core::TypeKind for D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT { | |
28823 | type TypeKind = ::windows::core::CopyType; | |
28824 | } | |
28825 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
28826 | impl ::core::cmp::PartialEq for D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT { | |
28827 | fn eq(&self, other: &Self) -> bool { | |
28828 | self.Enable == other.Enable && self.Width == other.Width && self.Height == other.Height && self.Format == other.Format | |
28829 | } | |
28830 | } | |
28831 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
28832 | impl ::core::cmp::Eq for D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT {} | |
28833 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Dxgi_Common"))] | |
28834 | impl ::core::default::Default for D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT { | |
28835 | fn default() -> Self { | |
28836 | unsafe { ::core::mem::zeroed() } | |
28837 | } | |
28838 | } | |
28839 | #[repr(C)] | |
28840 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
28841 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28842 | pub struct D3D11_VIDEO_SAMPLE_DESC { | |
28843 | pub Width: u32, | |
28844 | pub Height: u32, | |
28845 | pub Format: super::Dxgi::Common::DXGI_FORMAT, | |
28846 | pub ColorSpace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, | |
28847 | } | |
28848 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28849 | impl ::core::marker::Copy for D3D11_VIDEO_SAMPLE_DESC {} | |
28850 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28851 | impl ::core::clone::Clone for D3D11_VIDEO_SAMPLE_DESC { | |
28852 | fn clone(&self) -> Self { | |
28853 | *self | |
28854 | } | |
28855 | } | |
28856 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28857 | impl ::core::fmt::Debug for D3D11_VIDEO_SAMPLE_DESC { | |
28858 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28859 | f.debug_struct("D3D11_VIDEO_SAMPLE_DESC").field("Width", &self.Width).field("Height", &self.Height).field("Format", &self.Format).field("ColorSpace", &self.ColorSpace).finish() | |
28860 | } | |
28861 | } | |
28862 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28863 | impl ::windows::core::TypeKind for D3D11_VIDEO_SAMPLE_DESC { | |
28864 | type TypeKind = ::windows::core::CopyType; | |
28865 | } | |
28866 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28867 | impl ::core::cmp::PartialEq for D3D11_VIDEO_SAMPLE_DESC { | |
28868 | fn eq(&self, other: &Self) -> bool { | |
28869 | self.Width == other.Width && self.Height == other.Height && self.Format == other.Format && self.ColorSpace == other.ColorSpace | |
28870 | } | |
28871 | } | |
28872 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28873 | impl ::core::cmp::Eq for D3D11_VIDEO_SAMPLE_DESC {} | |
28874 | #[cfg(feature = "Win32_Graphics_Dxgi_Common")] | |
28875 | impl ::core::default::Default for D3D11_VIDEO_SAMPLE_DESC { | |
28876 | fn default() -> Self { | |
28877 | unsafe { ::core::mem::zeroed() } | |
28878 | } | |
28879 | } | |
28880 | #[repr(C)] | |
28881 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28882 | pub struct D3D11_VIEWPORT { | |
28883 | pub TopLeftX: f32, | |
28884 | pub TopLeftY: f32, | |
28885 | pub Width: f32, | |
28886 | pub Height: f32, | |
28887 | pub MinDepth: f32, | |
28888 | pub MaxDepth: f32, | |
28889 | } | |
28890 | impl ::core::marker::Copy for D3D11_VIEWPORT {} | |
28891 | impl ::core::clone::Clone for D3D11_VIEWPORT { | |
28892 | fn clone(&self) -> Self { | |
28893 | *self | |
28894 | } | |
28895 | } | |
28896 | impl ::core::fmt::Debug for D3D11_VIEWPORT { | |
28897 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28898 | f.debug_struct("D3D11_VIEWPORT").field("TopLeftX", &self.TopLeftX).field("TopLeftY", &self.TopLeftY).field("Width", &self.Width).field("Height", &self.Height).field("MinDepth", &self.MinDepth).field("MaxDepth", &self.MaxDepth).finish() | |
28899 | } | |
28900 | } | |
28901 | impl ::windows::core::TypeKind for D3D11_VIEWPORT { | |
28902 | type TypeKind = ::windows::core::CopyType; | |
28903 | } | |
28904 | impl ::core::cmp::PartialEq for D3D11_VIEWPORT { | |
28905 | fn eq(&self, other: &Self) -> bool { | |
28906 | self.TopLeftX == other.TopLeftX && self.TopLeftY == other.TopLeftY && self.Width == other.Width && self.Height == other.Height && self.MinDepth == other.MinDepth && self.MaxDepth == other.MaxDepth | |
28907 | } | |
28908 | } | |
28909 | impl ::core::cmp::Eq for D3D11_VIEWPORT {} | |
28910 | impl ::core::default::Default for D3D11_VIEWPORT { | |
28911 | fn default() -> Self { | |
28912 | unsafe { ::core::mem::zeroed() } | |
28913 | } | |
28914 | } | |
28915 | #[repr(C)] | |
28916 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28917 | pub struct D3DX11_FFT_BUFFER_INFO { | |
28918 | pub NumTempBufferSizes: u32, | |
28919 | pub TempBufferFloatSizes: [u32; 4], | |
28920 | pub NumPrecomputeBufferSizes: u32, | |
28921 | pub PrecomputeBufferFloatSizes: [u32; 4], | |
28922 | } | |
28923 | impl ::core::marker::Copy for D3DX11_FFT_BUFFER_INFO {} | |
28924 | impl ::core::clone::Clone for D3DX11_FFT_BUFFER_INFO { | |
28925 | fn clone(&self) -> Self { | |
28926 | *self | |
28927 | } | |
28928 | } | |
28929 | impl ::core::fmt::Debug for D3DX11_FFT_BUFFER_INFO { | |
28930 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28931 | f.debug_struct("D3DX11_FFT_BUFFER_INFO").field("NumTempBufferSizes", &self.NumTempBufferSizes).field("TempBufferFloatSizes", &self.TempBufferFloatSizes).field("NumPrecomputeBufferSizes", &self.NumPrecomputeBufferSizes).field("PrecomputeBufferFloatSizes", &self.PrecomputeBufferFloatSizes).finish() | |
28932 | } | |
28933 | } | |
28934 | impl ::windows::core::TypeKind for D3DX11_FFT_BUFFER_INFO { | |
28935 | type TypeKind = ::windows::core::CopyType; | |
28936 | } | |
28937 | impl ::core::cmp::PartialEq for D3DX11_FFT_BUFFER_INFO { | |
28938 | fn eq(&self, other: &Self) -> bool { | |
28939 | self.NumTempBufferSizes == other.NumTempBufferSizes && self.TempBufferFloatSizes == other.TempBufferFloatSizes && self.NumPrecomputeBufferSizes == other.NumPrecomputeBufferSizes && self.PrecomputeBufferFloatSizes == other.PrecomputeBufferFloatSizes | |
28940 | } | |
28941 | } | |
28942 | impl ::core::cmp::Eq for D3DX11_FFT_BUFFER_INFO {} | |
28943 | impl ::core::default::Default for D3DX11_FFT_BUFFER_INFO { | |
28944 | fn default() -> Self { | |
28945 | unsafe { ::core::mem::zeroed() } | |
28946 | } | |
28947 | } | |
28948 | #[repr(C)] | |
28949 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`*"] | |
28950 | pub struct D3DX11_FFT_DESC { | |
28951 | pub NumDimensions: u32, | |
28952 | pub ElementLengths: [u32; 32], | |
28953 | pub DimensionMask: u32, | |
28954 | pub Type: D3DX11_FFT_DATA_TYPE, | |
28955 | } | |
28956 | impl ::core::marker::Copy for D3DX11_FFT_DESC {} | |
28957 | impl ::core::clone::Clone for D3DX11_FFT_DESC { | |
28958 | fn clone(&self) -> Self { | |
28959 | *self | |
28960 | } | |
28961 | } | |
28962 | impl ::core::fmt::Debug for D3DX11_FFT_DESC { | |
28963 | fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { | |
28964 | f.debug_struct("D3DX11_FFT_DESC").field("NumDimensions", &self.NumDimensions).field("ElementLengths", &self.ElementLengths).field("DimensionMask", &self.DimensionMask).field("Type", &self.Type).finish() | |
28965 | } | |
28966 | } | |
28967 | impl ::windows::core::TypeKind for D3DX11_FFT_DESC { | |
28968 | type TypeKind = ::windows::core::CopyType; | |
28969 | } | |
28970 | impl ::core::cmp::PartialEq for D3DX11_FFT_DESC { | |
28971 | fn eq(&self, other: &Self) -> bool { | |
28972 | self.NumDimensions == other.NumDimensions && self.ElementLengths == other.ElementLengths && self.DimensionMask == other.DimensionMask && self.Type == other.Type | |
28973 | } | |
28974 | } | |
28975 | impl ::core::cmp::Eq for D3DX11_FFT_DESC {} | |
28976 | impl ::core::default::Default for D3DX11_FFT_DESC { | |
28977 | fn default() -> Self { | |
28978 | unsafe { ::core::mem::zeroed() } | |
28979 | } | |
28980 | } | |
28981 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi\"`*"] | |
28982 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi"))] | |
28983 | pub type PFN_D3D11_CREATE_DEVICE = ::core::option::Option<unsafe extern "system" fn(param0: ::core::option::Option<super::Dxgi::IDXGIAdapter>, param1: super::Direct3D::D3D_DRIVER_TYPE, param2: super::super::Foundation::HINSTANCE, param3: u32, param4: *const super::Direct3D::D3D_FEATURE_LEVEL, featurelevels: u32, param6: u32, param7: *mut ::core::option::Option<ID3D11Device>, param8: *mut super::Direct3D::D3D_FEATURE_LEVEL, param9: *mut ::core::option::Option<ID3D11DeviceContext>) -> ::windows::core::HRESULT>; | |
28984 | #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`*"] | |
28985 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common"))] | |
28986 | pub type PFN_D3D11_CREATE_DEVICE_AND_SWAP_CHAIN = ::core::option::Option<unsafe extern "system" fn(param0: ::core::option::Option<super::Dxgi::IDXGIAdapter>, param1: super::Direct3D::D3D_DRIVER_TYPE, param2: super::super::Foundation::HINSTANCE, param3: u32, param4: *const super::Direct3D::D3D_FEATURE_LEVEL, featurelevels: u32, param6: u32, param7: *const super::Dxgi::DXGI_SWAP_CHAIN_DESC, param8: *mut ::core::option::Option<super::Dxgi::IDXGISwapChain>, param9: *mut ::core::option::Option<ID3D11Device>, param10: *mut super::Direct3D::D3D_FEATURE_LEVEL, param11: *mut ::core::option::Option<ID3D11DeviceContext>) -> ::windows::core::HRESULT>; | |
28987 | #[cfg(feature = "implement")] | |
28988 | ::core::include!("impl.rs"); |