Class VkIndirectCommandsLayoutTokenNV

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, TOKENTYPE, STREAM, OFFSET, VERTEXBINDINGUNIT, VERTEXDYNAMICSTRIDE, PUSHCONSTANTPIPELINELAYOUT, PUSHCONSTANTSHADERSTAGEFLAGS, PUSHCONSTANTOFFSET, PUSHCONSTANTSIZE, INDIRECTSTATEFLAGS, INDEXTYPECOUNT, PINDEXTYPES, PINDEXTYPEVALUES

        The struct member offsets.
    • Constructor Detail

      • VkIndirectCommandsLayoutTokenNV

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

        public int tokenType()
        specifies the token command type.
      • stream$

        public int stream$()
        the index of the input stream containing the token argument data.
      • offset

        public int offset()
        a relative starting offset within the input stream memory for the token argument data.
      • vertexBindingUnit

        public int vertexBindingUnit()
        used for the vertex buffer binding command.
      • vertexDynamicStride

        public boolean vertexDynamicStride()
        sets if the vertex buffer stride is provided by the binding command rather than the current bound graphics pipeline state.
      • pushconstantPipelineLayout

        public long pushconstantPipelineLayout()
        the VkPipelineLayout used for the push constant command.
      • pushconstantShaderStageFlags

        public int pushconstantShaderStageFlags()
        are the shader stage flags used for the push constant command.
      • pushconstantOffset

        public int pushconstantOffset()
        the offset used for the push constant command.
      • pushconstantSize

        public int pushconstantSize()
        the size used for the push constant command.
      • indirectStateFlags

        public int indirectStateFlags()
        are the active states for the state flag command.
      • indexTypeCount

        public int indexTypeCount()
        the optional size of the pIndexTypes and pIndexTypeValues array pairings. If not zero, it allows to register a custom uint32_t value to be treated as specific VkIndexType.
      • pIndexTypes

        @Nullable
        public java.nio.IntBuffer pIndexTypes()
        the used VkIndexType for the corresponding uint32_t value entry in pIndexTypeValues.
      • pIndexTypeValues

        @Nullable
        public java.nio.IntBuffer pIndexTypeValues()
        Returns:
        a IntBuffer view of the data pointed to by the pIndexTypeValues field.
      • pIndexTypeValues

        public VkIndirectCommandsLayoutTokenNV pIndexTypeValues​(@Nullable
                                                                java.nio.IntBuffer value)
        Sets the address of the specified IntBuffer to the pIndexTypeValues field.
      • set

        public VkIndirectCommandsLayoutTokenNV set​(int sType,
                                                   long pNext,
                                                   int tokenType,
                                                   int stream$,
                                                   int offset,
                                                   int vertexBindingUnit,
                                                   boolean vertexDynamicStride,
                                                   long pushconstantPipelineLayout,
                                                   int pushconstantShaderStageFlags,
                                                   int pushconstantOffset,
                                                   int pushconstantSize,
                                                   int indirectStateFlags,
                                                   int indexTypeCount,
                                                   @Nullable
                                                   java.nio.IntBuffer pIndexTypes,
                                                   @Nullable
                                                   java.nio.IntBuffer pIndexTypeValues)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

        public static int ntokenType​(long struct)
        Unsafe version of tokenType().
      • nstream$

        public static int nstream$​(long struct)
        Unsafe version of stream$().
      • noffset

        public static int noffset​(long struct)
        Unsafe version of offset().
      • nvertexBindingUnit

        public static int nvertexBindingUnit​(long struct)
        Unsafe version of vertexBindingUnit().
      • nvertexDynamicStride

        public static int nvertexDynamicStride​(long struct)
        Unsafe version of vertexDynamicStride().
      • npushconstantPipelineLayout

        public static long npushconstantPipelineLayout​(long struct)
        Unsafe version of pushconstantPipelineLayout().
      • npushconstantOffset

        public static int npushconstantOffset​(long struct)
        Unsafe version of pushconstantOffset().
      • npushconstantSize

        public static int npushconstantSize​(long struct)
        Unsafe version of pushconstantSize().
      • nindirectStateFlags

        public static int nindirectStateFlags​(long struct)
        Unsafe version of indirectStateFlags().
      • nindexTypeCount

        public static int nindexTypeCount​(long struct)
        Unsafe version of indexTypeCount().
      • npIndexTypes

        @Nullable
        public static java.nio.IntBuffer npIndexTypes​(long struct)
        Unsafe version of pIndexTypes.
      • npIndexTypeValues

        @Nullable
        public static java.nio.IntBuffer npIndexTypeValues​(long struct)
        Unsafe version of pIndexTypeValues.
      • 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.
      • ntokenType

        public static void ntokenType​(long struct,
                                      int value)
        Unsafe version of tokenType.
      • nstream$

        public static void nstream$​(long struct,
                                    int value)
        Unsafe version of stream$.
      • noffset

        public static void noffset​(long struct,
                                   int value)
        Unsafe version of offset.
      • nvertexBindingUnit

        public static void nvertexBindingUnit​(long struct,
                                              int value)
        Unsafe version of vertexBindingUnit.
      • nvertexDynamicStride

        public static void nvertexDynamicStride​(long struct,
                                                int value)
        Unsafe version of vertexDynamicStride.
      • npushconstantPipelineLayout

        public static void npushconstantPipelineLayout​(long struct,
                                                       long value)
        Unsafe version of pushconstantPipelineLayout.
      • npushconstantShaderStageFlags

        public static void npushconstantShaderStageFlags​(long struct,
                                                         int value)
        Unsafe version of pushconstantShaderStageFlags.
      • npushconstantOffset

        public static void npushconstantOffset​(long struct,
                                               int value)
        Unsafe version of pushconstantOffset.
      • npushconstantSize

        public static void npushconstantSize​(long struct,
                                             int value)
        Unsafe version of pushconstantSize.
      • nindirectStateFlags

        public static void nindirectStateFlags​(long struct,
                                               int value)
        Unsafe version of indirectStateFlags.
      • nindexTypeCount

        public static void nindexTypeCount​(long struct,
                                           int value)
        Sets the specified value to the indexTypeCount field of the specified struct.
      • npIndexTypes

        public static void npIndexTypes​(long struct,
                                        @Nullable
                                        java.nio.IntBuffer value)
        Unsafe version of pIndexTypes.
      • npIndexTypeValues

        public static void npIndexTypeValues​(long struct,
                                             @Nullable
                                             java.nio.IntBuffer value)
        Unsafe version of pIndexTypeValues.
      • validate

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