[][src]Module tray_rust::light

Defines the light interface implemented by all lights in tray_rust and the OcclusionTester which provides a convenient interface for doing shadow tests for lights

Structs

OcclusionTester

The OcclusionTester provides a simple interface for setting up and executing occlusion queries in the scene

Traits

Light

Trait implemented by all lights in tray_rust. Provides methods for sampling the light and in the future ones for checking if it's a delta light, computing its power and so on.