public interface JCGLRG8WritableType
extends com.io7m.jpra.runtime.java.JPRAValueType
JCGLRG8WritableType packed type.| Modifier and Type | Method and Description |
|---|---|
void |
set(double r,
double g)
Set the value of all fields.
|
void |
setG(double x)
Set the value of the
g field. |
void |
setGRaw(int x)
Set the value of the
g field. |
void |
setR(double x)
Set the value of the
r field. |
void |
setRRaw(int x)
Set the value of the
r field. |
void setR(double x)
r field.x - The new value (in the range [0, 1])void setRRaw(int x)
r field.
The 8 least significant bits of x will be used.x - The new valuevoid setG(double x)
g field.x - The new value (in the range [0, 1])void setGRaw(int x)
g field.
The 8 least significant bits of x will be used.x - The new valuevoid set(double r,
double g)
r - The value for field rg - The value for field gCopyright © 2017 <code@io7m.com> http://io7m.com