ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.5.2 Assembly / C1.Util.DX.Direct3D11 Namespace / Resource Class / CalculateMipSize Method
The mip level to get the size.
Size of the base.

In This Topic
    CalculateMipSize Method
    In This Topic
    Calculates the resulting size at a single level for an original size.
    Syntax
    'Declaration
     
    Public Shared Function CalculateMipSize( _
       ByVal mipLevel As System.Integer, _
       ByVal baseSize As System.Integer _
    ) As System.Integer
    public static System.int CalculateMipSize( 
       System.int mipLevel,
       System.int baseSize
    )

    Parameters

    mipLevel
    The mip level to get the size.
    baseSize
    Size of the base.

    Return Value

    Size of the mipLevel
    See Also