Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

v256 Constructor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public v256(byte b);

Parameters

Parameter Description
b Splatted byte.

Description

Splat a single byte across the v256


Declaration

public v256(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, byte q, byte r, byte s, byte t, byte u, byte v, byte w, byte x, byte y, byte z, byte A, byte B, byte C, byte D, byte E, byte F);

Parameters

Parameter Description
a byte a.
b byte b.
c byte c.
d byte d.
e byte e.
f byte f.
g byte g.
h byte h.
i byte i.
j byte j.
k byte k.
l byte l.
m byte m.
n byte n.
o byte o.
p byte p.
q byte q.
r byte r.
s byte s.
t byte t.
u byte u.
v byte v.
w byte w.
x byte x.
y byte y.
z byte z.
A byte A.
B byte B.
C byte C.
D byte D.
E byte E.
F byte F.

Description

Initialize the v256 with 32 bytes


Declaration

public v256(sbyte b);

Parameters

Parameter Description
b Splatted sbyte.

Description

Splat a single sbyte across the v256


Declaration

public v256(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, sbyte q, sbyte r, sbyte s, sbyte t, sbyte u, sbyte v, sbyte w, sbyte x, sbyte y, sbyte z, sbyte A, sbyte B, sbyte C, sbyte D, sbyte E, sbyte F);

Parameters

Parameter Description
a sbyte a.
b sbyte b.
c sbyte c.
d sbyte d.
e sbyte e.
f sbyte f.
g sbyte g.
h sbyte h.
i sbyte i.
j sbyte j.
k sbyte k.
l sbyte l.
m sbyte m.
n sbyte n.
o sbyte o.
p sbyte p.
q sbyte q.
r sbyte r.
s sbyte s.
t sbyte t.
u sbyte u.
v sbyte v.
w sbyte w.
x sbyte x.
y sbyte y.
z sbyte z.
A sbyte A.
B sbyte B.
C sbyte C.
D sbyte D.
E sbyte E.
F sbyte F.

Description

Initialize the v256 with 32 sbytes


Declaration

public v256(short v);

Parameters

Parameter Description
v Splatted short.

Description

Splat a single short across the v256


Declaration

public v256(short a, short b, short c, short d, short e, short f, short g, short h, short i, short j, short k, short l, short m, short n, short o, short p);

Parameters

Parameter Description
a short a.
b short b.
c short c.
d short d.
e short e.
f short f.
g short g.
h short h.
i short i.
j short j.
k short k.
l short l.
m short m.
n short n.
o short o.
p short p.

Description

Initialize the v256 with 16 shorts


Declaration

public v256(ushort v);

Parameters

Parameter Description
v Splatted ushort.

Description

Splat a single ushort across the v256


Declaration

public v256(ushort a, ushort b, ushort c, ushort d, ushort e, ushort f, ushort g, ushort h, ushort i, ushort j, ushort k, ushort l, ushort m, ushort n, ushort o, ushort p);

Parameters

Parameter Description
a ushort a.
b ushort b.
c ushort c.
d ushort d.
e ushort e.
f ushort f.
g ushort g.
h ushort h.
i ushort i.
j ushort j.
k ushort k.
l ushort l.
m ushort m.
n ushort n.
o ushort o.
p ushort p.

Description

Initialize the v256 with 16 ushorts


Declaration

public v256(int v);

Parameters

Parameter Description
v Splatted f16.
a f16 a.
b f16 b.
c f16 c.
d f16 d.
e f16 e.
f f16 f.
g f16 g.
h f16 h.
i f16 i.
j f16 j.
k f16 k.
l f16 l.
m f16 m.
n f16 n.
o f16 o.
p f16 p.
v Splatted int.

Description

Splat a single int across the v256


Declaration

public v256(int a, int b, int c, int d, int e, int f, int g, int h);

Parameters

Parameter Description
a int a.
b int b.
c int c.
d int d.
e int e.
f int f.
g int g.
h int h.

Description

Initialize the v256 with 8 ints


Declaration

public v256(uint v);

Parameters

Parameter Description
v Splatted uint.

Description

Splat a single uint across the v256


Declaration

public v256(uint a, uint b, uint c, uint d, uint e, uint f, uint g, uint h);

Parameters

Parameter Description
a uint a.
b uint b.
c uint c.
d uint d.
e uint e.
f uint f.
g uint g.
h uint h.

Description

Initialize the v256 with 8 uints


Declaration

public v256(float f);

Parameters

Parameter Description
f Splatted float.

Description

Splat a single float across the v256


Declaration

public v256(float a, float b, float c, float d, float e, float f, float g, float h);

Parameters

Parameter Description
a float a.
b float b.
c float c.
d float d.
e float e.
f float f.
g float g.
h float h.

Description

Initialize the v256 with 8 floats


Declaration

public v256(double f);

Parameters

Parameter Description
f Splatted double.

Description

Splat a single double across the v256


Declaration

public v256(double a, double b, double c, double d);

Parameters

Parameter Description
a double a.
b double b.
c double c.
d double d.

Description

Initialize the v256 with 4 doubles


Declaration

public v256(long f);

Parameters

Parameter Description
f Splatted long.

Description

Splat a single long across the v256


Declaration

public v256(long a, long b, long c, long d);

Parameters

Parameter Description
a long a.
b long b.
c long c.
d long d.

Description

Initialize the v256 with 4 longs


Declaration

public v256(ulong f);

Parameters

Parameter Description
f Splatted ulong.

Description

Splat a single ulong across the v256


Declaration

public v256(ulong a, ulong b, ulong c, ulong d);

Parameters

Parameter Description
a ulong a.
b ulong b.
c ulong c.
d ulong d.

Description

Initialize the v256 with 4 ulongs


Declaration

public v256(v128 lo, v128 hi);

Parameters

Parameter Description
lo Low half of v128.
hi High half of v128.

Description

Initialize the v256 with 2 v128's