vec4iT
이 페이지에서

vec4iT

상수, 타입 분류

A native vec4<i32>, completing the signed-integer vector family alongside vec2iT.

import { vec4iT } from 'typeshade'

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

구문

const vec4iT: { readonly kind: "vec"; readonly n: 4; readonly elem: "i32"; }

설명

Use it to type an fn parameter, resource or struct field declared as vec4<i32>; build a value with construct(vec4iT, [...]) or read one with .at() against this type.

관련 가이드

함께 보기

소스

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

이 페이지 편집 문제 보고