#[repr(C)]pub struct IDirect3D9Vtbl {Show 15 fields
pub parent: IUnknownVtbl,
pub RegisterSoftwareDevice: unsafe extern "system" fn(This: *mut IDirect3D9, pInitializeFunction: *mut VOID) -> HRESULT,
pub GetAdapterCount: unsafe extern "system" fn(This: *mut IDirect3D9) -> UINT,
pub GetAdapterIdentifier: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, Flags: DWORD, pIdentifier: *mut D3DADAPTER_IDENTIFIER9) -> HRESULT,
pub GetAdapterModeCount: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, Format: D3DFORMAT) -> UINT,
pub EnumAdapterModes: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, Format: D3DFORMAT, Mode: UINT, pMode: *mut D3DDISPLAYMODE) -> HRESULT,
pub GetAdapterDisplayMode: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, pMode: *mut D3DDISPLAYMODE) -> HRESULT,
pub CheckDeviceType: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, DevType: D3DDEVTYPE, AdapterFormat: D3DFORMAT, BackBufferFormat: D3DFORMAT, bWindowed: BOOL) -> HRESULT,
pub CheckDeviceFormat: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, DeviceType: D3DDEVTYPE, AdapterFormat: D3DFORMAT, Usage: DWORD, RType: D3DRESOURCETYPE, CheckFormat: D3DFORMAT) -> HRESULT,
pub CheckDeviceMultiSampleType: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, DeviceType: D3DDEVTYPE, SurfaceFormat: D3DFORMAT, Windowed: BOOL, MultiSampleType: D3DMULTISAMPLE_TYPE, pQualityLevels: *mut DWORD) -> HRESULT,
pub CheckDepthStencilMatch: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, DeviceType: D3DDEVTYPE, AdapterFormat: D3DFORMAT, RenderTargetFormat: D3DFORMAT, DepthStencilFormat: D3DFORMAT) -> HRESULT,
pub CheckDeviceFormatConversion: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, DeviceType: D3DDEVTYPE, SourceFormat: D3DFORMAT, TargetFormat: D3DFORMAT) -> HRESULT,
pub GetDeviceCaps: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, DeviceType: D3DDEVTYPE, pCaps: *mut D3DCAPS9) -> HRESULT,
pub GetAdapterMonitor: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT) -> HMONITOR,
pub CreateDevice: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, DeviceType: D3DDEVTYPE, hFocusWindow: HWND, BehaviorFlags: DWORD, pPresentationParameters: *mut D3DPRESENT_PARAMETERS, ppReturnedDeviceInterface: *mut *mut IDirect3DDevice9) -> HRESULT,
}
Fields§
§parent: IUnknownVtbl
§RegisterSoftwareDevice: unsafe extern "system" fn(This: *mut IDirect3D9, pInitializeFunction: *mut VOID) -> HRESULT
§GetAdapterCount: unsafe extern "system" fn(This: *mut IDirect3D9) -> UINT
§GetAdapterIdentifier: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, Flags: DWORD, pIdentifier: *mut D3DADAPTER_IDENTIFIER9) -> HRESULT
§GetAdapterModeCount: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, Format: D3DFORMAT) -> UINT
§EnumAdapterModes: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, Format: D3DFORMAT, Mode: UINT, pMode: *mut D3DDISPLAYMODE) -> HRESULT
§GetAdapterDisplayMode: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, pMode: *mut D3DDISPLAYMODE) -> HRESULT
§CheckDeviceType: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, DevType: D3DDEVTYPE, AdapterFormat: D3DFORMAT, BackBufferFormat: D3DFORMAT, bWindowed: BOOL) -> HRESULT
§CheckDeviceFormat: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, DeviceType: D3DDEVTYPE, AdapterFormat: D3DFORMAT, Usage: DWORD, RType: D3DRESOURCETYPE, CheckFormat: D3DFORMAT) -> HRESULT
§CheckDeviceMultiSampleType: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, DeviceType: D3DDEVTYPE, SurfaceFormat: D3DFORMAT, Windowed: BOOL, MultiSampleType: D3DMULTISAMPLE_TYPE, pQualityLevels: *mut DWORD) -> HRESULT
§CheckDepthStencilMatch: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, DeviceType: D3DDEVTYPE, AdapterFormat: D3DFORMAT, RenderTargetFormat: D3DFORMAT, DepthStencilFormat: D3DFORMAT) -> HRESULT
§CheckDeviceFormatConversion: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, DeviceType: D3DDEVTYPE, SourceFormat: D3DFORMAT, TargetFormat: D3DFORMAT) -> HRESULT
§GetDeviceCaps: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, DeviceType: D3DDEVTYPE, pCaps: *mut D3DCAPS9) -> HRESULT
§GetAdapterMonitor: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT) -> HMONITOR
§CreateDevice: unsafe extern "system" fn(This: *mut IDirect3D9, Adapter: UINT, DeviceType: D3DDEVTYPE, hFocusWindow: HWND, BehaviorFlags: DWORD, pPresentationParameters: *mut D3DPRESENT_PARAMETERS, ppReturnedDeviceInterface: *mut *mut IDirect3DDevice9) -> HRESULT
Auto Trait Implementations§
impl Freeze for IDirect3D9Vtbl
impl RefUnwindSafe for IDirect3D9Vtbl
impl Send for IDirect3D9Vtbl
impl Sync for IDirect3D9Vtbl
impl Unpin for IDirect3D9Vtbl
impl UnwindSafe for IDirect3D9Vtbl
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