CapabilityRow
인터페이스, 백엔드 분류
One row of the capability matrix: a capability and how each backend supports it.
import type { CapabilityRow } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
interface CapabilityRow { readonly capability: Capability; readonly support: Readonly<Record<string, CapSupportKind>>; readonly declarable: boolean;}인스턴스 속성
capability읽기 전용Capabilitysupport읽기 전용Readonly<Record<string, CapSupportKind>>Keyed by
Backend.id, one entry per backend passed in.declarable읽기 전용booleanWhether a module may name this capability in
enables. False for the nine capabilities derived from a module’s shape (storageBufferthroughtextureGather,bgra8unormStorageandpacked4x8Dot), whichDeclarableCapabilityexcludes fromenables.
함께 보기
소스
src/core/backend.ts, 397행, 커밋 c66579bf 기준