> ## 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_BUFFER_SRV_FLAGS (XBOX One 系列)

> 識別如何檢視緩衝區資源。

識別如何檢視緩衝區資源。

## 語法

```cpp theme={null}
typedef enum D3D12_BUFFER_SRV_FLAGS    
{  
    D3D12_BUFFER_SRV_FLAG_NONE = 0x0,  
    D3D12_BUFFER_SRV_FLAG_RAW = 0x1,  
    D3D12XBOX_BUFFER_SRV_FLAG_STRIDED_TYPED = 0x2  
} D3D12_BUFFER_SRV_FLAGS  
```

## 常數

| 常數 | 描述 |
| - | - |
| D3D12\_BUFFER\_SRV\_FLAG\_NONE | 表示預設檢視。 |
| D3D12\_BUFFER\_SRV\_FLAG\_RAW | 以原始格式檢視緩衝區。如需緩衝區原始檢視的詳細資訊，請參閱[緩衝區的原始檢視](https://learn.microsoft.com/en-us/windows/desktop/direct3d11/overviews-direct3d-11-resources-intro)。 |
| D3D12XBOX\_BUFFER\_SRV\_FLAG\_STRIDED\_TYPED | 啟用跨距緩衝區，也就是兩個元素之間的距離大於單一元素的大小。NumElements 會變成以位元組為單位的位移，並允許搭配已知格式使用 StructureByteStride。 |

## 需求

**標頭：** d3d12\_x.h

**支援的平台：** XBOX One 系列

## 另請參閱

[d3d12\_x](/zh-TW/reference/graphics/d3d12_x/d3d12_x_members)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [D3D12_BUFFER_SRV](/reference/graphics/d3d12/structs/d3d12_buffer_srv_public.md)
- [D3D12_TEXCUBE_SRV](/zh-CN/reference/graphics/d3d12/structs/d3d12_texcube_srv_public.md)
- [D3D12_TEX3D_SRV](/zh-CN/reference/graphics/d3d12/structs/d3d12_tex3d_srv_public.md)
- [D3D12_TEXCUBE_ARRAY_SRV](/zh-CN/reference/graphics/d3d12/structs/d3d12_texcube_array_srv_public.md)
