Class VkPipelineLibraryCreateInfoKHR

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class VkPipelineLibraryCreateInfoKHR
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure specifying pipeline libraries to use when creating a pipeline.
    Valid Usage
    Valid Usage (Implicit)
    See Also

    VkRayTracingPipelineCreateInfoKHR

    Layout

    
     struct VkPipelineLibraryCreateInfoKHR {
         VkStructureType sType();
         void const * pNext();
         uint32_t libraryCount();
         VkPipeline const * pLibraries();
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, LIBRARYCOUNT, PLIBRARIES

        The struct member offsets.
    • Constructor Detail

      • VkPipelineLibraryCreateInfoKHR

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

        public int libraryCount()
        the number of pipeline libraries in pLibraries.
      • pLibraries

        @Nullable
        public java.nio.LongBuffer pLibraries()
        a pointer to an array of VkPipeline structures specifying pipeline libraries to use when creating a pipeline.
      • set

        public VkPipelineLibraryCreateInfoKHR set​(int sType,
                                                  long pNext,
                                                  @Nullable
                                                  java.nio.LongBuffer pLibraries)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

        public static VkPipelineLibraryCreateInfoKHR calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkPipelineLibraryCreateInfoKHR 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().
      • nlibraryCount

        public static int nlibraryCount​(long struct)
        Unsafe version of libraryCount().
      • npLibraries

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

        public static void nlibraryCount​(long struct,
                                         int value)
        Sets the specified value to the libraryCount field of the specified struct.
      • npLibraries

        public static void npLibraries​(long struct,
                                       @Nullable
                                       java.nio.LongBuffer value)
        Unsafe version of pLibraries.
      • validate

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