How to use MayaAPI to develop a drawing node,
I refer to the uiDrawManager.cpp example provided by Autodesk,
It is possible to draw text, background color and built-in icons, but currently it is not possible to draw custom external pictures. There are information on the Internet explaining how to draw external pictures in Legacy Viewport (https://dilenshah3d.wordpress.com/2017/01/04/viewport-2-0-and-drawing-with-opengl-in-maya/), he uses OpenGL to draw, but I don’t know how to use OpenGL to draw in Viewport 2.0, and I have not found any specific information from Autodesk. Case, I hope someone can help me.