determinant - HLSL

Returns the determinant of the square matrix m.

Syntax

ret determinant(m)

Where:

Name In/Out Template Type Component Type Size
m in matrix float any (number of rows = number of columns)
ret out scalar float 1

Minimum Shader Version

This intrinsic function is supported in the following (or above) shader versions:

Vertex Shader Pixel Shader
vs_1_1 ps_1_4

See Also

HLSL Intrinsic Functions