Class VkRenderingAttachmentInfo

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, IMAGEVIEW, IMAGELAYOUT, RESOLVEMODE, RESOLVEIMAGEVIEW, RESOLVEIMAGELAYOUT, LOADOP, STOREOP, CLEARVALUE

        The struct member offsets.
    • Constructor Detail

      • VkRenderingAttachmentInfo

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

        public long imageView()
        the image view that will be used for rendering.
      • imageLayout

        public int imageLayout()
        the layout that imageView will be in during rendering.
      • resolveMode

        public int resolveMode()
        a VkResolveModeFlagBits value defining how multisampled data written to imageView will be resolved.
      • resolveImageView

        public long resolveImageView()
        an image view used to write resolved multisample data at the end of rendering.
      • resolveImageLayout

        public int resolveImageLayout()
        the layout that resolveImageView will be in during rendering.
      • loadOp

        public int loadOp()
        a VkAttachmentLoadOp value specifying how the contents of imageView are treated at the start of the render pass instance.
      • storeOp

        public int storeOp()
        a VkAttachmentStoreOp value specifying how the contents of imageView are treated at the end of the render pass instance.
      • set

        public VkRenderingAttachmentInfo set​(int sType,
                                             long pNext,
                                             long imageView,
                                             int imageLayout,
                                             int resolveMode,
                                             long resolveImageView,
                                             int resolveImageLayout,
                                             int loadOp,
                                             int storeOp,
                                             VkClearValue clearValue)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

        public static VkRenderingAttachmentInfo.Buffer calloc​(int capacity,
                                                              org.lwjgl.system.MemoryStack stack)
        Returns a new VkRenderingAttachmentInfo.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().
      • nimageView

        public static long nimageView​(long struct)
        Unsafe version of imageView().
      • nimageLayout

        public static int nimageLayout​(long struct)
        Unsafe version of imageLayout().
      • nresolveMode

        public static int nresolveMode​(long struct)
        Unsafe version of resolveMode().
      • nresolveImageView

        public static long nresolveImageView​(long struct)
        Unsafe version of resolveImageView().
      • nresolveImageLayout

        public static int nresolveImageLayout​(long struct)
        Unsafe version of resolveImageLayout().
      • nloadOp

        public static int nloadOp​(long struct)
        Unsafe version of loadOp().
      • nstoreOp

        public static int nstoreOp​(long struct)
        Unsafe version of storeOp().
      • 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.
      • nimageView

        public static void nimageView​(long struct,
                                      long value)
        Unsafe version of imageView.
      • nimageLayout

        public static void nimageLayout​(long struct,
                                        int value)
        Unsafe version of imageLayout.
      • nresolveMode

        public static void nresolveMode​(long struct,
                                        int value)
        Unsafe version of resolveMode.
      • nresolveImageView

        public static void nresolveImageView​(long struct,
                                             long value)
        Unsafe version of resolveImageView.
      • nresolveImageLayout

        public static void nresolveImageLayout​(long struct,
                                               int value)
        Unsafe version of resolveImageLayout.
      • nloadOp

        public static void nloadOp​(long struct,
                                   int value)
        Unsafe version of loadOp.
      • nstoreOp

        public static void nstoreOp​(long struct,
                                    int value)
        Unsafe version of storeOp.
      • nclearValue

        public static void nclearValue​(long struct,
                                       VkClearValue value)
        Unsafe version of clearValue.