CullMaskKHR(3)

# CullMaskKHR(3) Manual Page

## Name

CullMaskKHR - OpTrace specified ray cull mask

## Description

`CullMaskKHR`

  A variable decorated with the `CullMaskKHR` decoration will specify the cull mask of the ray being processed. The value is given by the `Cull Mask` parameter passed into one of the `OpTrace*` instructions.

Valid Usage

- VUID-CullMaskKHR-CullMaskKHR-06735
  The `CullMaskKHR` decoration must be used only within the `IntersectionKHR`, `AnyHitKHR`, `ClosestHitKHR`, or `MissKHR` `Execution` `Model`

- VUID-CullMaskKHR-CullMaskKHR-06736
  The variable decorated with `CullMaskKHR` must be declared using the `Input` `Storage` `Class`

- VUID-CullMaskKHR-CullMaskKHR-06737
  The variable decorated with `CullMaskKHR` must be declared as a scalar 32-bit integer value

## See Also

No cross-references are available

## Document Notes

For more information, see the Vulkan Specification.

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0