Class VkPipelineRenderingCreateInfo

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, VIEWMASK, COLORATTACHMENTCOUNT, PCOLORATTACHMENTFORMATS, DEPTHATTACHMENTFORMAT, STENCILATTACHMENTFORMAT

        The struct member offsets.
    • Constructor Detail

      • VkPipelineRenderingCreateInfo

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

        public int viewMask()
        the viewMask used for rendering.
      • colorAttachmentCount

        public int colorAttachmentCount()
        the number of entries in pColorAttachmentFormats
      • pColorAttachmentFormats

        @Nullable
        public java.nio.IntBuffer pColorAttachmentFormats()
        a pointer to an array of VkFormat values defining the format of color attachments used in this pipeline.
      • depthAttachmentFormat

        public int depthAttachmentFormat()
        a VkFormat value defining the format of the depth attachment used in this pipeline.
      • stencilAttachmentFormat

        public int stencilAttachmentFormat()
        a VkFormat value defining the format of the stencil attachment used in this pipeline.
      • set

        public VkPipelineRenderingCreateInfo set​(int sType,
                                                 long pNext,
                                                 int viewMask,
                                                 @Nullable
                                                 java.nio.IntBuffer pColorAttachmentFormats,
                                                 int depthAttachmentFormat,
                                                 int stencilAttachmentFormat)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

        public static VkPipelineRenderingCreateInfo calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkPipelineRenderingCreateInfo 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().
      • nviewMask

        public static int nviewMask​(long struct)
        Unsafe version of viewMask().
      • ncolorAttachmentCount

        public static int ncolorAttachmentCount​(long struct)
        Unsafe version of colorAttachmentCount().
      • npColorAttachmentFormats

        @Nullable
        public static java.nio.IntBuffer npColorAttachmentFormats​(long struct)
        Unsafe version of pColorAttachmentFormats.
      • ndepthAttachmentFormat

        public static int ndepthAttachmentFormat​(long struct)
        Unsafe version of depthAttachmentFormat().
      • nstencilAttachmentFormat

        public static int nstencilAttachmentFormat​(long struct)
        Unsafe version of stencilAttachmentFormat().
      • 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.
      • nviewMask

        public static void nviewMask​(long struct,
                                     int value)
        Unsafe version of viewMask.
      • ncolorAttachmentCount

        public static void ncolorAttachmentCount​(long struct,
                                                 int value)
        Sets the specified value to the colorAttachmentCount field of the specified struct.
      • npColorAttachmentFormats

        public static void npColorAttachmentFormats​(long struct,
                                                    @Nullable
                                                    java.nio.IntBuffer value)
        Unsafe version of pColorAttachmentFormats.
      • ndepthAttachmentFormat

        public static void ndepthAttachmentFormat​(long struct,
                                                  int value)
        Unsafe version of depthAttachmentFormat.
      • nstencilAttachmentFormat

        public static void nstencilAttachmentFormat​(long struct,
                                                    int value)
        Unsafe version of stencilAttachmentFormat.
      • validate

        public static void validate​(long struct)
        Validates pointer members that should not be NULL.
        Parameters:
        struct - the struct to validate