[][src]Struct three::Renderer

pub struct Renderer {
    pub shadow: ShadowType,
    // some fields omitted
}

Renders Scene by Camera.

See Window::render.

Fields

ShadowType of this Renderer.

Methods

impl Renderer
[src]

Reloads the shaders.

Returns current viewport aspect ratio, i.e. width / height.

Map screen pixel coordinates to Normalized Display Coordinates. The lower left corner corresponds to (-1,-1), and the upper right corner corresponds to (1,1).

Draw ShadowMap for debug purposes.

Auto Trait Implementations

impl !Send for Renderer

impl !Sync for Renderer

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SetParameter for T

Sets value as a parameter of self.

impl<T> Erased for T