com.io7m.jcanephora.cursors

## Interface JCGLDepth16WritableType

- All Superinterfaces:
    com.io7m.jpra.runtime.java.JPRAValueType
  All Known Subinterfaces:
    JCGLDepth16Type
  All Known Implementing Classes:
    JCGLDepth16ByteBuffered

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

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

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `set(double depth)` Set the value of all fields.
    `void` | `setDepth(double x)` Set the value of the `depth` field.
    `void` | `setDepthRaw(int x)` Set the value of the `depth` field.

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

      `sizeOctets`

- - ### Method Detail

    - #### setDepth

          void setDepth(double x)

      Set the value of the `depth` field.
      Parameters:
        `x` - The new value (in the range `[0, 1]`)

    - #### setDepthRaw

          void setDepthRaw(int x)

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

    - #### set

          void set(double depth)

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

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