texture_2d_array
타입
An array of sampled 2D textures in one binding, picked by an integer layer after the coordinate.
이름마다 붙은 시그니처와 설명은 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
type texture_2d_array<E extends TextureElem = f32> = { readonly [textureTag]: readonly [E, true] }시그니처에는 앰비언트 파일이 스스로 쓰려고 선언한 타입이 나올 수 있습니다. 아래가 그 선언입니다.
TextureElemtype TextureElem = f32 | i32 | u32
매개변수
-
E선택 사항TextureElem
설명
Declared as declare const t: texture_2d_array<f32>.