Skip to content

Latest commit

 

History

History
86 lines (42 loc) · 2.6 KB

dx-graphics-hlsl-transpose.md

File metadata and controls

86 lines (42 loc) · 2.6 KB
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
transpose HLSL
apiref
transpose
NA
reference
05/31/2018

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

See also

Intrinsic Functions (DirectX HLSL)