public static int CreateImage(Texture2D Tex, bool FlipY = false) { int Flags = 0; if (FlipY) { Flags = NVG.NVG_IMAGE_FLIPY; } return(NVG.CreateImageFromHandleGL3(Engine.NVGCtx, Tex.ID, Tex.Width, Tex.Height, Flags)); }