Skip to main content

bind_adapter

Function bind_adapter 

Source
pub fn bind_adapter(info: AdapterInfo)
Expand description

Register the adapter this host negotiated. Replaces any previous binding.

Call after requestAdapter() / requestDevice() resolve. The GPUDevice itself stays with the host — this crate records what the adapter is so it appears in the device survey, and does not take ownership of the handle.