Class ExrProgressInfo.Buffer

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

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

    • Buffer

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

    • percent_complete

      @NativeType("int32_t") public int percent_complete()
      Returns:
      the value of the percent_complete field.
    • current_block

      @NativeType("int32_t") public int current_block()
      Returns:
      the value of the current_block field.
    • total_blocks

      @NativeType("int32_t") public int total_blocks()
      Returns:
      the value of the total_blocks field.
    • bytes_processed

      @NativeType("uint64_t") public long bytes_processed()
      Returns:
      the value of the bytes_processed field.
    • bytes_total

      @NativeType("uint64_t") public long bytes_total()
      Returns:
      the value of the bytes_total field.
    • percent_complete

      public ExrProgressInfo.Buffer percent_complete(@NativeType("int32_t") int value)
      Sets the specified value to the percent_complete field.
    • current_block

      public ExrProgressInfo.Buffer current_block(@NativeType("int32_t") int value)
      Sets the specified value to the current_block field.
    • total_blocks

      public ExrProgressInfo.Buffer total_blocks(@NativeType("int32_t") int value)
      Sets the specified value to the total_blocks field.
    • bytes_processed

      public ExrProgressInfo.Buffer bytes_processed(@NativeType("uint64_t") long value)
      Sets the specified value to the bytes_processed field.
    • bytes_total

      public ExrProgressInfo.Buffer bytes_total(@NativeType("uint64_t") long value)
      Sets the specified value to the bytes_total field.