Directx Query Fivem — New!
Example: "C:\Users\YourName\AppData\Local\FiveM\FiveM.exe" -DX10
local featureLevels = [`DX_FEATURE_LEVEL_10_0`] = "10_0", [`DX_FEATURE_LEVEL_10_1`] = "10_1", [`DX_FEATURE_LEVEL_11_0`] = "11_0", [`DX_FEATURE_LEVEL_11_1`] = "11_1", [`DX_FEATURE_LEVEL_12_0`] = "12_0", [`DX_FEATURE_LEVEL_12_1`] = "12_1" directx query fivem
// Create a DirectX context IDirect3DDevice9* device; D3DPRESENTPARAMETERS d3dpp; ZeroMemory(&d3dpp, sizeof(d3dpp)); d3dpp.Windowed = TRUE; d3dpp.SwapEffect = D3DSWAPEFFECT_DISCARD; d3dpp.hDeviceWindow = hWnd; Example: "C:\Users\YourName\AppData\Local\FiveM\FiveM
The benefits of using DirectX Query in FiveM are numerous: [`DX_FEATURE_LEVEL_10_1`] = "10_1"

