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

# D3D12XBOX_ZERO_MEMORY_FLAGS (XBOX Series 主機)

> 定義用於將記憶體歸零的旗標。

定義用於將記憶體歸零的旗標。

## 語法

```cpp theme={null}
enum D3D12XBOX_ZERO_MEMORY_FLAGS    
{  
    D3D12XBOX_ZERO_MEMORY_FLAG_NONE = 0,  
    D3D12XBOX_ZERO_MEMORY_FLAG_CPU_MEMSET_ONLY = 1,  
}  
```

## 常數

| 常數 | 描述 |
| - | - |
| D3D12XBOX\_ZERO\_MEMORY\_FLAG\_NONE | 未指定任何旗標。 |
| D3D12XBOX\_ZERO\_MEMORY\_FLAG\_CPU\_MEMSET\_ONLY | 僅使用 CPU `memset()` 呼叫將記憶體歸零。 |

## 需求

**標頭:** d3d12\_xs.h\
XBOX Series 主機

## 另請參閱

[d3d12\_xs](/zh-TW/reference/graphics/d3d12_xs/d3d12_xs_members)


## Related topics

- [D3D12_EXPORT_FLAGS (XBOX Series consoles)](/reference/graphics/d3d12/enums/d3d12_export_flags_public.md)
- [D3D12_RAYTRACING_INSTANCE_FLAGS (XBOX Series consoles)](/reference/graphics/d3d12/enums/d3d12_raytracing_instance_flags_public.md)
- [D3D12_COMMAND_LIST_FLAGS (XBOX Series consoles)](/reference/graphics/d3d12/enums/d3d12_command_list_flags_public.md)
- [D3D12_RAYTRACING_GEOMETRY_FLAGS (XBOX Series consoles)](/reference/graphics/d3d12/enums/d3d12_raytracing_geometry_flags_public.md)
- [D3D12_COMMAND_LIST_FLAGS (consolas XBOX Series)](/es/reference/graphics/d3d12/enums/d3d12_command_list_flags_public.md)
