Skip to main content

Crate repose_render_wgpu

Crate repose_render_wgpu 

Source

Modules§

offscreen
Unified offscreen helper (native/android/wasm).

Structs§

Callback
CallbackRenderPass
CallbackResources
DepthComposite
Viewport-owned offscreen scene target + depth buffer + blit pipeline.
RenderCommandFailure
A command that could not be applied. The command is consumed either way and is never retried, so callers that care about a specific handle get the handle back here.
RenderCommandReport
ScreenDescriptor
WgpuSceneRenderer
WgpuSurfaceBackend

Traits§

BlitRenderPass
WgpuCallback
Trait for custom wgpu rendering inside a repose layout rect.

Functions§

apply_render_commands
Apply a batch of RenderCommands to a scene renderer.
clamp_output_size
Largest (width, height) not exceeding max on either axis while keeping the requested aspect ratio.
parse_backends
Parse a comma/space separated wgpu backend list such as gl or vulkan,gl. Unknown names are dropped with a warning rather than failing the whole spec, and None means “nothing valid was requested”.
pick_surface_msaa
Pick the MSAA sample count for the surface pass, honoring requested and falling back to the largest supported count <= it.
pick_surface_msaa_for_mode

Type Aliases§

WgpuBackend