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

> Defines general properties of a state object.

Defines general properties of a state object.

## Syntax

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

### Members

*Flags*\
Type: D3D12\_STATE\_OBJECT\_FLAGS

A value from the [D3D12\_STATE\_OBJECT\_FLAGS](/reference/graphics/d3d12/enums/d3d12_state_object_flags_public) flags enumeration that specifies the requirements for the state object.

## Remarks

The presence of this subobject in a state object is optional.  If present, all exports in the state object must be associated with the same subobject (or one with a matching definition).  This consistency requirement does not apply across existing collections that are included in a larger state object.

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family


## Related topics

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