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

> 描述平铺资源的坐标。(D3D12_TILED_RESOURCE_COORDINATE)

描述平铺资源的坐标。

## 语法

```cpp theme={null}
typedef struct D3D12_TILED_RESOURCE_COORDINATE
{
    UINT X;
    UINT Y;
    UINT Z;
    UINT Subresource;
} D3D12_TILED_RESOURCE_COORDINATE
```

### 成员

*X*\
类型：UINT

平铺资源的 x 坐标。

*Y*\
类型：UINT

平铺资源的 y 坐标。

*Z*\
类型：UINT

平铺资源的 z 坐标。

*Subresource*\
类型：UINT

平铺资源的子资源索引。

对于使用非标准平铺、被打包，或同时使用非标准平铺并被打包的 mipmap，任何指示某个已打包 mipmap 的子资源值均引用同一个图块。此外，X 坐标用于指示打包 mip 区域内的图块，而非单个子资源的逻辑区域。Y 和 Z 坐标必须为零。

## 备注

此结构由 [CopyTiles](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_copytiles_public)、[CopyTileMappings](/reference/graphics/d3d12/interfaces/id3d12commandqueue/methods/id3d12commandqueue_copytilemappings_public) 和 [UpdateTileMappings](/reference/graphics/d3d12/interfaces/id3d12commandqueue/methods/id3d12commandqueue_updatetilemappings_public) 方法使用。

## 要求

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

## 另请参阅

[CD3DX12\_TILED\_RESOURCE\_COORDINATE](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/cd3dx12-tiled-resource-coordinate)

[核心结构](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)


## Related topics

- [CopyTileMappings](/zh-CN/reference/graphics/d3d12/interfaces/id3d12commandqueue/methods/id3d12commandqueue_copytilemappings_public.md)
- [CopyTiles](/zh-CN/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_copytiles_public.md)
- [D3D12_TILE_REGION_SIZE](/zh-CN/reference/graphics/d3d12/structs/d3d12_tile_region_size_public.md)
- [D3D12_RESOURCE_BARRIER](/zh-CN/reference/graphics/d3d12/structs/d3d12_resource_barrier_public.md)
- [D3D12_RESOURCE_TRANSITION_BARRIER](/zh-CN/reference/graphics/d3d12/structs/d3d12_resource_transition_barrier_public.md)
