@Generated(value={"Modifiables.generator","JCGLCullingStateType"}) public final class JCGLCullingStateMutable extends Object implements JCGLCullingStateType
JCGLCullingStateType type.
Use the create() static factory methods to create new instances.
JCGLCullingStateMutable is not thread-safe
JCGLCullingState| Modifier and Type | Method and Description |
|---|---|
JCGLCullingStateMutable |
clear()
Clears the object by setting all attributes to their initial values.
|
static JCGLCullingStateMutable |
create()
Construct a modifiable instance of
JCGLCullingStateType. |
static JCGLCullingStateMutable |
create(JCGLFaceSelection faceSelection,
JCGLFaceWindingOrder faceWindingOrder)
Construct a modifiable instance of
JCGLCullingStateType. |
boolean |
equals(Object another)
This instance is equal to all instances of
JCGLCullingStateMutable that have equal attribute values. |
JCGLFaceSelection |
faceSelection() |
boolean |
faceSelectionIsSet()
Returns
true if the default attribute faceSelection is set. |
JCGLFaceWindingOrder |
faceWindingOrder() |
boolean |
faceWindingOrderIsSet()
Returns
true if the default attribute faceWindingOrder is set. |
JCGLCullingStateMutable |
from(JCGLCullingStateType instance)
Fill this modifiable instance with attribute values from the provided
JCGLCullingStateType instance. |
int |
hashCode()
Computes a hash code from attributes:
faceSelection, faceWindingOrder. |
boolean |
isInitialized()
Returns
true if all required attributes are set, indicating that the object is initialized. |
JCGLCullingStateMutable |
setFaceSelection(JCGLFaceSelection faceSelection)
Assigns a value to the
faceSelection attribute. |
JCGLCullingStateMutable |
setFaceWindingOrder(JCGLFaceWindingOrder faceWindingOrder)
Assigns a value to the
faceWindingOrder attribute. |
JCGLCullingState |
toImmutable()
Converts to
JCGLCullingState. |
String |
toString()
Generates a string representation of this
JCGLCullingStateType. |
public static JCGLCullingStateMutable create(JCGLFaceSelection faceSelection, JCGLFaceWindingOrder faceWindingOrder)
JCGLCullingStateType.faceSelection - The value for the faceSelection attributefaceWindingOrder - The value for the faceWindingOrder attributepublic static JCGLCullingStateMutable create()
JCGLCullingStateType.public final JCGLFaceSelection faceSelection()
faceSelection in interface JCGLCullingStateTypepublic final JCGLFaceWindingOrder faceWindingOrder()
faceWindingOrder in interface JCGLCullingStateTypepublic JCGLCullingStateMutable clear()
this for use in a chained invocationpublic JCGLCullingStateMutable from(JCGLCullingStateType instance)
JCGLCullingStateType instance.
Regular attribute values will be overridden, i.e. replaced with ones of an instance.
Any of the instance's absent optional values will not be copied (will not override current values).instance - The instance from which to copy valuesthis for use in a chained invocationpublic JCGLCullingStateMutable setFaceSelection(JCGLFaceSelection faceSelection)
faceSelection attribute.
If not set, this attribute will have a default value returned by the initializer of faceSelection.
faceSelection - The value for faceSelectionthis for use in a chained invocationpublic JCGLCullingStateMutable setFaceWindingOrder(JCGLFaceWindingOrder faceWindingOrder)
faceWindingOrder attribute.
If not set, this attribute will have a default value returned by the initializer of faceWindingOrder.
faceWindingOrder - The value for faceWindingOrderthis for use in a chained invocationpublic final boolean faceSelectionIsSet()
true if the default attribute faceSelection is set.true if setpublic final boolean faceWindingOrderIsSet()
true if the default attribute faceWindingOrder is set.true if setpublic final boolean isInitialized()
true if all required attributes are set, indicating that the object is initialized.true if setpublic final JCGLCullingState toImmutable()
JCGLCullingState.public boolean equals(Object another)
JCGLCullingStateMutable that have equal attribute values.public int hashCode()
faceSelection, faceWindingOrder.Copyright © 2017 <code@io7m.com> http://io7m.com