How to get the texture XY resolution and assign it to values of a component?

How can I set the X and Y count of a render target to these two values? The texture size might change during runtime. Can I set it from outside with a Blueprint component maybe in every frame?

image

So whenever the size of the texture changes, I need to update the two values…

I’ve solved it with a custom HLSL snippet, see here:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.