Class spng_chrm_int.Buffer

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

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

    • Buffer

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

    • white_point_x

      public int white_point_x()
      Returns:
      the value of the white_point_x field.
    • white_point_y

      public int white_point_y()
      Returns:
      the value of the white_point_y field.
    • red_x

      public int red_x()
      Returns:
      the value of the red_x field.
    • red_y

      public int red_y()
      Returns:
      the value of the red_y field.
    • green_x

      public int green_x()
      Returns:
      the value of the green_x field.
    • green_y

      public int green_y()
      Returns:
      the value of the green_y field.
    • blue_x

      public int blue_x()
      Returns:
      the value of the blue_x field.
    • blue_y

      public int blue_y()
      Returns:
      the value of the blue_y field.
    • white_point_x

      public spng_chrm_int.Buffer white_point_x(int value)
      Sets the specified value to the white_point_x field.
    • white_point_y

      public spng_chrm_int.Buffer white_point_y(int value)
      Sets the specified value to the white_point_y field.
    • red_x

      public spng_chrm_int.Buffer red_x(int value)
      Sets the specified value to the red_x field.
    • red_y

      public spng_chrm_int.Buffer red_y(int value)
      Sets the specified value to the red_y field.
    • green_x

      public spng_chrm_int.Buffer green_x(int value)
      Sets the specified value to the green_x field.
    • green_y

      public spng_chrm_int.Buffer green_y(int value)
      Sets the specified value to the green_y field.
    • blue_x

      public spng_chrm_int.Buffer blue_x(int value)
      Sets the specified value to the blue_x field.
    • blue_y

      public spng_chrm_int.Buffer blue_y(int value)
      Sets the specified value to the blue_y field.