vec4fT
이 페이지에서

vec4fT

상수, 타입 분류

A native vec4<f32>: an RGBA colour or a homogeneous clip-space position.

import { vec4fT } from 'typeshade'

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

구문

const vec4fT: { readonly kind: "vec"; readonly n: 4; readonly elem: "f32"; }

설명

Types the pos: builtin('position', vec4fT) vertex-output field, a location(0, vec4fT) fragment-output field, and any RGBA uniform field.

관련 가이드

소스

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

이 페이지 편집 문제 보고