transpose
Transposes the specified input matrix.
ret transpose(x) |
---|
Parameters
Item | Description |
---|---|
x |
[in] The specified matrix. |
Return Value
The transposed value of the x parameter.
Remarks
If the dimensions of the source matrix are rows columns, the resulting matrix is columns rows.
Type Description
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 |
Minimum Shader Model
This function is supported in the following shader models.
Shader Model | Supported |
---|---|
Shader Model 1 (DirectX HLSL) and higher shader models | yes |