//! `WebviewUiMaterial`: a `UiMaterial` that samples the webview surface texture.
use ;
use *;
use AsBindGroup;
use ShaderRef;
/// A `UiMaterial` that draws the webview's offscreen surface into a `bevy_ui`
/// node. `surface` is `None` until the surface-copy system inserts the texture;
/// `AsBindGroup` falls back to a default texture in the meantime.