Class VkSubpassDependency2KHR

    • 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

      • VkSubpassDependency2KHR

        public VkSubpassDependency2KHR​(java.nio.ByteBuffer container)
        Creates a VkSubpassDependency2KHR 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()
        Description copied from class: Struct
        Returns sizeof(struct).
        Specified by:
        sizeof in class Struct
      • sType

        public int sType()
        Returns the value of the sType field.
      • pNext

        public long pNext()
        Returns the value of the pNext field.
      • srcSubpass

        public int srcSubpass()
        Returns the value of the srcSubpass field.
      • dstSubpass

        public int dstSubpass()
        Returns the value of the dstSubpass field.
      • srcStageMask

        public int srcStageMask()
        Returns the value of the srcStageMask field.
      • dstStageMask

        public int dstStageMask()
        Returns the value of the dstStageMask field.
      • srcAccessMask

        public int srcAccessMask()
        Returns the value of the srcAccessMask field.
      • dstAccessMask

        public int dstAccessMask()
        Returns the value of the dstAccessMask field.
      • dependencyFlags

        public int dependencyFlags()
        Returns the value of the dependencyFlags field.
      • viewOffset

        public int viewOffset()
        Returns the value of the viewOffset field.
      • srcSubpass

        public VkSubpassDependency2KHR srcSubpass​(int value)
        Sets the specified value to the srcSubpass field.
      • dstSubpass

        public VkSubpassDependency2KHR dstSubpass​(int value)
        Sets the specified value to the dstSubpass field.
      • srcStageMask

        public VkSubpassDependency2KHR srcStageMask​(int value)
        Sets the specified value to the srcStageMask field.
      • dstStageMask

        public VkSubpassDependency2KHR dstStageMask​(int value)
        Sets the specified value to the dstStageMask field.
      • srcAccessMask

        public VkSubpassDependency2KHR srcAccessMask​(int value)
        Sets the specified value to the srcAccessMask field.
      • dstAccessMask

        public VkSubpassDependency2KHR dstAccessMask​(int value)
        Sets the specified value to the dstAccessMask field.
      • dependencyFlags

        public VkSubpassDependency2KHR dependencyFlags​(int value)
        Sets the specified value to the dependencyFlags field.
      • viewOffset

        public VkSubpassDependency2KHR viewOffset​(int value)
        Sets the specified value to the viewOffset field.
      • set

        public VkSubpassDependency2KHR 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 VkSubpassDependency2KHR malloc()
        Returns a new VkSubpassDependency2KHR instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

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

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

        public static VkSubpassDependency2KHR callocStack()
        Returns a new VkSubpassDependency2KHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.
      • mallocStack

        public static VkSubpassDependency2KHR mallocStack​(MemoryStack stack)
        Returns a new VkSubpassDependency2KHR instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • callocStack

        public static VkSubpassDependency2KHR callocStack​(MemoryStack stack)
        Returns a new VkSubpassDependency2KHR instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • 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.