This is not possible given the limited format support of these DirectX features and WPF interop (using D3D9Image).
One way to achieve interop between all these features is to do almost everything in R8G8B8A8_UNorm
, then at the very end use Direct2D to write the result to a B8G8R8A8_UNorm
render target that is used for interop with WPF. Direct2D can write the RGB result to a BGR target so it's quite simple.