Class FlagAttribute
java.lang.Object
gaiasky.util.gdx.shader.attribute.Attribute
gaiasky.util.gdx.shader.attribute.FlagAttribute
- All Implemented Interfaces:
Comparable<Attribute>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFlagAttribute(int index) FlagAttribute(int index, boolean value) FlagAttribute(FlagAttribute other) -
Method Summary
Methods inherited from class Attribute
equals, equals, getAttributeAlias, getAttributeIndex, getAttributeIndex, getAttributeType, getIndex, getNumAttributes, getTypes, has, register, toStringModifier and TypeMethodDescriptionprotected booleanbooleanstatic StringgetAttributeAlias(Bits type) static intgetAttributeIndex(Bits type) static intgetAttributeIndex(String alias) static BitsgetAttributeType(String alias) protected static intgetIndex(long oldType) static intstatic com.badlogic.gdx.utils.Array<String> getTypes()booleanhas(int index) protected static intCall this method to register a custom attribute type, see the wiki for an example.toString()
-
Field Details
-
ThinSurfaceAlias
- See Also:
-
ThinSurface
public static final int ThinSurface -
value
public boolean value
-
-
Constructor Details
-
FlagAttribute
public FlagAttribute(int index) -
FlagAttribute
-
FlagAttribute
public FlagAttribute(int index, boolean value)
-
-
Method Details
-
copy
-
hashCode
-
compareTo
-