Trait gfx_scene::ViewInfo [] [src]

pub trait ViewInfo<S, T>: ToDepth<Depth = S> where
    S: Copy + PartialOrd + Debug
{ fn new(mvp: Matrix4<S>, view: T, model: T) -> Self; }

Abstract information about the view. Supposed to containt at least Model-View-Projection transform for the shader.

Required Methods

Construct a new information block.

Implementors