#[repr(C)]pub struct IDXGIDevice1 {
pub lpVtbl: *const IDXGIDevice1Vtbl,
}
Fields§
§lpVtbl: *const IDXGIDevice1Vtbl
Implementations§
Source§impl IDXGIDevice1
impl 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 IDXGIDevice1
impl Deref for IDXGIDevice1
Source§type Target = IDXGIDevice
type Target = IDXGIDevice
The resulting type after dereferencing.
Source§fn deref(&self) -> &IDXGIDevice
fn deref(&self) -> &IDXGIDevice
Dereferences the value.
Auto Trait Implementations§
impl Freeze for IDXGIDevice1
impl RefUnwindSafe for IDXGIDevice1
impl !Send for IDXGIDevice1
impl !Sync for IDXGIDevice1
impl Unpin for IDXGIDevice1
impl UnwindSafe for IDXGIDevice1
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