[][src]Trait old_school_gfx_glutin_ext::WindowInitExt

pub trait WindowInitExt {
    fn init_gfx<Color: RenderFormat, Depth: DepthFormat>(
        self
    ) -> (WindowedContext<PossiblyCurrent>, Device, Factory, RenderTargetView<R, Color>, DepthStencilView<R, Depth>);
fn init_gfx_raw(
        self,
        color_format: Format,
        ds_format: Format
    ) -> (WindowedContext<PossiblyCurrent>, Device, Factory, RawRenderTargetView<R>, RawDepthStencilView<R>); }

Required methods

fn init_gfx<Color: RenderFormat, Depth: DepthFormat>(
    self
) -> (WindowedContext<PossiblyCurrent>, Device, Factory, RenderTargetView<R, Color>, DepthStencilView<R, Depth>)

Make the context current, creates the gfx device, factory and views.

fn init_gfx_raw(
    self,
    color_format: Format,
    ds_format: Format
) -> (WindowedContext<PossiblyCurrent>, Device, Factory, RawRenderTargetView<R>, RawDepthStencilView<R>)

Make the context current, creates the gfx device, factory and views.

Loading content...

Implementations on Foreign Types

impl WindowInitExt for WindowedContext<NotCurrent>[src]

Loading content...

Implementors

Loading content...