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
Fields inherited from class gaiasky.util.gdx.shader.attribute.Attributes
attributes, mask, sorted
-
Constructor Summary
ConstructorDescriptionMaterial()
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, sort
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Methods 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:
hashCode
in classAttributes
-
equals
- Specified by:
equals
in interfaceComparator<Attribute>
- Overrides:
equals
in classAttributes
-