Class VkWriteDescriptorSet

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, DSTSET, DSTBINDING, DSTARRAYELEMENT, DESCRIPTORCOUNT, DESCRIPTORTYPE, PIMAGEINFO, PBUFFERINFO, PTEXELBUFFERVIEW

        The struct member offsets.
    • Constructor Detail

      • VkWriteDescriptorSet

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

        public long dstSet()
        Returns the value of the dstSet field.
      • 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.
      • pTexelBufferView

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

        public VkWriteDescriptorSet sType​(int value)
        Sets the specified value to the sType field.
      • pNext

        public VkWriteDescriptorSet pNext​(long value)
        Sets the specified value to the pNext field.
      • dstSet

        public VkWriteDescriptorSet dstSet​(long value)
        Sets the specified value to the dstSet field.
      • dstBinding

        public VkWriteDescriptorSet dstBinding​(int value)
        Sets the specified value to the dstBinding field.
      • dstArrayElement

        public VkWriteDescriptorSet dstArrayElement​(int value)
        Sets the specified value to the dstArrayElement field.
      • descriptorCount

        public VkWriteDescriptorSet descriptorCount​(int value)
        Sets the specified value to the descriptorCount field.
      • descriptorType

        public VkWriteDescriptorSet descriptorType​(int value)
        Sets the specified value to the descriptorType field.
      • pTexelBufferView

        public VkWriteDescriptorSet pTexelBufferView​(@Nullable
                                                     java.nio.LongBuffer value)
        Sets the address of the specified LongBuffer to the pTexelBufferView field.
      • malloc

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

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

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

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

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

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

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

        public static long ndstSet​(long struct)
        Unsafe version of dstSet().
      • ndstBinding

        public static int ndstBinding​(long struct)
        Unsafe version of dstBinding().
      • ndstArrayElement

        public static int ndstArrayElement​(long struct)
        Unsafe version of dstArrayElement().
      • ndescriptorCount

        public static int ndescriptorCount​(long struct)
        Unsafe version of descriptorCount().
      • ndescriptorType

        public static int ndescriptorType​(long struct)
        Unsafe version of descriptorType().
      • npTexelBufferView

        @Nullable
        public static java.nio.LongBuffer npTexelBufferView​(long struct)
        Unsafe version of pTexelBufferView.
      • 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.
      • ndstSet

        public static void ndstSet​(long struct,
                                   long value)
        Unsafe version of dstSet.
      • ndstBinding

        public static void ndstBinding​(long struct,
                                       int value)
        Unsafe version of dstBinding.
      • ndstArrayElement

        public static void ndstArrayElement​(long struct,
                                            int value)
        Unsafe version of dstArrayElement.
      • ndescriptorCount

        public static void ndescriptorCount​(long struct,
                                            int value)
        Sets the specified value to the descriptorCount field of the specified struct.
      • ndescriptorType

        public static void ndescriptorType​(long struct,
                                           int value)
        Unsafe version of descriptorType.
      • npTexelBufferView

        public static void npTexelBufferView​(long struct,
                                             @Nullable
                                             java.nio.LongBuffer value)
        Unsafe version of pTexelBufferView.