Esempio n. 1
0
 public override void GenerateMipmaps(BuildImageFilter filter)
 {
     lock (syncRoot)
     {
         AssertNotDisposed();
         AssertNotLocked();
         throw new NotImplementedException();
     }
 }
Esempio n. 2
0
        /// <summary>
        /// Resizes image, resulting in new image instance (in-place resizing not generically supported).
        /// </summary>
        /// <param name="filter">Filter used when resizing.</param>
        /// <param name="width">The width of new image.</param>
        /// <param name="height">The height of new image.</param>
        /// <param name="depth">The depth of new image.</param>
        /// <param name="mipmaps">The number of mipmaps, use 0 for full mipmap set.</param>
        /// <returns>Returned image.</returns>
        public Image Resize(BuildImageFilter filter, uint width, uint height, uint depth, uint mipmaps)
        {
            Image newImage = null;

            lock (syncRoot)
            {
                newImage = this.CloneSameType(Format, width, height, depth, FaceCount, mipmaps);
            }

            // Resize it.
            Images.ImageHelper.ResizeImage(filter, this, newImage);
            return(newImage);
        }
Esempio n. 3
0
 /// <summary>
 /// Resizes the topmost image.
 /// </summary>
 /// <param name="width"></param>
 /// <param name="height"></param>
 /// <param name="depth"></param>
 public void Resize(BuildImageFilter filter, uint width, uint height)
 {
 }
Esempio n. 4
0
 public override void GenerateMipmaps(BuildImageFilter filter)
 {
     texture.GenerateMipmaps(filter);
 }
Esempio n. 5
0
 /// <summary>
 /// Resizes the image.
 /// </summary>
 /// <param name="filter">The filter.</param>
 /// <param name="source">The source.</param>
 /// <param name="destination">The destination.</param>
 public static void ResizeImage(BuildImageFilter filter, [NotNull] Image source, [NotNull] Image destination)
 {
 }
Esempio n. 6
0
 public override void GenerateMipmaps(BuildImageFilter filter)
 {
     // This will create mipmaps for entrire image.
     internalImage.GenerateMipmaps(filter);
 }
 public override void GenerateMipmaps(BuildImageFilter filter)
 {
     // Silently allow, since mipmap count is 1.
 }
Esempio n. 8
0
 /// <summary>
 /// Generates all mipmaps of this image.
 /// </summary>
 /// <param name="filter">The filter used to generate mipmaps.</param>
 public abstract void GenerateMipmaps(BuildImageFilter filter);
Esempio n. 9
0
 /// <summary>
 /// Generates all mipmaps from the base image.
 /// </summary>
 /// <param name="image">The image.</param>
 /// <param name="filter">The filter.</param>
 public static void GenerateMipmaps(Image image, BuildImageFilter filter)
 {
 }
 public override void GenerateMipmaps(BuildImageFilter filter)
 {
     // ignore, no mimpaps
 }
 public override void GenerateMipmaps(BuildImageFilter filter)
 {
     // Generates all mipmaps of TypelessTexture2D.
     texture2D.GenerateMipmaps(filter);
 }
Esempio n. 12
0
 public override void GenerateMipmaps(BuildImageFilter filter)
 {
 }