GtfDdsSharp GtfDdsSharp
GtfDdsSharp GtfDdsSharp
DocFX + Singulink = ♥

Search Results for

    Method GetMipmapSize

    GetMipmapSize(uint, uint, uint)

    Computes the number of mipmap levels based on the specified dimensions.

    Declaration
    public static uint GetMipmapSize(uint width, uint height, uint depth)
    Parameters
    Type Name Description
    uint width

    The width of the texture.

    uint height

    The height of the texture.

    uint depth

    The depth of the texture.

    Returns
    Type Description
    uint

    The total number of mipmap levels for the texture.