How to map a d3d11texture in format nv12 to d3d12 with d3d11on12?

Logoro 1 Reputation point
2022-04-20T00:59:14.797+00:00

I try to get a handle of this d3d11texture : getsharedhandle, open the handle by the d3d11on12 device : opensharedresource ,and then map the d3d11texture to d3d12
: UnwrapUnderlyingResource.But i can only get the Y data.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,420 questions
{count} votes