Class SpotLightsAttribute
java.lang.Object
gaiasky.util.gdx.shader.attribute.Attribute
gaiasky.util.gdx.shader.attribute.SpotLightsAttribute
- All Implemented Interfaces:
Comparable<Attribute>
An
Attribute which can be used to send an Array of SpotLight instances to the Shader. The
lights are stored by reference, the copy() or SpotLightsAttribute(SpotLightsAttribute) method
will not create new lights.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringfinal com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.environment.SpotLight>static final int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class gaiasky.util.gdx.shader.attribute.Attribute
equals, equals, getAttributeAlias, getAttributeIndex, getAttributeIndex, getAttributeType, getNumAttributes, getTypes, has, register, toString
-
Field Details
-
Alias
- See Also:
-
Type
public static final int Type -
lights
public final com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.environment.SpotLight> lights
-
-
Constructor Details
-
SpotLightsAttribute
public SpotLightsAttribute() -
SpotLightsAttribute
-
-
Method Details