Struct v128 | Burst | 1.3.9
docs.unity3d.com
    Show / Hide Table of Contents

    Struct v128

    Represents a 128-bit SIMD value

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.GetType()
    Object.ReferenceEquals(Object, Object)
    Namespace: Unity.Burst.Intrinsics
    Syntax
    public struct v128

    Constructors

    v128(Byte)

    Splat a single byte across the v128

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

    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 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

    v128(Double)

    Splat a single double across the v128

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

    v128(Double, Double)

    Initialize the v128 with 2 doubles

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

    v128(Int16)

    Splat a single short across the v128

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

    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
    Int16 b
    Int16 c
    Int16 d
    Int16 e
    Int16 f
    Int16 g
    Int16 h

    v128(Int32)

    Splat a single int across the v128

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

    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
    Int32 b
    Int32 c
    Int32 d

    v128(Int64)

    Splat a single long across the v128

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

    v128(Int64, Int64)

    Initialize the v128 with 2 longs

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

    v128(SByte)

    Splat a single sbyte across the v128

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

    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 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

    v128(Single)

    Splat a single float across the v128

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

    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
    Single b
    Single c
    Single d

    v128(UInt16)

    Splat a single ushort across the v128

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

    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
    UInt16 b
    UInt16 c
    UInt16 d
    UInt16 e
    UInt16 f
    UInt16 g
    UInt16 h

    v128(UInt32)

    Splat a single uint across the v128

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

    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
    UInt32 b
    UInt32 c
    UInt32 d

    v128(UInt64)

    Splat a single ulong across the v128

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

    v128(UInt64, UInt64)

    Initialize the v128 with 2 ulongs

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

    Fields

    Byte0

    Declaration
    public byte Byte0
    Field Value
    Type Description
    Byte

    Byte1

    Declaration
    public byte Byte1
    Field Value
    Type Description
    Byte

    Byte10

    Declaration
    public byte Byte10
    Field Value
    Type Description
    Byte

    Byte11

    Declaration
    public byte Byte11
    Field Value
    Type Description
    Byte

    Byte12

    Declaration
    public byte Byte12
    Field Value
    Type Description
    Byte

    Byte13

    Declaration
    public byte Byte13
    Field Value
    Type Description
    Byte

    Byte14

    Declaration
    public byte Byte14
    Field Value
    Type Description
    Byte

    Byte15

    Declaration
    public byte Byte15
    Field Value
    Type Description
    Byte

    Byte2

    Declaration
    public byte Byte2
    Field Value
    Type Description
    Byte

    Byte3

    Declaration
    public byte Byte3
    Field Value
    Type Description
    Byte

    Byte4

    Declaration
    public byte Byte4
    Field Value
    Type Description
    Byte

    Byte5

    Declaration
    public byte Byte5
    Field Value
    Type Description
    Byte

    Byte6

    Declaration
    public byte Byte6
    Field Value
    Type Description
    Byte

    Byte7

    Declaration
    public byte Byte7
    Field Value
    Type Description
    Byte

    Byte8

    Declaration
    public byte Byte8
    Field Value
    Type Description
    Byte

    Byte9

    Declaration
    public byte Byte9
    Field Value
    Type Description
    Byte

    Double0

    Declaration
    public double Double0
    Field Value
    Type Description
    Double

    Double1

    Declaration
    public double Double1
    Field Value
    Type Description
    Double

    Float0

    Declaration
    public float Float0
    Field Value
    Type Description
    Single

    Float1

    Declaration
    public float Float1
    Field Value
    Type Description
    Single

    Float2

    Declaration
    public float Float2
    Field Value
    Type Description
    Single

    Float3

    Declaration
    public float Float3
    Field Value
    Type Description
    Single

    SByte0

    Declaration
    public sbyte SByte0
    Field Value
    Type Description
    SByte

    SByte1

    Declaration
    public sbyte SByte1
    Field Value
    Type Description
    SByte

    SByte10

    Declaration
    public sbyte SByte10
    Field Value
    Type Description
    SByte

    SByte11

    Declaration
    public sbyte SByte11
    Field Value
    Type Description
    SByte

    SByte12

    Declaration
    public sbyte SByte12
    Field Value
    Type Description
    SByte

    SByte13

    Declaration
    public sbyte SByte13
    Field Value
    Type Description
    SByte

    SByte14

    Declaration
    public sbyte SByte14
    Field Value
    Type Description
    SByte

    SByte15

    Declaration
    public sbyte SByte15
    Field Value
    Type Description
    SByte

    SByte2

    Declaration
    public sbyte SByte2
    Field Value
    Type Description
    SByte

    SByte3

    Declaration
    public sbyte SByte3
    Field Value
    Type Description
    SByte

    SByte4

    Declaration
    public sbyte SByte4
    Field Value
    Type Description
    SByte

    SByte5

    Declaration
    public sbyte SByte5
    Field Value
    Type Description
    SByte

    SByte6

    Declaration
    public sbyte SByte6
    Field Value
    Type Description
    SByte

    SByte7

    Declaration
    public sbyte SByte7
    Field Value
    Type Description
    SByte

    SByte8

    Declaration
    public sbyte SByte8
    Field Value
    Type Description
    SByte

    SByte9

    Declaration
    public sbyte SByte9
    Field Value
    Type Description
    SByte

    SInt0

    Declaration
    public int SInt0
    Field Value
    Type Description
    Int32

    SInt1

    Declaration
    public int SInt1
    Field Value
    Type Description
    Int32

    SInt2

    Declaration
    public int SInt2
    Field Value
    Type Description
    Int32

    SInt3

    Declaration
    public int SInt3
    Field Value
    Type Description
    Int32

    SLong0

    Declaration
    public long SLong0
    Field Value
    Type Description
    Int64

    SLong1

    Declaration
    public long SLong1
    Field Value
    Type Description
    Int64

    SShort0

    Declaration
    public short SShort0
    Field Value
    Type Description
    Int16

    SShort1

    Declaration
    public short SShort1
    Field Value
    Type Description
    Int16

    SShort2

    Declaration
    public short SShort2
    Field Value
    Type Description
    Int16

    SShort3

    Declaration
    public short SShort3
    Field Value
    Type Description
    Int16

    SShort4

    Declaration
    public short SShort4
    Field Value
    Type Description
    Int16

    SShort5

    Declaration
    public short SShort5
    Field Value
    Type Description
    Int16

    SShort6

    Declaration
    public short SShort6
    Field Value
    Type Description
    Int16

    SShort7

    Declaration
    public short SShort7
    Field Value
    Type Description
    Int16

    UInt0

    Declaration
    public uint UInt0
    Field Value
    Type Description
    UInt32

    UInt1

    Declaration
    public uint UInt1
    Field Value
    Type Description
    UInt32

    UInt2

    Declaration
    public uint UInt2
    Field Value
    Type Description
    UInt32

    UInt3

    Declaration
    public uint UInt3
    Field Value
    Type Description
    UInt32

    ULong0

    Declaration
    public ulong ULong0
    Field Value
    Type Description
    UInt64

    ULong1

    Declaration
    public ulong ULong1
    Field Value
    Type Description
    UInt64

    UShort0

    Declaration
    public ushort UShort0
    Field Value
    Type Description
    UInt16

    UShort1

    Declaration
    public ushort UShort1
    Field Value
    Type Description
    UInt16

    UShort2

    Declaration
    public ushort UShort2
    Field Value
    Type Description
    UInt16

    UShort3

    Declaration
    public ushort UShort3
    Field Value
    Type Description
    UInt16

    UShort4

    Declaration
    public ushort UShort4
    Field Value
    Type Description
    UInt16

    UShort5

    Declaration
    public ushort UShort5
    Field Value
    Type Description
    UInt16

    UShort6

    Declaration
    public ushort UShort6
    Field Value
    Type Description
    UInt16

    UShort7

    Declaration
    public ushort UShort7
    Field Value
    Type Description
    UInt16
    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