[−][src]Trait old_school_gfx_glutin_ext::WindowInitExt
Required methods
fn init_gfx<Color: RenderFormat, Depth: DepthFormat>(
self
) -> (WindowedContext<PossiblyCurrent>, Device, Factory, RenderTargetView<R, Color>, DepthStencilView<R, Depth>)
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>)
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
impl WindowInitExt for WindowedContext<NotCurrent>
[src]
fn init_gfx<Color: RenderFormat, Depth: DepthFormat>(
self
) -> (WindowedContext<PossiblyCurrent>, Device, Factory, RenderTargetView<R, Color>, DepthStencilView<R, Depth>)
[src]
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>)
[src]
self,
color_format: Format,
ds_format: Format
) -> (WindowedContext<PossiblyCurrent>, Device, Factory, RawRenderTargetView<R>, RawDepthStencilView<R>)