SDL_GetDirect3D9AdapterIndex

Get the D3D9 adapter index that matches the specified display.

The returned adapter index can be passed to IDirect3D9::CreateDevice and controls on which monitor a full screen application will appear.

version(Windows)
extern (C) nothrow @nogc extern
int
SDL_GetDirect3D9AdapterIndex

Parameters

displayID SDL_DisplayID

The instance of the display to query.

Return Value

Type: int

The D3D9 adapter index on success or -1 on failure; call SDL_GetError() for more information.

Meta