pub fn layout_staging_bytes(
size: RenderSize,
layout: PixelLayout,
) -> Result<u64, RenderError>Expand description
The mapped buffer a readback of a size frame packed into layout takes
(Renderer::begin_layout_readback), canary included: each plane’s rows padded to the copy
alignment.
§Errors
RenderError::TextureReadback when the layout overflows.