Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkWin32KeyedMutexAcquireReleaseInfoNV

extends Struct<VkWin32KeyedMutexAcquireReleaseInfoNV>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Use Windows keyex mutex mechanism to synchronize work.
Valid Usage (Implicit)

Layout


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;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ACQUIRECOUNT

The struct member offsets.

public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
PACQUIREKEYS

The struct member offsets.

public static final int
PACQUIRESYNCS

The struct member offsets.

public static final int
PACQUIRETIMEOUTMILLISECONDS

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
PRELEASEKEYS

The struct member offsets.

public static final int
PRELEASESYNCS

The struct member offsets.

public static final int
RELEASECOUNT

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkWin32KeyedMutexAcquireReleaseInfoNV(ByteBuffer container)

Creates a VkWin32KeyedMutexAcquireReleaseInfoNV instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public int
acquireCount()

the number of entries in the pAcquireSyncs, pAcquireKeys, and pAcquireTimeoutMilliseconds arrays.

public VkWin32KeyedMutexAcquireReleaseInfoNV
acquireCount(int value)

Sets the specified value to the acquireCount field.

public static VkWin32KeyedMutexAcquireReleaseInfoNV
calloc()

Returns a new VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated with memCalloc.

public static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance allocated with memCalloc.

public static VkWin32KeyedMutexAcquireReleaseInfoNV
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkWin32KeyedMutexAcquireReleaseInfoNV
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkWin32KeyedMutexAcquireReleaseInfoNV
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected VkWin32KeyedMutexAcquireReleaseInfoNV
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkWin32KeyedMutexAcquireReleaseInfoNV
create()

Returns a new VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated with BufferUtils.

public static VkWin32KeyedMutexAcquireReleaseInfoNV
create(long address)

Returns a new VkWin32KeyedMutexAcquireReleaseInfoNV instance for the specified memory address.

public static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance allocated with BufferUtils.

public static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance at the specified memory.

public static VkWin32KeyedMutexAcquireReleaseInfoNV
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public static VkWin32KeyedMutexAcquireReleaseInfoNV
malloc()

Returns a new VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated with memAlloc.

public static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance allocated with memAlloc.

public static VkWin32KeyedMutexAcquireReleaseInfoNV
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkWin32KeyedMutexAcquireReleaseInfoNV instance allocated on the specified MemoryStack.

public static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer instance allocated on the specified MemoryStack.

public static VkWin32KeyedMutexAcquireReleaseInfoNV
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkWin32KeyedMutexAcquireReleaseInfoNV
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkWin32KeyedMutexAcquireReleaseInfoNV.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static int
nacquireCount(long struct)

Unsafe version of acquireCount.

public static void
nacquireCount(long struct, int value)

Sets the specified value to the acquireCount field of the specified struct.

public static LongBuffer
npAcquireKeys(long struct)

Unsafe version of pAcquireKeys.

public static void
npAcquireKeys(long struct, LongBuffer value)

Unsafe version of pAcquireKeys.

public static LongBuffer
npAcquireSyncs(long struct)

Unsafe version of pAcquireSyncs.

public static void
npAcquireSyncs(long struct, LongBuffer value)

Unsafe version of pAcquireSyncs.

public static IntBuffer
public static void
public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static LongBuffer
npReleaseKeys(long struct)

Unsafe version of pReleaseKeys.

public static void
npReleaseKeys(long struct, LongBuffer value)

Unsafe version of pReleaseKeys.

public static LongBuffer
npReleaseSyncs(long struct)

Unsafe version of pReleaseSyncs.

public static void
npReleaseSyncs(long struct, LongBuffer value)

Unsafe version of pReleaseSyncs.

public static int
nreleaseCount(long struct)

Unsafe version of releaseCount.

public static void
nreleaseCount(long struct, int value)

Sets the specified value to the releaseCount field of the specified struct.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public LongBuffer
pAcquireKeys()

a pointer to an array of mutex key values to wait for prior to beginning the submitted work.

public VkWin32KeyedMutexAcquireReleaseInfoNV
pAcquireKeys(LongBuffer value)

Sets the address of the specified LongBuffer to the pAcquireKeys field.

public LongBuffer
pAcquireSyncs()

a pointer to an array of VkDeviceMemory objects which were imported from Direct3D 11 resources.

public VkWin32KeyedMutexAcquireReleaseInfoNV
pAcquireSyncs(LongBuffer value)

Sets the address of the specified LongBuffer to the pAcquireSyncs field.

public IntBuffer
pAcquireTimeoutMilliseconds()

a pointer to an array of timeout values, in millisecond units, for each acquire specified in pAcquireKeys.

public VkWin32KeyedMutexAcquireReleaseInfoNV
pAcquireTimeoutMilliseconds(IntBuffer value)

Sets the address of the specified IntBuffer to the pAcquireTimeoutMilliseconds field.

public long

Returns:

the value of the pNext field.
pNext
()

public VkWin32KeyedMutexAcquireReleaseInfoNV
pNext(long value)

Sets the specified value to the pNext field.

public LongBuffer
pReleaseKeys()

a pointer to an array of mutex key values to set when the submitted work has completed.

public VkWin32KeyedMutexAcquireReleaseInfoNV
pReleaseKeys(LongBuffer value)

Sets the address of the specified LongBuffer to the pReleaseKeys field.

public LongBuffer
pReleaseSyncs()

a pointer to an array of VkDeviceMemory objects which were imported from Direct3D 11 resources.

public VkWin32KeyedMutexAcquireReleaseInfoNV
pReleaseSyncs(LongBuffer value)

Sets the address of the specified LongBuffer to the pReleaseSyncs field.

public int
releaseCount()

the number of entries in the pReleaseSyncs and pReleaseKeys arrays.

public VkWin32KeyedMutexAcquireReleaseInfoNV
releaseCount(int value)

Sets the specified value to the releaseCount field.

public VkWin32KeyedMutexAcquireReleaseInfoNV
set(int sType, long pNext, int acquireCount, LongBuffer pAcquireSyncs, LongBuffer pAcquireKeys, IntBuffer pAcquireTimeoutMilliseconds, int releaseCount, LongBuffer pReleaseSyncs, LongBuffer pReleaseKeys)

Initializes this struct with the specified values.

public VkWin32KeyedMutexAcquireReleaseInfoNV

Returns:

this struct
set
(VkWin32KeyedMutexAcquireReleaseInfoNV
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int

Returns:

the value of the sType field.
sType
()

public VkWin32KeyedMutexAcquireReleaseInfoNV
sType(int value)

Sets the specified value to the sType field.

public VkWin32KeyedMutexAcquireReleaseInfoNV
public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate