Trait old_school_gfx_glutin_ext::WindowInitExt [−][src]
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>)
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>)
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.
Implementations on Foreign Types
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>)