Class CommonLib  
 More...
Class CommonLib 
Definition at line 8 of file CommonLib.cs.
 
  
  
      
        
          | static int TextureTools.TexLibraries.CommonLib.CalculateMipCount  | 
          ( | 
          int  | 
          width,  | 
         
        
           | 
           | 
          int  | 
          height,  | 
         
        
           | 
           | 
          int  | 
          minimumSizeLastMip = 4  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Calculates the mip level from a specified width,height,depth. 
- Parameters
 - 
  
    | width | The width. | 
    | height | The height. | 
    | depth | The depth. | 
    | minimumSizeLastMip | The minimum size of the last mip. | 
  
   
- Returns
 - The mip level.
 
- Exceptions
 - 
  
    | System.ArgumentOutOfRangeException | Value must be > 0;size | 
  
   
Definition at line 47 of file CommonLib.cs.
 
 
  
  
      
        
          | static int TextureTools.TexLibraries.CommonLib.CalculateMipCountFromSize  | 
          ( | 
          int  | 
          size,  | 
         
        
           | 
           | 
          int  | 
          minimumSizeLastMip = 4  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
Calculates the mip level from a specified size. 
- Parameters
 - 
  
    | size | The size. | 
    | minimumSizeLastMip | The minimum size of the last mip. | 
  
   
- Returns
 - The mip level.
 
- Exceptions
 - 
  
    | System.ArgumentOutOfRangeException | Value must be > 0;size | 
  
   
Definition at line 17 of file CommonLib.cs.
 
 
The documentation for this class was generated from the following file:
- D:/Projects/Bitbucket Hosting/DoxygenFilesAndSources/Paradox v1.0.0 beta06/sources/tools/SiliconStudio.TextureConverter/Backend/TexLibraries/CommonLib.cs