Example #1
0
 private static extern PixelData[] Internal_GenerateMipmaps(PixelData source, ref MipMapGenOptions options);
Example #2
0
 /// <summary>
 /// Generates mip-maps from the provided source data using the specified compression options. Returned list includes
 /// the base level.
 /// </summary>
 /// <param name="source">Pixels to generate mip-maps for.</param>
 /// <param name="options">Options controlling mip-map generation.</param>
 /// <returns>A list of calculated mip-map data. First entry is the largest mip and other follow in order from
 ///          largest to smallest.</returns>
 public static PixelData[] GenerateMipmaps(PixelData source, MipMapGenOptions options)
 {
     return(Internal_GenerateMipmaps(source, ref options));
 }