# How to update texture of an already rendered actor in vtk python

**URL:** <https://discourse.vtk.org/t/how-to-update-texture-of-an-already-rendered-actor-in-vtk-python/5011>\
**Category:** Development\
**Created:** [January 14, 2021, 9:53pm UTC](https://discourse.vtk.org/t/how-to-update-texture-of-an-already-rendered-actor-in-vtk-python/5011 "2021-01-14T21:53:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Debayan\_Ganguly](https://discourse.vtk.org/user_avatar/discourse.vtk.org/debayan_ganguly/32/2850_2.png) [@Debayan\_Ganguly](https://discourse.vtk.org/u/Debayan_Ganguly)\
**Post date:** [January 14, 2021, 9:53pm UTC](https://discourse.vtk.org/t/how-to-update-texture-of-an-already-rendered-actor-in-vtk-python/5011/1 "2021-01-14T21:53:31Z")

</div>

```auto
grid = rgb_to_vtk(np.ascontiguousarray(rgb))
texture = vtk.vtkTexture()
texture.SetInputDataObject(grid)

if interp:
    texture.InterpolateOn()

actor_obj.SetTexture(texture)

```

I did this converted rgb image to vtk image data -\> Created a texture with it and set it to the actor which removes the original texture and sets the new texture. Is there a way to update the old texture?

Thanks for help.
