public interface JCGLRGBA8UWritableType
extends com.io7m.jpra.runtime.java.JPRAValueType
JCGLRGBA8UWritableType packed type.| Modifier and Type | Method and Description |
|---|---|
void |
set(int r,
int g,
int b,
int a)
Set the value of all fields.
|
void |
setA(int x)
Set the value of the
a field. |
void |
setB(int x)
Set the value of the
b field. |
void |
setG(int x)
Set the value of the
g field. |
void |
setR(int x)
Set the value of the
r field. |
void setR(int x)
r field.
The 8 least significant bits of x will be used.x - The new valuevoid setG(int x)
g field.
The 8 least significant bits of x will be used.x - The new valuevoid setB(int x)
b field.
The 8 least significant bits of x will be used.x - The new valuevoid setA(int x)
a field.
The 8 least significant bits of x will be used.x - The new valuevoid set(int r,
int g,
int b,
int a)
r - The value for field rg - The value for field gb - The value for field ba - The value for field aCopyright © 2017 <code@io7m.com> http://io7m.com