Class ExrTileWrite.Buffer

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

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

    • Buffer

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

    • image

      @NativeType("ExrWriteImage") public long image()
      Returns:
      the value of the image field.
    • tile_x

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

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

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

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

      public ExrBuffer input()
      Returns:
      a ExrBuffer view of the input field.
    • input_layout

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

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

      public ExrTileWrite.Buffer image(@NativeType("ExrWriteImage") long value)
      Sets the specified value to the image field.
    • tile_x

      public ExrTileWrite.Buffer tile_x(@NativeType("int32_t") int value)
      Sets the specified value to the tile_x field.
    • tile_y

      public ExrTileWrite.Buffer tile_y(@NativeType("int32_t") int value)
      Sets the specified value to the tile_y field.
    • level_x

      public ExrTileWrite.Buffer level_x(@NativeType("int32_t") int value)
      Sets the specified value to the level_x field.
    • level_y

      public ExrTileWrite.Buffer level_y(@NativeType("int32_t") int value)
      Sets the specified value to the level_y field.
    • input

      public ExrTileWrite.Buffer input(ExrBuffer value)
      Copies the specified ExrBuffer to the input field.
    • input

      public ExrTileWrite.Buffer input(Consumer<ExrBuffer> consumer)
      Passes the input field to the specified Consumer.
    • input_layout

      public ExrTileWrite.Buffer input_layout(@NativeType("uint32_t") int value)
      Sets the specified value to the input_layout field.
    • input_pixel_type

      public ExrTileWrite.Buffer input_pixel_type(@NativeType("uint32_t") int value)
      Sets the specified value to the input_pixel_type field.