|  |  | 
Returns the cross product of two 3D vectors.
| ret cross(x, y) | 
|---|
Where:
| Name | In/Out | Template Type | Component Type | Size | 
|---|---|---|---|---|
| x | in | vector | float | 3 | 
| y | in | vector | float | 3 | 
| ret | out | vector | float | 3 | 
This intrinsic function is supported in the following (or above) shader versions:
| Vertex Shader | Pixel Shader | 
|---|---|
| vs_1_1 | ps_1_4 |