docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct v256

    Represents a 256-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 v256

    Constructors

    Name Description
    v256(byte)

    Splat a single byte across the v256

    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

    v256(double)

    Splat a single double across the v256

    v256(double, double, double, double)

    Initialize the v256 with 4 doubles

    v256(short)

    Splat a single short across the v256

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

    Initialize the v256 with 16 shorts

    v256(int)

    Splat a single int across the v256

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

    Initialize the v256 with 8 ints

    v256(long)

    Splat a single long across the v256

    v256(long, long, long, long)

    Initialize the v256 with 4 longs

    v256(sbyte)

    Splat a single sbyte across the v256

    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

    v256(float)

    Splat a single float across the v256

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

    Initialize the v256 with 8 floats

    v256(ushort)

    Splat a single ushort across the v256

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

    Initialize the v256 with 16 ushorts

    v256(uint)

    Splat a single uint across the v256

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

    Initialize the v256 with 8 uints

    v256(ulong)

    Splat a single ulong across the v256

    v256(ulong, ulong, ulong, ulong)

    Initialize the v256 with 4 ulongs

    v256(v128, v128)

    Initialize the v256 with 2 v128'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

    Byte16

    Get the 16th Byte of the vector

    Byte17

    Get the 17th Byte of the vector

    Byte18

    Get the 18th Byte of the vector

    Byte19

    Get the 19th Byte of the vector

    Byte2

    Get the 2nd Byte of the vector

    Byte20

    Get the 20th Byte of the vector

    Byte21

    Get the 21st Byte of the vector

    Byte22

    Get the 22nd Byte of the vector

    Byte23

    Get the 23rd Byte of the vector

    Byte24

    Get the 24th Byte of the vector

    Byte25

    Get the 25th Byte of the vector

    Byte26

    Get the 26th Byte of the vector

    Byte27

    Get the 27th Byte of the vector

    Byte28

    Get the 28th Byte of the vector

    Byte29

    Get the 29th Byte of the vector

    Byte3

    Get the 3rd Byte of the vector

    Byte30

    Get the 30th Byte of the vector

    Byte31

    Get the 31st 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

    Double2

    Get the 2nd Double of the vector

    Double3

    Get the 3rd 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

    Float4

    Get the 4th Float of the vector

    Float5

    Get the 5th Float of the vector

    Float6

    Get the 6th Float of the vector

    Float7

    Get the 7th Float of the vector

    Hi128

    Get the high half of the vector

    Lo128

    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

    SByte16

    Get the 16th SByte of the vector

    SByte17

    Get the 17th SByte of the vector

    SByte18

    Get the 18th SByte of the vector

    SByte19

    Get the 19th SByte of the vector

    SByte2

    Get the 2nd SByte of the vector

    SByte20

    Get the 20th SByte of the vector

    SByte21

    Get the 21st SByte of the vector

    SByte22

    Get the 22nd SByte of the vector

    SByte23

    Get the 23rd SByte of the vector

    SByte24

    Get the 24th SByte of the vector

    SByte25

    Get the 25th SByte of the vector

    SByte26

    Get the 26th SByte of the vector

    SByte27

    Get the 27th SByte of the vector

    SByte28

    Get the 28th SByte of the vector

    SByte29

    Get the 29th SByte of the vector

    SByte3

    Get the 3rd SByte of the vector

    SByte30

    Get the 30th SByte of the vector

    SByte31

    Get the 31st 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

    SInt4

    Get the 4th SInt of the vector

    SInt5

    Get the 5th SInt of the vector

    SInt6

    Get the 6th SInt of the vector

    SInt7

    Get the 7th SInt of the vector

    SLong0

    Get the 0th SLong of the vector

    SLong1

    Get the 1st SLong of the vector

    SLong2

    Get the 2nd SLong of the vector

    SLong3

    Get the 3rd SLong of the vector

    SShort0

    Get the 0th SShort of the vector

    SShort1

    Get the 1st SShort of the vector

    SShort10

    Get the 10th SShort of the vector

    SShort11

    Get the 11th SShort of the vector

    SShort12

    Get the 12th SShort of the vector

    SShort13

    Get the 13th SShort of the vector

    SShort14

    Get the 14th SShort of the vector

    SShort15

    Get the 15th SShort of the vector

    SShort2

    Get the 2nd SShort of the vector

    SShort3

    Get the 3rd SShort of the vector

    SShort4

    Get the 4th SShort of the vector

    SShort5

    Get the 5th SShort of the vector

    SShort6

    Get the 6th SShort of the vector

    SShort7

    Get the 7th SShort of the vector

    SShort8

    Get the 8th SShort of the vector

    SShort9

    Get the 9th SShort 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

    UInt4

    Get the 4th UInt of the vector

    UInt5

    Get the 5th UInt of the vector

    UInt6

    Get the 6th UInt of the vector

    UInt7

    Get the 7th UInt of the vector

    ULong0

    Get the 0th ULong of the vector

    ULong1

    Get the 1st ULong of the vector

    ULong2

    Get the 2nd ULong of the vector

    ULong3

    Get the 3rd ULong of the vector

    UShort0

    Get the 0th UShort of the vector

    UShort1

    Get the 1st UShort of the vector

    UShort10

    Get the 10th UShort of the vector

    UShort11

    Get the 11th UShort of the vector

    UShort12

    Get the 12th UShort of the vector

    UShort13

    Get the 13th UShort of the vector

    UShort14

    Get the 14th UShort of the vector

    UShort15

    Get the 15th 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

    UShort8

    Get the 8th UShort of the vector

    UShort9

    Get the 9th 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)