Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

D3D12_SHARED_RESOURCE_COMPATIBILITY_TIER enumeration (d3d12.h)

Defines constants that specify a cross-API sharing support tier.

The resource data formats mentioned are members of the DXGI_FORMAT enumeration.

Syntax

typedef enum D3D12_SHARED_RESOURCE_COMPATIBILITY_TIER {
 D3D12_SHARED_RESOURCE_COMPATIBILITY_TIER_0 = 0,
 D3D12_SHARED_RESOURCE_COMPATIBILITY_TIER_1,
 D3D12_SHARED_RESOURCE_COMPATIBILITY_TIER_2
} ;

Constants

 
D3D12_SHARED_RESOURCE_COMPATIBILITY_TIER_0
Value: 0
Related to D3D11_SHARED_RESOURCE_TIER::D3D11_SHARED_RESOURCE_TIER_1.

Specifies that the most basic level of cross-API sharing is supported, including the following resource data formats.

* DXGI_FORMAT_R8G8B8A8_UNORM
* DXGI_FORMAT_R8G8B8A8_UNORM_SRGB
* DXGI_FORMAT_B8G8R8A8_UNORM
* DXGI_FORMAT_B8G8R8A8_UNORM_SRGB
* DXGI_FORMAT_B8G8R8X8_UNORM
* DXGI_FORMAT_B8G8R8X8_UNORM_SRGB
* DXGI_FORMAT_R10G10B10A2_UNORM
* DXGI_FORMAT_R16G16B16A16_FLOAT
D3D12_SHARED_RESOURCE_COMPATIBILITY_TIER_1
Related to D3D11_SHARED_RESOURCE_TIER::D3D11_SHARED_RESOURCE_TIER_2.

Specifies that cross-API sharing functionality of D3D12_SHARED_RESOURCE_COMPATIBILITY_TIER_0 is supported, plus the following formats.

* DXGI_FORMAT_R16G16B16A16_TYPELESS
* DXGI_FORMAT_R10G10B10A2_TYPELESS
* DXGI_FORMAT_R8G8B8A8_TYPELESS
* DXGI_FORMAT_R8G8B8X8_TYPELESS
* DXGI_FORMAT_R16G16_TYPELESS
* DXGI_FORMAT_R8G8_TYPELESS
* DXGI_FORMAT_R32_TYPELESS
* DXGI_FORMAT_R16_TYPELESS
* DXGI_FORMAT_R8_TYPELESS

This level support is built into WDDM 2.4.

Also see Extended support for shared Texture2D resources.
D3D12_SHARED_RESOURCE_COMPATIBILITY_TIER_2
Related to D3D11_SHARED_RESOURCE_TIER::D3D11_SHARED_RESOURCE_TIER_3.

Specifies that cross-API sharing functionality of D3D12_SHARED_RESOURCE_COMPATIBILITY_TIER_1 is supported, plus the following formats.

* DXGI_FORMAT_NV12 (also see Extended NV12 texture support)

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header d3d12.h

Feedback

Was this page helpful?

Additional resources