[go: up one dir, main page]

overlay_rgba32

Function overlay_rgba32 

Source
pub fn overlay_rgba32(src: &[Vec4], dst: &mut [Vec4], rect: &ClippedRect)
Available on crate feature overlay only.
Expand description

Overlay src onto dst.

  • src is an RGBA32 (4 bytes per channel) image.
  • dst is an RGBA32 (4 bytes per channel) image.
  • rect is the ClippedRect defining the blit area.