Package | Description |
---|---|
com.badlogic.gdx.graphics.g3d | |
com.badlogic.gdx.graphics.g3d.attributes |
Modifier and Type | Field and Description |
---|---|
protected Array<Attribute> |
Attributes.attributes |
Modifier and Type | Method and Description |
---|---|
<T extends Attribute> |
Attributes.get(java.lang.Class<T> clazz,
long type)
Example usage: ((BlendingAttribute)material.get(BlendingAttribute.ID)).sourceFunction;
|
Modifier and Type | Method and Description |
---|---|
abstract Attribute |
Attribute.copy() |
Attribute |
Attributes.get(long type)
Example usage: ((BlendingAttribute)material.get(BlendingAttribute.ID)).sourceFunction;
|
Modifier and Type | Method and Description |
---|---|
Array<Attribute> |
Attributes.get(Array<Attribute> out,
long type)
Get multiple attributes at once.
|
java.util.Iterator<Attribute> |
Attributes.iterator()
Used for iterating through the attributes
|
Modifier and Type | Method and Description |
---|---|
int |
Attributes.compare(Attribute arg0,
Attribute arg1)
Used for sorting attributes by type (not by value)
|
protected boolean |
Attribute.equals(Attribute other) |
void |
Attributes.set(Attribute... attributes)
Add an array of attributes to this material.
|
void |
Attributes.set(Attribute attribute)
Add a attribute to this material.
|
void |
Attributes.set(Attribute attribute1,
Attribute attribute2)
Add multiple attributes to this material.
|
void |
Attributes.set(Attribute attribute1,
Attribute attribute2,
Attribute attribute3)
Add multiple attributes to this material.
|
void |
Attributes.set(Attribute attribute1,
Attribute attribute2,
Attribute attribute3,
Attribute attribute4)
Add multiple attributes to this material.
|
Modifier and Type | Method and Description |
---|---|
Array<Attribute> |
Attributes.get(Array<Attribute> out,
long type)
Get multiple attributes at once.
|
void |
Attributes.set(java.lang.Iterable<Attribute> attributes)
Add an array of attributes to this material.
|
Constructor and Description |
---|
Material(Attribute... attributes)
Create a material with the specified attributes
|
Material(java.lang.String id,
Attribute... attributes)
Create a material with the specified attributes
|
Constructor and Description |
---|
Material(Array<Attribute> attributes)
Create a material with the specified attributes
|
Material(java.lang.String id,
Array<Attribute> attributes)
Create a material with the specified attributes
|
Modifier and Type | Class and Description |
---|---|
class |
BlendingAttribute |
class |
ColorAttribute |
class |
CubemapAttribute |
class |
DepthTestAttribute |
class |
DirectionalLightsAttribute
|
class |
FloatAttribute |
class |
IntAttribute |
class |
PointLightsAttribute
|
class |
SpotLightsAttribute
|
class |
TextureAttribute |
Modifier and Type | Method and Description |
---|---|
Attribute |
ColorAttribute.copy() |
Attribute |
CubemapAttribute.copy() |
Attribute |
DepthTestAttribute.copy() |
Attribute |
FloatAttribute.copy() |
Attribute |
IntAttribute.copy() |
Attribute |
TextureAttribute.copy() |
Modifier and Type | Method and Description |
---|---|
int |
BlendingAttribute.compareTo(Attribute o) |
int |
ColorAttribute.compareTo(Attribute o) |
int |
CubemapAttribute.compareTo(Attribute o) |
int |
DepthTestAttribute.compareTo(Attribute o) |
int |
DirectionalLightsAttribute.compareTo(Attribute o) |
int |
FloatAttribute.compareTo(Attribute o) |
int |
IntAttribute.compareTo(Attribute o) |
int |
PointLightsAttribute.compareTo(Attribute o) |
int |
SpotLightsAttribute.compareTo(Attribute o) |
int |
TextureAttribute.compareTo(Attribute o) |