Class VkSubpassDependency2

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, SRCSUBPASS, DSTSUBPASS, SRCSTAGEMASK, DSTSTAGEMASK, SRCACCESSMASK, DSTACCESSMASK, DEPENDENCYFLAGS, VIEWOFFSET

        The struct member offsets.
    • Constructor Detail

      • VkSubpassDependency2

        public VkSubpassDependency2​(java.nio.ByteBuffer container)
        Creates a VkSubpassDependency2 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

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • sType

        public int sType()
        the type of this structure.
      • pNext

        public long pNext()
        NULL or a pointer to a structure extending this structure.
      • srcSubpass

        public int srcSubpass()
        the subpass index of the first subpass in the dependency, or SUBPASS_EXTERNAL.
      • dstSubpass

        public int dstSubpass()
        the subpass index of the second subpass in the dependency, or SUBPASS_EXTERNAL.
      • srcStageMask

        public int srcStageMask()
        a bitmask of VkPipelineStageFlagBits specifying the source stage mask.
      • dstStageMask

        public int dstStageMask()
        a bitmask of VkPipelineStageFlagBits specifying the destination stage mask
      • srcAccessMask

        public int srcAccessMask()
        a bitmask of VkAccessFlagBits specifying a source access mask.
      • dependencyFlags

        public int dependencyFlags()
        a bitmask of VkDependencyFlagBits.
      • viewOffset

        public int viewOffset()
        controls which views in the source subpass the views in the destination subpass depend on.
      • set

        public VkSubpassDependency2 set​(int sType,
                                        long pNext,
                                        int srcSubpass,
                                        int dstSubpass,
                                        int srcStageMask,
                                        int dstStageMask,
                                        int srcAccessMask,
                                        int dstAccessMask,
                                        int dependencyFlags,
                                        int viewOffset)
        Initializes this struct with the specified values.
      • malloc

        public static VkSubpassDependency2 malloc()
        Returns a new VkSubpassDependency2 instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

        public static VkSubpassDependency2 calloc()
        Returns a new VkSubpassDependency2 instance allocated with memCalloc. The instance must be explicitly freed.
      • create

        public static VkSubpassDependency2 create()
        Returns a new VkSubpassDependency2 instance allocated with BufferUtils.
      • create

        public static VkSubpassDependency2 create​(long address)
        Returns a new VkSubpassDependency2 instance for the specified memory address.
      • createSafe

        @Nullable
        public static VkSubpassDependency2 createSafe​(long address)
        Like create, but returns null if address is NULL.
      • malloc

        public static VkSubpassDependency2 malloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkSubpassDependency2 instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static VkSubpassDependency2 calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkSubpassDependency2 instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • malloc

        public static VkSubpassDependency2.Buffer malloc​(int capacity,
                                                         org.lwjgl.system.MemoryStack stack)
        Returns a new VkSubpassDependency2.Buffer instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • calloc

        public static VkSubpassDependency2.Buffer calloc​(int capacity,
                                                         org.lwjgl.system.MemoryStack stack)
        Returns a new VkSubpassDependency2.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • nsType

        public static int nsType​(long struct)
        Unsafe version of sType().
      • npNext

        public static long npNext​(long struct)
        Unsafe version of pNext().
      • nsrcSubpass

        public static int nsrcSubpass​(long struct)
        Unsafe version of srcSubpass().
      • ndstSubpass

        public static int ndstSubpass​(long struct)
        Unsafe version of dstSubpass().
      • nsrcStageMask

        public static int nsrcStageMask​(long struct)
        Unsafe version of srcStageMask().
      • ndstStageMask

        public static int ndstStageMask​(long struct)
        Unsafe version of dstStageMask().
      • nsrcAccessMask

        public static int nsrcAccessMask​(long struct)
        Unsafe version of srcAccessMask().
      • ndstAccessMask

        public static int ndstAccessMask​(long struct)
        Unsafe version of dstAccessMask().
      • ndependencyFlags

        public static int ndependencyFlags​(long struct)
        Unsafe version of dependencyFlags().
      • nviewOffset

        public static int nviewOffset​(long struct)
        Unsafe version of viewOffset().
      • nsType

        public static void nsType​(long struct,
                                  int value)
        Unsafe version of sType.
      • npNext

        public static void npNext​(long struct,
                                  long value)
        Unsafe version of pNext.
      • nsrcSubpass

        public static void nsrcSubpass​(long struct,
                                       int value)
        Unsafe version of srcSubpass.
      • ndstSubpass

        public static void ndstSubpass​(long struct,
                                       int value)
        Unsafe version of dstSubpass.
      • nsrcStageMask

        public static void nsrcStageMask​(long struct,
                                         int value)
        Unsafe version of srcStageMask.
      • ndstStageMask

        public static void ndstStageMask​(long struct,
                                         int value)
        Unsafe version of dstStageMask.
      • nsrcAccessMask

        public static void nsrcAccessMask​(long struct,
                                          int value)
        Unsafe version of srcAccessMask.
      • ndstAccessMask

        public static void ndstAccessMask​(long struct,
                                          int value)
        Unsafe version of dstAccessMask.
      • ndependencyFlags

        public static void ndependencyFlags​(long struct,
                                            int value)
        Unsafe version of dependencyFlags.
      • nviewOffset

        public static void nviewOffset​(long struct,
                                       int value)
        Unsafe version of viewOffset.