If VkExportFenceCreateInfo is not included in the same pNext chain, this structure is ignored.
If VkExportFenceCreateInfo is included in the pNext chain of VkFenceCreateInfo with a Windows handleType, but either VkExportFenceWin32HandleInfoKHR 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 will be
DXGI_SHARED_RESOURCE_READ | DXGI_SHARED_RESOURCE_WRITE
for handles of the following types:
EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT
VkExportFenceCreateInfo::handleTypes does not include EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT, a VkExportFenceWin32HandleInfoKHR structure must not be included in the pNext chain of VkFenceCreateInfosType must be STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHRpAttributes is not NULL, pAttributes must be a valid pointer to a valid SECURITY_ATTRIBUTES value
struct VkExportFenceWin32HandleInfoKHR {
VkStructureType sType;
void const * pNext;
SECURITY_ATTRIBUTES const * pAttributes;
DWORD dwAccess;
LPCWSTR name;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkExportFenceWin32HandleInfoKHR.
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 | VkExportFenceWin32HandleInfoKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR | |
| public static VkExportFenceWin32HandleInfoKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkExportFenceWin32HandleInfoKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkExportFenceWin32HandleInfoKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkExportFenceWin32HandleInfoKHR | |
| public static VkExportFenceWin32HandleInfoKHR | |
| public static VkExportFenceWin32HandleInfoKHR. | |
| public static VkExportFenceWin32HandleInfoKHR. | |
| protected VkExportFenceWin32HandleInfoKHR | 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 VkExportFenceWin32HandleInfoKHR | |
| public static VkExportFenceWin32HandleInfoKHR | create(long address)
Returns a new |
| public static VkExportFenceWin32HandleInfoKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkExportFenceWin32HandleInfoKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkExportFenceWin32HandleInfoKHR | |
| public static VkExportFenceWin32HandleInfoKHR. | |
| public int | |
| public VkExportFenceWin32HandleInfoKHR | |
| public static VkExportFenceWin32HandleInfoKHR | |
| public static VkExportFenceWin32HandleInfoKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkExportFenceWin32HandleInfoKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkExportFenceWin32HandleInfoKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkExportFenceWin32HandleInfoKHR | |
| public static VkExportFenceWin32HandleInfoKHR | |
| public static VkExportFenceWin32HandleInfoKHR. | |
| public static VkExportFenceWin32HandleInfoKHR. | |
| public ByteBuffer | name()
a null-terminated UTF-16 string to associate with the underlying synchronization primitive referenced by NT handles exported from the created fence. |
| public VkExportFenceWin32HandleInfoKHR | |
| public String | nameString()
a null-terminated UTF-16 string to associate with the underlying synchronization primitive referenced by NT handles exported from the created fence. |
| 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 VkExportFenceWin32HandleInfoKHR | pAttributes(SECURITY_ATTRIBUTES value)
Sets the address of the specified |
| public long | |
| public VkExportFenceWin32HandleInfoKHR | |
| public VkExportFenceWin32HandleInfoKHR | set(int sType, long pNext, SECURITY_ATTRIBUTES pAttributes, int dwAccess, ByteBuffer name)
Initializes this struct with the specified values. |
| public VkExportFenceWin32HandleInfoKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkExportFenceWin32HandleInfoKHR | |
| public VkExportFenceWin32HandleInfoKHR | |
| 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. | |
| VkExportFenceWin32HandleInfoKHR | back to summary |
|---|---|
| protected VkExportFenceWin32HandleInfoKHR(long address, ByteBuffer container) | |
| VkExportFenceWin32HandleInfoKHR | back to summary |
|---|---|
| public VkExportFenceWin32HandleInfoKHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkExportFenceWin32HandleInfoKHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR. Like
| |
| dwAccess | back to summary |
|---|---|
| public int dwAccess() a
| |
| dwAccess | back to summary |
|---|---|
| public VkExportFenceWin32HandleInfoKHR dwAccess(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkExportFenceWin32HandleInfoKHR. 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 fence.
| |
| name | back to summary |
|---|---|
| public VkExportFenceWin32HandleInfoKHR 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 fence.
| |
| 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 VkExportFenceWin32HandleInfoKHR pAttributes(SECURITY_ATTRIBUTES value) Sets the address of the specified | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkExportFenceWin32HandleInfoKHR pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkExportFenceWin32HandleInfoKHR set(int sType, long pNext, SECURITY_ATTRIBUTES pAttributes, int dwAccess, ByteBuffer name) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkExportFenceWin32HandleInfoKHR set(VkExportFenceWin32HandleInfoKHR 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 VkExportFenceWin32HandleInfoKHR sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkExportFenceWin32HandleInfoKHR sType$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkExportFenceWin32HandleInfoKHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkExportFenceWin32HandleInfoKHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkExportFenceWin32HandleInfoKHR 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 VkExportFenceWin32HandleInfoKHR. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkExportFenceWin32HandleInfoKHR getElementFactory() Implements abstract org.
| |
| name | back to summary |
|---|---|
public ByteBuffer name()
| |
| name | back to summary |
|---|---|
| public VkExportFenceWin32HandleInfoKHR. 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 VkExportFenceWin32HandleInfoKHR. Sets the address of the specified | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkExportFenceWin32HandleInfoKHR. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkExportFenceWin32HandleInfoKHR. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkExportFenceWin32HandleInfoKHR. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkExportFenceWin32HandleInfoKHR. Sets the | |