Casting Ability of XR Formats

This section applies only to Windows 7 and later operating systems.

The DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM format is a member of the DXGI_FORMAT_R10G10B10A2_TYPELESS family. Therefore, an application can cast the DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM format through the API-level concept of "views" to any other member of that family. This procedure is the expected way that an application renders to a resource. Specifically, the Direct3D runtime can only scan out and copy (through the driver's BltDXGI function) a resource of format XR_BIAS. Therefore, to render to the resource, an application typically creates a view of format DXGI_FORMAT_R10G10B10A2_UNORM.