storageFormatFeature
이 페이지에서

storageFormatFeature()

함수, 타입 분류

The device feature a format needs before any device will store to it, or undefined when the format is core.

import { storageFormatFeature } from 'typeshade'

시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

const storageFormatFeature: (
format: StorageTextureFormat,
) => string | undefined

매개변수

format StorageTextureFormat

반환값

string | undefined

설명

The name is WebGPU’s own, as GPUAdapter.features reports it, so a host can pass it straight to requestDevice({ requiredFeatures }).

소스

src/core/ir/types.ts, 127행, 커밋 c66579bf 기준

이 페이지 편집 문제 보고