How to use Direct3D in VTK?

Hello,

I want to use Direct3D for rendering in VTK instead of the default OpenGL. How can I switch the VTK backend to Direct3D?

VTK does not have a Direct3D backend. Instead it relies on OpenGL for a universal graphics API.

In the future, vtk plans to switch to webgpu native which is a newer platform agnostic API that then defers to Direct3D on Windows.

1 Like