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

# GetNodeCount

> 报告与此设备关联的物理适配器（节点）数量。

报告与此设备关联的物理适配器（节点）数量。

## 语法

```cpp theme={null}
UINT GetNodeCount(
)
```

### 参数

### 返回值

类型：UINT

此设备拥有的物理适配器（节点）数量。

## 要求

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

## 另请参阅

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


## Related topics

- [NodeJS SDK](/zh-CN/services/playfab/sdks/nodejs/index.md)
- [D3D12_AUTO_BREADCRUMB_NODE](/zh-CN/reference/graphics/d3d12/structs/d3d12_auto_breadcrumb_node_public.md)
- [Node.js Nodeunit 许可证](/zh-CN/services/playfab/sdks/nodejs/nodeunit-license.md)
- [NodeJS 快速入门](/zh-CN/services/playfab/sdks/nodejs/quickstart.md)
- [D3D12_NODE_MASK](/zh-CN/reference/graphics/d3d12/structs/d3d12_node_mask_public.md)
