[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D9.Direct3D.CreateDevice

CreateDevice Method

CreateDevice(int, DeviceType, IntPtr, CreateFlags, PresentParameters[])

HRESULT IDirect3D9::CreateDevice([In] unsigned int Adapter,[In] D3DDEVTYPE DeviceType,[In] HWND hFocusWindow,[In] D3DCREATE BehaviorFlags,[In, Buffer] D3DPRESENT_PARAMETERS* pPresentationParameters,[Out, Fast] IDirect3DDevice9** ppReturnedDeviceInterface)

Declaration
public Device CreateDevice(int adapter, DeviceType deviceType, IntPtr hFocusWindow, CreateFlags behaviorFlags, PresentParameters[] presentationParametersRef)
Public Function CreateDevice(adapter As Integer, deviceType As DeviceType, hFocusWindow As IntPtr, behaviorFlags As CreateFlags, presentationParametersRef As PresentParameters()) As Device
Parameters
Type Name Description
int adapter
DeviceType deviceType
IntPtr hFocusWindow
CreateFlags behaviorFlags
PresentParameters[] presentationParametersRef
Returns
Type Description
Device