> ## 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_DESC (XBOX Series 本体)

> レイトレーシング アクセラレーション構造ビルド操作への入力データを提供するために、D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS 構造体で使用されるジオメトリのセットを記述します。

[D3D12\_BUILD\_RAYTRACING\_ACCELERATION\_STRUCTURE\_INPUTS](/reference/graphics/d3d12/structs/d3d12_build_raytracing_acceleration_structure_inputs_public) 構造体で使用され、レイトレーシング アクセラレーション構造ビルド操作への入力データを提供する、ジオメトリのセットを記述します。

## 構文

```cpp theme={null}
typedef struct D3D12_RAYTRACING_GEOMETRY_DESC
{
    D3D12_RAYTRACING_GEOMETRY_TYPE Type;
    D3D12_RAYTRACING_GEOMETRY_FLAGS Flags;
    D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESC Triangles;
    D3D12_RAYTRACING_GEOMETRY_AABBS_DESC AABBs;
} D3D12_RAYTRACING_GEOMETRY_DESC
```

### メンバー

*Type*\
型: D3D12\_RAYTRACING\_GEOMETRY\_TYPE

ジオメトリのタイプ。

*Flags*\
型: D3D12\_RAYTRACING\_GEOMETRY\_FLAGS

ジオメトリ フラグ

*Triangles*\
型: D3D12\_RAYTRACING\_GEOMETRY\_TRIANGLES\_DESC

<i>Type</i> が [D3D12\_RAYTRACING\_GEOMETRY\_TYPE\_TRIANGLES](/reference/graphics/d3d12/enums/d3d12_raytracing_geometry_type_public) の場合、トライアングル ジオメトリを記述する [D3D12\_RAYTRACING\_GEOMETRY\_TRIANGLES\_DESC](/reference/graphics/d3d12/structs/d3d12_raytracing_geometry_triangles_desc_public)。それ以外の場合、このパラメーターは使用されません。

*AABBs*\
型: D3D12\_RAYTRACING\_GEOMETRY\_AABBS\_DESC

<i>Type</i> が [D3D12\_RAYTRACING\_GEOMETRY\_TYPE\_PROCEDURAL\_PRIMITIVE\_AABBS](/reference/graphics/d3d12/enums/d3d12_raytracing_geometry_type_public) の場合、トライアングル ジオメトリを記述する [D3D12\_RAYTRACING\_GEOMETRY\_AABBS\_DESC](/reference/graphics/d3d12/structs/d3d12_raytracing_geometry_aabbs_desc_public)。それ以外の場合、このパラメーターは使用されません。

## 要件

**ヘッダー:** d3d12\_xs.h\
**ライブラリ:** d3d12\_xs.lib\
**サポートされるプラットフォーム**: XBOX Series 本体


## Related topics

- [D3D12_RAYTRACING_GEOMETRY_FLAGS (XBOX Series 本体)](/ja-jp/reference/graphics/d3d12/enums/d3d12_raytracing_geometry_flags_public.md)
- [D3D12_RAYTRACING_GEOMETRY_TYPE (XBOX Series 本体)](/ja-jp/reference/graphics/d3d12/enums/d3d12_raytracing_geometry_type_public.md)
- [D3D12_RAYTRACING_GEOMETRY_AABBS_DESC (XBOX Series 本体)](/ja-jp/reference/graphics/d3d12/structs/d3d12_raytracing_geometry_aabbs_desc_public.md)
- [D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESC](/ja-jp/reference/graphics/d3d12/structs/d3d12_raytracing_geometry_triangles_desc_public.md)
- [D3D12_RAYTRACING_INSTANCE_FLAGS (XBOX Series 本体)](/ja-jp/reference/graphics/d3d12/enums/d3d12_raytracing_instance_flags_public.md)
