@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 |
|---|---|
JCGLBlendEquation |
blendEquationAlpha() |
JCGLBlendEquation |
blendEquationRGB() |
JCGLBlendFunction |
blendFunctionSourceAlpha() |
JCGLBlendFunction |
blendFunctionSourceRGB() |
JCGLBlendFunction |
blendFunctionTargetAlpha() |
JCGLBlendFunction |
blendFunctionTargetRGB() |
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. |
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 blendFunctionSourceRGB()
blendFunctionSourceRGB in interface JCGLBlendStateTypeJCGLBlendFunctionpublic JCGLBlendFunction blendFunctionSourceAlpha()
blendFunctionSourceAlpha in interface JCGLBlendStateTypeJCGLBlendFunctionpublic JCGLBlendFunction blendFunctionTargetRGB()
blendFunctionTargetRGB in interface JCGLBlendStateTypeJCGLBlendFunctionpublic JCGLBlendFunction blendFunctionTargetAlpha()
blendFunctionTargetAlpha in interface JCGLBlendStateTypeJCGLBlendFunctionpublic JCGLBlendEquation blendEquationRGB()
blendEquationRGB in interface JCGLBlendStateTypeJCGLBlendEquationpublic JCGLBlendEquation blendEquationAlpha()
blendEquationAlpha 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 © 2017 <code@io7m.com> http://io7m.com