Storing a variable from the Shader for later access

I want to use Custom Shader node to store a variable with HLSL
It would be a simple variable like a vector3 that I can use in the next frame to apply smoothing and other calculations
Btw, I cannot use Collection Parameters because this is meant to be used with thousands of instances, it should be completely GPU based
Thanks for your help!

For smoothing there is the “previous frame switch” in the material editor.
For all the other things, I sadly cannot help you.

Hello, the previous frame switch node seems to be for simulating motion blur rather than actually moving the object and doing smoothing such as Finterp or Vinterp does in the blueprints