docs.unity3d.com
Search Results for

    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
    Assembly: Unity.Burst.dll
    Syntax
    public struct v128

    Constructors

    Name Description
    v128(byte)

    Splat a single byte across the v128

    v128(byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte, byte)

    Initialize the v128 with 16 bytes

    v128(double)

    Splat a single double across the v128

    v128(double, double)

    Initialize the v128 with 2 doubles

    v128(short)

    Splat a single short across the v128

    v128(short, short, short, short, short, short, short, short)

    Initialize the v128 with 8 shorts

    v128(int)

    Splat a single int across the v128

    v128(int, int, int, int)

    Initialize the v128 with 4 ints

    v128(long)

    Splat a single long across the v128

    v128(long, long)

    Initialize the v128 with 2 longs

    v128(sbyte)

    Splat a single sbyte across the v128

    v128(sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte, sbyte)

    Initialize the v128 with 16 sbytes

    v128(float)

    Splat a single float across the v128

    v128(float, float, float, float)

    Initialize the v128 with 4 floats

    v128(ushort)

    Splat a single ushort across the v128

    v128(ushort, ushort, ushort, ushort, ushort, ushort, ushort, ushort)

    Initialize the v128 with 8 ushorts

    v128(uint)

    Splat a single uint across the v128

    v128(uint, uint, uint, uint)

    Initialize the v128 with 4 uints

    v128(ulong)

    Splat a single ulong across the v128

    v128(ulong, ulong)

    Initialize the v128 with 2 ulongs

    v128(v64, v64)

    Initialize the v128 with 2 v64's

    Fields

    Name Description
    Byte0

    Get the 0th Byte of the vector

    Byte1

    Get the 1st Byte of the vector

    Byte10

    Get the 10th Byte of the vector

    Byte11

    Get the 11th Byte of the vector

    Byte12

    Get the 12 Byte of the vector

    Byte13

    Get the 13th Byte of the vector

    Byte14

    Get the 14th Byte of the vector

    Byte15

    Get the 15th Byte of the vector

    Byte2

    Get the 2nd Byte of the vector

    Byte3

    Get the 3rd Byte of the vector

    Byte4

    Get the 4th Byte of the vector

    Byte5

    Get the 5th Byte of the vector

    Byte6

    Get the 6th Byte of the vector

    Byte7

    Get the 7th Byte of the vector

    Byte8

    Get the 8th Byte of the vector

    Byte9

    Get the 9th Byte of the vector

    Double0

    Get the 0th Double of the vector

    Double1

    Get the 1st Double of the vector

    Float0

    Get the 0th Float of the vector

    Float1

    Get the 1st Float of the vector

    Float2

    Get the 2nd Float of the vector

    Float3

    Get the 3rd Float of the vector

    Hi64

    Get the high half of the vector

    Lo64

    Get the low half of the vector

    SByte0

    Get the 0th SByte of the vector

    SByte1

    Get the 1st SByte of the vector

    SByte10

    Get the 10th SByte of the vector

    SByte11

    Get the 11th SByte of the vector

    SByte12

    Get the 12th SByte of the vector

    SByte13

    Get the 13th SByte of the vector

    SByte14

    Get the 14th SByte of the vector

    SByte15

    Get the 15th SByte of the vector

    SByte2

    Get the 2nd SByte of the vector

    SByte3

    Get the 3rd SByte of the vector

    SByte4

    Get the 4th SByte of the vector

    SByte5

    Get the 5th SByte of the vector

    SByte6

    Get the 6th SByte of the vector

    SByte7

    Get the 7th SByte of the vector

    SByte8

    Get the 8th SByte of the vector

    SByte9

    Get the 9th SByte of the vector

    SInt0

    Get the 0th SInt of the vector

    SInt1

    Get the 1st SInt of the vector

    SInt2

    Get the 2nd SInt of the vector

    SInt3

    Get the 3rd SInt of the vector

    SLong0

    Get the 0th SLong of the vector

    SLong1

    Get the 1st SLong of the vector

    SShort0

    Get the 0th SShort of the vector

    SShort1

    Get the 1st UShort of the vector

    SShort2

    Get the 2nd UShort of the vector

    SShort3

    Get the 3rd UShort of the vector

    SShort4

    Get the 4th UShort of the vector

    SShort5

    Get the 5th UShort of the vector

    SShort6

    Get the 6th UShort of the vector

    SShort7

    Get the 7th UShort of the vector

    UInt0

    Get the 0th UInt of the vector

    UInt1

    Get the 1st UInt of the vector

    UInt2

    Get the 2nd UInt of the vector

    UInt3

    Get the 3rd UInt of the vector

    ULong0

    Get the 0th ULong of the vector

    ULong1

    Get the 1st ULong of the vector

    UShort0

    Get the 0th UShort of the vector

    UShort1

    Get the 1st UShort of the vector

    UShort2

    Get the 2nd UShort of the vector

    UShort3

    Get the 3rd UShort of the vector

    UShort4

    Get the 4th UShort of the vector

    UShort5

    Get the 5th UShort of the vector

    UShort6

    Get the 6th UShort of the vector

    UShort7

    Get the 7th UShort of the vector

    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)