public class VkFenceGetWin32HandleInfoKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
The properties of the handle returned depend on the value of handleType. See VkExternalFenceHandleTypeFlagBits for a description of the properties of the defined external fence handle types.
handleType must have been included in VkExportFenceCreateInfo::handleTypes when the fence’s current payload was created.handleType is defined as an NT handle, GetFenceWin32HandleKHR must be called no more than once for each valid unique combination of fence and handleType.fence must not currently have its payload replaced by an imported payload as described below in Importing Fence Payloads unless that imported payload’s handle type was included in VkExternalFenceProperties::exportFromImportedHandleTypes for handleType.handleType refers to a handle type with copy payload transference semantics, fence must be signaled, or have an associated fence signal operation pending execution.handleType must be defined as an NT handle or a global share handle.sType must be STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHRpNext must be NULLfence must be a valid VkFence handlehandleType must be a valid VkExternalFenceHandleTypeFlagBits valuesType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.fence – the fence from which state will be exported.handleType – the type of handle requested.
struct VkFenceGetWin32HandleInfoKHR {
VkStructureType sType;
void const * pNext;
VkFence fence;
VkExternalFenceHandleTypeFlagBits handleType;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkFenceGetWin32HandleInfoKHR.Buffer
An array of
VkFenceGetWin32HandleInfoKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
FENCE
The struct member offsets.
|
static int |
HANDLETYPE
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkFenceGetWin32HandleInfoKHR(java.nio.ByteBuffer container)
Creates a
VkFenceGetWin32HandleInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkFenceGetWin32HandleInfoKHR |
calloc()
Returns a new
VkFenceGetWin32HandleInfoKHR instance allocated with memCalloc. |
static VkFenceGetWin32HandleInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkFenceGetWin32HandleInfoKHR.Buffer instance allocated with memCalloc. |
static VkFenceGetWin32HandleInfoKHR |
callocStack()
Returns a new
VkFenceGetWin32HandleInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkFenceGetWin32HandleInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkFenceGetWin32HandleInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkFenceGetWin32HandleInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkFenceGetWin32HandleInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkFenceGetWin32HandleInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkFenceGetWin32HandleInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkFenceGetWin32HandleInfoKHR |
create()
Returns a new
VkFenceGetWin32HandleInfoKHR instance allocated with BufferUtils. |
static VkFenceGetWin32HandleInfoKHR.Buffer |
create(int capacity)
Returns a new
VkFenceGetWin32HandleInfoKHR.Buffer instance allocated with BufferUtils. |
static VkFenceGetWin32HandleInfoKHR |
create(long address)
Returns a new
VkFenceGetWin32HandleInfoKHR instance for the specified memory address. |
static VkFenceGetWin32HandleInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkFenceGetWin32HandleInfoKHR.Buffer instance at the specified memory. |
static VkFenceGetWin32HandleInfoKHR |
createSafe(long address)
|
static VkFenceGetWin32HandleInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
long |
fence()
Returns the value of the
fence field. |
VkFenceGetWin32HandleInfoKHR |
fence(long value)
Sets the specified value to the
fence field. |
int |
handleType()
Returns the value of the
handleType field. |
VkFenceGetWin32HandleInfoKHR |
handleType(int value)
Sets the specified value to the
handleType field. |
static VkFenceGetWin32HandleInfoKHR |
malloc()
Returns a new
VkFenceGetWin32HandleInfoKHR instance allocated with memAlloc. |
static VkFenceGetWin32HandleInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkFenceGetWin32HandleInfoKHR.Buffer instance allocated with memAlloc. |
static VkFenceGetWin32HandleInfoKHR |
mallocStack()
Returns a new
VkFenceGetWin32HandleInfoKHR instance allocated on the thread-local MemoryStack. |
static VkFenceGetWin32HandleInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkFenceGetWin32HandleInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkFenceGetWin32HandleInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkFenceGetWin32HandleInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkFenceGetWin32HandleInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkFenceGetWin32HandleInfoKHR instance allocated on the specified MemoryStack. |
static long |
nfence(long struct)
Unsafe version of
fence(). |
static void |
nfence(long struct,
long value)
Unsafe version of
fence. |
static int |
nhandleType(long struct)
Unsafe version of
handleType(). |
static void |
nhandleType(long struct,
int value)
Unsafe version of
handleType. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkFenceGetWin32HandleInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkFenceGetWin32HandleInfoKHR |
set(int sType,
long pNext,
long fence,
int handleType)
Initializes this struct with the specified values.
|
VkFenceGetWin32HandleInfoKHR |
set(VkFenceGetWin32HandleInfoKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkFenceGetWin32HandleInfoKHR |
sType(int value)
Sets the specified value to the
sType field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int FENCE
public static final int HANDLETYPE
public VkFenceGetWin32HandleInfoKHR(java.nio.ByteBuffer container)
VkFenceGetWin32HandleInfoKHR instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
The created instance holds a strong reference to the container object.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public long fence()
fence field.public int handleType()
handleType field.public VkFenceGetWin32HandleInfoKHR sType(int value)
sType field.public VkFenceGetWin32HandleInfoKHR pNext(long value)
pNext field.public VkFenceGetWin32HandleInfoKHR fence(long value)
fence field.public VkFenceGetWin32HandleInfoKHR handleType(int value)
handleType field.public VkFenceGetWin32HandleInfoKHR set(int sType, long pNext, long fence, int handleType)
public VkFenceGetWin32HandleInfoKHR set(VkFenceGetWin32HandleInfoKHR src)
src - the source structpublic static VkFenceGetWin32HandleInfoKHR malloc()
VkFenceGetWin32HandleInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkFenceGetWin32HandleInfoKHR calloc()
VkFenceGetWin32HandleInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkFenceGetWin32HandleInfoKHR create()
VkFenceGetWin32HandleInfoKHR instance allocated with BufferUtils.public static VkFenceGetWin32HandleInfoKHR create(long address)
VkFenceGetWin32HandleInfoKHR instance for the specified memory address.@Nullable public static VkFenceGetWin32HandleInfoKHR createSafe(long address)
public static VkFenceGetWin32HandleInfoKHR.Buffer malloc(int capacity)
VkFenceGetWin32HandleInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkFenceGetWin32HandleInfoKHR.Buffer calloc(int capacity)
VkFenceGetWin32HandleInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkFenceGetWin32HandleInfoKHR.Buffer create(int capacity)
VkFenceGetWin32HandleInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkFenceGetWin32HandleInfoKHR.Buffer create(long address, int capacity)
VkFenceGetWin32HandleInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkFenceGetWin32HandleInfoKHR.Buffer createSafe(long address, int capacity)
public static VkFenceGetWin32HandleInfoKHR mallocStack()
VkFenceGetWin32HandleInfoKHR instance allocated on the thread-local MemoryStack.public static VkFenceGetWin32HandleInfoKHR callocStack()
VkFenceGetWin32HandleInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkFenceGetWin32HandleInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkFenceGetWin32HandleInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkFenceGetWin32HandleInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkFenceGetWin32HandleInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkFenceGetWin32HandleInfoKHR.Buffer mallocStack(int capacity)
VkFenceGetWin32HandleInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkFenceGetWin32HandleInfoKHR.Buffer callocStack(int capacity)
VkFenceGetWin32HandleInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkFenceGetWin32HandleInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkFenceGetWin32HandleInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkFenceGetWin32HandleInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkFenceGetWin32HandleInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static long nfence(long struct)
fence().public static int nhandleType(long struct)
handleType().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nfence(long struct,
long value)
fence.public static void nhandleType(long struct,
int value)
handleType.Copyright LWJGL. All Rights Reserved. License terms.