Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


v128

Represents a 128-bit SIMD value
Read time 5 minutesLast updated 12 days ago

Definition

public struct v128

Fields

Value

Description

Byte0Get the 0th Byte of the vector
Byte1Get the 1st Byte of the vector
Byte10Get the 10th Byte of the vector
Byte11Get the 11th Byte of the vector
Byte12Get the 12 Byte of the vector
Byte13Get the 13th Byte of the vector
Byte14Get the 14th Byte of the vector
Byte15Get the 15th Byte of the vector
Byte2Get the 2nd Byte of the vector
Byte3Get the 3rd Byte of the vector
Byte4Get the 4th Byte of the vector
Byte5Get the 5th Byte of the vector
Byte6Get the 6th Byte of the vector
Byte7Get the 7th Byte of the vector
Byte8Get the 8th Byte of the vector
Byte9Get the 9th Byte of the vector
Double0Get the 0th Double of the vector
Double1Get the 1st Double of the vector
Float0Get the 0th Float of the vector
Float1Get the 1st Float of the vector
Float2Get the 2nd Float of the vector
Float3Get the 3rd Float of the vector
Half0Get the 0th f16 of the vector
Half1Get the 1st f16 of the vector
Half2Get the 2nd f16 of the vector
Half3Get the 3rd f16 of the vector
Half4Get the 4th f16 of the vector
Half5Get the 5th f16 of the vector
Half6Get the 6th f16 of the vector
Half7Get the 7th f16 of the vector
Hi64Get the high half of the vector
Lo64Get the low half of the vector
SByte0Get the 0th SByte of the vector
SByte1Get the 1st SByte of the vector
SByte10Get the 10th SByte of the vector
SByte11Get the 11th SByte of the vector
SByte12Get the 12th SByte of the vector
SByte13Get the 13th SByte of the vector
SByte14Get the 14th SByte of the vector
SByte15Get the 15th SByte of the vector
SByte2Get the 2nd SByte of the vector
SByte3Get the 3rd SByte of the vector
SByte4Get the 4th SByte of the vector
SByte5Get the 5th SByte of the vector
SByte6Get the 6th SByte of the vector
SByte7Get the 7th SByte of the vector
SByte8Get the 8th SByte of the vector
SByte9Get the 9th SByte of the vector
SInt0Get the 0th SInt of the vector
SInt1Get the 1st SInt of the vector
SInt2Get the 2nd SInt of the vector
SInt3Get the 3rd SInt of the vector
SLong0Get the 0th SLong of the vector
SLong1Get the 1st SLong of the vector
SShort0Get the 0th SShort of the vector
SShort1Get the 1st UShort of the vector
SShort2Get the 2nd UShort of the vector
SShort3Get the 3rd UShort of the vector
SShort4Get the 4th UShort of the vector
SShort5Get the 5th UShort of the vector
SShort6Get the 6th UShort of the vector
SShort7Get the 7th UShort of the vector
UInt0Get the 0th UInt of the vector
UInt1Get the 1st UInt of the vector
UInt2Get the 2nd UInt of the vector
UInt3Get the 3rd UInt of the vector
ULong0Get the 0th ULong of the vector
ULong1Get the 1st ULong of the vector
UShort0Get the 0th UShort of the vector
UShort1Get the 1st UShort of the vector
UShort2Get the 2nd UShort of the vector
UShort3Get the 3rd UShort of the vector
UShort4Get the 4th UShort of the vector
UShort5Get the 5th UShort of the vector
UShort6Get the 6th UShort of the vector
UShort7Get the 7th UShort of the vector

Constructors

Constructor

Description

v128(System.Byte)Splat a single byte across the v128
v128(System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte,System.Byte)Initialize the v128 with 16 bytes
v128(System.Double)Splat a single double across the v128
v128(System.Double,System.Double)Initialize the v128 with 2 doubles
v128(System.Int16)Splat a single short across the v128
v128(System.Int16,System.Int16,System.Int16,System.Int16,System.Int16,System.Int16,System.Int16,System.Int16)Initialize the v128 with 8 shorts
v128(System.Int32)Splat a single int across the v128
v128(System.Int32,System.Int32,System.Int32,System.Int32)Initialize the v128 with 4 ints
v128(System.Int64)Splat a single long across the v128
v128(System.Int64,System.Int64)Initialize the v128 with 2 longs
v128(System.SByte)Splat a single sbyte across the v128
v128(System.SByte,System.SByte,System.SByte,System.SByte,System.SByte,System.SByte,System.SByte,System.SByte,System.SByte,System.SByte,System.SByte,System.SByte,System.SByte,System.SByte,System.SByte,System.SByte)Initialize the v128 with 16 sbytes
v128(System.Single)Splat a single float across the v128
v128(System.Single,System.Single,System.Single,System.Single)Initialize the v128 with 4 floats
v128(System.UInt16)Splat a single ushort across the v128
v128(System.UInt16,System.UInt16,System.UInt16,System.UInt16,System.UInt16,System.UInt16,System.UInt16,System.UInt16)Initialize the v128 with 8 ushorts
v128(System.UInt32)Splat a single uint across the v128
v128(System.UInt32,System.UInt32,System.UInt32,System.UInt32)Initialize the v128 with 4 uints
v128(System.UInt64)Splat a single ulong across the v128
v128(System.UInt64,System.UInt64)Initialize the v128 with 2 ulongs
v128(Unity.Burst.Intrinsics.f16)Splat a single f16 across the v128
v128(Unity.Burst.Intrinsics.f16,Unity.Burst.Intrinsics.f16,Unity.Burst.Intrinsics.f16,Unity.Burst.Intrinsics.f16,Unity.Burst.Intrinsics.f16,Unity.Burst.Intrinsics.f16,Unity.Burst.Intrinsics.f16,Unity.Burst.Intrinsics.f16)Initialize the v128 with 8 half's
v128(Unity.Burst.Intrinsics.v64,Unity.Burst.Intrinsics.v64)Initialize the v128 with 2 v64's