> ## 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 consoles)

> Describes a set of geometry that is used in the D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS structure to provide input data to a raytracing.

Describes a set of geometry that is used in the [D3D12\_BUILD\_RAYTRACING\_ACCELERATION\_STRUCTURE\_INPUTS](/reference/graphics/d3d12/structs/d3d12_build_raytracing_acceleration_structure_inputs_public) structure to provide input data to a raytracing acceleration structure build operation.

## Syntax

```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
```

### Members

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

The type of geometry.

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

The geometry flags

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

A [D3D12\_RAYTRACING\_GEOMETRY\_TRIANGLES\_DESC](/reference/graphics/d3d12/structs/d3d12_raytracing_geometry_triangles_desc_public) describing triangle geometry, if <i>Type</i> is  [D3D12\_RAYTRACING\_GEOMETRY\_TYPE\_TRIANGLES](/reference/graphics/d3d12/enums/d3d12_raytracing_geometry_type_public).  Otherwise this parameter is unused.

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

A [D3D12\_RAYTRACING\_GEOMETRY\_AABBS\_DESC](/reference/graphics/d3d12/structs/d3d12_raytracing_geometry_aabbs_desc_public) describing triangle geometry, if <i>Type</i> is  [D3D12\_RAYTRACING\_GEOMETRY\_TYPE\_PROCEDURAL\_PRIMITIVE\_AABBS](/reference/graphics/d3d12/enums/d3d12_raytracing_geometry_type_public).  Otherwise this parameter is unused.

## Requirements

**Header:** d3d12\_xs.h\
**Library:** d3d12\_xs.lib\
**Supported Platforms**: XBOX Series consoles


## Related topics

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