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

> Descripción de un objeto de estado. Pase esta estructura a ID3D12Device::CreateStateObject.

Descripción de un objeto de estado. Pase un valor de este tipo de estructura a [ID3D12Device5::CreateStateObject](/reference/graphics/d3d12/interfaces/id3d12device5/methods/id3d12device5_createstateobject_public).

## Sintaxis

```cpp theme={null}
typedef struct D3D12_STATE_OBJECT_DESC
{
    D3D12_STATE_OBJECT_TYPE Type;
    UINT NumSubobjects;
    const D3D12_STATE_SUBOBJECT  pSubobjects;
} D3D12_STATE_OBJECT_DESC
```

### Miembros

*Type*\
Tipo: D3D12\_STATE\_OBJECT\_TYPE

El tipo del objeto de estado.

*NumSubobjects*\
Tipo: UINT

Tamaño de la matriz <i>pSubobjects</i>.

*pSubobjects*\
Tipo: const D3D12\_STATE\_SUBOBJECT \*

Una matriz de definiciones de subobjetos.

## Requisitos

**Encabezado:** d3d12\_xs.h o d3d12\_x.h\
**Biblioteca:** d3d12\_xs.lib o d3d12\_x.lib\
**Plataformas compatibles**: consolas XBOX Series y familia XBOX One


## Related topics

- [D3D12_STATE_OBJECT_TYPE](/es/reference/graphics/d3d12/enums/d3d12_state_object_type_public.md)
- [D3D12_STATE_SUBOBJECT](/es/reference/graphics/d3d12/structs/d3d12_state_subobject_public.md)
- [D3D12_STATE_SUBOBJECT_TYPE](/es/reference/graphics/d3d12/enums/d3d12_state_subobject_type_public.md)
- [D3D12_EXISTING_COLLECTION_DESC (consolas XBOX Series)](/es/reference/graphics/d3d12/structs/d3d12_existing_collection_desc_public.md)
- [D3D12_STATE_OBJECT_FLAGS](/es/reference/graphics/d3d12/enums/d3d12_state_object_flags_public.md)
