---
title: "storageFormatFeature(): TypeShade 셰이더 API의 타입 분류 함수 참조 문서"
description: "storageFormatFeature, TypeShade API의 타입 분류에 속하는 함수입니다. 어떤 장치든 이 형식에 저장하기 전에 필요한 장치 기능입니다. 형식이 코어 형식이면 undefined입니다."
url: https://typeshade.dev/ko/api/storageformatfeature/
language: ko
---

# `storageFormatFeature()`

함수, 타입 분류

어떤 장치든 이 형식에 저장하기 전에 필요한 장치 기능입니다. 형식이 코어 형식이면 undefined입니다.

`import { storageFormatFeature } from 'typeshade'`
`import { storageFormatFeature } from 'typeshade/core/ir'`

설명은 커밋 af54ddad5의 검토된 컴파일러 문서를 번역한 것입니다. 시그니처와 예제 코드는 원문을 따르며, 필요한 경우 설명에 편집상 수정이 반영됩니다.

## 구문

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

## 매개변수

**`format` `StorageTextureFormat`**

## 반환값

`string | undefined`

## 설명

이름은 WebGPU가 정한 것이며, `GPUAdapter.features`가 보고하는 그대로입니다. 그래서 호스트는 이를 `requestDevice({ requiredFeatures })`에 그대로 넘길 수 있습니다.

## 소스

[`src/core/ir/types/storage-texture.ts`, 108행](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/ir/types/storage-texture.ts#L108), 커밋 af54ddad5 기준
