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

> 描述绘制实例的参数。

描述绘制实例的参数。

## 语法

```cpp theme={null}
typedef struct D3D12_DRAW_ARGUMENTS
{
    UINT VertexCountPerInstance;
    UINT InstanceCount;
    UINT StartVertexLocation;
    UINT StartInstanceLocation;
} D3D12_DRAW_ARGUMENTS
```

### 成员

*VertexCountPerInstance*\
类型:UINT

指定每个实例要绘制的顶点数。

*InstanceCount*\
类型:UINT

指定实例数量。

*StartVertexLocation*\
类型:UINT

指定开始绘制的第一个顶点的索引。

*StartInstanceLocation*\
类型:UINT

指定开始绘制的第一个实例的索引。

## 备注

此结构的成员与 [DrawInstanced](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_drawinstanced_public) 的参数具有相同的用途。

## 要求

**头文件:** 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-structures)


## Related topics

- [D3D12_DRAW_INDEXED_ARGUMENTS](/zh-CN/reference/graphics/d3d12/structs/d3d12_draw_indexed_arguments_public.md)
- [D3D12_DISPATCH_ARGUMENTS](/zh-CN/reference/graphics/d3d12/structs/d3d12_dispatch_arguments_public.md)
- [D3D12_COMMAND_SIGNATURE_DESC](/zh-CN/reference/graphics/d3d12/structs/d3d12_command_signature_desc_public.md)
- [D3D12_HEAP_TYPE](/zh-CN/reference/graphics/d3d12/enums/d3d12_heap_type_public.md)
- [D3D12_FEATURE](/zh-CN/reference/graphics/d3d12/enums/d3d12_feature_public.md)
