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

# ID3D12Resource::GetDesc

> 获取资源说明。

获取资源说明。

## 语法

```cpp theme={null}
D3D12_RESOURCE_DESC GetDesc(
)
```

### 参数

### 返回值

类型：D3D12\_RESOURCE\_DESC

一个 Direct3D 12 资源描述结构。

## 要求

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

## 另请参阅

[ID3D12Resource](/reference/graphics/d3d12_xs/interfaces/ID3D12Resource/id3d12resource_xs)


## Related topics

- [ID3D12ProtectedResourceSession::GetDesc](/zh-CN/reference/graphics/d3d12/interfaces/id3d12protectedresourcesession/methods/id3d12protectedresourcesession_getdesc_public.md)
- [ID3D12Heap::GetDesc](/zh-CN/reference/graphics/d3d12/interfaces/id3d12heap/methods/id3d12heap_getdesc_public.md)
- [ID3D12DescriptorHeap::GetDesc](/zh-CN/reference/graphics/d3d12/interfaces/id3d12descriptorheap/methods/id3d12descriptorheap_getdesc_public.md)
- [ID3D12CommandQueue::GetDesc](/zh-CN/reference/graphics/d3d12/interfaces/id3d12commandqueue/methods/id3d12commandqueue_getdesc_public.md)
- [ID3D12ShaderCacheSession::GetDesc](/zh-CN/reference/graphics/d3d12/interfaces/id3d12shadercachesession/methods/id3d12shadercachesession_getdesc_public.md)
