public class VkWin32KeyedMutexAcquireReleaseInfoNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NVacquireCount is not 0, pAcquireSyncs must be a valid pointer to an array of acquireCount valid VkDeviceMemory handlesacquireCount is not 0, pAcquireKeys must be a valid pointer to an array of acquireCount uint64_t valuesacquireCount is not 0, pAcquireTimeoutMilliseconds must be a valid pointer to an array of acquireCount uint32_t valuesreleaseCount is not 0, pReleaseSyncs must be a valid pointer to an array of releaseCount valid VkDeviceMemory handlesreleaseCount is not 0, pReleaseKeys must be a valid pointer to an array of releaseCount uint64_t valuespAcquireSyncs, and the elements of pReleaseSyncs that are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the same VkDeviceacquireCount – the number of entries in the pAcquireSyncs, pAcquireKeys, and pAcquireTimeoutMilliseconds arrays.pAcquireSyncs – a pointer to an array of VkDeviceMemory objects which were imported from Direct3D 11 resources.pAcquireKeys – a pointer to an array of mutex key values to wait for prior to beginning the submitted work. Entries refer to the keyed mutex associated with the corresponding entries in pAcquireSyncs.pAcquireTimeoutMilliseconds – a pointer to an array of timeout values, in millisecond units, for each acquire specified in pAcquireKeys.releaseCount – the number of entries in the pReleaseSyncs and pReleaseKeys arrays.pReleaseSyncs – a pointer to an array of VkDeviceMemory objects which were imported from Direct3D 11 resources.pReleaseKeys – a pointer to an array of mutex key values to set when the submitted work has completed. Entries refer to the keyed mutex associated with the corresponding entries in pReleaseSyncs.
struct VkWin32KeyedMutexAcquireReleaseInfoNV {
VkStructureType sType;
void const * pNext;
uint32_t acquireCount;
VkDeviceMemory const * pAcquireSyncs;
uint64_t const * pAcquireKeys;
uint32_t const * pAcquireTimeoutMilliseconds;
uint32_t releaseCount;
VkDeviceMemory const * pReleaseSyncs;
uint64_t const * pReleaseKeys;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer
An array of
VkWin32KeyedMutexAcquireReleaseInfoNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACQUIRECOUNT
The struct member offsets.
|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PACQUIREKEYS
The struct member offsets.
|
static int |
PACQUIRESYNCS
The struct member offsets.
|
static int |
PACQUIRETIMEOUTMILLISECONDS
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
PRELEASEKEYS
The struct member offsets.
|
static int |
PRELEASESYNCS
The struct member offsets.
|
static int |
RELEASECOUNT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkWin32KeyedMutexAcquireReleaseInfoNV(java.nio.ByteBuffer container)
Creates a
VkWin32KeyedMutexAcquireReleaseInfoNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
int |
acquireCount()
Returns the value of the
acquireCount field. |
VkWin32KeyedMutexAcquireReleaseInfoNV |
acquireCount(int value)
Sets the specified value to the
acquireCount field. |
static VkWin32KeyedMutexAcquireReleaseInfoNV |
calloc()
Returns a new
VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated with memCalloc. |
static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer |
calloc(int capacity)
Returns a new
VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance allocated with memCalloc. |
static VkWin32KeyedMutexAcquireReleaseInfoNV |
callocStack()
Returns a new
VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer |
callocStack(int capacity)
Returns a new
VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkWin32KeyedMutexAcquireReleaseInfoNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkWin32KeyedMutexAcquireReleaseInfoNV |
create()
Returns a new
VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated with BufferUtils. |
static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer |
create(int capacity)
Returns a new
VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance allocated with BufferUtils. |
static VkWin32KeyedMutexAcquireReleaseInfoNV |
create(long address)
Returns a new
VkWin32KeyedMutexAcquireReleaseInfoNV instance for the specified memory address. |
static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer |
create(long address,
int capacity)
Create a
VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance at the specified memory. |
static VkWin32KeyedMutexAcquireReleaseInfoNV |
createSafe(long address)
|
static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer |
createSafe(long address,
int capacity)
|
static VkWin32KeyedMutexAcquireReleaseInfoNV |
malloc()
Returns a new
VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated with memAlloc. |
static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer |
malloc(int capacity)
Returns a new
VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance allocated with memAlloc. |
static VkWin32KeyedMutexAcquireReleaseInfoNV |
mallocStack()
Returns a new
VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated on the thread-local MemoryStack. |
static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer |
mallocStack(int capacity)
Returns a new
VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance allocated on the specified MemoryStack. |
static VkWin32KeyedMutexAcquireReleaseInfoNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated on the specified MemoryStack. |
static int |
nacquireCount(long struct)
Unsafe version of
acquireCount(). |
static void |
nacquireCount(long struct,
int value)
Sets the specified value to the
acquireCount field of the specified struct. |
static java.nio.LongBuffer |
npAcquireKeys(long struct)
Unsafe version of
pAcquireKeys. |
static void |
npAcquireKeys(long struct,
java.nio.LongBuffer value)
Unsafe version of
pAcquireKeys. |
static java.nio.LongBuffer |
npAcquireSyncs(long struct)
Unsafe version of
pAcquireSyncs. |
static void |
npAcquireSyncs(long struct,
java.nio.LongBuffer value)
Unsafe version of
pAcquireSyncs. |
static java.nio.IntBuffer |
npAcquireTimeoutMilliseconds(long struct)
Unsafe version of
pAcquireTimeoutMilliseconds. |
static void |
npAcquireTimeoutMilliseconds(long struct,
java.nio.IntBuffer value)
Unsafe version of
pAcquireTimeoutMilliseconds. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static java.nio.LongBuffer |
npReleaseKeys(long struct)
Unsafe version of
pReleaseKeys. |
static void |
npReleaseKeys(long struct,
java.nio.LongBuffer value)
Unsafe version of
pReleaseKeys. |
static java.nio.LongBuffer |
npReleaseSyncs(long struct)
Unsafe version of
pReleaseSyncs. |
static void |
npReleaseSyncs(long struct,
java.nio.LongBuffer value)
Unsafe version of
pReleaseSyncs. |
static int |
nreleaseCount(long struct)
Unsafe version of
releaseCount(). |
static void |
nreleaseCount(long struct,
int value)
Sets the specified value to the
releaseCount field of the specified struct. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
java.nio.LongBuffer |
pAcquireKeys()
Returns a
LongBuffer view of the data pointed to by the pAcquireKeys field. |
VkWin32KeyedMutexAcquireReleaseInfoNV |
pAcquireKeys(java.nio.LongBuffer value)
Sets the address of the specified
LongBuffer to the pAcquireKeys field. |
java.nio.LongBuffer |
pAcquireSyncs()
Returns a
LongBuffer view of the data pointed to by the pAcquireSyncs field. |
VkWin32KeyedMutexAcquireReleaseInfoNV |
pAcquireSyncs(java.nio.LongBuffer value)
Sets the address of the specified
LongBuffer to the pAcquireSyncs field. |
java.nio.IntBuffer |
pAcquireTimeoutMilliseconds()
Returns a
IntBuffer view of the data pointed to by the pAcquireTimeoutMilliseconds field. |
VkWin32KeyedMutexAcquireReleaseInfoNV |
pAcquireTimeoutMilliseconds(java.nio.IntBuffer value)
Sets the address of the specified
IntBuffer to the pAcquireTimeoutMilliseconds field. |
long |
pNext()
Returns the value of the
pNext field. |
VkWin32KeyedMutexAcquireReleaseInfoNV |
pNext(long value)
Sets the specified value to the
pNext field. |
java.nio.LongBuffer |
pReleaseKeys()
Returns a
LongBuffer view of the data pointed to by the pReleaseKeys field. |
VkWin32KeyedMutexAcquireReleaseInfoNV |
pReleaseKeys(java.nio.LongBuffer value)
Sets the address of the specified
LongBuffer to the pReleaseKeys field. |
java.nio.LongBuffer |
pReleaseSyncs()
Returns a
LongBuffer view of the data pointed to by the pReleaseSyncs field. |
VkWin32KeyedMutexAcquireReleaseInfoNV |
pReleaseSyncs(java.nio.LongBuffer value)
Sets the address of the specified
LongBuffer to the pReleaseSyncs field. |
int |
releaseCount()
Returns the value of the
releaseCount field. |
VkWin32KeyedMutexAcquireReleaseInfoNV |
releaseCount(int value)
Sets the specified value to the
releaseCount field. |
VkWin32KeyedMutexAcquireReleaseInfoNV |
set(int sType,
long pNext,
int acquireCount,
java.nio.LongBuffer pAcquireSyncs,
java.nio.LongBuffer pAcquireKeys,
java.nio.IntBuffer pAcquireTimeoutMilliseconds,
int releaseCount,
java.nio.LongBuffer pReleaseSyncs,
java.nio.LongBuffer pReleaseKeys)
Initializes this struct with the specified values.
|
VkWin32KeyedMutexAcquireReleaseInfoNV |
set(VkWin32KeyedMutexAcquireReleaseInfoNV src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkWin32KeyedMutexAcquireReleaseInfoNV |
sType(int value)
Sets the specified value to the
sType field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int ACQUIRECOUNT
public static final int PACQUIRESYNCS
public static final int PACQUIREKEYS
public static final int PACQUIRETIMEOUTMILLISECONDS
public static final int RELEASECOUNT
public static final int PRELEASESYNCS
public static final int PRELEASEKEYS
public VkWin32KeyedMutexAcquireReleaseInfoNV(java.nio.ByteBuffer container)
VkWin32KeyedMutexAcquireReleaseInfoNV 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 int acquireCount()
acquireCount field.@Nullable public java.nio.LongBuffer pAcquireSyncs()
LongBuffer view of the data pointed to by the pAcquireSyncs field.@Nullable public java.nio.LongBuffer pAcquireKeys()
LongBuffer view of the data pointed to by the pAcquireKeys field.@Nullable public java.nio.IntBuffer pAcquireTimeoutMilliseconds()
IntBuffer view of the data pointed to by the pAcquireTimeoutMilliseconds field.public int releaseCount()
releaseCount field.@Nullable public java.nio.LongBuffer pReleaseSyncs()
LongBuffer view of the data pointed to by the pReleaseSyncs field.@Nullable public java.nio.LongBuffer pReleaseKeys()
LongBuffer view of the data pointed to by the pReleaseKeys field.public VkWin32KeyedMutexAcquireReleaseInfoNV sType(int value)
sType field.public VkWin32KeyedMutexAcquireReleaseInfoNV pNext(long value)
pNext field.public VkWin32KeyedMutexAcquireReleaseInfoNV acquireCount(int value)
acquireCount field.public VkWin32KeyedMutexAcquireReleaseInfoNV pAcquireSyncs(@Nullable java.nio.LongBuffer value)
LongBuffer to the pAcquireSyncs field.public VkWin32KeyedMutexAcquireReleaseInfoNV pAcquireKeys(@Nullable java.nio.LongBuffer value)
LongBuffer to the pAcquireKeys field.public VkWin32KeyedMutexAcquireReleaseInfoNV pAcquireTimeoutMilliseconds(@Nullable java.nio.IntBuffer value)
IntBuffer to the pAcquireTimeoutMilliseconds field.public VkWin32KeyedMutexAcquireReleaseInfoNV releaseCount(int value)
releaseCount field.public VkWin32KeyedMutexAcquireReleaseInfoNV pReleaseSyncs(@Nullable java.nio.LongBuffer value)
LongBuffer to the pReleaseSyncs field.public VkWin32KeyedMutexAcquireReleaseInfoNV pReleaseKeys(@Nullable java.nio.LongBuffer value)
LongBuffer to the pReleaseKeys field.public VkWin32KeyedMutexAcquireReleaseInfoNV set(int sType, long pNext, int acquireCount, @Nullable java.nio.LongBuffer pAcquireSyncs, @Nullable java.nio.LongBuffer pAcquireKeys, @Nullable java.nio.IntBuffer pAcquireTimeoutMilliseconds, int releaseCount, @Nullable java.nio.LongBuffer pReleaseSyncs, @Nullable java.nio.LongBuffer pReleaseKeys)
public VkWin32KeyedMutexAcquireReleaseInfoNV set(VkWin32KeyedMutexAcquireReleaseInfoNV src)
src - the source structpublic static VkWin32KeyedMutexAcquireReleaseInfoNV malloc()
VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkWin32KeyedMutexAcquireReleaseInfoNV calloc()
VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkWin32KeyedMutexAcquireReleaseInfoNV create()
VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated with BufferUtils.public static VkWin32KeyedMutexAcquireReleaseInfoNV create(long address)
VkWin32KeyedMutexAcquireReleaseInfoNV instance for the specified memory address.@Nullable public static VkWin32KeyedMutexAcquireReleaseInfoNV createSafe(long address)
public static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer malloc(int capacity)
VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer calloc(int capacity)
VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer create(int capacity)
VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer create(long address, int capacity)
VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer createSafe(long address, int capacity)
public static VkWin32KeyedMutexAcquireReleaseInfoNV mallocStack()
VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated on the thread-local MemoryStack.public static VkWin32KeyedMutexAcquireReleaseInfoNV callocStack()
VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkWin32KeyedMutexAcquireReleaseInfoNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkWin32KeyedMutexAcquireReleaseInfoNV callocStack(org.lwjgl.system.MemoryStack stack)
VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer mallocStack(int capacity)
VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer callocStack(int capacity)
VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkWin32KeyedMutexAcquireReleaseInfoNV.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 int nacquireCount(long struct)
acquireCount().@Nullable public static java.nio.LongBuffer npAcquireSyncs(long struct)
pAcquireSyncs.@Nullable public static java.nio.LongBuffer npAcquireKeys(long struct)
pAcquireKeys.@Nullable public static java.nio.IntBuffer npAcquireTimeoutMilliseconds(long struct)
pAcquireTimeoutMilliseconds.public static int nreleaseCount(long struct)
releaseCount().@Nullable public static java.nio.LongBuffer npReleaseSyncs(long struct)
pReleaseSyncs.@Nullable public static java.nio.LongBuffer npReleaseKeys(long struct)
pReleaseKeys.public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nacquireCount(long struct,
int value)
acquireCount field of the specified struct.public static void npAcquireSyncs(long struct,
@Nullable
java.nio.LongBuffer value)
pAcquireSyncs.public static void npAcquireKeys(long struct,
@Nullable
java.nio.LongBuffer value)
pAcquireKeys.public static void npAcquireTimeoutMilliseconds(long struct,
@Nullable
java.nio.IntBuffer value)
pAcquireTimeoutMilliseconds.public static void nreleaseCount(long struct,
int value)
releaseCount field of the specified struct.public static void npReleaseSyncs(long struct,
@Nullable
java.nio.LongBuffer value)
pReleaseSyncs.public static void npReleaseKeys(long struct,
@Nullable
java.nio.LongBuffer value)
pReleaseKeys.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.