Crate simd_blit

source ·
Expand description

Alpha Compositing & SSAA, optionally using SIMD

If you want this crate to use SIMD, activate the simd feature; You will need a nightly toolchain for this to work, however.

If the feature is disabled, a sequential implementation is also provided.

Structs

  • A pack of 8 pixels (SIMD alignment)
  • An aligned structure storing SSAA_SQ (x, y) subpixel coordinates for up to eight pixels

Enums

Traits

  • Trait for 2D-sized & indexed pixel storage

Functions

  • Perform alpha compositing on up to eight pixels
  • Performs SSAA on up to 8 pixels