Class VkPipelineExecutableInfoKHR

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

    public class VkPipelineExecutableInfoKHR
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure describing a pipeline executable to query for associated statistics or internal representations.
    Valid Usage
    • executableIndex must be less than the number of executables associated with pipeline as returned in the pExecutableCount parameter of vkGetPipelineExecutablePropertiesKHR.
    Valid Usage (Implicit)
    See Also

    GetPipelineExecutableInternalRepresentationsKHR, GetPipelineExecutableStatisticsKHR

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • pipeline – the pipeline to query.
    • executableIndex – the index of the executable to query in the array of executable properties returned by GetPipelineExecutablePropertiesKHR.

    Layout

    
     struct VkPipelineExecutableInfoKHR {
         VkStructureType sType;
         void const * pNext;
         VkPipeline pipeline;
         uint32_t executableIndex;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

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

        The struct member offsets.
    • Constructor Detail

      • VkPipelineExecutableInfoKHR

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

        public int executableIndex()
        Returns the value of the executableIndex field.
      • executableIndex

        public VkPipelineExecutableInfoKHR executableIndex​(int value)
        Sets the specified value to the executableIndex field.
      • set

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

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

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

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

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

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

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

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

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

        public static VkPipelineExecutableInfoKHR.Buffer callocStack​(int capacity,
                                                                     org.lwjgl.system.MemoryStack stack)
        Returns a new VkPipelineExecutableInfoKHR.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().
      • npipeline

        public static long npipeline​(long struct)
        Unsafe version of pipeline().
      • nexecutableIndex

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

        public static void nexecutableIndex​(long struct,
                                            int value)
        Unsafe version of executableIndex.