samplerT
상수, 타입 분류
The sampler resource type.
import { samplerT } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
const samplerT: { readonly kind: "sampler"; }설명
Always declared as its own resource() binding next to a texture type
(texture2dfT and its siblings); textureSample and textureSampleLevel
take both. For example, resource('atlas_sampler', samplerT, { group: 0, binding: 1 }).
관련 가이드
함께 보기
소스
src/core/ir/types.ts, 664행, 커밋 c66579bf 기준