[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D11.Resource.CalculateMipSize

CalculateMipSize Method

CalculateMipSize(int, int)

Calculates the resulting size at a single level for an original size.

Declaration
public static int CalculateMipSize(int mipLevel, int baseSize)
Parameters
Type Name Description
int mipLevel

The mip level to get the size.

int baseSize

Size of the base.

Returns
Type Description
int

Size of the mipLevel