Struct amethyst_renderer::Scene [] [src]

pub struct Scene<R: Resources> {
    pub fragments: Vec<Fragment<R>>,
    pub point_lights: Vec<PointLight>,
    pub directional_lights: Vec<DirectionalLight>,
    pub ambient_light: f32,
    pub camera: Camera,
}

Collection of fragments and lights that make up the scene.

Fields

List of renderable fragments.

List of point lights.

List of directional lights.

Ambient light factor.

A camera used to render this scene

Methods

impl<R: Resources> Scene<R>
[src]

Creates an empty scene with the given camera.

Trait Implementations

impl<R: Clone + Resources> Clone for Scene<R>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more