# How to use Direct3D in VTK?

**URL:** https://discourse.vtk.org/t/how-to-use-direct3d-in-vtk/14609
**Category:** Support
**Created:** [September 24, 2024, 8:51am UTC](https://discourse.vtk.org/t/how-to-use-direct3d-in-vtk/14609 "2024-09-24T08:51:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Bipey](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ecae2f/32.png) [@Bipey](https://discourse.vtk.org/u/Bipey)
#### Post date: [September 24, 2024, 8:51am UTC](https://discourse.vtk.org/t/how-to-use-direct3d-in-vtk/14609/1 "2024-09-24T08:51:06Z")

</div>

Hello,

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

---

<div class="post-metadata">

### Author: ![sankhesh](https://discourse.vtk.org/user_avatar/discourse.vtk.org/sankhesh/32/73_2.png) [@sankhesh](https://discourse.vtk.org/u/sankhesh)
#### Post date: [September 25, 2024, 8:44pm UTC](https://discourse.vtk.org/t/how-to-use-direct3d-in-vtk/14609/2 "2024-09-25T20:44:22Z")

</div>

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.
