SDL_GetDXGIOutputInfo

Get the DXGI Adapter and Output indices for the specified display.

The DXGI Adapter and Output indices can be passed to EnumAdapters and EnumOutputs respectively to get the objects required to create a DX10 or DX11 device and swap chain.

version(Windows)
extern (C) nothrow @nogc extern
bool
SDL_GetDXGIOutputInfo

Parameters

displayID SDL_DisplayID

The instance of the display to query.

adapterIndex int*

A pointer to be filled in with the adapter index.

outputIndex int*

A pointer to be filled in with the output index.

Return Value

Type: bool

true on success or false on failure; call SDL_GetError() for more information.

Meta