TextureRenderer
trait · ferroui-media · v0.5.0
trait TextureRenderer
Members
render
fn render(self: &Self, viewport: RendererViewport, inputs: Vec<FrameLease>, completion: GpuCompletion) -> MediaFuture<FrameLease>
Outputs immutable color storage using the admitted device. Private depth,
stencil and MSAA resources remain the client renderer's responsibility.
Before submitting GPU writes, the backend must retain its output in
completion; inputs are already retained by the host. Signal only after
actual GPU completion, even when the returned future is abandoned.
Complete the token on admission/allocation failure before any GPU work.
If submitted completion becomes unknown, mark it indeterminate; never
turn cancellation or an error into a premature completion.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.