Class VkDeviceGeneratedCommandsLimitsNVX

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

    public class VkDeviceGeneratedCommandsLimitsNVX
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure specifying physical device limits.
    Valid Usage (Implicit)
    See Also

    GetPhysicalDeviceGeneratedCommandsPropertiesNVX

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • maxIndirectCommandsLayoutTokenCount – the maximum number of tokens in VkIndirectCommandsLayoutNVX.
    • maxObjectEntryCounts – the maximum number of entries per resource type in VkObjectTableNVX.
    • minSequenceCountBufferOffsetAlignment – the minimum alignment for memory addresses optionally used in vkCmdProcessCommandsNVX.
    • minSequenceIndexBufferOffsetAlignment – the minimum alignment for memory addresses optionally used in vkCmdProcessCommandsNVX.
    • minCommandsTokenBufferOffsetAlignment – the minimum alignment for memory addresses optionally used in vkCmdProcessCommandsNVX.

    Layout

    
     struct VkDeviceGeneratedCommandsLimitsNVX {
         VkStructureType sType;
         void const * pNext;
         uint32_t maxIndirectCommandsLayoutTokenCount;
         uint32_t maxObjectEntryCounts;
         uint32_t minSequenceCountBufferOffsetAlignment;
         uint32_t minSequenceIndexBufferOffsetAlignment;
         uint32_t minCommandsTokenBufferOffsetAlignment;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, MAXINDIRECTCOMMANDSLAYOUTTOKENCOUNT, MAXOBJECTENTRYCOUNTS, MINSEQUENCECOUNTBUFFEROFFSETALIGNMENT, MINSEQUENCEINDEXBUFFEROFFSETALIGNMENT, MINCOMMANDSTOKENBUFFEROFFSETALIGNMENT

        The struct member offsets.
    • Constructor Detail

      • VkDeviceGeneratedCommandsLimitsNVX

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

        public int maxIndirectCommandsLayoutTokenCount()
        Returns the value of the maxIndirectCommandsLayoutTokenCount field.
      • maxObjectEntryCounts

        public int maxObjectEntryCounts()
        Returns the value of the maxObjectEntryCounts field.
      • minSequenceCountBufferOffsetAlignment

        public int minSequenceCountBufferOffsetAlignment()
        Returns the value of the minSequenceCountBufferOffsetAlignment field.
      • minSequenceIndexBufferOffsetAlignment

        public int minSequenceIndexBufferOffsetAlignment()
        Returns the value of the minSequenceIndexBufferOffsetAlignment field.
      • minCommandsTokenBufferOffsetAlignment

        public int minCommandsTokenBufferOffsetAlignment()
        Returns the value of the minCommandsTokenBufferOffsetAlignment field.
      • maxIndirectCommandsLayoutTokenCount

        public VkDeviceGeneratedCommandsLimitsNVX maxIndirectCommandsLayoutTokenCount​(int value)
        Sets the specified value to the maxIndirectCommandsLayoutTokenCount field.
      • minSequenceCountBufferOffsetAlignment

        public VkDeviceGeneratedCommandsLimitsNVX minSequenceCountBufferOffsetAlignment​(int value)
        Sets the specified value to the minSequenceCountBufferOffsetAlignment field.
      • minSequenceIndexBufferOffsetAlignment

        public VkDeviceGeneratedCommandsLimitsNVX minSequenceIndexBufferOffsetAlignment​(int value)
        Sets the specified value to the minSequenceIndexBufferOffsetAlignment field.
      • minCommandsTokenBufferOffsetAlignment

        public VkDeviceGeneratedCommandsLimitsNVX minCommandsTokenBufferOffsetAlignment​(int value)
        Sets the specified value to the minCommandsTokenBufferOffsetAlignment field.
      • set

        public VkDeviceGeneratedCommandsLimitsNVX set​(int sType,
                                                      long pNext,
                                                      int maxIndirectCommandsLayoutTokenCount,
                                                      int maxObjectEntryCounts,
                                                      int minSequenceCountBufferOffsetAlignment,
                                                      int minSequenceIndexBufferOffsetAlignment,
                                                      int minCommandsTokenBufferOffsetAlignment)
        Initializes this struct with the specified values.
      • malloc

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

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

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

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

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

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

        public static VkDeviceGeneratedCommandsLimitsNVX callocStack​(org.lwjgl.system.MemoryStack stack)
        Returns a new VkDeviceGeneratedCommandsLimitsNVX 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().
      • nmaxObjectEntryCounts

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

        public static void nmaxIndirectCommandsLayoutTokenCount​(long struct,
                                                                int value)
      • nmaxObjectEntryCounts

        public static void nmaxObjectEntryCounts​(long struct,
                                                 int value)
        Unsafe version of maxObjectEntryCounts.
      • nminSequenceCountBufferOffsetAlignment

        public static void nminSequenceCountBufferOffsetAlignment​(long struct,
                                                                  int value)
      • nminSequenceIndexBufferOffsetAlignment

        public static void nminSequenceIndexBufferOffsetAlignment​(long struct,
                                                                  int value)
      • nminCommandsTokenBufferOffsetAlignment

        public static void nminCommandsTokenBufferOffsetAlignment​(long struct,
                                                                  int value)