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

# EmitRaytracingAccelerationStructurePostbuildInfo

> 發出一組加速結構的建置後屬性。這可讓應用程式得知執行作業所需的輸出資源需求。

發出一組加速結構的建置後屬性。這可讓應用程式得知透過 [ID3D12GraphicsCommandList4::CopyRaytracingAccelerationStructure](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist4/methods/id3d12graphicscommandlist4_copyraytracingaccelerationstructure_public) 執行加速結構作業所需的輸出資源需求。

## 語法

```cpp theme={null}
void EmitRaytracingAccelerationStructurePostbuildInfo(
    const D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_DESC  pDesc,
    UINT NumSourceAccelerationStructures,
    const D3D12_GPU_VIRTUAL_ADDRESS  pSourceAccelerationStructureData
)
```

### 參數

*pDesc \[in]*\
類型：const D3D12\_RAYTRACING\_ACCELERATION\_STRUCTURE\_POSTBUILD\_INFO\_DESC \*

[D3D12\_RAYTRACING\_ACCELERATION\_STRUCTURE\_POSTBUILD\_INFO\_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_raytracing_acceleration_structure_postbuild_info_desc_public) 物件，描述要產生的建置後資訊。

*NumSourceAccelerationStructures \[in]*\
類型：UINT

<i>pSourceAccelerationStructureData</i> 所指向之加速結構 GPU 虛擬位址的指標數目。此數目也會影響目的地 (輸出)，其為包含 **NumSourceAccelerationStructures** 個輸出結構的連續陣列，結構的類型取決於所提供 <i>pDesc</i> 描述中的 <i>InfoType</i> 欄位。

*pSourceAccelerationStructureData \[in]*\
類型：const D3D12\_GPU\_VIRTUAL\_ADDRESS \*

指向大小為 <i>NumSourceAccelerationStructures</i> 之 GPU 虛擬位址陣列的指標。

位址必須對齊 256 個位元組，其定義為 [D3D12\_RAYTRACING\_ACCELERATION\_STRUCTURE\_BYTE\_ALIGNMENT](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/constants)。

所指向的記憶體必須處於 [D3D12\_RESOURCE\_STATE\_RAYTRACING\_ACCELERATION\_STRUCTURE](/zh-TW/reference/graphics/d3d12_x/enums/d3d12_resource_states) 狀態。

### 傳回值

類型：void

無。

## 備註

此方法可以從圖形或計算命令清單呼叫，但不能從套件組合呼叫。

## 需求

**標頭:** d3d12\_xs.h\
**程式庫:** d3d12\_xs.lib\
**支援的平台**: XBOX Series 主機

## 另請參閱

[ID3D12GraphicsCommandList4](/zh-TW/reference/graphics/d3d12_xs/interfaces/ID3D12GraphicsCommandList4/id3d12graphicscommandlist4)


## Related topics

- [D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_raytracing_acceleration_structure_postbuild_info_desc_public.md)
- [BuildRaytracingAccelerationStructure (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist4/methods/id3d12graphicscommandlist4_buildraytracingaccelerationstructure_public.md)
- [CopyRaytracingAccelerationStructure (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist4/methods/id3d12graphicscommandlist4_copyraytracingaccelerationstructure_public.md)
- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_SERIALIZATION_DESC (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/structs/d3d12_raytracing_acceleration_structure_postbuild_info_serialization_desc_public.md)
