If VkExportSemaphoreCreateInfo is not included in the same pNext chain, this structure is ignored.
If VkExportSemaphoreCreateInfo is included in the pNext chain of VkSemaphoreCreateInfo with a Windows handleType, but either VkExportSemaphoreWin32HandleInfoKHR is not included in the pNext chain, or it is included but pAttributes is set to NULL, default security descriptor values will be used, and child processes created by the application will not inherit the handle, as described in the MSDN documentation for “Synchronization Object Security and Access Rights”1. Further, if the structure is not present, the access rights used depend on the handle type.
For handles of the following types:
EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT
The implementation must ensure the access rights allow both signal and wait operations on the semaphore.
For handles of the following types:
EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT
The access rights must be:
GENERIC_ALL
VkExportSemaphoreCreateInfo::handleTypes does not include EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT or EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT, VkExportSemaphoreWin32HandleInfoKHR must not be included in the pNext chain of VkSemaphoreCreateInfosType must be STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHRpAttributes is not NULL, pAttributes must be a valid pointer to a valid SECURITY_ATTRIBUTES value
struct VkExportSemaphoreWin32HandleInfoKHR {
VkStructureType sType;
void const * pNext;
SECURITY_ATTRIBUTES const * pAttributes;
DWORD dwAccess;
LPCWSTR name;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkExportSemaphoreWin32HandleInfoKHR.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DWACCESS
The struct member offsets. |
| public static final int | NAME
The struct member offsets. |
| public static final int | PATTRIBUTES
The struct member offsets. |
| public static final int | PNEXT
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 | VkExportSemaphoreWin32HandleInfoKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR | |
| public static VkExportSemaphoreWin32HandleInfoKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkExportSemaphoreWin32HandleInfoKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkExportSemaphoreWin32HandleInfoKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkExportSemaphoreWin32HandleInfoKHR | |
| public static VkExportSemaphoreWin32HandleInfoKHR | |
| public static VkExportSemaphoreWin32HandleInfoKHR. | |
| public static VkExportSemaphoreWin32HandleInfoKHR. | |
| protected VkExportSemaphoreWin32HandleInfoKHR | 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 VkExportSemaphoreWin32HandleInfoKHR | |
| public static VkExportSemaphoreWin32HandleInfoKHR | create(long address)
Returns a new |
| public static VkExportSemaphoreWin32HandleInfoKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkExportSemaphoreWin32HandleInfoKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkExportSemaphoreWin32HandleInfoKHR | |
| public static VkExportSemaphoreWin32HandleInfoKHR. | |
| public int | |
| public VkExportSemaphoreWin32HandleInfoKHR | |
| public static VkExportSemaphoreWin32HandleInfoKHR | |
| public static VkExportSemaphoreWin32HandleInfoKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkExportSemaphoreWin32HandleInfoKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkExportSemaphoreWin32HandleInfoKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkExportSemaphoreWin32HandleInfoKHR | |
| public static VkExportSemaphoreWin32HandleInfoKHR | |
| public static VkExportSemaphoreWin32HandleInfoKHR. | |
| public static VkExportSemaphoreWin32HandleInfoKHR. | |
| public ByteBuffer | name()
a null-terminated UTF-16 string to associate with the underlying synchronization primitive referenced by NT handles exported from the created semaphore. |
| public VkExportSemaphoreWin32HandleInfoKHR | |
| public String | nameString()
a null-terminated UTF-16 string to associate with the underlying synchronization primitive referenced by NT handles exported from the created semaphore. |
| public static int | |
| public static void | |
| public static ByteBuffer | |
| public static void | |
| public static String | |
| public static SECURITY_ATTRIBUTES | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public SECURITY_ATTRIBUTES | pAttributes()
a pointer to a Windows |
| public VkExportSemaphoreWin32HandleInfoKHR | pAttributes(SECURITY_ATTRIBUTES value)
Sets the address of the specified |
| public long | |
| public VkExportSemaphoreWin32HandleInfoKHR | |
| public VkExportSemaphoreWin32HandleInfoKHR | set(int sType, long pNext, SECURITY_ATTRIBUTES pAttributes, int dwAccess, ByteBuffer name)
Initializes this struct with the specified values. |
| public VkExportSemaphoreWin32HandleInfoKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkExportSemaphoreWin32HandleInfoKHR | |
| public VkExportSemaphoreWin32HandleInfoKHR | sType$Default()
Sets the |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DWACCESS | back to summary |
|---|---|
| public static final int DWACCESS The struct member offsets. | |
| NAME | back to summary |
|---|---|
| public static final int NAME The struct member offsets. | |
| PATTRIBUTES | back to summary |
|---|---|
| public static final int PATTRIBUTES The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkExportSemaphoreWin32HandleInfoKHR | back to summary |
|---|---|
| protected VkExportSemaphoreWin32HandleInfoKHR(long address, ByteBuffer container) | |
| VkExportSemaphoreWin32HandleInfoKHR | back to summary |
|---|---|
| public VkExportSemaphoreWin32HandleInfoKHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkExportSemaphoreWin32HandleInfoKHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR. Like
| |
| dwAccess | back to summary |
|---|---|
| public int dwAccess() a
| |
| dwAccess | back to summary |
|---|---|
| public VkExportSemaphoreWin32HandleInfoKHR dwAccess(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkExportSemaphoreWin32HandleInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| name | back to summary |
|---|---|
| public ByteBuffer name() a null-terminated UTF-16 string to associate with the underlying synchronization primitive referenced by NT handles exported from the created semaphore.
| |
| name | back to summary |
|---|---|
| public VkExportSemaphoreWin32HandleInfoKHR name(ByteBuffer value) Sets the address of the specified encoded string to the | |
| nameString | back to summary |
|---|---|
| public String nameString() a null-terminated UTF-16 string to associate with the underlying synchronization primitive referenced by NT handles exported from the created semaphore.
| |
| ndwAccess | back to summary |
|---|---|
| public static int ndwAccess(long struct) Unsafe version of | |
| ndwAccess | back to summary |
|---|---|
| public static void ndwAccess(long struct, int value) Unsafe version of | |
| nname | back to summary |
|---|---|
| public static ByteBuffer nname(long struct) Unsafe version of | |
| nname | back to summary |
|---|---|
| public static void nname(long struct, ByteBuffer value) Unsafe version of | |
| nnameString | back to summary |
|---|---|
| public static String nnameString(long struct) Unsafe version of | |
| npAttributes | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES npAttributes(long struct) Unsafe version of
| |
| npAttributes | back to summary |
|---|---|
| public static void npAttributes(long struct, SECURITY_ATTRIBUTES value) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| pAttributes | back to summary |
|---|---|
| public SECURITY_ATTRIBUTES pAttributes() a pointer to a Windows
| |
| pAttributes | back to summary |
|---|---|
| public VkExportSemaphoreWin32HandleInfoKHR pAttributes(SECURITY_ATTRIBUTES value) Sets the address of the specified | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkExportSemaphoreWin32HandleInfoKHR pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkExportSemaphoreWin32HandleInfoKHR set(int sType, long pNext, SECURITY_ATTRIBUTES pAttributes, int dwAccess, ByteBuffer name) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkExportSemaphoreWin32HandleInfoKHR set(VkExportSemaphoreWin32HandleInfoKHR src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkExportSemaphoreWin32HandleInfoKHR sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkExportSemaphoreWin32HandleInfoKHR sType$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkExportSemaphoreWin32HandleInfoKHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkExportSemaphoreWin32HandleInfoKHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkExportSemaphoreWin32HandleInfoKHR ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| dwAccess | back to summary |
|---|---|
public int dwAccess()
| |
| dwAccess | back to summary |
|---|---|
| public VkExportSemaphoreWin32HandleInfoKHR. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkExportSemaphoreWin32HandleInfoKHR getElementFactory() Implements abstract org.
| |
| name | back to summary |
|---|---|
public ByteBuffer name()
| |
| name | back to summary |
|---|---|
| public VkExportSemaphoreWin32HandleInfoKHR. Sets the address of the specified encoded string to the | |
| nameString | back to summary |
|---|---|
public String nameString()
| |
| pAttributes | back to summary |
|---|---|
public SECURITY_ATTRIBUTES pAttributes()
| |
| pAttributes | back to summary |
|---|---|
| public VkExportSemaphoreWin32HandleInfoKHR. Sets the address of the specified | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkExportSemaphoreWin32HandleInfoKHR. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkExportSemaphoreWin32HandleInfoKHR. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkExportSemaphoreWin32HandleInfoKHR. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkExportSemaphoreWin32HandleInfoKHR. Sets the | |