Struct windows::Win32::Graphics::Dxgi::IDXGIDevice_Vtbl
#[repr(C)]pub struct IDXGIDevice_Vtbl {
pub base__: IDXGIObject_Vtbl,
pub GetAdapter: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub CreateSurface: unsafe extern "system" fn(_: *mut c_void, _: *const DXGI_SURFACE_DESC, _: u32, _: DXGI_USAGE, _: *const DXGI_SHARED_RESOURCE, _: *mut *mut c_void) -> HRESULT,
pub QueryResourceResidency: unsafe extern "system" fn(_: *mut c_void, _: *const *mut c_void, _: *mut DXGI_RESIDENCY, _: u32) -> HRESULT,
pub SetGPUThreadPriority: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT,
pub GetGPUThreadPriority: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT,
}
Fields§
§base__: IDXGIObject_Vtbl
§GetAdapter: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§CreateSurface: unsafe extern "system" fn(_: *mut c_void, _: *const DXGI_SURFACE_DESC, _: u32, _: DXGI_USAGE, _: *const DXGI_SHARED_RESOURCE, _: *mut *mut c_void) -> HRESULT
§QueryResourceResidency: unsafe extern "system" fn(_: *mut c_void, _: *const *mut c_void, _: *mut DXGI_RESIDENCY, _: u32) -> HRESULT
§SetGPUThreadPriority: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT
§GetGPUThreadPriority: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT
Implementations§
§impl IDXGIDevice_Vtbl
impl IDXGIDevice_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IDXGIDevice_Vtblwhere
Identity: IDXGIDevice_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IDXGIDevice_Vtbl
impl RefUnwindSafe for IDXGIDevice_Vtbl
impl Send for IDXGIDevice_Vtbl
impl Sync for IDXGIDevice_Vtbl
impl Unpin for IDXGIDevice_Vtbl
impl UnwindSafe for IDXGIDevice_Vtbl
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