com.io7m.r2.core

## Interface R2SceneLightsType

- All Known Implementing Classes:
    R2SceneLights

      public interface R2SceneLightsType

  The set of lights that affect opaque instances in a scene.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `lightsCount()`
    `void` | `lightsExecute(R2SceneLightsConsumerType c)` Batch the lights and pass them to the given consumer for rendering.
    `R2SceneLightsGroupType` | `lightsGetGroup(int group)` Get access to a numbered group.
    `void` | `lightsReset()` Remove all lights from the scene.

- - ### Method Detail

    - #### lightsReset

          void lightsReset()

      Remove all lights from the scene.

    - #### lightsGetGroup

          R2SceneLightsGroupType lightsGetGroup(int group)

      Get access to a numbered group.
      Parameters:
        `group` - The numbered group
      Returns:
        The group `group`

    - #### lightsExecute

          void lightsExecute(R2SceneLightsConsumerType c)

      Batch the lights and pass them to the given consumer for rendering.
      Parameters:
        `c` - The consumer

    - #### lightsCount

          long lightsCount()

      Returns:
        The number of lights in the scene

Copyright © 2017 <code@io7m.com> http://io7m.com