> ## 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_PIPELINE_FLAGS (XBOX Series consoles)

> Defines constants that specify configuration flags for a raytracing pipeline.

Defines constants that specify configuration flags for a raytracing pipeline.

## Syntax

```cpp theme={null}
typedef enum D3D12_RAYTRACING_PIPELINE_FLAGS
{
    D3D12_RAYTRACING_PIPELINE_FLAG_NONE = 0,
    D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_TRIANGLES = 256,
    D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_PROCEDURAL_PRIMITIVES = 512
} D3D12_RAYTRACING_PIPELINE_FLAGS
```

## Constants

| Constant                                                        | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| --------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| D3D12\_RAYTRACING\_PIPELINE\_FLAG\_NONE                         | Specifies no option.                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| D3D12\_RAYTRACING\_PIPELINE\_FLAG\_SKIP\_TRIANGLES              | Specifies that for any **TraceRay** call within this raytracing pipeline, the [RAY\_FLAG\_SKIP\_TRIANGLES](/reference/graphics/d3d12_xs/enums/d3d12_ray_flags) ray flag should be added in. The resulting combination of ray flags must be valid. The presence of this flag in a raytracing pipeline config doesn't show up in a **RayFlags** call from a shader. Implementations might be able to optimize pipelines knowing that a particular primitive type need not be considered. |
| D3D12\_RAYTRACING\_PIPELINE\_FLAG\_SKIP\_PROCEDURAL\_PRIMITIVES | Specifies that for any **TraceRay** call within this raytracing pipeline, the [RAY\_FLAG\_SKIP\_PROCEDURAL\_PRIMITIVES](/reference/graphics/d3d12_xs/enums/d3d12_ray_flags) ray flag should be added in.                                                                                                                                                                                                                                                                               |

## Remarks

## Requirements

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

## See Also


## Related topics

- [D3D12_RAYTRACING_PIPELINE_CONFIG1 (XBOX Series consoles)](/reference/graphics/d3d12/structs/d3d12_raytracing_pipeline_config1_public.md)
- [D3D12_RAYTRACING_PIPELINE_CONFIG (XBOX Series consoles)](/reference/graphics/d3d12/structs/d3d12_raytracing_pipeline_config_public.md)
- [D3D12_RAYTRACING_INSTANCE_FLAGS (XBOX Series consoles)](/reference/graphics/d3d12/enums/d3d12_raytracing_instance_flags_public.md)
- [D3D12_RAYTRACING_GEOMETRY_FLAGS (XBOX Series consoles)](/reference/graphics/d3d12/enums/d3d12_raytracing_geometry_flags_public.md)
- [D3D12_RAYTRACING_GEOMETRY_DESC (XBOX Series consoles)](/reference/graphics/d3d12/structs/d3d12_raytracing_geometry_desc_public.md)
