Class VkDependencyInfo

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer
Direct Known Subclasses:
VkDependencyInfoKHR

public class VkDependencyInfo extends Struct<VkDependencyInfo> implements NativeResource
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;
}
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • DEPENDENCYFLAGS

      public static final int DEPENDENCYFLAGS
      The struct member offsets.
    • MEMORYBARRIERCOUNT

      public static final int MEMORYBARRIERCOUNT
      The struct member offsets.
    • PMEMORYBARRIERS

      public static final int PMEMORYBARRIERS
      The struct member offsets.
    • BUFFERMEMORYBARRIERCOUNT

      public static final int BUFFERMEMORYBARRIERCOUNT
      The struct member offsets.
    • PBUFFERMEMORYBARRIERS

      public static final int PBUFFERMEMORYBARRIERS
      The struct member offsets.
    • IMAGEMEMORYBARRIERCOUNT

      public static final int IMAGEMEMORYBARRIERCOUNT
      The struct member offsets.
    • PIMAGEMEMORYBARRIERS

      public static final int PIMAGEMEMORYBARRIERS
      The struct member offsets.
  • Constructor Details

    • VkDependencyInfo

      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 Details