Class PointLightsAttribute

java.lang.Object
gaiasky.util.gdx.shader.attribute.Attribute
gaiasky.util.gdx.shader.attribute.PointLightsAttribute
All Implemented Interfaces:
Comparable<Attribute>

public class PointLightsAttribute extends Attribute
An Attribute which can be used to send an Array of PointLight instances to the Shader. The lights are stored by reference, the copy() or PointLightsAttribute(PointLightsAttribute) method will not create new lights.
  • Field Details

    • Alias

      public static final String Alias
      See Also:
    • Type

      public static final int Type
    • lights

      public final com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.environment.PointLight> lights
  • Constructor Details

    • PointLightsAttribute

      public PointLightsAttribute()
    • PointLightsAttribute

      public PointLightsAttribute(PointLightsAttribute copyFrom)
  • Method Details