docs.unity3d.com
    Show / Hide Table of Contents

    Method mm256_blend_ps

    mm256_blend_ps(v256, v256, Int32)

    Blend packed single-precision (32-bit) floating-point elements from a and b using control mask imm8, and store the results in dst.

    Declaration
    public static v256 mm256_blend_ps(v256 a, v256 b, int imm8)
    Parameters
    Type Name Description
    v256 a

    Vector a

    v256 b

    Vector b

    Int32 imm8

    Control mask

    Returns
    Type Description
    v256

    Vector

    Remarks

    **** VBLENDPS ymm1, ymm2, ymm3/v256, imm8 Single precision floating point values from the second source operand are conditionally merged with values from the first source operand and written to the destination. The immediate bits [7:0] determine whether the corresponding single precision floating-point value in the destination is copied from the second source or first source. If a bit in the mask, corresponding to a word, is "1", then the single-precision floating-point value in the second source operand is copied, else the value in the first source operand is copied

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023