Class VkFramebufferCreateInfo

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, FLAGS, RENDERPASS, ATTACHMENTCOUNT, PATTACHMENTS, WIDTH, HEIGHT, LAYERS

        The struct member offsets.
    • Constructor Detail

      • VkFramebufferCreateInfo

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

        public int flags()
        Returns the value of the flags field.
      • renderPass

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

        public int attachmentCount()
        Returns the value of the attachmentCount field.
      • pAttachments

        @Nullable
        public java.nio.LongBuffer pAttachments()
        Returns a LongBuffer view of the data pointed to by the pAttachments field.
      • width

        public int width()
        Returns the value of the width field.
      • height

        public int height()
        Returns the value of the height field.
      • layers

        public int layers()
        Returns the value of the layers field.
      • renderPass

        public VkFramebufferCreateInfo renderPass​(long value)
        Sets the specified value to the renderPass field.
      • pAttachments

        public VkFramebufferCreateInfo pAttachments​(@Nullable
                                                    java.nio.LongBuffer value)
        Sets the address of the specified LongBuffer to the pAttachments field.
      • set

        public VkFramebufferCreateInfo set​(int sType,
                                           long pNext,
                                           int flags,
                                           long renderPass,
                                           @Nullable
                                           java.nio.LongBuffer pAttachments,
                                           int width,
                                           int height,
                                           int layers)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

        public static int nflags​(long struct)
        Unsafe version of flags().
      • nrenderPass

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

        public static int nattachmentCount​(long struct)
        Unsafe version of attachmentCount().
      • npAttachments

        @Nullable
        public static java.nio.LongBuffer npAttachments​(long struct)
        Unsafe version of pAttachments.
      • nwidth

        public static int nwidth​(long struct)
        Unsafe version of width().
      • nheight

        public static int nheight​(long struct)
        Unsafe version of height().
      • nlayers

        public static int nlayers​(long struct)
        Unsafe version of layers().
      • 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.
      • nflags

        public static void nflags​(long struct,
                                  int value)
        Unsafe version of flags.
      • nrenderPass

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

        public static void nattachmentCount​(long struct,
                                            int value)
        Sets the specified value to the attachmentCount field of the specified struct.
      • npAttachments

        public static void npAttachments​(long struct,
                                         @Nullable
                                         java.nio.LongBuffer value)
        Unsafe version of pAttachments.
      • nwidth

        public static void nwidth​(long struct,
                                  int value)
        Unsafe version of width.
      • nheight

        public static void nheight​(long struct,
                                   int value)
        Unsafe version of height.
      • nlayers

        public static void nlayers​(long struct,
                                   int value)
        Unsafe version of layers.
      • 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