public class DirectionalLightsAttribute extends Attribute
Attribute which can be used to send an Array of DirectionalLight instances to the Shader.
The lights are stored by reference, the copy() or DirectionalLightsAttribute(DirectionalLightsAttribute)
method will not create new lights.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
Alias |
Array<DirectionalLight> |
lights |
static long |
Type |
| Constructor and Description |
|---|
DirectionalLightsAttribute() |
DirectionalLightsAttribute(DirectionalLightsAttribute copyFrom) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Attribute o) |
DirectionalLightsAttribute |
copy() |
int |
hashCode() |
static boolean |
is(long mask) |
equals, equals, getAttributeAlias, getAttributeType, register, toStringpublic static final java.lang.String Alias
public static final long Type
public final Array<DirectionalLight> lights
public DirectionalLightsAttribute()
public DirectionalLightsAttribute(DirectionalLightsAttribute copyFrom)