ALL_STORAGE_TEXTURE_FORMATS
상수, 타입 분류
Every StorageTextureFormat, as a runtime value: the list a front end validates a written name against and a doc generator iterates.
import { ALL_STORAGE_TEXTURE_FORMATS } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
const ALL_STORAGE_TEXTURE_FORMATS: readonly ["rgba8unorm", "rgba8snorm", "rgba8uint", "rgba8sint", "rgba16uint", "rgba16sint", "rgba16float", "r32uint", "r32sint", "r32float", "rg32uint", "rg32sint", "rg32float", "rgba32uint", "rgba32sint", "rgba32float", "bgra8unorm"]설명
A union type has no runtime form, so the
list is written out and satisfies keeps it in step.
함께 보기
소스
src/core/ir/types.ts, 75행, 커밋 c66579bf 기준