Trait retro_pixel::u16_ext::WritableImageU16Ext[][src]

pub trait WritableImageU16Ext: WritableImage<u16> {
    fn blit_rgba16<RI>(&mut self, src: &RI, offset: (isize, isize))
    where
        RI: ReadableImage<u16>
, { ... } }

This allows u16 specific extensions to the WritableImage concepts.

Provided Methods

This copies the data from the source into the destination any time the source's alpha bit is set.

Currently this is the same as a call to blit_generic, but in future versions this will attempt to take advantage of SIMD for a speed boost.

Implementors