예제 #1
0
        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));
        }