Passing array of undefined length as an argument in function in shader

Godot Version

4.2.2

Question

As in the title: is it possible? And if not, is there any workaround?

image