Package gaiasky.util.gdx.shader
Class Material
java.lang.Object
gaiasky.util.gdx.shader.attribute.Attributes
gaiasky.util.gdx.shader.Material
- All Implemented Interfaces:
Comparable<Attributes>,Iterable<Attribute>,Comparator<Attribute>
-
Field Summary
FieldsFields inherited from class gaiasky.util.gdx.shader.attribute.Attributes
attributes, mask, sorted -
Constructor Summary
ConstructorsConstructorDescriptionMaterial()Create an empty materialCreate a material with the specified attributesCreate a material with the specified attributesCreate a material which is an exact copy of the specified materialCreate an empty materialCreate a material with the specified attributesCreate a material with the specified attributesCreate a material which is an exact copy of the specified material -
Method Summary
Methods inherited from class gaiasky.util.gdx.shader.attribute.Attributes
attributesHash, clear, compare, compareTo, get, get, getMask, has, has, indexOf, iterator, remove, remove, same, same, set, set, set, set, set, set, size, sortMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
id
-
-
Constructor Details
-
Material
public Material()Create an empty material -
Material
Create an empty material -
Material
Create a material with the specified attributes -
Material
Create a material with the specified attributes -
Material
Create a material with the specified attributes -
Material
Create a material with the specified attributes -
Material
Create a material which is an exact copy of the specified material -
Material
Create a material which is an exact copy of the specified material
-
-
Method Details
-
copy
Create a copy of this material -
hashCode
public int hashCode()- Overrides:
hashCodein classAttributes
-
equals
- Specified by:
equalsin interfaceComparator<Attribute>- Overrides:
equalsin classAttributes
-