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

#[repr(C)]
pub struct IDirect3D9 { pub lpVtbl: *const IDirect3D9Vtbl, }

Fields

lpVtbl: *const IDirect3D9Vtbl

Methods

impl IDirect3D9[src]

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

pub unsafe fn GetAdapterCount(&self) -> UINT[src]

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

pub unsafe fn GetAdapterModeCount(
    &self,
    Adapter: UINT,
    Format: D3DFORMAT
) -> UINT
[src]

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

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

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

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

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

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

pub unsafe fn CheckDeviceFormatConversion(
    &self,
    Adapter: UINT,
    DeviceType: D3DDEVTYPE,
    SourceFormat: D3DFORMAT,
    TargetFormat: D3DFORMAT
) -> HRESULT
[src]

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

pub unsafe fn GetAdapterMonitor(&self, Adapter: UINT) -> HMONITOR[src]

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

Methods from Deref<Target = IUnknown>

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

pub unsafe fn AddRef(&self) -> ULONG[src]

pub unsafe fn Release(&self) -> ULONG[src]

Trait Implementations

impl Interface for IDirect3D9[src]

impl Deref for IDirect3D9[src]

type Target = IUnknown

The resulting type after dereferencing.

Auto Trait Implementations

impl !Send for IDirect3D9

impl !Sync for IDirect3D9

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]