docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor v256

    v256(byte)

    Splat a single byte across the v256

    Declaration
    public v256(byte b)
    Parameters
    Type Name Description
    byte b

    Splatted byte.

    v256(byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte)

    Initialize the v128 with 32 bytes

    Declaration
    public v256(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, byte q, byte r, byte s, byte t, byte u, byte v, byte w, byte x, byte y, byte z, byte A, byte B, byte C, byte D, byte E, byte F)
    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.

    byte q

    byte q.

    byte r

    byte r.

    byte s

    byte s.

    byte t

    byte t.

    byte u

    byte u.

    byte v

    byte v.

    byte w

    byte w.

    byte x

    byte x.

    byte y

    byte y.

    byte z

    byte z.

    byte A

    byte A.

    byte B

    byte B.

    byte C

    byte C.

    byte D

    byte D.

    byte E

    byte E.

    byte F

    byte F.

    v256(sbyte)

    Splat a single sbyte across the v256

    Declaration
    public v256(sbyte b)
    Parameters
    Type Name Description
    sbyte b

    Splatted sbyte.

    v256(sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte)

    Initialize the v256 with 32 sbytes

    Declaration
    public v256(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, sbyte q, sbyte r, sbyte s, sbyte t, sbyte u, sbyte v, sbyte w, sbyte x, sbyte y, sbyte z, sbyte A, sbyte B, sbyte C, sbyte D, sbyte E, sbyte F)
    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.

    sbyte q

    sbyte q.

    sbyte r

    sbyte r.

    sbyte s

    sbyte s.

    sbyte t

    sbyte t.

    sbyte u

    sbyte u.

    sbyte v

    sbyte v.

    sbyte w

    sbyte w.

    sbyte x

    sbyte x.

    sbyte y

    sbyte y.

    sbyte z

    sbyte z.

    sbyte A

    sbyte A.

    sbyte B

    sbyte B.

    sbyte C

    sbyte C.

    sbyte D

    sbyte D.

    sbyte E

    sbyte E.

    sbyte F

    sbyte F.

    v256(short)

    Splat a single short across the v256

    Declaration
    public v256(short v)
    Parameters
    Type Name Description
    short v

    Splatted short.

    v256(short, short, short, short, short, short, short, short, short, short, short, short, short, short, short, short)

    Initialize the v256 with 16 shorts

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

    short a.

    short b

    short b.

    short c

    short c.

    short d

    short d.

    short e

    short e.

    short f

    short f.

    short g

    short g.

    short h

    short h.

    short i

    short i.

    short j

    short j.

    short k

    short k.

    short l

    short l.

    short m

    short m.

    short n

    short n.

    short o

    short o.

    short p

    short p.

    v256(ushort)

    Splat a single ushort across the v256

    Declaration
    public v256(ushort v)
    Parameters
    Type Name Description
    ushort v

    Splatted ushort.

    v256(ushort, ushort, ushort, ushort, ushort, ushort, ushort, ushort, ushort, ushort, ushort, ushort, ushort, ushort, ushort, ushort)

    Initialize the v256 with 16 ushorts

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

    ushort a.

    ushort b

    ushort b.

    ushort c

    ushort c.

    ushort d

    ushort d.

    ushort e

    ushort e.

    ushort f

    ushort f.

    ushort g

    ushort g.

    ushort h

    ushort h.

    ushort i

    ushort i.

    ushort j

    ushort j.

    ushort k

    ushort k.

    ushort l

    ushort l.

    ushort m

    ushort m.

    ushort n

    ushort n.

    ushort o

    ushort o.

    ushort p

    ushort p.

    v256(int)

    Splat a single int across the v256

    Declaration
    public v256(int v)
    Parameters
    Type Name Description
    int v

    Splatted int.

    v256(int, int, int, int, int, int, int, int)

    Initialize the v256 with 8 ints

    Declaration
    public v256(int a, int b, int c, int d, int e, int f, int g, int h)
    Parameters
    Type Name Description
    int a

    int a.

    int b

    int b.

    int c

    int c.

    int d

    int d.

    int e

    int e.

    int f

    int f.

    int g

    int g.

    int h

    int h.

    v256(uint)

    Splat a single uint across the v256

    Declaration
    public v256(uint v)
    Parameters
    Type Name Description
    uint v

    Splatted uint.

    v256(uint, uint, uint, uint, uint, uint, uint, uint)

    Initialize the v256 with 8 uints

    Declaration
    public v256(uint a, uint b, uint c, uint d, uint e, uint f, uint g, uint h)
    Parameters
    Type Name Description
    uint a

    uint a.

    uint b

    uint b.

    uint c

    uint c.

    uint d

    uint d.

    uint e

    uint e.

    uint f

    uint f.

    uint g

    uint g.

    uint h

    uint h.

    v256(float)

    Splat a single float across the v256

    Declaration
    public v256(float f)
    Parameters
    Type Name Description
    float f

    Splatted float.

    v256(float, float, float, float, float, float, float, float)

    Initialize the v256 with 8 floats

    Declaration
    public v256(float a, float b, float c, float d, float e, float f, float g, float h)
    Parameters
    Type Name Description
    float a

    float a.

    float b

    float b.

    float c

    float c.

    float d

    float d.

    float e

    float e.

    float f

    float f.

    float g

    float g.

    float h

    float h.

    v256(double)

    Splat a single double across the v256

    Declaration
    public v256(double f)
    Parameters
    Type Name Description
    double f

    Splatted double.

    v256(double, double, double, double)

    Initialize the v256 with 4 doubles

    Declaration
    public v256(double a, double b, double c, double d)
    Parameters
    Type Name Description
    double a

    double a.

    double b

    double b.

    double c

    double c.

    double d

    double d.

    v256(long)

    Splat a single long across the v256

    Declaration
    public v256(long f)
    Parameters
    Type Name Description
    long f

    Splatted long.

    v256(long, long, long, long)

    Initialize the v256 with 4 longs

    Declaration
    public v256(long a, long b, long c, long d)
    Parameters
    Type Name Description
    long a

    long a.

    long b

    long b.

    long c

    long c.

    long d

    long d.

    v256(ulong)

    Splat a single ulong across the v256

    Declaration
    public v256(ulong f)
    Parameters
    Type Name Description
    ulong f

    Splatted ulong.

    v256(ulong, ulong, ulong, ulong)

    Initialize the v256 with 4 ulongs

    Declaration
    public v256(ulong a, ulong b, ulong c, ulong d)
    Parameters
    Type Name Description
    ulong a

    ulong a.

    ulong b

    ulong b.

    ulong c

    ulong c.

    ulong d

    ulong d.

    v256(v128, v128)

    Initialize the v256 with 2 v128's

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

    Low half of v128.

    v128 hi

    High half of v128.

    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)