Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkDependencyInfo

extends Struct<VkDependencyInfo>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Known Direct Subclasses
org.lwjgl.vulkan.VkDependencyInfoKHR
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure specifying dependency information for a synchronization command.
Description

This structure defines a set of memory dependencies, as well as queue family transfer operations and image layout transitions.

Each member of pMemoryBarriers, pBufferMemoryBarriers, and pImageMemoryBarriers defines a separate memory dependency.

Valid Usage (Implicit)
See Also

VkBufferMemoryBarrier2, VkImageMemoryBarrier2, VkMemoryBarrier2, CmdPipelineBarrier2, CmdPipelineBarrier2KHR, CmdSetEvent2, CmdSetEvent2KHR, CmdWaitEvents2, CmdWaitEvents2KHR

Layout


struct VkDependencyInfo {
    VkStructureType sType;
    void const * pNext;
    VkDependencyFlags dependencyFlags;
    uint32_t memoryBarrierCount;
    VkMemoryBarrier2 const * pMemoryBarriers;
    uint32_t bufferMemoryBarrierCount;
    VkBufferMemoryBarrier2 const * pBufferMemoryBarriers;
    uint32_t imageMemoryBarrierCount;
    VkImageMemoryBarrier2 const * pImageMemoryBarriers;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
BUFFERMEMORYBARRIERCOUNT

The struct member offsets.

public static final int
DEPENDENCYFLAGS

The struct member offsets.

public static final int
IMAGEMEMORYBARRIERCOUNT

The struct member offsets.

public static final int
MEMORYBARRIERCOUNT

The struct member offsets.

public static final int
PBUFFERMEMORYBARRIERS

The struct member offsets.

public static final int
PIMAGEMEMORYBARRIERS

The struct member offsets.

public static final int
PMEMORYBARRIERS

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.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
VkDependencyInfo(long address, ByteBuffer container)

public
VkDependencyInfo(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public int
bufferMemoryBarrierCount()

the length of the pBufferMemoryBarriers array.

public static VkDependencyInfo
calloc()

Returns a new VkDependencyInfo instance allocated with memCalloc.

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

Returns a new VkDependencyInfo.Buffer instance allocated with memCalloc.

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

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

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

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

protected VkDependencyInfo
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 VkDependencyInfo
create()

Returns a new VkDependencyInfo instance allocated with BufferUtils.

public static VkDependencyInfo
create(long address)

Returns a new VkDependencyInfo instance for the specified memory address.

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

Returns a new VkDependencyInfo.Buffer instance allocated with BufferUtils.

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

Create a VkDependencyInfo.Buffer instance at the specified memory.

public static VkDependencyInfo
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public int
dependencyFlags()

a bitmask of VkDependencyFlagBits specifying how execution and memory dependencies are formed.

public VkDependencyInfo
dependencyFlags(int value)

Sets the specified value to the dependencyFlags field.

public int
imageMemoryBarrierCount()

the length of the pImageMemoryBarriers array.

public static VkDependencyInfo
malloc()

Returns a new VkDependencyInfo instance allocated with memAlloc.

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

Returns a new VkDependencyInfo.Buffer instance allocated with memAlloc.

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

Returns a new VkDependencyInfo instance allocated on the specified MemoryStack.

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

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

public int
memoryBarrierCount()

the length of the pMemoryBarriers array.

public static int
nbufferMemoryBarrierCount(long struct)

Unsafe version of bufferMemoryBarrierCount.

public static void
nbufferMemoryBarrierCount(long struct, int value)

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

public static int
ndependencyFlags(long struct)

Unsafe version of dependencyFlags.

public static void
ndependencyFlags(long struct, int value)

Unsafe version of dependencyFlags.

public static int
nimageMemoryBarrierCount(long struct)

Unsafe version of imageMemoryBarrierCount.

public static void
nimageMemoryBarrierCount(long struct, int value)

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

public static int
nmemoryBarrierCount(long struct)

Unsafe version of memoryBarrierCount.

public static void
nmemoryBarrierCount(long struct, int value)

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

public static VkBufferMemoryBarrier2.Buffer
npBufferMemoryBarriers(long struct)

Unsafe version of pBufferMemoryBarriers.

public static void
public static VkImageMemoryBarrier2.Buffer
npImageMemoryBarriers(long struct)

Unsafe version of pImageMemoryBarriers.

public static void
public static VkMemoryBarrier2.Buffer
npMemoryBarriers(long struct)

Unsafe version of pMemoryBarriers.

public static void
npMemoryBarriers(long struct, VkMemoryBarrier2.Buffer value)

Unsafe version of pMemoryBarriers.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public VkBufferMemoryBarrier2.Buffer
pBufferMemoryBarriers()

a pointer to an array of VkBufferMemoryBarrier2 structures defining memory dependencies between buffer ranges.

public VkDependencyInfo
public VkImageMemoryBarrier2.Buffer
pImageMemoryBarriers()

a pointer to an array of VkImageMemoryBarrier2 structures defining memory dependencies between image subresources.

public VkDependencyInfo
public VkMemoryBarrier2.Buffer
pMemoryBarriers()

a pointer to an array of VkMemoryBarrier2 structures defining memory dependencies between any memory accesses.

public VkDependencyInfo
pMemoryBarriers(VkMemoryBarrier2.Buffer value)

Sets the address of the specified VkMemoryBarrier2.Buffer to the pMemoryBarriers field.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkDependencyInfo
pNext(long value)

Sets the specified value to the pNext field.

public VkDependencyInfo
set(int sType, long pNext, int dependencyFlags, VkMemoryBarrier2.Buffer pMemoryBarriers, VkBufferMemoryBarrier2.Buffer pBufferMemoryBarriers, VkImageMemoryBarrier2.Buffer pImageMemoryBarriers)

Initializes this struct with the specified values.

public VkDependencyInfo

Returns:

this struct
set
(VkDependencyInfo
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
sType()

a VkStructureType value identifying this structure.

public VkDependencyInfo
sType(int value)

Sets the specified value to the sType field.

public VkDependencyInfo
sType$Default()

Sets the STRUCTURE_TYPE_DEPENDENCY_INFO value to the sType field.

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

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

BUFFERMEMORYBARRIERCOUNTback to summary
public static final int BUFFERMEMORYBARRIERCOUNT

The struct member offsets.

DEPENDENCYFLAGSback to summary
public static final int DEPENDENCYFLAGS

The struct member offsets.

IMAGEMEMORYBARRIERCOUNTback to summary
public static final int IMAGEMEMORYBARRIERCOUNT

The struct member offsets.

MEMORYBARRIERCOUNTback to summary
public static final int MEMORYBARRIERCOUNT

The struct member offsets.

PBUFFERMEMORYBARRIERSback to summary
public static final int PBUFFERMEMORYBARRIERS

The struct member offsets.

PIMAGEMEMORYBARRIERSback to summary
public static final int PIMAGEMEMORYBARRIERS

The struct member offsets.

PMEMORYBARRIERSback to summary
public static final int PMEMORYBARRIERS

The struct member offsets.

PNEXTback to summary
public static final int PNEXT

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

STYPEback to summary
public static final int STYPE

The struct member offsets.

Constructor Detail

VkDependencyInfoback to summary
protected VkDependencyInfo(long address, ByteBuffer container)
VkDependencyInfoback to summary
public VkDependencyInfo(ByteBuffer container)

Creates a VkDependencyInfo 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.

Method Detail

bufferMemoryBarrierCountback to summary
public int bufferMemoryBarrierCount()

the length of the pBufferMemoryBarriers array.

Annotations
@NativeType:uint32_t
callocback to summary
public static VkDependencyInfo calloc()

Returns a new VkDependencyInfo instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static VkDependencyInfo.Buffer calloc(int capacity)

Returns a new VkDependencyInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static VkDependencyInfo calloc(MemoryStack stack)

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

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static VkDependencyInfo.Buffer calloc(int capacity, MemoryStack stack)

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

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

createback to summary
protected VkDependencyInfo create(long address, ByteBuffer container)

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

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static VkDependencyInfo create()

Returns a new VkDependencyInfo instance allocated with BufferUtils.

createback to summary
public static VkDependencyInfo create(long address)

Returns a new VkDependencyInfo instance for the specified memory address.

createback to summary
public static VkDependencyInfo.Buffer create(int capacity)

Returns a new VkDependencyInfo.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static VkDependencyInfo.Buffer create(long address, int capacity)

Create a VkDependencyInfo.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static VkDependencyInfo createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static VkDependencyInfo.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
dependencyFlagsback to summary
public int dependencyFlags()

a bitmask of VkDependencyFlagBits specifying how execution and memory dependencies are formed.

Annotations
@NativeType:VkDependencyFlags
dependencyFlagsback to summary
public VkDependencyInfo dependencyFlags(int value)

Sets the specified value to the dependencyFlags field.

imageMemoryBarrierCountback to summary
public int imageMemoryBarrierCount()

the length of the pImageMemoryBarriers array.

Annotations
@NativeType:uint32_t
mallocback to summary
public static VkDependencyInfo malloc()

Returns a new VkDependencyInfo instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static VkDependencyInfo.Buffer malloc(int capacity)

Returns a new VkDependencyInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static VkDependencyInfo malloc(MemoryStack stack)

Returns a new VkDependencyInfo instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static VkDependencyInfo.Buffer malloc(int capacity, MemoryStack stack)

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

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

memoryBarrierCountback to summary
public int memoryBarrierCount()

the length of the pMemoryBarriers array.

Annotations
@NativeType:uint32_t
nbufferMemoryBarrierCountback to summary
public static int nbufferMemoryBarrierCount(long struct)

Unsafe version of bufferMemoryBarrierCount.

nbufferMemoryBarrierCountback to summary
public static void nbufferMemoryBarrierCount(long struct, int value)

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

ndependencyFlagsback to summary
public static int ndependencyFlags(long struct)

Unsafe version of dependencyFlags.

ndependencyFlagsback to summary
public static void ndependencyFlags(long struct, int value)

Unsafe version of dependencyFlags.

nimageMemoryBarrierCountback to summary
public static int nimageMemoryBarrierCount(long struct)

Unsafe version of imageMemoryBarrierCount.

nimageMemoryBarrierCountback to summary
public static void nimageMemoryBarrierCount(long struct, int value)

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

nmemoryBarrierCountback to summary
public static int nmemoryBarrierCount(long struct)

Unsafe version of memoryBarrierCount.

nmemoryBarrierCountback to summary
public static void nmemoryBarrierCount(long struct, int value)

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

npBufferMemoryBarriersback to summary
public static VkBufferMemoryBarrier2.Buffer npBufferMemoryBarriers(long struct)

Unsafe version of pBufferMemoryBarriers.

Annotations
@Nullable
npBufferMemoryBarriersback to summary
public static void npBufferMemoryBarriers(long struct, VkBufferMemoryBarrier2.Buffer value)

Unsafe version of pBufferMemoryBarriers.

npImageMemoryBarriersback to summary
public static VkImageMemoryBarrier2.Buffer npImageMemoryBarriers(long struct)

Unsafe version of pImageMemoryBarriers.

Annotations
@Nullable
npImageMemoryBarriersback to summary
public static void npImageMemoryBarriers(long struct, VkImageMemoryBarrier2.Buffer value)

Unsafe version of pImageMemoryBarriers.

npMemoryBarriersback to summary
public static VkMemoryBarrier2.Buffer npMemoryBarriers(long struct)

Unsafe version of pMemoryBarriers.

Annotations
@Nullable
npMemoryBarriersback to summary
public static void npMemoryBarriers(long struct, VkMemoryBarrier2.Buffer value)

Unsafe version of pMemoryBarriers.

npNextback to summary
public static long npNext(long struct)

Unsafe version of pNext.

npNextback to summary
public static void npNext(long struct, long value)

Unsafe version of pNext.

nsTypeback to summary
public static int nsType(long struct)

Unsafe version of sType.

nsTypeback to summary
public static void nsType(long struct, int value)

Unsafe version of sType.

pBufferMemoryBarriersback to summary
public VkBufferMemoryBarrier2.Buffer pBufferMemoryBarriers()

a pointer to an array of VkBufferMemoryBarrier2 structures defining memory dependencies between buffer ranges.

Annotations
@Nullable
@NativeType:VkBufferMemoryBarrier2 const *
pBufferMemoryBarriersback to summary
public VkDependencyInfo pBufferMemoryBarriers(VkBufferMemoryBarrier2.Buffer value)

Sets the address of the specified VkBufferMemoryBarrier2.Buffer to the pBufferMemoryBarriers field.

pImageMemoryBarriersback to summary
public VkImageMemoryBarrier2.Buffer pImageMemoryBarriers()

a pointer to an array of VkImageMemoryBarrier2 structures defining memory dependencies between image subresources.

Annotations
@Nullable
@NativeType:VkImageMemoryBarrier2 const *
pImageMemoryBarriersback to summary
public VkDependencyInfo pImageMemoryBarriers(VkImageMemoryBarrier2.Buffer value)

Sets the address of the specified VkImageMemoryBarrier2.Buffer to the pImageMemoryBarriers field.

pMemoryBarriersback to summary
public VkMemoryBarrier2.Buffer pMemoryBarriers()

a pointer to an array of VkMemoryBarrier2 structures defining memory dependencies between any memory accesses.

Annotations
@Nullable
@NativeType:VkMemoryBarrier2 const *
pMemoryBarriersback to summary
public VkDependencyInfo pMemoryBarriers(VkMemoryBarrier2.Buffer value)

Sets the address of the specified VkMemoryBarrier2.Buffer to the pMemoryBarriers field.

pNextback to summary
public long pNext()

NULL or a pointer to a structure extending this structure.

Annotations
@NativeType:void const *
pNextback to summary
public VkDependencyInfo pNext(long value)

Sets the specified value to the pNext field.

setback to summary
public VkDependencyInfo set(int sType, long pNext, int dependencyFlags, VkMemoryBarrier2.Buffer pMemoryBarriers, VkBufferMemoryBarrier2.Buffer pBufferMemoryBarriers, VkImageMemoryBarrier2.Buffer pImageMemoryBarriers)

Initializes this struct with the specified values.

setback to summary
public VkDependencyInfo set(VkDependencyInfo src)

Copies the specified struct data to this struct.

Parameters
src:VkDependencyInfo

the source struct

Returns:VkDependencyInfo

this struct

sizeofback to summary
public int sizeof()

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

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
sTypeback to summary
public int sType()

a VkStructureType value identifying this structure.

Annotations
@NativeType:VkStructureType
sTypeback to summary
public VkDependencyInfo sType(int value)

Sets the specified value to the sType field.

sType$Defaultback to summary
public VkDependencyInfo sType$Default()

Sets the STRUCTURE_TYPE_DEPENDENCY_INFO value to the sType field.

validateback to summary
public static void validate(long struct)

Validates pointer members that should not be NULL.

Parameters
struct:long

the struct to validate

org.lwjgl.vulkan back to summary

public Class VkDependencyInfo.Buffer

extends StructBuffer<VkDependencyInfo, VkDependencyInfo.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Known Direct Subclasses
org.lwjgl.vulkan.VkDependencyInfoKHR.Buffer

An array of VkDependencyInfo structs.

Field Summary

Modifier and TypeField and Description
private static final VkDependencyInfo

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new VkDependencyInfo.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public int
public int

Returns:

the value of the VkDependencyInfo#dependencyFlags field.
dependencyFlags
()

public VkDependencyInfo.Buffer
dependencyFlags(int value)

Sets the specified value to the VkDependencyInfo#dependencyFlags field.

protected VkDependencyInfo
public int
public int

Returns:

the value of the VkDependencyInfo#memoryBarrierCount field.
memoryBarrierCount
()

public VkBufferMemoryBarrier2.Buffer

Returns:

a VkBufferMemoryBarrier2.Buffer view of the struct array pointed to by the VkDependencyInfo#pBufferMemoryBarriers field.
pBufferMemoryBarriers
()

public VkDependencyInfo.Buffer
public VkImageMemoryBarrier2.Buffer

Returns:

a VkImageMemoryBarrier2.Buffer view of the struct array pointed to by the VkDependencyInfo#pImageMemoryBarriers field.
pImageMemoryBarriers
()

public VkDependencyInfo.Buffer
public VkMemoryBarrier2.Buffer

Returns:

a VkMemoryBarrier2.Buffer view of the struct array pointed to by the VkDependencyInfo#pMemoryBarriers field.
pMemoryBarriers
()

public VkDependencyInfo.Buffer
public long

Returns:

the value of the VkDependencyInfo#pNext field.
pNext
()

public VkDependencyInfo.Buffer
pNext(long value)

Sets the specified value to the VkDependencyInfo#pNext field.

protected VkDependencyInfo.Buffer
public int

Returns:

the value of the VkDependencyInfo#sType field.
sType
()

public VkDependencyInfo.Buffer
sType(int value)

Sets the specified value to the VkDependencyInfo#sType field.

public VkDependencyInfo.Buffer
Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final VkDependencyInfo ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new VkDependencyInfo.Buffer instance backed by the specified container.

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 VkDependencyInfo#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

bufferMemoryBarrierCountback to summary
public int bufferMemoryBarrierCount()
Returns:int

the value of the VkDependencyInfo#bufferMemoryBarrierCount field.

Annotations
@NativeType:uint32_t
dependencyFlagsback to summary
public int dependencyFlags()
Returns:int

the value of the VkDependencyInfo#dependencyFlags field.

Annotations
@NativeType:VkDependencyFlags
dependencyFlagsback to summary
public VkDependencyInfo.Buffer dependencyFlags(int value)

Sets the specified value to the VkDependencyInfo#dependencyFlags field.

getElementFactoryback to summary
protected VkDependencyInfo getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
imageMemoryBarrierCountback to summary
public int imageMemoryBarrierCount()
Returns:int

the value of the VkDependencyInfo#imageMemoryBarrierCount field.

Annotations
@NativeType:uint32_t
memoryBarrierCountback to summary
public int memoryBarrierCount()
Returns:int

the value of the VkDependencyInfo#memoryBarrierCount field.

Annotations
@NativeType:uint32_t
pBufferMemoryBarriersback to summary
public VkBufferMemoryBarrier2.Buffer pBufferMemoryBarriers()
Returns:VkBufferMemoryBarrier2.Buffer

a VkBufferMemoryBarrier2.Buffer view of the struct array pointed to by the VkDependencyInfo#pBufferMemoryBarriers field.

Annotations
@Nullable
@NativeType:VkBufferMemoryBarrier2 const *
pBufferMemoryBarriersback to summary
public VkDependencyInfo.Buffer pBufferMemoryBarriers(VkBufferMemoryBarrier2.Buffer value)

Sets the address of the specified VkBufferMemoryBarrier2.Buffer to the VkDependencyInfo#pBufferMemoryBarriers field.

pImageMemoryBarriersback to summary
public VkImageMemoryBarrier2.Buffer pImageMemoryBarriers()
Returns:VkImageMemoryBarrier2.Buffer

a VkImageMemoryBarrier2.Buffer view of the struct array pointed to by the VkDependencyInfo#pImageMemoryBarriers field.

Annotations
@Nullable
@NativeType:VkImageMemoryBarrier2 const *
pImageMemoryBarriersback to summary
public VkDependencyInfo.Buffer pImageMemoryBarriers(VkImageMemoryBarrier2.Buffer value)

Sets the address of the specified VkImageMemoryBarrier2.Buffer to the VkDependencyInfo#pImageMemoryBarriers field.

pMemoryBarriersback to summary
public VkMemoryBarrier2.Buffer pMemoryBarriers()
Returns:VkMemoryBarrier2.Buffer

a VkMemoryBarrier2.Buffer view of the struct array pointed to by the VkDependencyInfo#pMemoryBarriers field.

Annotations
@Nullable
@NativeType:VkMemoryBarrier2 const *
pMemoryBarriersback to summary
public VkDependencyInfo.Buffer pMemoryBarriers(VkMemoryBarrier2.Buffer value)

Sets the address of the specified VkMemoryBarrier2.Buffer to the VkDependencyInfo#pMemoryBarriers field.

pNextback to summary
public long pNext()
Returns:long

the value of the VkDependencyInfo#pNext field.

Annotations
@NativeType:void const *
pNextback to summary
public VkDependencyInfo.Buffer pNext(long value)

Sets the specified value to the VkDependencyInfo#pNext field.

selfback to summary
protected VkDependencyInfo.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
sTypeback to summary
public int sType()
Returns:int

the value of the VkDependencyInfo#sType field.

Annotations
@NativeType:VkStructureType
sTypeback to summary
public VkDependencyInfo.Buffer sType(int value)

Sets the specified value to the VkDependencyInfo#sType field.

sType$Defaultback to summary
public VkDependencyInfo.Buffer sType$Default()

Sets the STRUCTURE_TYPE_DEPENDENCY_INFO value to the VkDependencyInfo#sType field.