Enum
VkSemaphoreType
Specifies the type of a semaphore object
Possible values of VkSemaphoreTypeCreateInfo::semaphoreType,
specifying the type of a semaphore, are:
typedef enum VkSemaphoreType {
VK_SEMAPHORE_TYPE_BINARY = 0,
VK_SEMAPHORE_TYPE_TIMELINE = 1,
} VkSemaphoreType;
pub struct SemaphoreType(u32);
impl SemaphoreType {
pub const BINARY: Self = 0;
pub const TIMELINE: Self = 1;
}
#define VkSemaphoreTypeKHR VkSemaphoreType
const SemaphoreTypeKHR: _ = vk::SemaphoreType;
VK_SEMAPHORE_TYPE_BINARYspecifies a binary semaphore type that has a boolean payload indicating whether the semaphore is currently signaled or unsignaled. When created, the semaphore is in the unsignaled state.VK_SEMAPHORE_TYPE_TIMELINEspecifies a timeline semaphore type that has a strictly increasing 64-bit unsigned integer payload indicating whether the semaphore is signaled with respect to a particular reference value. When created, the semaphore payload has the value given by theinitialValuefield of VkSemaphoreTypeCreateInfo.
Parent
VK_VERSION_1_2Type
Enum