| Parameter | Description |
|---|---|
| x | The constructed vector's x component will be set to this value. |
| y | The constructed vector's y component will be set to this value. |
| z | The constructed vector's z component will be set to this value. |
| w | The constructed vector's w component will be set to this value. |
Constructs a half4 vector from four half values.
| Parameter | Description |
|---|---|
| x | The constructed vector's x component will be set to this value. |
| y | The constructed vector's y component will be set to this value. |
| zw | The constructed vector's zw components will be set to this value. |
Constructs a half4 vector from two half values and a half2 vector.
| Parameter | Description |
|---|---|
| x | The constructed vector's x component will be set to this value. |
| yz | The constructed vector's yz components will be set to this value. |
| w | The constructed vector's w component will be set to this value. |
Constructs a half4 vector from a half value, a half2 vector and a half value.
| Parameter | Description |
|---|---|
| x | The constructed vector's x component will be set to this value. |
| yzw | The constructed vector's yzw components will be set to this value. |
Constructs a half4 vector from a half value and a half3 vector.
| Parameter | Description |
|---|---|
| xy | The constructed vector's xy components will be set to this value. |
| z | The constructed vector's z component will be set to this value. |
| w | The constructed vector's w component will be set to this value. |
Constructs a half4 vector from a half2 vector and two half values.
| Parameter | Description |
|---|---|
| xy | The constructed vector's xy components will be set to this value. |
| zw | The constructed vector's zw components will be set to this value. |
Constructs a half4 vector from two half2 vectors.
| Parameter | Description |
|---|---|
| xyz | The constructed vector's xyz components will be set to this value. |
| w | The constructed vector's w component will be set to this value. |
Constructs a half4 vector from a half3 vector and a half value.
| Parameter | Description |
|---|---|
| xyzw | The constructed vector's xyzw components will be set to this value. |
Constructs a half4 vector from a half4 vector.
| Parameter | Description |
|---|---|
| v | half to convert to half4 |
Constructs a half4 vector from a single half value by assigning it to every component.
| Parameter | Description |
|---|---|
| v | float to convert to half4 |
Constructs a half4 vector from a single float value by converting it to half and assigning it to every component.
| Parameter | Description |
|---|---|
| v | float4 to convert to half4 |
Constructs a half4 vector from a float4 vector by componentwise conversion.
| Parameter | Description |
|---|---|
| v | double to convert to half4 |
Constructs a half4 vector from a single double value by converting it to half and assigning it to every component.
| Parameter | Description |
|---|---|
| v | double4 to convert to half4 |
Constructs a half4 vector from a double4 vector by componentwise conversion.