Skip to content

Sign up to be notified when the ShaderHunt platform is available, along with interactive examples teaching TypeGPU from the ground up.

identity2

identity2(): m2x2f

Defined in: packages/typegpu/src/data/matrix.ts:533

Returns a 2-by-2 identity matrix.

m2x2f

The result matrix.