public interface JCGLRGBA8WritableType
extends com.io7m.jpra.runtime.java.JPRAValueType
JCGLRGBA8WritableType packed type.| Modifier and Type | Method and Description |
|---|---|
void |
set(double r,
double g,
double b,
double a)
Set the value of all fields.
|
void |
setA(double x)
Set the value of the
a field. |
void |
setARaw(int x)
Set the value of the
a field. |
void |
setB(double x)
Set the value of the
b field. |
void |
setBRaw(int x)
Set the value of the
b field. |
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 setB(double x)
b field.x - The new value (in the range [0, 1])void setBRaw(int x)
b field.
The 8 least significant bits of x will be used.x - The new valuevoid setA(double x)
a field.x - The new value (in the range [0, 1])void setARaw(int x)
a field.
The 8 least significant bits of x will be used.x - The new valuevoid set(double r,
double g,
double b,
double a)
r - The value for field rg - The value for field gb - The value for field ba - The value for field aCopyright © 2016 <code@io7m.com> http://io7m.com