Class VkCmdReserveSpaceForCommandsInfoNVX

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

    public class VkCmdReserveSpaceForCommandsInfoNVX
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure specifying parameters for the reservation of command buffer space.
    Valid Usage (Implicit)
    • sType must be STRUCTURE_TYPE_CMD_RESERVE_SPACE_FOR_COMMANDS_INFO_NVX
    • pNext must be NULL
    • objectTable must be a valid VkObjectTableNVX handle
    • indirectCommandsLayout must be a valid VkIndirectCommandsLayoutNVX handle
    • Both of indirectCommandsLayout, and objectTable must have been created, allocated, or retrieved from the same VkDevice
    Host Synchronization
    • Host access to objectTable must be externally synchronized
    See Also

    CmdReserveSpaceForCommandsNVX

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • objectTable – the VkObjectTableNVX to be used for the generation process. Only registered objects at the time CmdReserveSpaceForCommandsNVX is called, will be taken into account for the reservation.
    • indirectCommandsLayout – the VkIndirectCommandsLayoutNVX that must also be used at generation time.
    • maxSequencesCount – the maximum number of sequences for which command buffer space will be reserved.

    Layout

    
     struct VkCmdReserveSpaceForCommandsInfoNVX {
         VkStructureType sType;
         void const * pNext;
         VkObjectTableNVX objectTable;
         VkIndirectCommandsLayoutNVX indirectCommandsLayout;
         uint32_t maxSequencesCount;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, OBJECTTABLE, INDIRECTCOMMANDSLAYOUT, MAXSEQUENCESCOUNT

        The struct member offsets.
    • Constructor Detail

      • VkCmdReserveSpaceForCommandsInfoNVX

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