Is there anyway to avoid converting a dynamic texture toDataUrl to get the content to a GUI.Image?
Right now I have a pretty complicated UI element that is being generated every two frames that the only real way to achive the looks is by using a DynamicTexture. After the DT updates I then dump the results to a new GUI.Image replace the old Image and dispose it. Its highly intensive and I would much rather just be able to do the DT.update() and have the results propagate to the UI instantly.
well, DynamicTexture internally uses a canvas, so you can set this canvas as the source of your image (or at least directly copy it onto the GUI element)
I am able to draw directly on the ADT, but I am having trouble positioning it like an element. And there there seems to be a flicker too on the manually drawn elements when I do things like a globalAlpha with the drawing of the context.
Basically I was hoping it would be possible to make a custom draw method for a GUI element.