#[non_exhaustive]pub struct RendererDesc {
pub color: Format,
pub frames_in_flight: usize,
pub separate_scratch: Option<bool>,
}Expand description
Renderer::new. Made with new and changed field by field (it may grow)
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.color: Formatthe format of the colour targets: one without sRGB (the codes are blended as they are)
frames_in_flight: usizeframes the CPU may record ahead of the GPU (1 ..= FRAMES_MAX)
separate_scratch: Option<bool>(G6e3) a render pass of its own, after a barrier, for a run of layers whose fragment shader needs scratch memory (fs_full, fs_fill, fs_text_all, the overlay’s fs_fill) when the last such run before it took another pipeline: None decides by the adapter (on for Intel under Vulkan: Mesa’s driver gives such shaders of two draws the same scratch memory with their own strides, on Gen9 they overwrote each other’s spilled registers; docs/RENDER2D.md “Die anderen Ziele (G6e3)”), Some forces it either way. No pixel changes; on GPUs that draw in tiles each pass costs a store and a load of the target