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

> 指定视图实例化的选项。

指定视图实例化的选项。

## 语法

```cpp theme={null}
typedef enum D3D12_VIEW_INSTANCING_FLAGS
{
    D3D12_VIEW_INSTANCING_FLAG_NONE = 0,
    D3D12_VIEW_INSTANCING_FLAG_ENABLE_VIEW_INSTANCE_MASKING = 1
} D3D12_VIEW_INSTANCING_FLAGS
```

## 常量

| 常量                                                             | 描述            |
| -------------------------------------------------------------- | ------------- |
| D3D12\_VIEW\_INSTANCING\_FLAG\_NONE                            | 表示默认的视图实例化配置。 |
| D3D12\_VIEW\_INSTANCING\_FLAG\_ENABLE\_VIEW\_INSTANCE\_MASKING | 启用视图实例掩码。     |

## 要求

**头文件：** 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-enumerations)

[D3D12\_VIEW\_INSTANCING\_DESC](/reference/graphics/d3d12/structs/d3d12_view_instancing_desc_public)


## Related topics

- [D3D12_VIEW_INSTANCING_DESC](/zh-CN/reference/graphics/d3d12/structs/d3d12_view_instancing_desc_public.md)
- [D3D12_VIEW_INSTANCING_TIER](/zh-CN/reference/graphics/d3d12/enums/d3d12_view_instancing_tier_public.md)
- [D3D12_CLEAR_FLAGS](/zh-CN/reference/graphics/d3d12/enums/d3d12_clear_flags_public.md)
- [D3D12_DEPTH_STENCIL_VIEW_DESC](/zh-CN/reference/graphics/d3d12/structs/d3d12_depth_stencil_view_desc_public.md)
- [D3D12_DSV_FLAGS](/zh-CN/reference/graphics/d3d12/enums/d3d12_dsv_flags_public.md)
