ComponentOne Bitmap for WPF
C1.WPF.DX.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 Integer, _
       ByVal baseSize As Integer _
    ) As Integer
    public static int CalculateMipSize( 
       int mipLevel,
       int baseSize
    )

    Parameters

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

    Return Value

    Size of the mipLevel
    See Also