[−][src]Function rendy::factory::init_with_instance
pub fn init_with_instance<B, impl gfx_hal::Instance, impl DevicesConfigure, impl HeapsConfigure, impl QueuesConfigure>(
instance: impl gfx_hal::Instance,
config: Config<impl DevicesConfigure, impl HeapsConfigure, impl QueuesConfigure>
) -> Result<(Factory<B>, Families<B>), Error> where
B: Backend,
impl DevicesConfigure: DevicesConfigure,
impl HeapsConfigure: HeapsConfigure,
impl QueuesConfigure: QueuesConfigure,
impl gfx_hal::Instance: Instance<Backend = B>,
Initialize Factory
and Queue Families
associated with Device
using existing Instance
.