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

# CreatePlacedUnorderedAccessViewX (XBOX One 系列)

> 放置無序存取檢視 (UAV)。

放置無序存取檢視 (UAV)。

## 語法

```cpp theme={null}
void CreatePlacedUnorderedAccessViewX(  
         ID3D12Resource* pResource,  
         const D3D12XBOX_UNORDERED_ACCESS_VIEW_DESC* pDesc,  
         D3D12_CPU_DESCRIPTOR_HANDLE DestDescriptor  
)  
```

### 參數

*pResource*   \_In\_opt\_\
類型：[ID3D12Resource](https://learn.microsoft.com/en-us/windows/win32/api/d3d12/nn-d3d12-id3d12resource)\*

資源，以指向 **ID3D12Resource** 的指標表示。

*pDesc*   \_In\_opt\_\
類型：[D3D12XBOX\_UNORDERED\_ACCESS\_VIEW\_DESC\*](/zh-TW/reference/graphics/d3d12_x/structs/d3d12xbox_unordered_access_view_desc)

UAV 的描述，以指向 **D3D12XBOX\_UNORDERED\_ACCESS\_VIEW\_DESC** 結構的指標表示。

*DestDescriptor*   \_In\_\
類型：[D3D12\_CPU\_DESCRIPTOR\_HANDLE](https://learn.microsoft.com/en-us/windows/desktop/api/d3d12/ns-d3d12-d3d12_cpu_descriptor_handle)

目的地描述元，以 **D3D12\_CPU\_DESCRIPTOR\_HANDLE** 結構表示。

### 傳回值

類型：void

## 備註

在某些情況下，您可以使用 **CreatePlacedShaderResourceViewX** 略過建立資源的步驟，改為直接從圖形虛擬位址以及資源格式和維度建立資源檢視描述元。

## 需求

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

**程式庫：** d3d12\_x.lib

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

## 另請參閱

[ID3D12Device](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12device/id3d12device)\
[CreatePlacedResourceX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12device/methods/id3d12device_createplacedresourcex)\
[CreateComponentPlacedResourceX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12device/methods/id3d12device_createcomponentplacedresourcex)


## Related topics

- [ClearUnorderedAccessViewFloat](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_clearunorderedaccessviewfloat_public.md)
- [ClearUnorderedAccessViewUint](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_clearunorderedaccessviewuint_public.md)
- [SetGraphicsRootUnorderedAccessView](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setgraphicsrootunorderedaccessview_public.md)
- [SetComputeRootUnorderedAccessView](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setcomputerootunorderedaccessview_public.md)
- [D3D12_UNORDERED_ACCESS_VIEW_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_unordered_access_view_desc_public.md)
