com.io7m.jcanephora.cursors

## Interface JCGLRG8IWritableType

- All Superinterfaces:
    com.io7m.jpra.runtime.java.JPRAValueType
  All Known Subinterfaces:
    JCGLRG8IType
  All Known Implementing Classes:
    JCGLRG8IByteBuffered

      public interface JCGLRG8IWritableType
      extends com.io7m.jpra.runtime.java.JPRAValueType

  The writable interface to values of the `JCGLRG8IWritableType` packed type.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `set(int r, int g)` Set the value of all fields.
    `void` | `setG(int x)` Set the value of the `g` field.
    `void` | `setR(int x)` Set the value of the `r` field.

    - ### Methods inherited from interface com.io7m.jpra.runtime.java.JPRAValueType

      `sizeOctets`

- - ### Method Detail

    - #### setR

          void setR(int x)

      Set the value of the `r` field. The 8 least significant bits of `x` will be used.
      Parameters:
        `x` - The new value

    - #### setG

          void setG(int x)

      Set the value of the `g` field. The 8 least significant bits of `x` will be used.
      Parameters:
        `x` - The new value

    - #### set

          void set(int r,
                   int g)

      Set the value of all fields.
      Parameters:
        `r` - The value for field `r`
        `g` - The value for field `g`

Copyright © 2016 <code@io7m.com> http://io7m.com