CapabilityRow
이 페이지에서

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읽기 전용 Capability
support읽기 전용 Readonly<Record<string, CapSupportKind>>

Keyed by Backend.id, one entry per backend passed in.

declarable읽기 전용 boolean

Whether a module may name this capability in enables. False for the nine capabilities derived from a module’s shape (storageBuffer through textureGather, bgra8unormStorage and packed4x8Dot), which DeclarableCapability excludes from enables.

함께 보기

소스

src/core/backend.ts, 397행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고