transpose
On this page

transpose

Function

Returns the transpose of a mat4.

The signature and the sentence under each name are the compiler's own text at commit 26de7be8.

Syntax

declare function transpose(m: mat2x2): mat2x2
declare function transpose(m: mat2x3): mat3x2
declare function transpose(m: mat2x4): mat4x2
declare function transpose(m: mat3x2): mat2x3
declare function transpose(m: mat3x3): mat3x3
declare function transpose(m: mat3x4): mat4x3
declare function transpose(m: mat4x2): mat2x4
declare function transpose(m: mat4x3): mat3x4
declare function transpose(m: mat4x4): mat4x4
declare function transpose(m: mat2x2<f64>): mat2x2<f64>
declare function transpose(m: mat3x3<f64>): mat3x3<f64>
declare function transpose(m: mat4x4<f64>): mat4x4<f64>

Parameters

Return value

mat2x2mat3x2mat4x2mat2x3mat3x3mat4x3mat2x4mat3x4mat4x4mat2x2<f64>mat3x3<f64>mat4x4<f64>

Description

Targets

WGSL
transpose(a)
GLSL ES 3.00
transpose(a)

Examples

See also

Edit this page Report a problem