Trait gfx_scene::AbstractScene [] [src]

pub trait AbstractScene<R: Resources> {
    type ViewInfo: ToDepth;
    type Material;
    type Camera;
    type Status;
    fn draw<H, S>(
        &self,
        _: &mut H,
        _: &Self::Camera,
        _: &mut S
    ) -> Result<Self::Status, Error>
    where
        H: AbstractPhase<R, Self::Material, Self::ViewInfo>,
        S: Stream<R>
; }

Abstract scene that can be drawn into something.

Associated Types

A type of the view information.

A type of the material.

A type of the camera.

the status information from the render results this can be used to communicate meta from the render

Required Methods

Draw the contents of the scene with a specific phase into a stream.

Implementors