Class ExrSubmitInfo.Buffer

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

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

    • Buffer

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

    • command_buffer_count

      @NativeType("uint32_t") public int command_buffer_count()
      Returns:
      the value of the command_buffer_count field.
    • command_buffers

      @NativeType("ExrCommandBuffer const *") public PointerBuffer command_buffers()
      Returns:
      a PointerBuffer view of the data pointed to by the command_buffers field.
    • signal_fence

      @NativeType("ExrFence") public long signal_fence()
      Returns:
      the value of the signal_fence field.
    • on_complete

      public @Nullable ExrSubmitComplete on_complete()
      Returns:
      the value of the on_complete field.
    • userdata

      @NativeType("void *") public long userdata()
      Returns:
      the value of the userdata field.
    • command_buffers

      public ExrSubmitInfo.Buffer command_buffers(@NativeType("ExrCommandBuffer const *") PointerBuffer value)
      Sets the address of the specified PointerBuffer to the command_buffers field.
    • signal_fence

      public ExrSubmitInfo.Buffer signal_fence(@NativeType("ExrFence") long value)
      Sets the specified value to the signal_fence field.
    • on_complete

      public ExrSubmitInfo.Buffer on_complete(@NativeType("ExrSubmitComplete") @Nullable ExrSubmitCompleteI value)
      Sets the specified value to the on_complete field.
    • userdata

      public ExrSubmitInfo.Buffer userdata(@NativeType("void *") long value)
      Sets the specified value to the userdata field.