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

# ID3D12Object

> ID3D12Object (XBOX 上的 Direct3D 12) — ID3D12Device 和 ID3D12DeviceChild 继承的接口。它提供了关联私有数据以及。

[ID3D12Device](https://docs.xbox.com/zh-CN/reference/graphics/d3d12_x/interfaces/id3d12device/id3d12device.md) 和 [ID3D12DeviceChild](https://docs.xbox.com/zh-CN/reference/graphics/d3d12/interfaces/id3d12devicechild/id3d12devicechild_public.md) 继承的接口。它提供了关联私有数据和注释对象名称的方法。

## 要求

**头文件：** d3d12\_x.h\
**库：** d3d12\_x.lib\
**支持的平台**：XBOX One 系列

## 另请参阅

[核心接口](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-interfaces)

[IUnknown](https://learn.microsoft.com/en-us/windows/desktop/api/unknwn/nn-unknwn-iunknown)


## Related topics

- [ID3D12DeviceChild](https://docs.xbox.com/zh-CN/reference/graphics/d3d12/interfaces/id3d12devicechild/id3d12devicechild_public.md)
- [SetName](https://docs.xbox.com/zh-CN/reference/graphics/d3d12/interfaces/id3d12object/methods/id3d12object_setname_public.md)
- [SetPrivateData](https://docs.xbox.com/zh-CN/reference/graphics/d3d12/interfaces/id3d12object/methods/id3d12object_setprivatedata_public.md)
- [GetPrivateData](https://docs.xbox.com/zh-CN/reference/graphics/d3d12/interfaces/id3d12object/methods/id3d12object_getprivatedata_public.md)
- [SetPrivateDataInterface](https://docs.xbox.com/zh-CN/reference/graphics/d3d12/interfaces/id3d12object/methods/id3d12object_setprivatedatainterface_public.md)
