docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method pext_u32

    pext_u32(uint, uint)

    Extract bits from unsigned 32-bit integer a at the corresponding bit locations specified by mask to contiguous low bits in dst; the remaining upper bits in dst are set to zero.

    Declaration
    public static uint pext_u32(uint a, uint mask)
    Parameters
    Type Name Description
    uint a

    32-bit integer

    uint mask

    Mask

    Returns
    Type Description
    uint

    32-bit integer

    Remarks

    **** pext r32, r32, r32

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)