Render preview compiler

I am working on a parametric shape modeling module that I want to compile afterwards (with the rhino compiler).
When compiling and loading the module in rhino I no longer have the display I defined in my definition (attached image), and the object is not even visible in Rhino anymore.
The goal of this module is to draw but also to be able to play with the textures present in the Rhino file.

Is there a way to get this display before baking the object in rhino?

Thank you in advance!

If the geometry is Mesh, try Human.

If your geometry isn’t a Mesh, afaik there’s no mature solution to textures.

I have coded a preliminary plugin for texture support. It may or may not work in your case and you may give it a try.