f32Lit()
함수, 출력 분류
Spell v as an f32 literal, in the form WGSL and GLSL share: an integer-looking value gets a .0 suffix so a float context never sees an integer literal.
import { f32Lit } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
function f32Lit(v: number): string매개변수
vnumber
반환값
string
예외
소스
src/core/backends/wgsl.ts, 146행, 커밋 c66579bf 기준