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.
sType must be STRUCTURE_TYPE_DEPENDENCY_INFOpNext must be NULLdependencyFlags must be a valid combination of VkDependencyFlagBits valuesmemoryBarrierCount is not 0, pMemoryBarriers must be a valid pointer to an array of memoryBarrierCount valid VkMemoryBarrier2 structuresbufferMemoryBarrierCount is not 0, pBufferMemoryBarriers must be a valid pointer to an array of bufferMemoryBarrierCount valid VkBufferMemoryBarrier2 structuresimageMemoryBarrierCount is not 0, pImageMemoryBarriers must be a valid pointer to an array of imageMemoryBarrierCount valid VkImageMemoryBarrier2 structuresVkBufferMemoryBarrier2, VkImageMemoryBarrier2, VkMemoryBarrier2, CmdPipelineBarrier2, CmdPipelineBarrier2KHR, CmdSetEvent2, CmdSetEvent2KHR, CmdWaitEvents2, CmdWaitEvents2KHR
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;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkDependencyInfo.
An array of |
| Modifier and Type | Field 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. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkDependencyInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public static VkDependencyInfo | |
| public static VkDependencyInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDependencyInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDependencyInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| 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. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkDependencyInfo | |
| public static VkDependencyInfo | |
| public static VkDependencyInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDependencyInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDependencyInfo | |
| public static VkDependencyInfo. | |
| public int | dependencyFlags()
a bitmask of |
| public VkDependencyInfo | |
| public int | |
| public static VkDependencyInfo | |
| public static VkDependencyInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDependencyInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDependencyInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public int | |
| public static int | |
| public static void | nbufferMemoryBarrierCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public static int | |
| public static void | nimageMemoryBarrierCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | nmemoryBarrierCount(long struct, int value)
Sets the specified value to the |
| public static VkBufferMemoryBarrier2. | |
| public static void | npBufferMemoryBarriers(long struct, VkBufferMemoryBarrier2.
Unsafe version of |
| public static VkImageMemoryBarrier2. | |
| public static void | npImageMemoryBarriers(long struct, VkImageMemoryBarrier2.
Unsafe version of |
| public static VkMemoryBarrier2. | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public VkBufferMemoryBarrier2. | pBufferMemoryBarriers()
a pointer to an array of |
| public VkDependencyInfo | pBufferMemoryBarriers(VkBufferMemoryBarrier2.
Sets the address of the specified |
| public VkImageMemoryBarrier2. | pImageMemoryBarriers()
a pointer to an array of |
| public VkDependencyInfo | pImageMemoryBarriers(VkImageMemoryBarrier2.
Sets the address of the specified |
| public VkMemoryBarrier2. | pMemoryBarriers()
a pointer to an array of |
| public VkDependencyInfo | pMemoryBarriers(VkMemoryBarrier2.
Sets the address of the specified |
| public long | |
| public VkDependencyInfo | |
| public VkDependencyInfo | set(int sType, long pNext, int dependencyFlags, VkMemoryBarrier2.
Initializes this struct with the specified values. |
| public VkDependencyInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkDependencyInfo | |
| public VkDependencyInfo | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BUFFERMEMORYBARRIERCOUNT | back to summary |
|---|---|
| public static final int BUFFERMEMORYBARRIERCOUNT The struct member offsets. | |
| DEPENDENCYFLAGS | back to summary |
|---|---|
| public static final int DEPENDENCYFLAGS The struct member offsets. | |
| IMAGEMEMORYBARRIERCOUNT | back to summary |
|---|---|
| public static final int IMAGEMEMORYBARRIERCOUNT The struct member offsets. | |
| MEMORYBARRIERCOUNT | back to summary |
|---|---|
| public static final int MEMORYBARRIERCOUNT The struct member offsets. | |
| PBUFFERMEMORYBARRIERS | back to summary |
|---|---|
| public static final int PBUFFERMEMORYBARRIERS The struct member offsets. | |
| PIMAGEMEMORYBARRIERS | back to summary |
|---|---|
| public static final int PIMAGEMEMORYBARRIERS The struct member offsets. | |
| PMEMORYBARRIERS | back to summary |
|---|---|
| public static final int PMEMORYBARRIERS 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. | |
| VkDependencyInfo | back to summary |
|---|---|
| protected VkDependencyInfo(long address, ByteBuffer container) | |
| VkDependencyInfo | back to summary |
|---|---|
| public VkDependencyInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| bufferMemoryBarrierCount | back to summary |
|---|---|
| public int bufferMemoryBarrierCount() the length of the
| |
| calloc | back to summary |
|---|---|
| public static VkDependencyInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkDependencyInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDependencyInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDependencyInfo. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkDependencyInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkDependencyInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkDependencyInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkDependencyInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkDependencyInfo. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkDependencyInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkDependencyInfo. Like
| |
| dependencyFlags | back to summary |
|---|---|
| public int dependencyFlags() a bitmask of
| |
| dependencyFlags | back to summary |
|---|---|
| public VkDependencyInfo dependencyFlags(int value) Sets the specified value to the | |
| imageMemoryBarrierCount | back to summary |
|---|---|
| public int imageMemoryBarrierCount() the length of the
| |
| malloc | back to summary |
|---|---|
| public static VkDependencyInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkDependencyInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDependencyInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDependencyInfo. Returns a new
| |
| memoryBarrierCount | back to summary |
|---|---|
| public int memoryBarrierCount() the length of the
| |
| nbufferMemoryBarrierCount | back to summary |
|---|---|
| public static int nbufferMemoryBarrierCount(long struct) Unsafe version of | |
| nbufferMemoryBarrierCount | back to summary |
|---|---|
| public static void nbufferMemoryBarrierCount(long struct, int value) Sets the specified value to the | |
| ndependencyFlags | back to summary |
|---|---|
| public static int ndependencyFlags(long struct) Unsafe version of | |
| ndependencyFlags | back to summary |
|---|---|
| public static void ndependencyFlags(long struct, int value) Unsafe version of | |
| nimageMemoryBarrierCount | back to summary |
|---|---|
| public static int nimageMemoryBarrierCount(long struct) Unsafe version of | |
| nimageMemoryBarrierCount | back to summary |
|---|---|
| public static void nimageMemoryBarrierCount(long struct, int value) Sets the specified value to the | |
| nmemoryBarrierCount | back to summary |
|---|---|
| public static int nmemoryBarrierCount(long struct) Unsafe version of | |
| nmemoryBarrierCount | back to summary |
|---|---|
| public static void nmemoryBarrierCount(long struct, int value) Sets the specified value to the | |
| npBufferMemoryBarriers | back to summary |
|---|---|
| public static VkBufferMemoryBarrier2. Unsafe version of
| |
| npBufferMemoryBarriers | back to summary |
|---|---|
| public static void npBufferMemoryBarriers(long struct, VkBufferMemoryBarrier2. Unsafe version of | |
| npImageMemoryBarriers | back to summary |
|---|---|
| public static VkImageMemoryBarrier2. Unsafe version of
| |
| npImageMemoryBarriers | back to summary |
|---|---|
| public static void npImageMemoryBarriers(long struct, VkImageMemoryBarrier2. Unsafe version of | |
| npMemoryBarriers | back to summary |
|---|---|
| public static VkMemoryBarrier2. Unsafe version of
| |
| npMemoryBarriers | back to summary |
|---|---|
| public static void npMemoryBarriers(long struct, VkMemoryBarrier2. 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 | |
| pBufferMemoryBarriers | back to summary |
|---|---|
| public VkBufferMemoryBarrier2. a pointer to an array of
| |
| pBufferMemoryBarriers | back to summary |
|---|---|
| public VkDependencyInfo pBufferMemoryBarriers(VkBufferMemoryBarrier2. Sets the address of the specified | |
| pImageMemoryBarriers | back to summary |
|---|---|
| public VkImageMemoryBarrier2. a pointer to an array of
| |
| pImageMemoryBarriers | back to summary |
|---|---|
| public VkDependencyInfo pImageMemoryBarriers(VkImageMemoryBarrier2. Sets the address of the specified | |
| pMemoryBarriers | back to summary |
|---|---|
| public VkMemoryBarrier2. a pointer to an array of
| |
| pMemoryBarriers | back to summary |
|---|---|
| public VkDependencyInfo pMemoryBarriers(VkMemoryBarrier2. Sets the address of the specified | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDependencyInfo pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkDependencyInfo set(int sType, long pNext, int dependencyFlags, VkMemoryBarrier2. Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkDependencyInfo set(VkDependencyInfo 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 VkDependencyInfo sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDependencyInfo sType$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkDependencyInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkDependencyInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkDependencyInfo 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) | |
| bufferMemoryBarrierCount | back to summary |
|---|---|
public int bufferMemoryBarrierCount()
| |
| dependencyFlags | back to summary |
|---|---|
public int dependencyFlags()
| |
| dependencyFlags | back to summary |
|---|---|
| public VkDependencyInfo. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkDependencyInfo getElementFactory() Implements abstract org.
| |
| imageMemoryBarrierCount | back to summary |
|---|---|
public int imageMemoryBarrierCount()
| |
| memoryBarrierCount | back to summary |
|---|---|
public int memoryBarrierCount()
| |
| pBufferMemoryBarriers | back to summary |
|---|---|
public VkBufferMemoryBarrier2.
| |
| pBufferMemoryBarriers | back to summary |
|---|---|
| public VkDependencyInfo. Sets the address of the specified | |
| pImageMemoryBarriers | back to summary |
|---|---|
public VkImageMemoryBarrier2.
| |
| pImageMemoryBarriers | back to summary |
|---|---|
| public VkDependencyInfo. Sets the address of the specified | |
| pMemoryBarriers | back to summary |
|---|---|
public VkMemoryBarrier2.
| |
| pMemoryBarriers | back to summary |
|---|---|
| public VkDependencyInfo. Sets the address of the specified | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDependencyInfo. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkDependencyInfo. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkDependencyInfo. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDependencyInfo. Sets the | |