Class VkCopyDescriptorSet

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, SRCSET, SRCBINDING, SRCARRAYELEMENT, DSTSET, DSTBINDING, DSTARRAYELEMENT, DESCRIPTORCOUNT

        The struct member offsets.
    • Constructor Detail

      • VkCopyDescriptorSet

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

        public long srcSet()
        srcSet, srcBinding, and srcArrayElement are the source set, binding, and array element, respectively. If the descriptor binding identified by srcSet and srcBinding has a descriptor type of DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK then srcArrayElement specifies the starting byte offset within the binding to copy from.
      • srcBinding, srcArrayElement

        public int srcBinding()
        
        public int srcArrayElement()
        
        see srcSet
      • dstSet

        public long dstSet()
        dstSet, dstBinding, and dstArrayElement are the destination set, binding, and array element, respectively. If the descriptor binding identified by dstSet and dstBinding has a descriptor type of DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK then dstArrayElement specifies the starting byte offset within the binding to copy to.
      • dstBinding, dstArrayElement

        public int dstBinding()
        
        public int dstArrayElement()
        
        see dstSet
      • descriptorCount

        public int descriptorCount()
        the number of descriptors to copy from the source to destination. If descriptorCount is greater than the number of remaining array elements in the source or destination binding, those affect consecutive bindings in a manner similar to VkWriteDescriptorSet above. If the descriptor binding identified by srcSet and srcBinding has a descriptor type of DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK then descriptorCount specifies the number of bytes to copy and the remaining array elements in the source or destination binding refer to the remaining number of bytes in those.
      • set

        public VkCopyDescriptorSet set​(int sType,
                                       long pNext,
                                       long srcSet,
                                       int srcBinding,
                                       int srcArrayElement,
                                       long dstSet,
                                       int dstBinding,
                                       int dstArrayElement,
                                       int descriptorCount)
        Initializes this struct with the specified values.
      • malloc

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

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

        public static VkCopyDescriptorSet create()
        Returns a new VkCopyDescriptorSet instance allocated with BufferUtils.
      • create

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

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

        @Deprecated
        public static VkCopyDescriptorSet mallocStack​(org.lwjgl.system.MemoryStack stack)
        Deprecated.
        Deprecated for removal in 3.4.0. Use malloc(MemoryStack) instead.
      • callocStack

        @Deprecated
        public static VkCopyDescriptorSet callocStack​(org.lwjgl.system.MemoryStack stack)
        Deprecated.
        Deprecated for removal in 3.4.0. Use calloc(MemoryStack) instead.
      • malloc

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

        public static VkCopyDescriptorSet calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkCopyDescriptorSet instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • malloc

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

        public static VkCopyDescriptorSet.Buffer calloc​(int capacity,
                                                        org.lwjgl.system.MemoryStack stack)
        Returns a new VkCopyDescriptorSet.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • nsType

        public static int nsType​(long struct)
        Unsafe version of sType().
      • npNext

        public static long npNext​(long struct)
        Unsafe version of pNext().
      • nsrcSet

        public static long nsrcSet​(long struct)
        Unsafe version of srcSet().
      • nsrcBinding

        public static int nsrcBinding​(long struct)
        Unsafe version of srcBinding().
      • nsrcArrayElement

        public static int nsrcArrayElement​(long struct)
        Unsafe version of srcArrayElement().
      • 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().
      • 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.
      • nsrcSet

        public static void nsrcSet​(long struct,
                                   long value)
        Unsafe version of srcSet.
      • nsrcBinding

        public static void nsrcBinding​(long struct,
                                       int value)
        Unsafe version of srcBinding.
      • nsrcArrayElement

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