casfinger.blogg.se

Directx feature level 10 download
Directx feature level 10 download







directx feature level 10 download

If you provide a D3D_FEATURE_LEVEL array that contains D3D_FEATURE_LEVEL_11_1 on a computer that doesn't have the Direct3D 11.1 runtime installed, this function immediately fails with E_INVALIDARG.ĭ3D_FEATURE_LEVEL MaxSupportedFeatureLevel = D3D_FEATURE_LEVEL_9_1 To create a D3D_FEATURE_LEVEL_11_1 device, you must explicitly provide a D3D_FEATURE_LEVEL array that includes D3D_FEATURE_LEVEL_11_1. If the Direct3D 11.1 runtime is present on the computer and pFeatureLevels is set to NULL, this function won't create a D3D_FEATURE_LEVEL_11_1 device. Note that this code lists all feature levels explicitly (for Direct3D 11.1 and Direct3D 11.2). You can use this code to examine the value of the D3D_FEATURE_LEVEL enumerated type that D3D11CreateDevice returns.

directx feature level 10 download

D3D11CreateDevice stores the highest supported feature level in the FeatureLevel variable. The following code example demonstrates how to determine the highest supported feature level by calling the D3D11CreateDevice function. You can do this before device creation.Ĭall ID3D11Device::GetFeatureLevel after device creation.Įxamine the value of the returned D3D_FEATURE_LEVEL enumeration from the last step to determine the supported feature level. When you know the highest feature level supported by a device, you can run code paths that are appropriate for that device.Ĭall either the D3D11CreateDevice function or the D3D11CreateDeviceAndSwapChain functions while specifying NULL for the ppDevice parameter. Direct3D 11 devices support a fixed set of feature levels that are defined in the D3D_FEATURE_LEVEL enumeration. This topics shows how to get the highest feature level supported by a device.









Directx feature level 10 download