コード例 #1
0
        public static bool Crop(Image image, int offsetX, int offsetY, int offsetZ, int width, int height, int depth)
        {
            if (image == null || !image.IsValid)
            {
                return(false);
            }

            IL.BindImage(image.ImageID);
            return(ILU.Crop(offsetX, offsetY, offsetZ, width, height, depth));
        }