texture_multisampled_2d
이 페이지에서

texture_multisampled_2d

타입

A multisampled 2D texture, read one sample at a time with textureLoad(t, coords, sampleIndex) and never filtered.

시그니처와 이름 아래 문장, 컴파일러 메시지는 커밋 af54ddad5의 컴파일러가 쓴 영어 원문입니다.

구문

type texture_multisampled_2d<E extends TextureElem = f32> = { readonly [textureTag]: readonly [E, '2d-ms'] }

시그니처에는 앰비언트 파일이 스스로 쓰려고 선언한 타입이 나올 수 있습니다. 아래가 그 선언입니다.

TextureElem
type TextureElem = f32 | i32 | u32

매개변수

  • E 선택 사항 TextureElem

설명

Declared as declare const t: texture_multisampled_2d<f32>; it derives the msaaTextureLoad capability, whose GLSL lowering is not supported yet (Rule 10.5).

예제

함께 보기

이 페이지 편집 문제 보고