Package com.badlogic.gdx.graphics.g3d
Class Material
java.lang.Object
com.badlogic.gdx.graphics.g3d.Attributes
com.badlogic.gdx.graphics.g3d.Material
- All Implemented Interfaces:
Comparable<Attributes>
,Iterable<Attribute>
,Comparator<Attribute>
-
Field Summary
FieldsFields inherited from class com.badlogic.gdx.graphics.g3d.Attributes
attributes, mask, sorted
-
Constructor Summary
ConstructorsConstructorDescriptionMaterial()
Create an empty materialCreate a material with the specified attributesCreate a material which is an exact copy of the specified materialCreate a material with the specified attributesCreate an empty materialCreate a material with the specified attributesCreate a material which is an exact copy of the specified materialCreate a material with the specified attributes -
Method Summary
Methods inherited from class com.badlogic.gdx.graphics.g3d.Attributes
attributesHash, clear, compare, compareTo, get, get, get, getMask, has, indexOf, iterator, 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
-