@Generated(value={"Immutables.generator","JCGLBlendStateType"}) public final class JCGLBlendState extends Object implements JCGLBlendStateType
| Modifier and Type | Class and Description |
|---|---|
static class |
JCGLBlendState.Builder
Builds instances of type
JCGLBlendState. |
| Modifier and Type | Method and Description |
|---|---|
static JCGLBlendState.Builder |
builder()
Creates a builder for
JCGLBlendState. |
boolean |
equals(Object another)
This instance is equal to all instances of
JCGLBlendState that have equal attribute values. |
JCGLBlendEquation |
getBlendEquationAlpha() |
JCGLBlendEquation |
getBlendEquationRGB() |
JCGLBlendFunction |
getBlendFunctionSourceAlpha() |
JCGLBlendFunction |
getBlendFunctionSourceRGB() |
JCGLBlendFunction |
getBlendFunctionTargetAlpha() |
JCGLBlendFunction |
getBlendFunctionTargetRGB() |
int |
hashCode()
Computes a hash code from attributes:
blendFunctionSourceRGB, blendFunctionSourceAlpha, blendFunctionTargetRGB, blendFunctionTargetAlpha, blendEquationRGB, blendEquationAlpha. |
static JCGLBlendState |
of(JCGLBlendFunction blendFunctionSourceRGB,
JCGLBlendFunction blendFunctionSourceAlpha,
JCGLBlendFunction blendFunctionTargetRGB,
JCGLBlendFunction blendFunctionTargetAlpha,
JCGLBlendEquation blendEquationRGB,
JCGLBlendEquation blendEquationAlpha)
Construct a new immutable
JCGLBlendState instance. |
String |
toString()
Prints the immutable value
JCGLBlendState with attribute values. |
public JCGLBlendFunction getBlendFunctionSourceRGB()
getBlendFunctionSourceRGB in interface JCGLBlendStateTypeJCGLBlendFunctionpublic JCGLBlendFunction getBlendFunctionSourceAlpha()
getBlendFunctionSourceAlpha in interface JCGLBlendStateTypeJCGLBlendFunctionpublic JCGLBlendFunction getBlendFunctionTargetRGB()
getBlendFunctionTargetRGB in interface JCGLBlendStateTypeJCGLBlendFunctionpublic JCGLBlendFunction getBlendFunctionTargetAlpha()
getBlendFunctionTargetAlpha in interface JCGLBlendStateTypeJCGLBlendFunctionpublic JCGLBlendEquation getBlendEquationRGB()
getBlendEquationRGB in interface JCGLBlendStateTypeJCGLBlendEquationpublic JCGLBlendEquation getBlendEquationAlpha()
getBlendEquationAlpha in interface JCGLBlendStateTypeJCGLBlendEquationpublic boolean equals(Object another)
JCGLBlendState that have equal attribute values.public int hashCode()
blendFunctionSourceRGB, blendFunctionSourceAlpha, blendFunctionTargetRGB, blendFunctionTargetAlpha, blendEquationRGB, blendEquationAlpha.public String toString()
JCGLBlendState with attribute values.public static JCGLBlendState of(JCGLBlendFunction blendFunctionSourceRGB, JCGLBlendFunction blendFunctionSourceAlpha, JCGLBlendFunction blendFunctionTargetRGB, JCGLBlendFunction blendFunctionTargetAlpha, JCGLBlendEquation blendEquationRGB, JCGLBlendEquation blendEquationAlpha)
JCGLBlendState instance.blendFunctionSourceRGB - The value for the blendFunctionSourceRGB attributeblendFunctionSourceAlpha - The value for the blendFunctionSourceAlpha attributeblendFunctionTargetRGB - The value for the blendFunctionTargetRGB attributeblendFunctionTargetAlpha - The value for the blendFunctionTargetAlpha attributeblendEquationRGB - The value for the blendEquationRGB attributeblendEquationAlpha - The value for the blendEquationAlpha attributepublic static JCGLBlendState.Builder builder()
JCGLBlendState.Copyright © 2016 <code@io7m.com> http://io7m.com