Returns the length of the vector x.
ret length(x) |
---|
Where:
Name | In/Out | Template Type | Component Type | Size |
---|---|---|---|---|
x | in | vector | float | any |
ret | out | scalar | float | 1 |
This intrinsic function is supported in the following (or above) shader versions:
Vertex Shader | Pixel Shader |
---|---|
vs_1_1 | ps_2_0 |