Class CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer>
org.lwjgl.system.StructBuffer<CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS,CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer>
org.lwjgl.cuda.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer
All Implemented Interfaces:
AutoCloseable, Iterable<CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS>, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Enclosing class:
CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS

public static class CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer extends org.lwjgl.system.StructBuffer<CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS,CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer> implements org.lwjgl.system.NativeResource
  • Constructor Details

    • Buffer

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

    • params_fence_value

      public long params_fence_value()
      Returns:
      the value of the params.fence.value field.
    • params_nvSciSync_fence

      public long params_nvSciSync_fence()
      Returns:
      the value of the params.nvSciSync.fence field.
    • params_nvSciSync_reserved

      public long params_nvSciSync_reserved()
      Returns:
      the value of the params.nvSciSync.reserved field.
    • params_keyedMutex_key

      public long params_keyedMutex_key()
      Returns:
      the value of the params.keyedMutex.key field.
    • params_keyedMutex_timeoutMs

      public int params_keyedMutex_timeoutMs()
      Returns:
      the value of the params.keyedMutex.timeoutMs field.
    • params_reserved

      public IntBuffer params_reserved()
      Returns:
      a IntBuffer view of the params.reserved field.
    • params_reserved

      public int params_reserved(int index)
      Returns:
      the value at the specified index of the params.reserved field.
    • flags

      public int flags()
      Returns:
      the value of the flags field.
    • reserved

      public IntBuffer reserved()
      Returns:
      a IntBuffer view of the reserved field.
    • reserved

      public int reserved(int index)
      Returns:
      the value at the specified index of the reserved field.
    • params_fence_value

      public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer params_fence_value(long value)
      Sets the specified value to the value field.
    • params_nvSciSync_fence

      public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer params_nvSciSync_fence(long value)
      Sets the specified value to the fence field.
    • params_nvSciSync_reserved

      public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer params_nvSciSync_reserved(long value)
      Sets the specified value to the reserved field.
    • params_keyedMutex_key

      public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer params_keyedMutex_key(long value)
      Sets the specified value to the key field.
    • params_keyedMutex_timeoutMs

      public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer params_keyedMutex_timeoutMs(int value)
      Sets the specified value to the timeoutMs field.
    • params_reserved

      public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer params_reserved(IntBuffer value)
      Copies the specified IntBuffer to the reserved field.
    • params_reserved

      public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer params_reserved(int index, int value)
      Sets the specified value at the specified index of the reserved field.
    • flags

      Sets the specified value to the flags field.
    • reserved

      Copies the specified IntBuffer to the reserved field.
    • reserved

      public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer reserved(int index, int value)
      Sets the specified value at the specified index of the reserved field.