Class VkPipelineInfoKHR

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

    public class VkPipelineInfoKHR
    extends Struct
    implements NativeResource
    Structure describing a pipeline.
    Valid Usage (Implicit)
    See Also

    GetPipelineExecutablePropertiesKHR

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • pipeline – a VkPipeline handle.

    Layout

    
     struct VkPipelineInfoKHR {
         VkStructureType sType;
         void const * pNext;
         VkPipeline pipeline;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, PIPELINE

        The struct member offsets.
    • Constructor Detail

      • VkPipelineInfoKHR

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

        public long pipeline()
        Returns the value of the pipeline field.
      • sType

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

        public VkPipelineInfoKHR pNext​(long value)
        Sets the specified value to the pNext field.
      • pipeline

        public VkPipelineInfoKHR pipeline​(long value)
        Sets the specified value to the pipeline field.
      • set

        public VkPipelineInfoKHR set​(int sType,
                                     long pNext,
                                     long pipeline)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

        public static VkPipelineInfoKHR mallocStack()
        Returns a new VkPipelineInfoKHR instance allocated on the thread-local MemoryStack.
      • callocStack

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

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

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

        public static long npipeline​(long struct)
        Unsafe version of pipeline().
      • 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.
      • npipeline

        public static void npipeline​(long struct,
                                     long value)
        Unsafe version of pipeline.