Class VkCudaLaunchInfoNV.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<VkCudaLaunchInfoNV>, NativeResource, Pointer
Enclosing class:
VkCudaLaunchInfoNV

public static class VkCudaLaunchInfoNV.Buffer extends StructBuffer<VkCudaLaunchInfoNV,VkCudaLaunchInfoNV.Buffer> implements NativeResource
An array of VkCudaLaunchInfoNV structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkCudaLaunchInfoNV.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 VkCudaLaunchInfoNV.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 Details

    • 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

      public @Nullable 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

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

      public VkCudaLaunchInfoNV.Buffer sType(int value)
      Sets the specified value to the sType field.
    • sType$Default

      public VkCudaLaunchInfoNV.Buffer sType$Default()
      Sets the STRUCTURE_TYPE_CUDA_LAUNCH_INFO_NV value to the sType field.
    • pNext

      public VkCudaLaunchInfoNV.Buffer pNext(long value)
      Sets the specified value to the pNext field.
    • function

      public VkCudaLaunchInfoNV.Buffer function(long value)
      Sets the specified value to the function field.
    • gridDimX

      public VkCudaLaunchInfoNV.Buffer gridDimX(int value)
      Sets the specified value to the gridDimX field.
    • gridDimY

      public VkCudaLaunchInfoNV.Buffer gridDimY(int value)
      Sets the specified value to the gridDimY field.
    • gridDimZ

      public VkCudaLaunchInfoNV.Buffer gridDimZ(int value)
      Sets the specified value to the gridDimZ field.
    • blockDimX

      public VkCudaLaunchInfoNV.Buffer blockDimX(int value)
      Sets the specified value to the blockDimX field.
    • blockDimY

      public VkCudaLaunchInfoNV.Buffer blockDimY(int value)
      Sets the specified value to the blockDimY field.
    • blockDimZ

      public VkCudaLaunchInfoNV.Buffer blockDimZ(int value)
      Sets the specified value to the blockDimZ field.
    • sharedMemBytes

      public VkCudaLaunchInfoNV.Buffer sharedMemBytes(int value)
      Sets the specified value to the sharedMemBytes field.
    • paramCount

      public VkCudaLaunchInfoNV.Buffer paramCount(long value)
      Sets the specified value to the paramCount field.
    • pParams

      public VkCudaLaunchInfoNV.Buffer pParams(@Nullable PointerBuffer value)
      Sets the address of the specified PointerBuffer to the pParams field.
    • extraCount

      public VkCudaLaunchInfoNV.Buffer extraCount(long value)
      Sets the specified value to the extraCount field.
    • pExtras

      public VkCudaLaunchInfoNV.Buffer pExtras(@Nullable PointerBuffer value)
      Sets the address of the specified PointerBuffer to the pExtras field.