Function ggez::graphics::get_gfx_objects
[−]
[src]
pub fn get_gfx_objects(
context: &mut Context
) -> (&mut <GlBackendSpec as BackendSpec>::Factory, &mut <GlBackendSpec as BackendSpec>::Device, &mut Encoder<<GlBackendSpec as BackendSpec>::Resources, <GlBackendSpec as BackendSpec>::CommandBuffer>, DepthStencilView<<GlBackendSpec as BackendSpec>::Resources, DepthStencil>, RenderTargetView<<GlBackendSpec as BackendSpec>::Resources, (R8_G8_B8_A8, Srgb)>)
EXPERIMENTAL function to get gfx-rs objects. Getting them one by one is awkward 'cause it tends to create double-borrows on the Context object.