Example #1
0
 public static int CalculateMipDepth(this ITexture texture, int level)
 {
     return(TextureHelper.CalculateMipSize(level, texture.Depth));
 }
Example #2
0
 public static int CalculateMipHeight(this ITexture texture, int level)
 {
     return(TextureHelper.CalculateMipSize(level, texture.Height));
 }