Andrew
Andrew

Reputation: 392

What version of DirectX does WPF's Viewport3D use?

I am working on a project and need to display a 3D scene (with animation) within my WPF application. It should be a relatively simple scene, but the hardware it will run on might be pretty constrained, so I am concerned about performance and efficiency.

I am evaluating whether to use WPF's Viewport3D, but am concerned that it might be using DirectX 9 on the backend. Ideally I wouldn't mind DirectX 11 or 12, though I suppose 10 would be acceptable. I hear DirectX 9 is less performant, though, so I'd like to avoid that.

Does anyone know what version of DirectX WPF's Viewport3D leverages under the hood?

Thanks.

Upvotes: 1

Views: 1661

Answers (1)

thatguy
thatguy

Reputation: 22079

For .NET Core there is an open issue around improving the 3D features of WPF, including upgrading to a newer version of DirectX, which also confirms the current implementation.

WPF still uses DX9 in both .NET Framework and .NET core.

Other references on that topic:

Upvotes: 1

Related Questions