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

> 定義常數，指定存留期追蹤物件的存留期狀態。

定義常數，指定存留期追蹤物件的存留期狀態。

## 語法

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

## 常數

| 常數 | 描述 |
| - | - |
| D3D12\_LIFETIME\_STATE\_IN\_USE | 指定存留期追蹤物件正在使用中。 |
| D3D12\_LIFETIME\_STATE\_NOT\_IN\_USE | 指定存留期追蹤物件未在使用中。 |

## 備註

## 需求

**標頭:** d3d12\_xs.h 或 d3d12\_x.h\
**程式庫:** d3d12\_xs.lib 或 d3d12\_x.lib\
**支援的平台**: XBOX Series 主機與 XBOX One 系列

## 另請參閱


## Related topics

- [LifetimeStateUpdated](/zh-TW/reference/graphics/d3d12/interfaces/id3d12lifetimeowner/methods/id3d12lifetimeowner_lifetimestateupdated_public.md)
- [ID3D12LifetimeOwner](/zh-TW/reference/graphics/d3d12/interfaces/id3d12lifetimeowner/id3d12lifetimeowner_public.md)
- [ID3D12LifetimeTracker](/zh-TW/reference/graphics/d3d12/interfaces/id3d12lifetimetracker/id3d12lifetimetracker_public.md)
- [D3D12_GRAPHICS_STATES](/zh-TW/reference/graphics/d3d12/enums/d3d12_graphics_states_public.md)
- [D3D12_TRI_STATE](/zh-TW/reference/graphics/d3d12/enums/d3d12_tri_state_public.md)
