Class VkRenderPassBeginInfo

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, RENDERPASS, FRAMEBUFFER, RENDERAREA, CLEARVALUECOUNT, PCLEARVALUES

        The struct member offsets.
    • Constructor Detail

      • VkRenderPassBeginInfo

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

        public long renderPass()
        Returns the value of the renderPass field.
      • framebuffer

        public long framebuffer()
        Returns the value of the framebuffer field.
      • renderArea

        public VkRect2D renderArea()
        Returns a VkRect2D view of the renderArea field.
      • clearValueCount

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

        public VkRenderPassBeginInfo pNext​(long value)
        Sets the specified value to the pNext field.
      • renderPass

        public VkRenderPassBeginInfo renderPass​(long value)
        Sets the specified value to the renderPass field.
      • framebuffer

        public VkRenderPassBeginInfo framebuffer​(long value)
        Sets the specified value to the framebuffer field.
      • renderArea

        public VkRenderPassBeginInfo renderArea​(java.util.function.Consumer<VkRect2D> consumer)
        Passes the renderArea field to the specified Consumer.
      • malloc

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

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

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

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

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

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

        public static VkRenderPassBeginInfo callocStack​(MemoryStack stack)
        Returns a new VkRenderPassBeginInfo 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().
      • nrenderPass

        public static long nrenderPass​(long struct)
        Unsafe version of renderPass().
      • nframebuffer

        public static long nframebuffer​(long struct)
        Unsafe version of framebuffer().
      • nclearValueCount

        public static int nclearValueCount​(long struct)
        Unsafe version of clearValueCount().
      • 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.
      • nrenderPass

        public static void nrenderPass​(long struct,
                                       long value)
        Unsafe version of renderPass.
      • nframebuffer

        public static void nframebuffer​(long struct,
                                        long value)
        Unsafe version of framebuffer.
      • nrenderArea

        public static void nrenderArea​(long struct,
                                       VkRect2D value)
        Unsafe version of renderArea.
      • nclearValueCount

        public static void nclearValueCount​(long struct,
                                            int value)
        Sets the specified value to the clearValueCount field of the specified struct.
      • validate

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

        public static void validate​(long array,
                                    int count)
        Calls validate(long) for each struct contained in the specified struct array.
        Parameters:
        array - the struct array to validate
        count - the number of structs in array