public override void GenerateMipmaps(BuildImageFilter filter) { lock (syncRoot) { AssertNotDisposed(); AssertNotLocked(); throw new NotImplementedException(); } }
/// <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); }
/// <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) { }
public override void GenerateMipmaps(BuildImageFilter filter) { texture.GenerateMipmaps(filter); }
/// <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) { }
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. }
/// <summary> /// Generates all mipmaps of this image. /// </summary> /// <param name="filter">The filter used to generate mipmaps.</param> public abstract void GenerateMipmaps(BuildImageFilter filter);
/// <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); }
public override void GenerateMipmaps(BuildImageFilter filter) { }