VkPipelineCreateFlags2CreateInfoKHR(3)

# VkPipelineCreateFlags2CreateInfoKHR(3) Manual Page

## Name

VkPipelineCreateFlags2CreateInfoKHR - Extended pipeline create flags

Loading… please wait.

## C Specification

The `VkPipelineCreateFlags2CreateInfoKHR` structure is defined as:

    // Provided by VK_KHR_maintenance5
    typedef struct VkPipelineCreateFlags2CreateInfoKHR {
        VkStructureType              sType;
        const void*                  pNext;
        VkPipelineCreateFlags2KHR    flags;
    } VkPipelineCreateFlags2CreateInfoKHR;

## Members

- `sType` is a VkStructureType value identifying this structure.

- `pNext` is `NULL` or a pointer to a structure extending this structure.

- `flags` is a bitmask of VkPipelineCreateFlagBits2KHR specifying how a pipeline will be generated.

## Description

If this structure is included in the `pNext` chain of a pipeline creation structure, `flags` is used instead of the corresponding `flags` value passed in that creation structure, allowing additional creation flags to be specified.

Valid Usage (Implicit)

- VUID-VkPipelineCreateFlags2CreateInfoKHR-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_PIPELINE_CREATE_FLAGS_2_CREATE_INFO_KHR`

- VUID-VkPipelineCreateFlags2CreateInfoKHR-flags-parameter
  `flags` must be a valid combination of VkPipelineCreateFlagBits2KHR values

- VUID-VkPipelineCreateFlags2CreateInfoKHR-flags-requiredbitmask
  `flags` must not be `0`

## See Also

VK_KHR_maintenance5, VkPipelineCreateFlags2KHR, VkStructureType

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

SPDX-License-Identifier: CC-BY-4.0