Struct amethyst_renderer::DirectionalLight [] [src]

#[repr(C)]
pub struct DirectionalLight { pub color: Rgba, pub direction: [f32; 3], }

A directional light source.

Fields

Color of the light in RGBA8 format.

Direction that the light is pointing.

Trait Implementations

impl Clone for DirectionalLight
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Pod for DirectionalLight
[src]

impl Structure<ConstFormat> for DirectionalLight
[src]

[src]

Get the layout of an element by name.

impl Debug for DirectionalLight
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for DirectionalLight
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Default for DirectionalLight
[src]

[src]

Returns the "default value" for a type. Read more