Operator Explicit
Explicit(Boolean to uint4)
Explicitly converts a single bool value to a uint4 vector by converting it to uint and assigning it to every component.
Declaration
public static explicit operator uint4(bool v)
Parameters
Type | Name | Description |
---|---|---|
Boolean | v | bool to convert to uint4 |
Returns
Type | Description |
---|---|
uint4 | Converted value. |
Explicit(bool4 to uint4)
Explicitly converts a bool4 vector to a uint4 vector by componentwise conversion.
Declaration
public static explicit operator uint4(bool4 v)
Parameters
Type | Name | Description |
---|---|---|
bool4 | v | bool4 to convert to uint4 |
Returns
Type | Description |
---|---|
uint4 | Converted value. |
Explicit(Int32 to uint4)
Explicitly converts a single int value to a uint4 vector by converting it to uint and assigning it to every component.
Declaration
public static explicit operator uint4(int v)
Parameters
Type | Name | Description |
---|---|---|
Int32 | v | int to convert to uint4 |
Returns
Type | Description |
---|---|
uint4 | Converted value. |
Explicit(int4 to uint4)
Explicitly converts a int4 vector to a uint4 vector by componentwise conversion.
Declaration
public static explicit operator uint4(int4 v)
Parameters
Type | Name | Description |
---|---|---|
int4 | v | int4 to convert to uint4 |
Returns
Type | Description |
---|---|
uint4 | Converted value. |
Explicit(Single to uint4)
Explicitly converts a single float value to a uint4 vector by converting it to uint and assigning it to every component.
Declaration
public static explicit operator uint4(float v)
Parameters
Type | Name | Description |
---|---|---|
Single | v | float to convert to uint4 |
Returns
Type | Description |
---|---|
uint4 | Converted value. |
Explicit(float4 to uint4)
Explicitly converts a float4 vector to a uint4 vector by componentwise conversion.
Declaration
public static explicit operator uint4(float4 v)
Parameters
Type | Name | Description |
---|---|---|
float4 | v | float4 to convert to uint4 |
Returns
Type | Description |
---|---|
uint4 | Converted value. |
Explicit(Double to uint4)
Explicitly converts a single double value to a uint4 vector by converting it to uint and assigning it to every component.
Declaration
public static explicit operator uint4(double v)
Parameters
Type | Name | Description |
---|---|---|
Double | v | double to convert to uint4 |
Returns
Type | Description |
---|---|
uint4 | Converted value. |
Explicit(double4 to uint4)
Explicitly converts a double4 vector to a uint4 vector by componentwise conversion.
Declaration
public static explicit operator uint4(double4 v)
Parameters
Type | Name | Description |
---|---|---|
double4 | v | double4 to convert to uint4 |
Returns
Type | Description |
---|---|
uint4 | Converted value. |