# Does anyone use vtkSDL2RenderWindowInteractor outside of webassembly?

**URL:** https://discourse.vtk.org/t/does-anyone-use-vtksdl2renderwindowinteractor-outside-of-webassembly/12386
**Category:** Development
**Tags:** vtkwasm, proposal
**Created:** [September 28, 2023, 12:56pm UTC](https://discourse.vtk.org/t/does-anyone-use-vtksdl2renderwindowinteractor-outside-of-webassembly/12386 "2023-09-28T12:56:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jaswantp](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jaswantp/32/10046_2.png) [@jaswantp](https://discourse.vtk.org/u/jaswantp)
#### Post date: [September 28, 2023, 12:56pm UTC](https://discourse.vtk.org/t/does-anyone-use-vtksdl2renderwindowinteractor-outside-of-webassembly/12386/1 "2023-09-28T12:56:23Z")

</div>

I’m thinking of renaming `vtkSDL2RenderWindowInteractor` → `vtkWebAssemblyRenderWindowInteractor` because SDL2 is an implementation detail. We might want to change the implementation to use something WASI specific in the future.

This class is sort of an oddball because, VTK already gives you render window interactors for all platforms - Android, MacOS, iOS, Windows, Linux. So there is no need for applications to use SDL2 on desktop/mobile devices. It also introduces an extra step in the build process because SDL2 is not vendored.

Please let us know if you’re using this interactor outside webassembly.

---

<div class="post-metadata">

### Author: ![jaswantp](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jaswantp/32/10046_2.png) [@jaswantp](https://discourse.vtk.org/u/jaswantp)
#### Post date: [September 28, 2023, 1:04pm UTC](https://discourse.vtk.org/t/does-anyone-use-vtksdl2renderwindowinteractor-outside-of-webassembly/12386/2 "2023-09-28T13:04:18Z")

</div>

Just to be clear, the plan is to deprecate `vtkSDL2RenderWindowInteractor` if no one really uses it on desktop/mobile. Otherwise, we can leave that class alone and remove anything specific to WebAssembly from it.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [September 28, 2023, 2:07pm UTC](https://discourse.vtk.org/t/does-anyone-use-vtksdl2renderwindowinteractor-outside-of-webassembly/12386/3 "2023-09-28T14:07:20Z")

</div>

If there is a path using deprecation of the class, then fine by me.

FYI @Michael
