GtfDdsSharp GtfDdsSharp
GtfDdsSharp GtfDdsSharp
DocFX + Singulink = ♥

Search Results for

    Method GetAlignment

    GetAlignment(uint, uint)

    Rounds up the specified size to the given alignment.

    Declaration
    public static uint GetAlignment(uint size, uint alignment)
    Parameters
    Type Name Description
    uint size

    The initial size to be aligned.

    uint alignment

    The boundary to align to.

    Returns
    Type Description
    uint

    The aligned size, which is a multiple of alignment.