IDirect3D9Vtbl

Struct IDirect3D9Vtbl 

Source
#[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§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.