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

# ID3D12Device2

> 表示一个虚拟适配器。此接口扩展了 ID3D12Device1，用于从管线状态流描述创建管线状态对象。

表示一个虚拟适配器。此接口扩展了 [ID3D12Device1](/reference/graphics/d3d12/interfaces/id3d12device1/id3d12device1_public)，用于从管线状态流描述创建管线状态对象。
<div class="alert">**注意**  此接口在 Windows 10 Creators Update 中引入。以 Windows 10 Creators Update 为目标的应用程序应使用此接口，而不是早期或更高版本。以 Windows 10 更早或更高版本为目标的应用程序应使用相应版本的 **ID3D12Device** 接口。</div><div> </div>

## 备注

使用 [D3D12CreateDevice](/reference/graphics/d3d12_x/functions/d3d12createdevice) 创建设备。

## 要求

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

## 另请参阅

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

[ID3D12Device](/reference/graphics/d3d12_x/interfaces/id3d12device/id3d12device)

[ID3D12Device1](/reference/graphics/d3d12/interfaces/id3d12device1/id3d12device1_public)


## Related topics

- [ID3D12Device1](/zh-CN/reference/graphics/d3d12/interfaces/id3d12device1/id3d12device1_public.md)
- [D3D12_PIPELINE_STATE_STREAM_DESC](/zh-CN/reference/graphics/d3d12/structs/d3d12_pipeline_state_stream_desc_public.md)
- [D3D12_FEATURE](/zh-CN/reference/graphics/d3d12/enums/d3d12_feature_public.md)
- [ID3D12Object](/zh-CN/reference/graphics/d3d12/interfaces/id3d12object/id3d12object_public.md)
- [D3D12_BLEND](/zh-CN/reference/graphics/d3d12/enums/d3d12_blend_public.md)
