> ## 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.

# D3D12_SUBRESOURCE_INFO

> 描述子资源数据。(D3D12_SUBRESOURCE_INFO)

描述子资源数据。

## 语法

```cpp theme={null}
typedef struct D3D12_SUBRESOURCE_INFO
{
    UINT64 Offset;
    UINT RowPitch;
    UINT DepthPitch;
} D3D12_SUBRESOURCE_INFO
```

### 成员

*Offset*\
类型：UINT64

父资源的起始位置与此子资源之间的偏移量（以字节为单位）。

*RowPitch*\
类型：UINT

子资源数据的行间距、宽度或物理大小（以字节为单位）。

*DepthPitch*\
类型：UINT

子资源数据的深度间距、宽度或物理大小（以字节为单位）。

## 要求

**头文件：** d3d12\_xs.h 或 d3d12\_x.h\
**库：** d3d12\_xs.lib 或 d3d12\_x.lib\
**支持的平台**：XBOX Series 主机和 XBOX One 系列

## 另请参阅

[Core Structures](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)


## Related topics

- [D3D12_SUBRESOURCE_DATA](/zh-CN/reference/graphics/d3d12/structs/d3d12_subresource_data_public.md)
- [D3D12_SUBRESOURCE_TILING](/zh-CN/reference/graphics/d3d12/structs/d3d12_subresource_tiling_public.md)
- [D3D12_SUBRESOURCE_FOOTPRINT](/zh-CN/reference/graphics/d3d12/structs/d3d12_subresource_footprint_public.md)
- [D3D12_PLACED_SUBRESOURCE_FOOTPRINT](/zh-CN/reference/graphics/d3d12/structs/d3d12_placed_subresource_footprint_public.md)
- [D3D12_SUBRESOURCE_RANGE_UINT64](/zh-CN/reference/graphics/d3d12/structs/d3d12_subresource_range_uint64_public.md)
