@Generated(value={"Immutables.generator","JCGLColorBufferMaskingStateType"}) public final class JCGLColorBufferMaskingState extends Object implements JCGLColorBufferMaskingStateType
| Modifier and Type | Class and Description |
|---|---|
static class |
JCGLColorBufferMaskingState.Builder
Builds instances of type
JCGLColorBufferMaskingState. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
alpha() |
boolean |
blue() |
static JCGLColorBufferMaskingState.Builder |
builder()
Creates a builder for
JCGLColorBufferMaskingState. |
boolean |
equals(Object another)
This instance is equal to all instances of
JCGLColorBufferMaskingState that have equal attribute values. |
boolean |
green() |
int |
hashCode()
Computes a hash code from attributes:
red, green, blue, alpha. |
static JCGLColorBufferMaskingState |
of(boolean red,
boolean green,
boolean blue,
boolean alpha)
Construct a new immutable
JCGLColorBufferMaskingState instance. |
boolean |
red() |
String |
toString()
Prints the immutable value
JCGLColorBufferMaskingState with attribute values. |
public boolean red()
red in interface JCGLColorBufferMaskingStateTypepublic boolean green()
green in interface JCGLColorBufferMaskingStateTypepublic boolean blue()
blue in interface JCGLColorBufferMaskingStateTypepublic boolean alpha()
alpha in interface JCGLColorBufferMaskingStateTypepublic boolean equals(Object another)
JCGLColorBufferMaskingState that have equal attribute values.public int hashCode()
red, green, blue, alpha.public String toString()
JCGLColorBufferMaskingState with attribute values.public static JCGLColorBufferMaskingState of(boolean red, boolean green, boolean blue, boolean alpha)
JCGLColorBufferMaskingState instance.red - The value for the red attributegreen - The value for the green attributeblue - The value for the blue attributealpha - The value for the alpha attributepublic static JCGLColorBufferMaskingState.Builder builder()
JCGLColorBufferMaskingState.Copyright © 2017 <code@io7m.com> http://io7m.com