> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DStorage

> DStorage

# DStorage

## 接口

| 接口                                                                                                         | 说明                        |
| ---------------------------------------------------------------------------------------------------------- | ------------------------- |
| [IDStorageFactoryX](/reference/system/dstorage/interfaces/IDStorageFactoryX/idstoragefactoryx)             | 表示静态 DirectStorage 工厂对象。  |
| [IDStorageFactoryX1](/reference/system/dstorage/interfaces/IDStorageFactoryX1/idstoragefactoryx1)          | 表示静态 DirectStorage 工厂对象。  |
| [IDStorageFactoryX2](/reference/system/dstorage/interfaces/IDStorageFactoryX2/idstoragefactoryx2)          | 表示静态 DirectStorage 工厂对象。  |
| [IDStorageFileX](/reference/system/dstorage/interfaces/IDStorageFileX/idstoragefilex)                      | 表示要由 DirectStorage 访问的文件。 |
| [IDStorageQueueX](/reference/system/dstorage/interfaces/IDStorageQueueX/idstoragequeuex)                   | 表示 DirectStorage 队列。      |
| [IDStorageQueueX1](/reference/system/dstorage/interfaces/IDStorageQueueX1/idstoragequeuex1)                | 表示 DirectStorage 队列。      |
| [IDStorageQueueX2](/reference/system/dstorage/interfaces/IDStorageQueueX2/idstoragequeuex2)                | 表示 DirectStorage 队列。      |
| [IDStorageStatusArrayX](/reference/system/dstorage/interfaces/IDStorageStatusArrayX/idstoragestatusarrayx) | 表示前置读取请求的状态条目数组。          |

## 函数

| 函数                                                                            | 说明                       |
| ----------------------------------------------------------------------------- | ------------------------ |
| [DStorageGetFactory](/reference/system/dstorage/functions/dstoragegetfactory) | 返回静态 DirectStorage 工厂对象。 |

## 结构体

| 结构体                                                                                          | 说明                         |
| -------------------------------------------------------------------------------------------- | -------------------------- |
| [DSTORAGE\_ERROR\_RECORD](/reference/system/dstorage/structs/dstorage_error_record)          | 失败的 DirectStorage 请求的详细记录。 |
| [DSTORAGE\_PRIORITY\_STATS 数据结构](/reference/system/dstorage/structs/dstorage_priority_stats) | DirectStorage 每个优先级的统计信息。  |
| [DSTORAGE\_QUEUE\_DESC](/reference/system/dstorage/structs/dstorage_queue_desc)              | DirectStorage 队列的属性。       |
| [DSTORAGE\_QUEUE\_DESC1](/reference/system/dstorage/structs/dstorage_queue_desc1)            | DirectStorage 队列的属性。       |
| [DSTORAGE\_QUEUE\_INFO](/reference/system/dstorage/structs/dstorage_queue_info)              | DirectStorage 队列的属性和当前状态。  |
| [DSTORAGE\_QUEUE\_INFO1](/reference/system/dstorage/structs/dstorage_queue_info1)            | DirectStorage 队列的属性和当前状态。  |
| [DSTORAGE\_QUEUE\_OPTIONS](/reference/system/dstorage/structs/dstorage_queue_options)        | 用于创建 DirectStorage 队列的选项。  |
| [DSTORAGE\_REQUEST](/reference/system/dstorage/structs/dstorage_request)                     | 表示 DirectStorage 读取请求。     |
| [DSTORAGE\_REQUEST\_OPTIONS](/reference/system/dstorage/structs/dstorage_request_options)    | DirectStorage 读取请求的选项。     |
| [DSTORAGE\_STATS](/reference/system/dstorage/structs/dstorage_stats)                         | DirectStorage 统计信息。        |

## 枚举

| 枚举                                                                                               | 说明                         |
| ------------------------------------------------------------------------------------------------ | -------------------------- |
| [DSTORAGE\_BCPACK\_MODE](/reference/system/dstorage/enums/dstorage_bcpack_mode)                  | 从文件读取内容后要执行的 BCPack 解压缩类型。 |
| [DSTORAGE\_COMMAND\_TYPE](/reference/system/dstorage/enums/dstorage_command_type)                | DirectStorage 请求的类型。       |
| [DSTORAGE\_DEBUG](/reference/system/dstorage/enums/dstorage_debug)                               | 控制 DirectStorage 调试层的标志。   |
| [DSTORAGE\_PRIORITY](/reference/system/dstorage/enums/dstorage_priority)                         | DirectStorage 队列的优先级。      |
| [DSTORAGE\_REQUEST\_SOURCE\_TYPE](/reference/system/dstorage/enums/dstorage_request_source_type) | DirectStorage 请求的源类型。      |
| [DSTORAGE\_STAGING\_BUFFER\_SIZE](/reference/system/dstorage/enums/dstorage_staging_buffer_size) | 有效的暂存缓冲区大小。                |
| [DSTORAGE\_SWIZZLE\_MODE](/reference/system/dstorage/enums/dstorage_swizzle_mode)                | 要执行的纹理 swizzling 类型。       |


## Related topics

- [DSTORAGE_DEBUG](/zh-CN/reference/system/dstorage/enums/dstorage_debug.md)
- [DSTORAGE_PRIORITY](/zh-CN/reference/system/dstorage/enums/dstorage_priority.md)
- [DSTORAGE_REQUEST](/zh-CN/reference/system/dstorage/structs/dstorage_request.md)
- [DSTORAGE_STATS](/zh-CN/reference/system/dstorage/structs/dstorage_stats.md)
- [DSTORAGE_QUEUE_INFO](/zh-CN/reference/system/dstorage/structs/dstorage_queue_info.md)
