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

> 定义状态对象的一般属性。

定义状态对象的一般属性。

## 语法

```cpp theme={null}
typedef struct D3D12_STATE_OBJECT_CONFIG
{
    D3D12_STATE_OBJECT_FLAGS Flags;
} D3D12_STATE_OBJECT_CONFIG
```

### 成员

*Flags*\
类型：D3D12\_STATE\_OBJECT\_FLAGS

来自 [D3D12\_STATE\_OBJECT\_FLAGS](/reference/graphics/d3d12/enums/d3d12_state_object_flags_public) 标志枚举的值，用于指定状态对象的要求。

## 备注

此子对象在状态对象中的存在是可选的。如果存在，则状态对象中的所有导出都必须与同一子对象（或与之定义匹配的子对象）关联。此一致性要求不适用于包含在较大状态对象中的现有集合。

## 要求

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


## Related topics

- [D3D12_STATE_OBJECT_FLAGS](/zh-CN/reference/graphics/d3d12/enums/d3d12_state_object_flags_public.md)
- [D3D12_SUBOBJECT_TO_EXPORTS_ASSOCIATION](/zh-CN/reference/graphics/d3d12/structs/d3d12_subobject_to_exports_association_public.md)
- [D3D12_STATE_SUBOBJECT_TYPE](/zh-CN/reference/graphics/d3d12/enums/d3d12_state_subobject_type_public.md)
- [D3D12_STATE_OBJECT_TYPE](/zh-CN/reference/graphics/d3d12/enums/d3d12_state_object_type_public.md)
- [D3D12_STATE_OBJECT_DESC](/zh-CN/reference/graphics/d3d12/structs/d3d12_state_object_desc_public.md)
