Class VkDescriptorUpdateTemplateEntryKHR.Buffer

    • Constructor Detail

      • Buffer

        public Buffer(java.nio.ByteBuffer container)
        Creates a new VkDescriptorUpdateTemplateEntryKHR.Buffer instance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkDescriptorUpdateTemplateEntryKHR.SIZEOF, and its mark will be undefined.

        The created buffer instance holds a strong reference to the container object.

    • Method Detail

      • sizeof

        public int sizeof()
        Description copied from class: org.lwjgl.system.CustomBuffer
        Returns the sizeof a single element in the buffer.
        Specified by:
        sizeof in class org.lwjgl.system.CustomBuffer<VkDescriptorUpdateTemplateEntryKHR.Buffer>
      • dstBinding

        public int dstBinding()
        Returns the value of the dstBinding field.
      • dstArrayElement

        public int dstArrayElement()
        Returns the value of the dstArrayElement field.
      • descriptorCount

        public int descriptorCount()
        Returns the value of the descriptorCount field.
      • descriptorType

        public int descriptorType()
        Returns the value of the descriptorType field.
      • offset

        public long offset()
        Returns the value of the offset field.
      • stride

        public long stride()
        Returns the value of the stride field.