If i have my own code generating windows.drawing bitmaps, and want to pass them as textures to a surface in Rhinocommon, is this possible? Currently I only see load from filename?
Example. to solve BLIT in below.
Bitmap blit = new Bitmap(RawImage.ToBitmap, 640, 480);
Material mat = doc.Materials[material_index];
mat.SetBitmapTexture(blit); //??? Already in memory, don’t want write then read from disc