pub fn layout_staging_bytes(
size: RenderSize,
format: TextureFormat,
) -> Result<u64, RenderError>Expand description
The mapped buffer a layout readback (Renderer::begin_layout_readback) of a size frame in
format takes, canary included: one aligned row of texels per row.
ยงErrors
RenderError::TextureReadback for a format the readback does not copy or an overflowing size.