Yes, you can add a texture to a node, but to display it in the Details panel there’s an additional step involved, it’s described in the documentation (7.8 Adding More Variables to Nodes).
As for drawing it, you can look at the code that draws other icons and add the same code to draw your desired texture. It’s just a couple of lines of code using Slate.
1 Like