---
title: "mat4x4: TypeShade 셰이더 API의 런타임 분류 타입 참조 문서"
description: "mat4x4, TypeShade API의 런타임 분류에 속하는 타입입니다. 호스트 값으로서의 mat4x4입니다. 성분 16개를 열 우선 순서로 담은 readonly 튜플입니다."
url: https://typeshade.dev/ko/api/mat4x4/
language: ko
---

# `mat4x4`

타입, 런타임 분류

호스트 값으로서의 `mat4x4`입니다. 성분 16개를 열 우선 순서로 담은 readonly 튜플입니다.

`import type { mat4x4 } from 'typeshade/runtime'`

설명은 커밋 af54ddad5의 검토된 컴파일러 문서를 번역한 것입니다. 시그니처와 예제 코드는 원문을 따르며, 필요한 경우 설명에 편집상 수정이 반영됩니다.

## 구문

```ts
type mat4x4<T extends f32 | f64 = f32> = readonly [
  T,
  T,
  T,
  T,
  T,
  T,
  T,
  T,
  T,
  T,
  T,
  T,
  T,
  T,
  T,
  T,
] & { readonly [tag]?: 'mat4x4' };
```

## 설명

`mat4x4<f64>`는 `f64` 성분을 담습니다([규칙 4.4](https://typeshade.dev/ko/reference/rules/4-4/)).

## 소스

[`src/runtime/host-types.ts`, 142행](https://github.com/typeshade/typeshade/blob/af54ddad5/src/runtime/host-types.ts#L142), 커밋 af54ddad5 기준
