Struct windows::Win32::Graphics::Direct3D9::IDirect3D9_Vtbl
#[repr(C)]pub struct IDirect3D9_Vtbl {Show 15 fields
pub base__: IUnknown_Vtbl,
pub RegisterSoftwareDevice: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub GetAdapterCount: unsafe extern "system" fn(_: *mut c_void) -> u32,
pub GetAdapterIdentifier: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut D3DADAPTER_IDENTIFIER9) -> HRESULT,
pub GetAdapterModeCount: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DFORMAT) -> u32,
pub EnumAdapterModes: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DFORMAT, _: u32, _: *mut D3DDISPLAYMODE) -> HRESULT,
pub GetAdapterDisplayMode: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut D3DDISPLAYMODE) -> HRESULT,
pub CheckDeviceType: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DDEVTYPE, _: D3DFORMAT, _: D3DFORMAT, _: BOOL) -> HRESULT,
pub CheckDeviceFormat: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DDEVTYPE, _: D3DFORMAT, _: u32, _: D3DRESOURCETYPE, _: D3DFORMAT) -> HRESULT,
pub CheckDeviceMultiSampleType: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DDEVTYPE, _: D3DFORMAT, _: BOOL, _: D3DMULTISAMPLE_TYPE, _: *mut u32) -> HRESULT,
pub CheckDepthStencilMatch: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DDEVTYPE, _: D3DFORMAT, _: D3DFORMAT, _: D3DFORMAT) -> HRESULT,
pub CheckDeviceFormatConversion: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DDEVTYPE, _: D3DFORMAT, _: D3DFORMAT) -> HRESULT,
pub GetDeviceCaps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DDEVTYPE, _: *mut D3DCAPS9) -> HRESULT,
pub GetAdapterMonitor: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HMONITOR,
pub CreateDevice: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DDEVTYPE, _: HWND, _: u32, _: *mut D3DPRESENT_PARAMETERS, _: *mut *mut c_void) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§RegisterSoftwareDevice: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§GetAdapterCount: unsafe extern "system" fn(_: *mut c_void) -> u32
§GetAdapterIdentifier: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut D3DADAPTER_IDENTIFIER9) -> HRESULT
§GetAdapterModeCount: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DFORMAT) -> u32
§EnumAdapterModes: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DFORMAT, _: u32, _: *mut D3DDISPLAYMODE) -> HRESULT
§GetAdapterDisplayMode: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut D3DDISPLAYMODE) -> HRESULT
§CheckDeviceType: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DDEVTYPE, _: D3DFORMAT, _: D3DFORMAT, _: BOOL) -> HRESULT
§CheckDeviceFormat: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DDEVTYPE, _: D3DFORMAT, _: u32, _: D3DRESOURCETYPE, _: D3DFORMAT) -> HRESULT
§CheckDeviceMultiSampleType: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DDEVTYPE, _: D3DFORMAT, _: BOOL, _: D3DMULTISAMPLE_TYPE, _: *mut u32) -> HRESULT
§CheckDepthStencilMatch: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DDEVTYPE, _: D3DFORMAT, _: D3DFORMAT, _: D3DFORMAT) -> HRESULT
§CheckDeviceFormatConversion: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DDEVTYPE, _: D3DFORMAT, _: D3DFORMAT) -> HRESULT
§GetDeviceCaps: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DDEVTYPE, _: *mut D3DCAPS9) -> HRESULT
§GetAdapterMonitor: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HMONITOR
§CreateDevice: unsafe extern "system" fn(_: *mut c_void, _: u32, _: D3DDEVTYPE, _: HWND, _: u32, _: *mut D3DPRESENT_PARAMETERS, _: *mut *mut c_void) -> HRESULT
Implementations§
§impl IDirect3D9_Vtbl
impl IDirect3D9_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IDirect3D9_Vtblwhere
Identity: IDirect3D9_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IDirect3D9_Vtbl
impl RefUnwindSafe for IDirect3D9_Vtbl
impl Send for IDirect3D9_Vtbl
impl Sync for IDirect3D9_Vtbl
impl Unpin for IDirect3D9_Vtbl
impl UnwindSafe for IDirect3D9_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