[][src]Trait rin::gl::Light

pub trait Light {
    fn ty(&self) -> &str;
fn uniforms(&self, shadow_map_idx_offset: &mut usize) -> Vec<Uniform>;
fn shadow_maps(&self) -> Vec<&dyn ShadowMap>; }

Common trait to all lights

Required Methods

Important traits for Vec<u8>

Important traits for Vec<u8>

Implementors

impl Light for DirectionalLight
[src]

impl Light for ImageBasedLight
[src]

impl Light for PointLight
[src]

impl Light for SpotLight
[src]

impl Light for AmbientLight
[src]

impl<'l, G, S: DirectionalShadowMap<G>, B: Borrow<S>> Light for DirectionalLightWithShadowMap<'l, S, G, B>
[src]

impl<'l, S: SpotShadowMap<G>, G, B: Borrow<S>> Light for SpotLightWithShadowMap<'l, S, G, B>
[src]