> ## 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_RAYTRACING_GEOMETRY_AABBS_DESC (XBOX Series 主機)

> 描述一組軸對齊週框方塊，用於 D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS 結構中，以提供輸入資料給。

描述一組軸對齊週框方塊，用於 [D3D12\_BUILD\_RAYTRACING\_ACCELERATION\_STRUCTURE\_INPUTS](/zh-TW/reference/graphics/d3d12/structs/d3d12_build_raytracing_acceleration_structure_inputs_public) 結構中，以提供輸入資料給光線追蹤加速結構建置作業。

## 語法

```cpp theme={null}
typedef struct D3D12_RAYTRACING_GEOMETRY_AABBS_DESC
{
    UINT64 AABBCount;
    D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE AABBs;
} D3D12_RAYTRACING_GEOMETRY_AABBS_DESC
```

### 成員

*AABBCount*\
類型：UINT64

<i>AABBs</i> 所指向之連續陣列中的 AABB 數目。

*AABBs*\
類型：D3D12\_GPU\_VIRTUAL\_ADDRESS\_AND\_STRIDE

可找到 AABB 描述陣列的 GPU 記憶體位置，包括 AABB 之間的資料間距。位址和間距必須各自對齊 8 個位元組，定義為 位址必須對齊 16 個位元組，定義為 [ D3D12\_RAYTRACING\_AABB\_BYTE\_ALIGNMENT](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/constants)。間距可以是 0。

## 需求

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


## Related topics

- [D3D12_RAYTRACING_GEOMETRY_DESC (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/structs/d3d12_raytracing_geometry_desc_public.md)
- [D3D12_RAYTRACING_GEOMETRY_TYPE (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/enums/d3d12_raytracing_geometry_type_public.md)
- [D3D12_RAYTRACING_GEOMETRY_FLAGS (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/enums/d3d12_raytracing_geometry_flags_public.md)
- [D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_raytracing_geometry_triangles_desc_public.md)
- [D3D12_RAYTRACING_AABB (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/structs/d3d12_raytracing_aabb_public.md)
