#[repr(C)]pub struct IDXGIDeviceVtbl {
pub parent: IDXGIObjectVtbl,
pub GetAdapter: unsafe extern "system" fn(This: *mut IDXGIDevice, pAdapter: *mut *mut IDXGIAdapter) -> HRESULT,
pub CreateSurface: unsafe extern "system" fn(This: *mut IDXGIDevice, pDesc: *const DXGI_SURFACE_DESC, NumSurfaces: UINT, Usage: DXGI_USAGE, pSharedResource: *const DXGI_SHARED_RESOURCE, ppSurface: *mut *mut IDXGISurface) -> HRESULT,
pub QueryResourceResidency: unsafe extern "system" fn(This: *mut IDXGIDevice, ppResources: *const *mut IUnknown, pResidencyStatus: *mut DXGI_RESIDENCY, NumResources: UINT) -> HRESULT,
pub SetGPUThreadPriority: unsafe extern "system" fn(This: *mut IDXGIDevice, Priority: INT) -> HRESULT,
pub GetGPUThreadPriority: unsafe extern "system" fn(This: *mut IDXGIDevice, pPriority: *mut INT) -> HRESULT,
}
Fields§
§parent: IDXGIObjectVtbl
§GetAdapter: unsafe extern "system" fn(This: *mut IDXGIDevice, pAdapter: *mut *mut IDXGIAdapter) -> HRESULT
§CreateSurface: unsafe extern "system" fn(This: *mut IDXGIDevice, pDesc: *const DXGI_SURFACE_DESC, NumSurfaces: UINT, Usage: DXGI_USAGE, pSharedResource: *const DXGI_SHARED_RESOURCE, ppSurface: *mut *mut IDXGISurface) -> HRESULT
§QueryResourceResidency: unsafe extern "system" fn(This: *mut IDXGIDevice, ppResources: *const *mut IUnknown, pResidencyStatus: *mut DXGI_RESIDENCY, NumResources: UINT) -> HRESULT
§SetGPUThreadPriority: unsafe extern "system" fn(This: *mut IDXGIDevice, Priority: INT) -> HRESULT
§GetGPUThreadPriority: unsafe extern "system" fn(This: *mut IDXGIDevice, pPriority: *mut INT) -> HRESULT
Auto Trait Implementations§
impl Freeze for IDXGIDeviceVtbl
impl RefUnwindSafe for IDXGIDeviceVtbl
impl Send for IDXGIDeviceVtbl
impl Sync for IDXGIDeviceVtbl
impl Unpin for IDXGIDeviceVtbl
impl UnwindSafe for IDXGIDeviceVtbl
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