> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_LIFETIME_STATE

> Defines constants that specify the lifetime state of a lifetime-tracked object.

Defines constants that specify the lifetime state of a lifetime-tracked object.

## Syntax

```cpp theme={null}
typedef enum D3D12_LIFETIME_STATE
{
    D3D12_LIFETIME_STATE_IN_USE = 0,
    D3D12_LIFETIME_STATE_NOT_IN_USE = 0
} D3D12_LIFETIME_STATE
```

## Constants

| Constant | Description |
| - | - |
| D3D12\_LIFETIME\_STATE\_IN\_USE | Specifies that the lifetime-tracked object is in use. |
| D3D12\_LIFETIME\_STATE\_NOT\_IN\_USE | Specifies that the lifetime-tracked object is not in use. |

## Remarks

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

## See Also


## Related topics

- [LifetimeStateUpdated](https://docs.xbox.com/reference/graphics/d3d12/interfaces/id3d12lifetimeowner/methods/id3d12lifetimeowner_lifetimestateupdated_public.md)
- [ID3D12LifetimeTracker](https://docs.xbox.com/reference/graphics/d3d12/interfaces/id3d12lifetimetracker/id3d12lifetimetracker_public.md)
- [ID3D12LifetimeOwner](https://docs.xbox.com/reference/graphics/d3d12/interfaces/id3d12lifetimeowner/id3d12lifetimeowner_public.md)
- [D3D12_GRAPHICS_STATES](https://docs.xbox.com/reference/graphics/d3d12/enums/d3d12_graphics_states_public.md)
- [D3D12_TRI_STATE](https://docs.xbox.com/reference/graphics/d3d12/enums/d3d12_tri_state_public.md)
