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

## 另请参阅
