Class VkGeneratedCommandsInfoNV

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, PIPELINEBINDPOINT, PIPELINE, INDIRECTCOMMANDSLAYOUT, STREAMCOUNT, PSTREAMS, SEQUENCESCOUNT, PREPROCESSBUFFER, PREPROCESSOFFSET, PREPROCESSSIZE, SEQUENCESCOUNTBUFFER, SEQUENCESCOUNTOFFSET, SEQUENCESINDEXBUFFER, SEQUENCESINDEXOFFSET

        The struct member offsets.
    • Constructor Detail

      • VkGeneratedCommandsInfoNV

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

        public int pipelineBindPoint()
        the VkPipelineBindPoint used for the pipeline.
      • pipeline

        public long pipeline()
        the VkPipeline used in the generation and execution process.
      • indirectCommandsLayout

        public long indirectCommandsLayout()
        the VkIndirectCommandsLayoutNV that provides the command sequence to generate.
      • streamCount

        public int streamCount()
        defines the number of input streams
      • sequencesCount

        public int sequencesCount()
        the maximum number of sequences to reserve. If sequencesCountBuffer is NULL_HANDLE, this is also the actual number of sequences generated.
      • preprocessBuffer

        public long preprocessBuffer()
        the VkBuffer that is used for preprocessing the input data for execution. If this structure is used with CmdExecuteGeneratedCommandsNV with its isPreprocessed set to VK_TRUE, then the preprocessing step is skipped and data is only read from this buffer.
      • preprocessOffset

        public long preprocessOffset()
        the byte offset into preprocessBuffer where the preprocessed data is stored.
      • preprocessSize

        public long preprocessSize()
        the maximum byte size within the preprocessBuffer after the preprocessOffset that is available for preprocessing.
      • sequencesCountBuffer

        public long sequencesCountBuffer()
        a VkBuffer in which the actual number of sequences is provided as single uint32_t value.
      • sequencesCountOffset

        public long sequencesCountOffset()
        the byte offset into sequencesCountBuffer where the count value is stored.
      • sequencesIndexBuffer

        public long sequencesIndexBuffer()
        a VkBuffer that encodes the used sequence indices as uint32_t array.
      • sequencesIndexOffset

        public long sequencesIndexOffset()
        the byte offset into sequencesIndexBuffer where the index values start.
      • set

        public VkGeneratedCommandsInfoNV set​(int sType,
                                             long pNext,
                                             int pipelineBindPoint,
                                             long pipeline,
                                             long indirectCommandsLayout,
                                             VkIndirectCommandsStreamNV.Buffer pStreams,
                                             int sequencesCount,
                                             long preprocessBuffer,
                                             long preprocessOffset,
                                             long preprocessSize,
                                             long sequencesCountBuffer,
                                             long sequencesCountOffset,
                                             long sequencesIndexBuffer,
                                             long sequencesIndexOffset)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

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

        public static int npipelineBindPoint​(long struct)
        Unsafe version of pipelineBindPoint().
      • npipeline

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

        public static long nindirectCommandsLayout​(long struct)
        Unsafe version of indirectCommandsLayout().
      • nstreamCount

        public static int nstreamCount​(long struct)
        Unsafe version of streamCount().
      • nsequencesCount

        public static int nsequencesCount​(long struct)
        Unsafe version of sequencesCount().
      • npreprocessBuffer

        public static long npreprocessBuffer​(long struct)
        Unsafe version of preprocessBuffer().
      • npreprocessOffset

        public static long npreprocessOffset​(long struct)
        Unsafe version of preprocessOffset().
      • npreprocessSize

        public static long npreprocessSize​(long struct)
        Unsafe version of preprocessSize().
      • nsequencesCountBuffer

        public static long nsequencesCountBuffer​(long struct)
        Unsafe version of sequencesCountBuffer().
      • nsequencesCountOffset

        public static long nsequencesCountOffset​(long struct)
        Unsafe version of sequencesCountOffset().
      • nsequencesIndexBuffer

        public static long nsequencesIndexBuffer​(long struct)
        Unsafe version of sequencesIndexBuffer().
      • nsequencesIndexOffset

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

        public static void npipelineBindPoint​(long struct,
                                              int value)
        Unsafe version of pipelineBindPoint.
      • npipeline

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

        public static void nindirectCommandsLayout​(long struct,
                                                   long value)
        Unsafe version of indirectCommandsLayout.
      • nstreamCount

        public static void nstreamCount​(long struct,
                                        int value)
        Sets the specified value to the streamCount field of the specified struct.
      • nsequencesCount

        public static void nsequencesCount​(long struct,
                                           int value)
        Unsafe version of sequencesCount.
      • npreprocessBuffer

        public static void npreprocessBuffer​(long struct,
                                             long value)
        Unsafe version of preprocessBuffer.
      • npreprocessOffset

        public static void npreprocessOffset​(long struct,
                                             long value)
        Unsafe version of preprocessOffset.
      • npreprocessSize

        public static void npreprocessSize​(long struct,
                                           long value)
        Unsafe version of preprocessSize.
      • nsequencesCountBuffer

        public static void nsequencesCountBuffer​(long struct,
                                                 long value)
        Unsafe version of sequencesCountBuffer.
      • nsequencesCountOffset

        public static void nsequencesCountOffset​(long struct,
                                                 long value)
        Unsafe version of sequencesCountOffset.
      • nsequencesIndexBuffer

        public static void nsequencesIndexBuffer​(long struct,
                                                 long value)
        Unsafe version of sequencesIndexBuffer.
      • nsequencesIndexOffset

        public static void nsequencesIndexOffset​(long struct,
                                                 long value)
        Unsafe version of sequencesIndexOffset.
      • validate

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