isMat64
이 페이지에서

isMat64()

함수, 타입 분류

Narrows a ShaderType to an emulated-double matrix (matNxN<f64>, see mat2f64T), which is emitted as a struct of double-double columns.

import { isMat64 } from 'typeshade'

시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

const isMat64: (
t: ShaderType,
) => t is Extract<ShaderType, { kind: "mat"; }> & { elem: "f64"; }

매개변수

t ShaderType

반환값

t is Extract<ShaderType, { kind: 'mat' }> & { elem: 'f64' }

함께 보기

소스

src/core/ir/types.ts, 1112행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고