f32T
상수, 타입 분류
The f32 scalar type, the DSL's default numeric type: what a bare numeric literal lifts to (lift(3) is a Node<'f32'>) and what most builtins return.
import { f32T } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
const f32T: { readonly kind: "scalar"; readonly scalar: "f32"; }설명
Use
it to type an fn parameter, a resource or uniform field, or a struct field that must
hold a native float; for emulated double precision use f64T.
관련 가이드
함께 보기
소스
src/core/ir/types.ts, 316행, 커밋 c66579bf 기준