Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


v128

Splat a single byte across the v128
Read time 4 minutesLast updated 13 days ago

Definition

v128(byte)

Splat a single byte across the v128
public v128(byte b)

Parameters

Splatted byte.

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

Initialize the v128 with 16 bytes
public v128(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)

Parameters

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.

v128(sbyte)

Splat a single sbyte across the v128
public v128(sbyte b)

Parameters

Splatted sbyte.

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

Initialize the v128 with 16 sbytes
public v128(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)

Parameters

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.

v128(short)

Splat a single short across the v128
public v128(short v)

Parameters

Splatted short.

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

Initialize the v128 with 8 shorts
public v128(short a, short b, short c, short d, short e, short f, short g, short h)

Parameters

short a.

short b.

short c.

short d.

short e.

short f.

short g.

short h.

v128(ushort)

Splat a single ushort across the v128
public v128(ushort v)

Parameters

Splatted ushort.

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

Initialize the v128 with 8 ushorts
public v128(ushort a, ushort b, ushort c, ushort d, ushort e, ushort f, ushort g, ushort h)

Parameters

ushort a.

ushort b.

ushort c.

ushort d.

ushort e.

ushort f.

ushort g.

ushort h.

v128(f16)

Splat a single f16 across the v128
public v128(f16 v)

Parameters

Splatted f16.

v128(f16, f16, f16, f16, f16, f16, f16, f16)

Initialize the v128 with 8 half's
public v128(f16 a, f16 b, f16 c, f16 d, f16 e, f16 f, f16 g, f16 h)

Parameters

f16 a.

f16 b.

f16 c.

f16 d.

f16 e.

f16 f.

f16 g.

f16 h.

v128(int)

Splat a single int across the v128
public v128(int v)

Parameters

Splatted int.

v128(int, int, int, int)

Initialize the v128 with 4 ints
public v128(int a, int b, int c, int d)

Parameters

int a.

int b.

int c.

int d.

v128(uint)

Splat a single uint across the v128
public v128(uint v)

Parameters

Splatted uint.

v128(uint, uint, uint, uint)

Initialize the v128 with 4 uints
public v128(uint a, uint b, uint c, uint d)

Parameters

uint a.

uint b.

uint c.

uint d.

v128(float)

Splat a single float across the v128
public v128(float f)

Parameters

Splatted float.

v128(float, float, float, float)

Initialize the v128 with 4 floats
public v128(float a, float b, float c, float d)

Parameters

float a.

float b.

float c.

float d.

v128(double)

Splat a single double across the v128
public v128(double f)

Parameters

Splatted double.

v128(double, double)

Initialize the v128 with 2 doubles
public v128(double a, double b)

Parameters

double a.

double b.

v128(long)

Splat a single long across the v128
public v128(long f)

Parameters

Splatted long.

v128(long, long)

Initialize the v128 with 2 longs
public v128(long a, long b)

Parameters

long a.

long b.

v128(ulong)

Splat a single ulong across the v128
public v128(ulong f)

Parameters

Splatted ulong.

v128(ulong, ulong)

Initialize the v128 with 2 ulongs
public v128(ulong a, ulong b)

Parameters

ulong a.

ulong b.

v128(v64, v64)

Initialize the v128 with 2 v64's
public v128(v64 lo, v64 hi)

Parameters

lo

Low half of v64.

hi

High half of v64.