docs.unity3d.com
    Show / Hide Table of Contents

    Constructor v128

    v128(Byte)

    Splat a single byte across the v128

    Declaration
    public v128(byte b)
    Parameters
    Type Name Description
    Byte b

    Splatted byte.

    v128(Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte)

    Initialize the v128 with 16 bytes

    Declaration
    public v128(byte a, byte b, byte c, byte d, byte e, byte f, byte g, byte h, byte i, byte j, byte k, byte l, byte m, byte n, byte o, byte p)
    Parameters
    Type Name Description
    Byte a

    byte a.

    Byte b

    byte b.

    Byte c

    byte c.

    Byte d

    byte d.

    Byte e

    byte e.

    Byte f

    byte f.

    Byte g

    byte g.

    Byte h

    byte h.

    Byte i

    byte i.

    Byte j

    byte j.

    Byte k

    byte k.

    Byte l

    byte l.

    Byte m

    byte m.

    Byte n

    byte n.

    Byte o

    byte o.

    Byte p

    byte p.

    v128(SByte)

    Splat a single sbyte across the v128

    Declaration
    public v128(sbyte b)
    Parameters
    Type Name Description
    SByte b

    Splatted sbyte.

    v128(SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte)

    Initialize the v128 with 16 sbytes

    Declaration
    public v128(sbyte a, sbyte b, sbyte c, sbyte d, sbyte e, sbyte f, sbyte g, sbyte h, sbyte i, sbyte j, sbyte k, sbyte l, sbyte m, sbyte n, sbyte o, sbyte p)
    Parameters
    Type Name Description
    SByte a

    sbyte a.

    SByte b

    sbyte b.

    SByte c

    sbyte c.

    SByte d

    sbyte d.

    SByte e

    sbyte e.

    SByte f

    sbyte f.

    SByte g

    sbyte g.

    SByte h

    sbyte h.

    SByte i

    sbyte i.

    SByte j

    sbyte j.

    SByte k

    sbyte k.

    SByte l

    sbyte l.

    SByte m

    sbyte m.

    SByte n

    sbyte n.

    SByte o

    sbyte o.

    SByte p

    sbyte p.

    v128(Int16)

    Splat a single short across the v128

    Declaration
    public v128(short v)
    Parameters
    Type Name Description
    Int16 v

    Splatted short.

    v128(Int16, Int16, Int16, Int16, Int16, Int16, Int16, Int16)

    Initialize the v128 with 8 shorts

    Declaration
    public v128(short a, short b, short c, short d, short e, short f, short g, short h)
    Parameters
    Type Name Description
    Int16 a

    short a.

    Int16 b

    short b.

    Int16 c

    short c.

    Int16 d

    short d.

    Int16 e

    short e.

    Int16 f

    short f.

    Int16 g

    short g.

    Int16 h

    short h.

    v128(UInt16)

    Splat a single ushort across the v128

    Declaration
    public v128(ushort v)
    Parameters
    Type Name Description
    UInt16 v

    Splatted ushort.

    v128(UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16)

    Initialize the v128 with 8 ushorts

    Declaration
    public v128(ushort a, ushort b, ushort c, ushort d, ushort e, ushort f, ushort g, ushort h)
    Parameters
    Type Name Description
    UInt16 a

    ushort a.

    UInt16 b

    ushort b.

    UInt16 c

    ushort c.

    UInt16 d

    ushort d.

    UInt16 e

    ushort e.

    UInt16 f

    ushort f.

    UInt16 g

    ushort g.

    UInt16 h

    ushort h.

    v128(Int32)

    Splat a single int across the v128

    Declaration
    public v128(int v)
    Parameters
    Type Name Description
    Int32 v

    Splatted int.

    v128(Int32, Int32, Int32, Int32)

    Initialize the v128 with 4 ints

    Declaration
    public v128(int a, int b, int c, int d)
    Parameters
    Type Name Description
    Int32 a

    int a.

    Int32 b

    int b.

    Int32 c

    int c.

    Int32 d

    int d.

    v128(UInt32)

    Splat a single uint across the v128

    Declaration
    public v128(uint v)
    Parameters
    Type Name Description
    UInt32 v

    Splatted uint.

    v128(UInt32, UInt32, UInt32, UInt32)

    Initialize the v128 with 4 uints

    Declaration
    public v128(uint a, uint b, uint c, uint d)
    Parameters
    Type Name Description
    UInt32 a

    uint a.

    UInt32 b

    uint b.

    UInt32 c

    uint c.

    UInt32 d

    uint d.

    v128(Single)

    Splat a single float across the v128

    Declaration
    public v128(float f)
    Parameters
    Type Name Description
    Single f

    Splatted float.

    v128(Single, Single, Single, Single)

    Initialize the v128 with 4 floats

    Declaration
    public v128(float a, float b, float c, float d)
    Parameters
    Type Name Description
    Single a

    float a.

    Single b

    float b.

    Single c

    float c.

    Single d

    float d.

    v128(Double)

    Splat a single double across the v128

    Declaration
    public v128(double f)
    Parameters
    Type Name Description
    Double f

    Splatted double.

    v128(Double, Double)

    Initialize the v128 with 2 doubles

    Declaration
    public v128(double a, double b)
    Parameters
    Type Name Description
    Double a

    double a.

    Double b

    double b.

    v128(Int64)

    Splat a single long across the v128

    Declaration
    public v128(long f)
    Parameters
    Type Name Description
    Int64 f

    Splatted long.

    v128(Int64, Int64)

    Initialize the v128 with 2 longs

    Declaration
    public v128(long a, long b)
    Parameters
    Type Name Description
    Int64 a

    long a.

    Int64 b

    long b.

    v128(UInt64)

    Splat a single ulong across the v128

    Declaration
    public v128(ulong f)
    Parameters
    Type Name Description
    UInt64 f

    Splatted ulong.

    v128(UInt64, UInt64)

    Initialize the v128 with 2 ulongs

    Declaration
    public v128(ulong a, ulong b)
    Parameters
    Type Name Description
    UInt64 a

    ulong a.

    UInt64 b

    ulong b.

    v128(v64, v64)

    Initialize the v128 with 2 v64's

    Declaration
    public v128(v64 lo, v64 hi)
    Parameters
    Type Name Description
    v64 lo

    Low half of v64.

    v64 hi

    High half of v64.

    Back to top
    Terms of use
    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