Struct winapi::d3d9::IDirect3D9 [] [src]

pub struct IDirect3D9 {
    pub lpVtbl: *const IDirect3D9Vtbl,
}

Fields

lpVtbl

Methods

impl IDirect3D9

unsafe fn RegisterSoftwareDevice(&mut self, pInitializeFunction: *mut VOID) -> HRESULT

unsafe fn GetAdapterCount(&mut self) -> UINT

unsafe fn GetAdapterIdentifier(&mut self, Adapter: UINT, Flags: DWORD, pIdentifier: *mut D3DADAPTER_IDENTIFIER9) -> HRESULT

unsafe fn GetAdapterModeCount(&mut self, Adapter: UINT, Format: D3DFORMAT) -> UINT

unsafe fn EnumAdapterModes(&mut self, Adapter: UINT, Format: D3DFORMAT, Mode: UINT, pMode: *mut D3DDISPLAYMODE) -> HRESULT

unsafe fn GetAdapterDisplayMode(&mut self, Adapter: UINT, pMode: *mut D3DDISPLAYMODE) -> HRESULT

unsafe fn CheckDeviceType(&mut self, Adapter: UINT, DevType: D3DDEVTYPE, AdapterFormat: D3DFORMAT, BackBufferFormat: D3DFORMAT, bWindowed: BOOL) -> HRESULT

unsafe fn CheckDeviceFormat(&mut self, Adapter: UINT, DeviceType: D3DDEVTYPE, AdapterFormat: D3DFORMAT, Usage: DWORD, RType: D3DRESOURCETYPE, CheckFormat: D3DFORMAT) -> HRESULT

unsafe fn CheckDeviceMultiSampleType(&mut self, Adapter: UINT, DeviceType: D3DDEVTYPE, SurfaceFormat: D3DFORMAT, Windowed: BOOL, MultiSampleType: D3DMULTISAMPLE_TYPE, pQualityLevels: *mut DWORD) -> HRESULT

unsafe fn CheckDepthStencilMatch(&mut self, Adapter: UINT, DeviceType: D3DDEVTYPE, AdapterFormat: D3DFORMAT, RenderTargetFormat: D3DFORMAT, DepthStencilFormat: D3DFORMAT) -> HRESULT

unsafe fn CheckDeviceFormatConversion(&mut self, Adapter: UINT, DeviceType: D3DDEVTYPE, SourceFormat: D3DFORMAT, TargetFormat: D3DFORMAT) -> HRESULT

unsafe fn GetDeviceCaps(&mut self, Adapter: UINT, DeviceType: D3DDEVTYPE, pCaps: *mut D3DCAPS9) -> HRESULT

unsafe fn GetAdapterMonitor(&mut self, Adapter: UINT) -> HMONITOR

unsafe fn CreateDevice(&mut self, Adapter: UINT, DeviceType: D3DDEVTYPE, hFocusWindow: HWND, BehaviorFlags: DWORD, pPresentationParameters: *mut D3DPRESENT_PARAMETERS, ppReturnedDeviceInterface: *mut *mut IDirect3DDevice9) -> HRESULT

Methods from Deref<Target=IUnknown>

unsafe fn QueryInterface(&mut self, riid: REFIID, ppvObject: *mut *mut c_void) -> HRESULT

unsafe fn AddRef(&mut self) -> ULONG

unsafe fn Release(&mut self) -> ULONG

Trait Implementations

impl Deref for IDirect3D9

type Target = IUnknown

fn deref(&self) -> &IUnknown

impl DerefMut for IDirect3D9

fn deref_mut(&mut self) -> &mut IUnknown

Derived Implementations

impl Debug for IDirect3D9

fn fmt(&self, __arg_0: &mut Formatter) -> Result