Skip to main content

Crate spatialrust_render_wgpu

Crate spatialrust_render_wgpu 

Source
Expand description

Explicit wgpu backend for SpatialRust visualization contracts.

Geometry enters this crate only through caller-requested upload methods. Uploads return a byte-exact transfer receipt, and device buffers remain resident until explicitly recycled or dropped.

Structs§

GpuGeometry
Explicitly uploaded, device-resident visual geometry.
GpuRenderTarget
Device-resident color and depth attachments.
HeadlessRender
Result of a device-resident headless render.
PickResult
Caller-requested point-picking result.
ReadbackImage
Caller-requested tightly packed RGBA8 readback.
RenderOptions
Configuration for one device-resident headless render.
RenderReceipt
Named device-side execution evidence for one render.
WgpuRenderer
Renderer runtime sharing one explicit spatialrust-gpu wgpu device.

Enums§

GpuGeometryKind
Device-resident geometry topology.
RenderError
Errors returned by explicit rendering operations.

Constants§

RENDER_TARGET_FORMAT
Portable color format used by headless render targets.

Type Aliases§

RenderResult
Result type returned by the wgpu rendering backend.