VKFENCECREATEINFO(3)

NAME
VkFenceCreateInfo - Structure specifying parameters of a newly created fence

C SPECIFICATION

The VkFenceCreateInfo structure is defined as:

    typedef struct VkFenceCreateInfo {
        VkStructureType       sType;
        const void*           pNext;
        VkFenceCreateFlags    flags;
    } VkFenceCreateInfo;

MEMBERS

    • flags defines the initial state and behavior of the fence. Bits which can be set include:

        typedef enum VkFenceCreateFlagBits {
            VK_FENCE_CREATE_SIGNALED_BIT = 0x00000001,
        } VkFenceCreateFlagBits;

    If flags contains VK_FENCE_CREATE_SIGNALED_BIT then the fence object is created in the signaled state. Otherwise it is created in the unsignaled state.

DESCRIPTION
Valid Usage (Implicit)

    • sType must be VK_STRUCTURE_TYPE_FENCE_CREATE_INFO

    • pNext must be NULL

    • flags must be a valid combination of VkFenceCreateFlagBits values

SEE ALSO

VkFenceCreateFlags, VkStructureType, vkCreateFence

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkFenceCreateInfo

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

COPYRIGHT

Copyright (c) 2014-2016 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.

AUTHOR

Khronos Group
    Author.