docs.rs failed to build uzor-urx-wgpu-1.4.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
URX WGPU backend — Scene consumer + adapter to the existing
uzor-render-wgpu-instanced primitive pipelines.
Why a wrapper, not a fork:
- The existing crate has 1500+ LOC of well-tested Quad/Line/Triangle SDF + cosmic-text atlas plumbing. Don't duplicate.
- URX value-add at this layer is consuming the shared
Sceneenum instead of the legacy ad-hocRenderContexttrait method calls. - Renaming the underlying crate is a Phase 9 cleanup (deprecate
- remove); for now we wrap.
API
let mut ctx = InstancedRenderContext::new(w, h, 0.0, 0.0);
UrxWgpuBackend::adapt_scene(&scene, &mut ctx);
// -> caller hands `ctx.draw_commands` to InstancedRenderer::render
// (or via uzor-render-hub's submit_instanced)