Class VkIndirectCommandsStreamNV

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

    public class VkIndirectCommandsStreamNV
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Structure specifying input streams for generated command tokens.
    Valid Usage
    Valid Usage (Implicit)
    • buffer must be a valid VkBuffer handle
    See Also

    VkGeneratedCommandsInfoNV

    Layout

    
     struct VkIndirectCommandsStreamNV {
         VkBuffer buffer();
         VkDeviceSize offset();
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • BUFFER, OFFSET

        The struct member offsets.
    • Constructor Detail

      • VkIndirectCommandsStreamNV

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

        public long buffer()
        specifies the VkBuffer storing the functional arguments for each sequence. These arguments can be written by the device.
      • offset

        public long offset()
        specified an offset into buffer where the arguments start.
      • malloc

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

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

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

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

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

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

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

        public static long nbuffer​(long struct)
        Unsafe version of buffer().
      • noffset

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

        public static void nbuffer​(long struct,
                                   long value)
        Unsafe version of buffer.
      • noffset

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