Returns the • product of two vectors, x and y.
| ret dot(x, y) |
|---|
Where:
| Name | In/Out | Template Type | Component Type | Size |
|---|---|---|---|---|
| x | in | vector | float, int | any |
| y | in | vector | float, int | same dimensions(s) as input x |
| ret | out | scalar | float, int | 1 |
This intrinsic function is supported in the following (or above) shader versions:
| Vertex Shader | Pixel Shader |
|---|---|
| vs_1_1 | ps_1_1 |