title | description | ms.assetid | keywords | topic_type | api_name | api_type | ms.topic | ms.date | api_location | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
transpose |
Transposes the specified input matrix. |
2a2ff2fb-73f0-4bb8-af83-38fe0567d122 |
|
|
|
|
reference |
05/31/2018 |
Transposes the specified input matrix.
ret transpose(x) |
---|
Item | Description |
---|---|
x |
[in] The specified matrix. |
The transposed value of the x parameter.
If the dimensions of the source matrix are rows columns, the resulting matrix is columns rows.
Name | Template Type | Component Type | Size |
---|---|---|---|
x | matrix | float, int, bool | any |
ret | matrix | float, int, bool | rows = same number of columns as input x, columns = same number of rows as input x |
This function is supported in the following shader models.
Shader Model | Supported |
---|---|
Shader Model 1 (DirectX HLSL) and higher shader models | yes |