#[repr(C)]pub struct IDXGIDevice2 {
pub lpVtbl: *const IDXGIDevice2Vtbl,
}
Fields§
§lpVtbl: *const IDXGIDevice2Vtbl
Implementations§
Source§impl IDXGIDevice2
impl IDXGIDevice2
pub unsafe fn OfferResources( &self, NumResources: UINT, ppResources: *mut *mut IDXGIResource, Priority: DXGI_OFFER_RESOURCE_PRIORITY, ) -> HRESULT
pub unsafe fn ReclaimResources( &self, NumResources: UINT, ppResources: *mut *mut IDXGIResource, pDiscarded: *mut BOOL, ) -> HRESULT
pub unsafe fn EnqueueSetEvent(&self, hEvent: HANDLE) -> HRESULT
Methods from Deref<Target = IDXGIDevice1>§
pub unsafe fn SetMaximumFrameLatency(&self, MaxLatency: UINT) -> HRESULT
pub unsafe fn GetMaximumFrameLatency(&self, pMaxLatency: *mut UINT) -> HRESULT
Methods from Deref<Target = IDXGIDevice>§
pub unsafe fn GetAdapter(&self, pAdapter: *mut *mut IDXGIAdapter) -> HRESULT
pub unsafe fn CreateSurface( &self, pDesc: *const DXGI_SURFACE_DESC, NumSurfaces: UINT, Usage: DXGI_USAGE, pSharedResource: *const DXGI_SHARED_RESOURCE, ppSurface: *mut *mut IDXGISurface, ) -> HRESULT
pub unsafe fn QueryResourceResidency( &self, ppResources: *const *mut IUnknown, pResidencyStatus: *mut DXGI_RESIDENCY, NumResources: UINT, ) -> HRESULT
pub unsafe fn SetGPUThreadPriority(&self, Priority: INT) -> HRESULT
pub unsafe fn GetGPUThreadPriority(&self, pPriority: *mut INT) -> HRESULT
Methods from Deref<Target = IDXGIObject>§
pub unsafe fn SetPrivateData( &self, Name: REFGUID, DataSize: UINT, pData: *const c_void, ) -> HRESULT
pub unsafe fn SetPrivateDataInterface( &self, Name: REFGUID, pUnknown: *const IUnknown, ) -> HRESULT
pub unsafe fn GetPrivateData( &self, Name: REFGUID, pDataSize: *mut UINT, pData: *mut c_void, ) -> HRESULT
pub unsafe fn GetParent( &self, riid: REFIID, ppParent: *mut *mut c_void, ) -> HRESULT
Trait Implementations§
Source§impl Deref for IDXGIDevice2
impl Deref for IDXGIDevice2
Source§type Target = IDXGIDevice1
type Target = IDXGIDevice1
The resulting type after dereferencing.
Source§fn deref(&self) -> &IDXGIDevice1
fn deref(&self) -> &IDXGIDevice1
Dereferences the value.
Auto Trait Implementations§
impl Freeze for IDXGIDevice2
impl RefUnwindSafe for IDXGIDevice2
impl !Send for IDXGIDevice2
impl !Sync for IDXGIDevice2
impl Unpin for IDXGIDevice2
impl UnwindSafe for IDXGIDevice2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more