The handle types supported by handleType are:
VkImportSemaphoreWin32HandleInfoKHR| Handle Type | Transference | Permanence Supported |
|---|---|---|
EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT | Reference | Temporary,Permanent |
EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT | Reference | Temporary,Permanent |
EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT | Reference | Temporary,Permanent |
handleType must be a value included in the Handle Types Supported by VkImportSemaphoreWin32HandleInfoKHR tablehandleType is not EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT or EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT, name must be NULLhandle is NULL, name must name a valid synchronization primitive of the type specified by handleTypename is NULL, handle must be a valid handle of the type specified by handleTypehandle is not NULL, name must be NULLhandle is not NULL, it must obey any requirements listed for handleType in external semaphore handle types compatibilityname is not NULL, it must obey any requirements listed for handleType in external semaphore handle types compatibilityhandleType is EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT or EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT, the VkSemaphoreCreateInfo::flags field must match that of the semaphore from which handle or name was exportedhandleType is EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT or EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT, the VkSemaphoreTypeCreateInfo::semaphoreType field must match that of the semaphore from which handle or name was exportedflags contains SEMAPHORE_IMPORT_TEMPORARY_BIT, the VkSemaphoreTypeCreateInfo::semaphoreType field of the semaphore from which handle or name was exported must not be SEMAPHORE_TYPE_TIMELINEsType must be STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHRpNext must be NULLsemaphore must be a valid VkSemaphore handleflags must be a valid combination of VkSemaphoreImportFlagBits valuessemaphore must be externally synchronized
struct VkImportSemaphoreWin32HandleInfoKHR {
VkStructureType sType;
void const * pNext;
VkSemaphore semaphore;
VkSemaphoreImportFlags flags;
VkExternalSemaphoreHandleTypeFlagBits handleType;
HANDLE handle;
LPCWSTR name;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkImportSemaphoreWin32HandleInfoKHR.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | HANDLE
The struct member offsets. |
| public static final int | HANDLETYPE
The struct member offsets. |
| public static final int | NAME
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SEMAPHORE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkImportSemaphoreWin32HandleInfoKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkImportSemaphoreWin32HandleInfoKHR | |
| public static VkImportSemaphoreWin32HandleInfoKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkImportSemaphoreWin32HandleInfoKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImportSemaphoreWin32HandleInfoKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkImportSemaphoreWin32HandleInfoKHR | |
| public static VkImportSemaphoreWin32HandleInfoKHR | |
| public static VkImportSemaphoreWin32HandleInfoKHR. | |
| public static VkImportSemaphoreWin32HandleInfoKHR. | |
| protected VkImportSemaphoreWin32HandleInfoKHR | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkImportSemaphoreWin32HandleInfoKHR | |
| public static VkImportSemaphoreWin32HandleInfoKHR | create(long address)
Returns a new |
| public static VkImportSemaphoreWin32HandleInfoKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkImportSemaphoreWin32HandleInfoKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkImportSemaphoreWin32HandleInfoKHR | |
| public static VkImportSemaphoreWin32HandleInfoKHR. | |
| public int | flags()
a bitmask of |
| public VkImportSemaphoreWin32HandleInfoKHR | |
| public long | |
| public VkImportSemaphoreWin32HandleInfoKHR | |
| public int | |
| public VkImportSemaphoreWin32HandleInfoKHR | |
| public static VkImportSemaphoreWin32HandleInfoKHR | |
| public static VkImportSemaphoreWin32HandleInfoKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkImportSemaphoreWin32HandleInfoKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImportSemaphoreWin32HandleInfoKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkImportSemaphoreWin32HandleInfoKHR | |
| public static VkImportSemaphoreWin32HandleInfoKHR | |
| public static VkImportSemaphoreWin32HandleInfoKHR. | |
| public static VkImportSemaphoreWin32HandleInfoKHR. | |
| public ByteBuffer | name()
|
| public VkImportSemaphoreWin32HandleInfoKHR | |
| public String | nameString()
|
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static ByteBuffer | |
| public static void | |
| public static String | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkImportSemaphoreWin32HandleInfoKHR | |
| public long | |
| public VkImportSemaphoreWin32HandleInfoKHR | |
| public VkImportSemaphoreWin32HandleInfoKHR | set(int sType, long pNext, long semaphore, int flags, int handleType, long handle, ByteBuffer name)
Initializes this struct with the specified values. |
| public VkImportSemaphoreWin32HandleInfoKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkImportSemaphoreWin32HandleInfoKHR | |
| public VkImportSemaphoreWin32HandleInfoKHR | sType$Default()
Sets the |
| public static void |