# CullPrimitiveEXT(3) Manual Page

## Name

CullPrimitiveEXT - Application-specified culling state per primitive

Loading… please wait.

## Description

`CullPrimitiveEXT`

  Decorating a variable with the `CullPrimitiveEXT` built-in decoration will make that variable contain the culling state of output primitives. If the per-primitive boolean value is `true`, the primitive will be culled, if it is `false` it will not be culled.

Valid Usage

- VUID-CullPrimitiveEXT-CullPrimitiveEXT-07034
  The `CullPrimitiveEXT` decoration must be used only within the `MeshEXT` `Execution` `Model`

- VUID-CullPrimitiveEXT-CullPrimitiveEXT-07035
  The variable decorated with `CullPrimitiveEXT` must be declared using the `Output` `Storage` `Class`

- VUID-CullPrimitiveEXT-CullPrimitiveEXT-07036
  The variable decorated with `CullPrimitiveEXT` must be declared as an array of boolean values

- VUID-CullPrimitiveEXT-CullPrimitiveEXT-07037
  The size of the array decorated with `CullPrimitiveEXT` must match the value specified by `OutputPrimitivesEXT`

- VUID-CullPrimitiveEXT-CullPrimitiveEXT-07038
  The variable decorated with `CullPrimitiveEXT` within the `MeshEXT` `Execution` `Model` must also be decorated with the `PerPrimitiveEXT` decoration

## 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-2024 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0