DarkBASIC Professional Help File

DX11 GET HARDWARE VERSION

Retrieves the used feature level, determining hardware support.
You can use this function at runtime to determine whether the current hardware supports certain functions / features only available in later versions of DX.
DX11 is a strict superset of DX10, meaning that all DX10 functionality is present in DX11.

Syntax

    Return Dword = DX11 GET HARDWARE VERSION()

Parameters

    This function does not take any parameters.

Returns

The hardware feature level DX11 is running on. Note that if you explicitly set DXVERSION_10_0 on a DX11 capable machine, this function will still return DXVERSION_10_0.

See also

CORE Functions Menu
DX11 Function Categories