Win32 API 日本語リファレンス
ホームGraphics.Direct3D9 › IDirect3D9

IDirect3D9

COM
IID81bdcbca-64d4-426d-ae8d-ad0147f4275c継承元IUnknown自前メソッド開始 vtbl3

メソッド 14

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtblメソッド
3HRESULT RegisterSoftwareDevice(void* pInitializeFunction)
4DWORD GetAdapterCount()
5HRESULT GetAdapterIdentifier(DWORD Adapter, DWORD Flags, D3DADAPTER_IDENTIFIER9* pIdentifier)
6DWORD GetAdapterModeCount(DWORD Adapter, D3DFORMAT Format)
7HRESULT EnumAdapterModes(DWORD Adapter, D3DFORMAT Format, DWORD Mode, D3DDISPLAYMODE* pMode)
8HRESULT GetAdapterDisplayMode(DWORD Adapter, D3DDISPLAYMODE* pMode)
9HRESULT CheckDeviceType(DWORD Adapter, D3DDEVTYPE DevType, D3DFORMAT AdapterFormat, D3DFORMAT BackBufferFormat, BOOL bWindowed)
10HRESULT CheckDeviceFormat(DWORD Adapter, D3DDEVTYPE DeviceType, D3DFORMAT AdapterFormat, DWORD Usage, D3DRESOURCETYPE RType, D3DFORMAT CheckFormat)
11HRESULT CheckDeviceMultiSampleType(DWORD Adapter, D3DDEVTYPE DeviceType, D3DFORMAT SurfaceFormat, BOOL Windowed, D3DMULTISAMPLE_TYPE MultiSampleType, DWORD* pQualityLevels)
12HRESULT CheckDepthStencilMatch(DWORD Adapter, D3DDEVTYPE DeviceType, D3DFORMAT AdapterFormat, D3DFORMAT RenderTargetFormat, D3DFORMAT DepthStencilFormat)
13HRESULT CheckDeviceFormatConversion(DWORD Adapter, D3DDEVTYPE DeviceType, D3DFORMAT SourceFormat, D3DFORMAT TargetFormat)
14HRESULT GetDeviceCaps(DWORD Adapter, D3DDEVTYPE DeviceType, D3DCAPS9* pCaps)
15HMONITOR GetAdapterMonitor(DWORD Adapter)
16HRESULT CreateDevice(DWORD Adapter, D3DDEVTYPE DeviceType, HWND hFocusWindow, DWORD BehaviorFlags, D3DPRESENT_PARAMETERS* pPresentationParameters, IDirect3DDevice9** ppReturnedDeviceInterface)