---
title: "StorageTextureAccess: TypeShade 셰이더 API의 타입 분류 타입 참조 문서"
description: "StorageTextureAccess, TypeShade API의 타입 분류에 속하는 타입입니다. 셰이더가 스토리지 텍스처에 접근할 수 있는 방식입니다."
url: https://typeshade.dev/ko/api/storagetextureaccess/
language: ko
---

# `StorageTextureAccess`

타입, 타입 분류

셰이더가 스토리지 텍스처에 접근할 수 있는 방식입니다.

`import type { StorageTextureAccess } from 'typeshade'`
`import type { StorageTextureAccess } from 'typeshade/core/ir'`

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

## 구문

```ts
type StorageTextureAccess = 'write' | 'read' | 'read_write';
```

## 설명

WGSL은 이들을 `write`, `read`, `read_write`로 적습니다. WebGPU의 바인드 그룹 레이아웃은 같은 세 가지를 `write-only`, `read-only`, `read-write`로 적습니다. 이 표기를 WebGPU 표기로 바꾸는 함수가 [`storageTextureLayoutAccess`](https://typeshade.dev/ko/api/storagetexturelayoutaccess/)입니다.

## 함께 보기

- [`storageTextureLayoutAccess`](https://typeshade.dev/ko/api/storagetexturelayoutaccess/)

## 소스

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