Struct amethyst_renderer::light::DirectionalLight []

#[repr(C)]
pub struct DirectionalLight { pub color: Rgba, pub direction: Vector3<f32>, }

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Pod for DirectionalLight

impl Structure<ConstFormat> for DirectionalLight
[src]

Get the layout of an element by name.

impl Debug for DirectionalLight
[src]

Formats the value using the given formatter.

impl PartialEq for DirectionalLight
[src]

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

This method tests for !=.

impl Default for DirectionalLight
[src]

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