Class VkCuLaunchInfoNVX.Buffer

    • Constructor Detail

      • Buffer

        public Buffer​(java.nio.ByteBuffer container)
        Creates a new VkCuLaunchInfoNVX.Buffer instance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkCuLaunchInfoNVX.SIZEOF, and its mark will be undefined.

        The created buffer instance holds a strong reference to the container object.

      • Buffer

        public Buffer​(long address,
                      int cap)
    • Method Detail

      • sType

        public int sType()
        Returns:
        the value of the sType field.
      • pNext

        public long pNext()
        Returns:
        the value of the pNext field.
      • function

        public long function()
        Returns:
        the value of the function field.
      • gridDimX

        public int gridDimX()
        Returns:
        the value of the gridDimX field.
      • gridDimY

        public int gridDimY()
        Returns:
        the value of the gridDimY field.
      • gridDimZ

        public int gridDimZ()
        Returns:
        the value of the gridDimZ field.
      • blockDimX

        public int blockDimX()
        Returns:
        the value of the blockDimX field.
      • blockDimY

        public int blockDimY()
        Returns:
        the value of the blockDimY field.
      • blockDimZ

        public int blockDimZ()
        Returns:
        the value of the blockDimZ field.
      • sharedMemBytes

        public int sharedMemBytes()
        Returns:
        the value of the sharedMemBytes field.
      • paramCount

        public long paramCount()
        Returns:
        the value of the paramCount field.
      • pParams

        @Nullable
        public org.lwjgl.PointerBuffer pParams()
        Returns:
        a PointerBuffer view of the data pointed to by the pParams field.
      • extraCount

        public long extraCount()
        Returns:
        the value of the extraCount field.
      • pExtras

        @Nullable
        public org.lwjgl.PointerBuffer pExtras()
        Returns:
        a PointerBuffer view of the data pointed to by the pExtras field.
      • sharedMemBytes

        public VkCuLaunchInfoNVX.Buffer sharedMemBytes​(int value)
        Sets the specified value to the sharedMemBytes field.
      • pParams

        public VkCuLaunchInfoNVX.Buffer pParams​(@Nullable
                                                org.lwjgl.PointerBuffer value)
        Sets the address of the specified PointerBuffer to the pParams field.
      • pExtras

        public VkCuLaunchInfoNVX.Buffer pExtras​(@Nullable
                                                org.lwjgl.PointerBuffer value)
        Sets the address of the specified PointerBuffer to the pExtras field.