Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


v256

Represents a 256-bit SIMD value
Read time 9 minutesLast updated 12 days ago

Definition

public struct v256

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
Byte16Get the 16th Byte of the vector
Byte17Get the 17th Byte of the vector
Byte18Get the 18th Byte of the vector
Byte19Get the 19th Byte of the vector
Byte2Get the 2nd Byte of the vector
Byte20Get the 20th Byte of the vector
Byte21Get the 21st Byte of the vector
Byte22Get the 22nd Byte of the vector
Byte23Get the 23rd Byte of the vector
Byte24Get the 24th Byte of the vector
Byte25Get the 25th Byte of the vector
Byte26Get the 26th Byte of the vector
Byte27Get the 27th Byte of the vector
Byte28Get the 28th Byte of the vector
Byte29Get the 29th Byte of the vector
Byte3Get the 3rd Byte of the vector
Byte30Get the 30th Byte of the vector
Byte31Get the 31st 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
Double2Get the 2nd Double of the vector
Double3Get the 3rd 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
Float4Get the 4th Float of the vector
Float5Get the 5th Float of the vector
Float6Get the 6th Float of the vector
Float7Get the 7th Float of the vector
Half0Get the 0th f16 of the vector
Half1Get the 1st f16 of the vector
Half10Get the 10th f16 of the vector
Half11Get the 11th f16 of the vector
Half12Get the 12th f16 of the vector
Half13Get the 13th f16 of the vector
Half14Get the 14th f16 of the vector
Half15Get the 15th 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
Half8Get the 8th f16 of the vector
Half9Get the 9th f16 of the vector
Hi128Get the high half of the vector
Lo128Get 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
SByte16Get the 16th SByte of the vector
SByte17Get the 17th SByte of the vector
SByte18Get the 18th SByte of the vector
SByte19Get the 19th SByte of the vector
SByte2Get the 2nd SByte of the vector
SByte20Get the 20th SByte of the vector
SByte21Get the 21st SByte of the vector
SByte22Get the 22nd SByte of the vector
SByte23Get the 23rd SByte of the vector
SByte24Get the 24th SByte of the vector
SByte25Get the 25th SByte of the vector
SByte26Get the 26th SByte of the vector
SByte27Get the 27th SByte of the vector
SByte28Get the 28th SByte of the vector
SByte29Get the 29th SByte of the vector
SByte3Get the 3rd SByte of the vector
SByte30Get the 30th SByte of the vector
SByte31Get the 31st 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
SInt4Get the 4th SInt of the vector
SInt5Get the 5th SInt of the vector
SInt6Get the 6th SInt of the vector
SInt7Get the 7th SInt of the vector
SLong0Get the 0th SLong of the vector
SLong1Get the 1st SLong of the vector
SLong2Get the 2nd SLong of the vector
SLong3Get the 3rd SLong of the vector
SShort0Get the 0th SShort of the vector
SShort1Get the 1st SShort of the vector
SShort10Get the 10th SShort of the vector
SShort11Get the 11th SShort of the vector
SShort12Get the 12th SShort of the vector
SShort13Get the 13th SShort of the vector
SShort14Get the 14th SShort of the vector
SShort15Get the 15th SShort of the vector
SShort2Get the 2nd SShort of the vector
SShort3Get the 3rd SShort of the vector
SShort4Get the 4th SShort of the vector
SShort5Get the 5th SShort of the vector
SShort6Get the 6th SShort of the vector
SShort7Get the 7th SShort of the vector
SShort8Get the 8th SShort of the vector
SShort9Get the 9th SShort 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
UInt4Get the 4th UInt of the vector
UInt5Get the 5th UInt of the vector
UInt6Get the 6th UInt of the vector
UInt7Get the 7th UInt of the vector
ULong0Get the 0th ULong of the vector
ULong1Get the 1st ULong of the vector
ULong2Get the 2nd ULong of the vector
ULong3Get the 3rd ULong of the vector
UShort0Get the 0th UShort of the vector
UShort1Get the 1st UShort of the vector
UShort10Get the 10th UShort of the vector
UShort11Get the 11th UShort of the vector
UShort12Get the 12th UShort of the vector
UShort13Get the 13th UShort of the vector
UShort14Get the 14th UShort of the vector
UShort15Get the 15th 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
UShort8Get the 8th UShort of the vector
UShort9Get the 9th UShort of the vector

Constructors

Constructor

Description

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