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

> Represents a subobject within a state object description. Use with D3D12_STATE_OBJECT_DESC.

Represents a subobject within a state object description. Use with [D3D12\_STATE\_OBJECT\_DESC](/reference/graphics/d3d12/structs/d3d12_state_object_desc_public).

## Syntax

```cpp theme={null}
typedef struct D3D12_STATE_SUBOBJECT
{
    D3D12_STATE_SUBOBJECT_TYPE Type;
    const void  pDesc;
} D3D12_STATE_SUBOBJECT
```

### Members

*Type*\
Type: D3D12\_STATE\_SUBOBJECT\_TYPE

A [D3D12\_STATE\_SUBOBJECT\_TYPE](/reference/graphics/d3d12_xs/enums/d3d12_state_subobject_type_xs) specifying the type of the state subobject.

*pDesc*\
Type: const void \*

Pointer to state object description of the type specified in the *Type* parameter.

## 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_SUBOBJECT_TYPE](/reference/graphics/d3d12/enums/d3d12_state_subobject_type_public.md)
- [D3D12_STATE_OBJECT_DESC](/reference/graphics/d3d12/structs/d3d12_state_object_desc_public.md)
- [D3D12_SUBOBJECT_TO_EXPORTS_ASSOCIATION](/reference/graphics/d3d12/structs/d3d12_subobject_to_exports_association_public.md)
- [D3D12_NODE_MASK](/reference/graphics/d3d12/structs/d3d12_node_mask_public.md)
- [NDA topic directory - live Microsoft Learn links](/nda/nda-topic-directory.md)
