AddressSpace
타입, IR 분류
The BindingDecl.space a resource binding lives in: WGSL's var<uniform> or var<storage, ...>.
import type { AddressSpace } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
type AddressSpace = 'uniform' | 'storage';설명
The BindingDecl.space a resource binding lives in: WGSL’s var<uniform> or
var<storage, ...>. It selects the WGSL declaration spelling and, on GLSL, the choice
between a uniform block and an emulated storage-buffer path (WebGL2 GLSL ES 3.00 has
no native storage buffer). See BindingDecl.access, which applies only when
this is 'storage'.
함께 보기
소스
src/core/ir/nodes.ts, 505행, 커밋 c66579bf 기준